KWidgetsAddons
kactionselector.h
76 Q_PROPERTY(InsertionPolicy availableInsertionPolicy READ availableInsertionPolicy WRITE setAvailableInsertionPolicy)
77 Q_PROPERTY(InsertionPolicy selectedInsertionPolicy READ selectedInsertionPolicy WRITE setSelectedInsertionPolicy)
112 BelowCurrent, ///< The item is inserted below the listbox' currentItem() or at the end if there is no current item.
void movedUp(QListWidgetItem *item)
Emitted when an item is moved upwards in the "selected" listbox.
void setShowUpDownButtons(bool show)
Sets whether the Up and Down buttons should be displayed according to show.
Definition kactionselector.cpp:333
InsertionPolicy
This enum defines policies for where to insert moved items in a listbox.
Definition kactionselector.h:111
@ Sorted
The listbox is sort()ed after one or more items are inserted.
Definition kactionselector.h:113
@ BelowCurrent
The item is inserted below the listbox' currentItem() or at the end if there is no current item.
Definition kactionselector.h:112
void movedDown(QListWidgetItem *item)
Emitted when an item is moved downwards in the "selected" listbox.
void setSelectedLabel(const QString &text)
Sets the label for the selected items listbox to text.
Definition kactionselector.cpp:303
void setSelectedInsertionPolicy(InsertionPolicy policy)
Sets the insertion policy for the selected listbox.
Definition kactionselector.cpp:323
void removed(QListWidgetItem *item)
Emitted when an item is moved out of the "selected" listbox.
void setMoveOnDoubleClick(bool enable)
Sets moveOnDoubleClick to enable.
Definition kactionselector.cpp:273
void setAvailableLabel(const QString &text)
Sets the label for the available items listbox to text.
Definition kactionselector.cpp:293
QListWidget * selectedListWidget() const
Definition kactionselector.cpp:167
void added(QListWidgetItem *item)
Emitted when an item is moved to the "selected" listbox.
void setKeyboardEnabled(bool enable)
Sets the keyboard enabled depending on enable.
Definition kactionselector.cpp:283
void setButtonsEnabled()
Emitted when an item is moved to the "selected" listbox.
Definition kactionselector.cpp:349
QListWidget * availableListWidget() const
Definition kactionselector.cpp:162
void setAvailableInsertionPolicy(InsertionPolicy policy)
Sets the insertion policy for the available listbox.
Definition kactionselector.cpp:313
QObject(QObject *parent)
Q_ENUM(...)
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SLOTSQ_SLOTS
virtual bool eventFilter(QObject *watched, QEvent *event)
QObject * parent() const const
QWidget(QWidget *parent, Qt::WindowFlags f)
virtual void keyPressEvent(QKeyEvent *event)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:52:02 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:52:02 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.