Libkleo
animatedexpander.cpp
29AnimatedExpander::AnimatedExpander(const QString &title, const QString &accessibleTitle, QWidget *parent)
33 // draw dotted focus frame if button has focus; otherwise, draw invisible frame using background color
38 // this works with Breeze style because Breeze draws the focus frame when drawing CE_ToolButtonLabel
39 // while the Windows styles (and Qt's common base style) draw the focus frame before drawing CE_ToolButtonLabel
91 auto contentAnimation = static_cast<QPropertyAnimation *>(toggleAnimation.animationAt(toggleAnimation.animationCount() - 1));
96 toggleAnimation.setDirection(checked ? QAbstractAnimation::Forward : QAbstractAnimation::Backward);
Forward
void finished()
void toggled(bool checked)
Sunken
HLine
Expanding
bool isEmpty() const const
AlignLeft
ToolButtonTextBesideIcon
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
void setDuration(int msecs)
void setStyleSheet(const QString &styleSheet)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:29:01 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:29:01 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.