27 #ifndef DIGIKAM_SQUEEZED_COMBOBOX_H
28 #define DIGIKAM_SQUEEZED_COMBOBOX_H
61 explicit SqueezedComboBox(QWidget*
const parent =
nullptr,
const char* name =
nullptr);
74 bool contains(
const QString& text)
const;
82 int findOriginalText(
const QString& text,
83 Qt::CaseSensitivity cs = Qt::CaseSensitive)
const;
94 void insertSqueezedItem(
const QString& newItem,
int index,
95 const QVariant& userData = QVariant());
105 void insertSqueezedList(
const QStringList& newItems,
int index);
113 void addSqueezedItem(
const QString& newItem,
114 const QVariant& userData = QVariant());
121 void setCurrent(
const QString& itemText);
128 QString itemHighlighted()
const;
135 QString item(
int index)
const;
140 QSize sizeHint()
const override;
145 void slotUpdateToolTip(
int index);
149 void resizeEvent(QResizeEvent*)
override;
150 QString squeezeText(
const QString& original)
const;
153 QString currentText()
const;
154 void setCurrentText(
const QString& itemText);
155 void insertItem(
const QString& text);
156 void insertItem(qint32 index,
const QString& text);
157 void insertItem(
int index,
160 const QVariant& userData = QVariant());
161 void insertItems(
int index,
const QStringList& list);
162 void addItem(
const QString& text);
163 void addItem(
const QIcon& icon,
165 const QVariant& userData = QVariant());
166 void addItems(
const QStringList& texts);
167 QString itemText(
int index)
const;
Definition: squeezedcombobox.h:51
Definition: datefolderview.cpp:43