libkdepim
kwidgetlister.cpp
Go to the documentation of this file.
95 KWidgetLister::KWidgetLister( bool fewerMoreButton, int minWidgets, int maxWidgets, QWidget *parent )
virtual QWidget * createWidget(QWidget *parent)
Returns a new widget that shall be added to the lister.
Definition: kwidgetlister.cpp:224
virtual void slotClear()
Called whenever the user clicks on the 'clear' button.
Definition: kwidgetlister.cpp:183
void clearWidgets()
This signal is emitted whenever the clear button is clicked.
Widget that manages a list of other widgets (incl.
Definition: kwidgetlister.h:63
int widgetsMinimum() const
The minimum number of widgets that are to stay on screen.
Definition: kwidgetlister.cpp:250
int widgetsMaximum() const
The maximum number of widgets that are to be shown on screen.
Definition: kwidgetlister.cpp:255
KWidgetLister(int minWidgets=1, int maxWidgets=8, QWidget *parent=0)
Creates a new widget lister.
Definition: kwidgetlister.cpp:103
virtual void addWidgetAtEnd(QWidget *widget=0)
Adds a single widget.
Definition: kwidgetlister.cpp:196
virtual void addWidgetAfterThisWidget(QWidget *currentWidget, QWidget *widget=0)
Add widget after specific widget.
Definition: kwidgetlister.cpp:278
void widgetRemoved()
This signal is emitted whenever a widget was removed.
virtual void slotMore()
Called whenever the user clicks on the 'more' button.
Definition: kwidgetlister.cpp:161
virtual void clearWidget(QWidget *w)
Called to clear a given widget.
Definition: kwidgetlister.cpp:219
virtual void setNumberOfShownWidgetsTo(int count)
Sets the number of widgets on scrren to exactly count.
Definition: kwidgetlister.cpp:229
void widgetAdded()
This signal is emitted whenever a widget was added.
virtual void slotFewer()
Called whenever the user clicks on the 'fewer' button.
Definition: kwidgetlister.cpp:172
virtual void removeLastWidget()
Removes a single (always the last) widget.
Definition: kwidgetlister.cpp:210
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.