krita
SqueezedComboBox Class Reference
#include <squeezedcombobox.h>
Detailed Description
This widget is a QComboBox, but then a little bit different.It only shows the right part of the items depending on de size of the widget. When it is not possible to show the complete item, it will be shortened and "..." will be prepended.

This is how it looks
- Author:
- Tom Albers
Definition at line 82 of file squeezedcombobox.h.
Public Member Functions | |
SqueezedComboBox (QWidget *parent=0, const char *name=0) | |
virtual | ~SqueezedComboBox () |
bool | contains (const QString &text) const |
void | insertSqueezedItem (const QString &newItem, int index) |
QString | itemHighlighted () |
virtual QSize | sizeHint () const |
Constructor & Destructor Documentation
|
Constructor.
Definition at line 60 of file squeezedcombobox.cpp. |
|
destructor
Definition at line 73 of file squeezedcombobox.cpp. |
Member Function Documentation
|
This inserts a item to the list. See QComboBox::insertItem() for detaills. Please do not use QComboBox::insertItem() to this widget, as that will fail.
Definition at line 106 of file squeezedcombobox.cpp. |
|
This method returns the full text (not squeezed) of the currently highlighted item.
Definition at line 161 of file squeezedcombobox.cpp. |
|
Sets the sizeHint() of this widget.
Definition at line 93 of file squeezedcombobox.cpp. |
The documentation for this class was generated from the following files: