KDEUI
kactionselector.cpp
Go to the documentation of this file.
447 selectedListWidget->insertItem( insertionIndex( selectedListWidget, selectedInsertionPolicy ), item );
462 availableListWidget->insertItem( insertionIndex( availableListWidget, availableInsertionPolicy ), item );
538 int KActionSelectorPrivate::insertionIndex( QListWidget *lb, KActionSelector::InsertionPolicy policy )
void setSelectedLabel(const QString &text)
Sets the label for the selected items listbox to text.
Definition: kactionselector.cpp:312
void added(QListWidgetItem *item)
Emitted when an item is moved to the "selected" listbox.
void setButtonIconSet(const QIcon &iconset, MoveButton button)
Sets the iconset for button button to iconset.
Definition: kactionselector.cpp:197
void setSelectedInsertionPolicy(InsertionPolicy policy)
Sets the insertion policy for the selected listbox.
Definition: kactionselector.cpp:332
void setButtonIcon(const QString &icon, MoveButton button)
Sets the pixmap of the button button to icon.
Definition: kactionselector.cpp:172
void movedUp(QListWidgetItem *item)
Emitted when an item is moved upwards in the "selected" listbox.
InsertionPolicy
This enum defines policies for where to insert moved items in a listbox.
Definition: kactionselector.h:127
void setAvailableLabel(const QString &text)
Sets the label for the available items listbox to text.
Definition: kactionselector.cpp:302
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
InsertionPolicy availableInsertionPolicy
Definition: kactionselector.h:87
void setButtonWhatsThis(const QString &text, MoveButton button)
Sets the whatsthis help for button button to text.
Definition: kactionselector.cpp:243
void setMoveOnDoubleClick(bool enable)
Sets moveOnDoubleClick to enable.
Definition: kactionselector.cpp:282
void setButtonsEnabled()
Sets the enabled state of all moving buttons to reflect the current options.
Definition: kactionselector.cpp:264
void setKeyboardEnabled(bool enable)
Sets the keyboard enabled depending on enable.
Definition: kactionselector.cpp:292
void keyPressEvent(QKeyEvent *)
Reimplamented for internal reasons.
Definition: kactionselector.cpp:369
void setAvailableInsertionPolicy(InsertionPolicy policy)
Sets the insertion policy for the available listbox.
Definition: kactionselector.cpp:322
QString i18n(const char *text)
void movedDown(QListWidgetItem *item)
Emitted when an item is moved downwards in the "selected" listbox.
QListWidget * availableListWidget() const
Definition: kactionselector.cpp:162
KActionSelector(QWidget *parent=0)
Definition: kactionselector.cpp:82
InsertionPolicy selectedInsertionPolicy
Definition: kactionselector.h:88
void setShowUpDownButtons(bool show)
Sets whether the Up and Down buttons should be displayed according to show.
Definition: kactionselector.cpp:342
void setButtonTooltip(const QString &tip, MoveButton button)
Sets the tooltip for the button button to tip.
Definition: kactionselector.cpp:218
bool eventFilter(QObject *, QEvent *)
Reimplemented for internal reasons.
Definition: kactionselector.cpp:395
void removed(QListWidgetItem *item)
Emitted when an item is moved out of the "selected" listbox.
QListWidget * selectedListWidget() const
Definition: kactionselector.cpp:167
void polish()
Emitted when an item is moved to the "selected" listbox.
Definition: kactionselector.cpp:361
A widget for selecting and arranging actions/objects.
Definition: kactionselector.h:80
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Jan 30 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Jan 30 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.