◆ IccProfilesComboBox()
Digikam::IccProfilesComboBox::IccProfilesComboBox |
( |
QWidget *const |
parent = nullptr | ) |
|
|
explicit |
NOTE: Use the signal currentIndexChanged(int) for change notification
◆ ~IccProfilesComboBox()
Digikam::IccProfilesComboBox::~IccProfilesComboBox |
( |
| ) |
|
|
override |
◆ addProfileSqueezed()
void Digikam::IccProfilesComboBox::addProfileSqueezed |
( |
const IccProfile & |
profile, |
|
|
const QString & |
description = QString() |
|
) |
| |
◆ addProfilesSqueezed()
void Digikam::IccProfilesComboBox::addProfilesSqueezed |
( |
const QList< IccProfile > & |
profiles | ) |
|
◆ addSqueezedItem()
void Digikam::SqueezedComboBox::addSqueezedItem |
( |
const QString & |
newItem, |
|
|
const QVariant & |
userData = QVariant() |
|
) |
| |
|
inherited |
◆ contains()
bool Digikam::SqueezedComboBox::contains |
( |
const QString & |
text | ) |
const |
|
inherited |
Returns true if the combobox contains the original (not-squeezed) version of text.
- Parameters
-
text | the original (not-squeezed) text to check for |
◆ currentProfile()
IccProfile Digikam::IccProfilesComboBox::currentProfile |
( |
| ) |
const |
◆ findOriginalText()
int Digikam::SqueezedComboBox::findOriginalText |
( |
const QString & |
text, |
|
|
Qt::CaseSensitivity |
cs = Qt::CaseSensitive |
|
) |
| const |
|
inherited |
Returns the index of the combobox if found the original (not-squeezed) version of text.
- Parameters
-
text | the original (not-squeezed) text to find for |
cs | case sensitive or case insensitive search |
◆ insertSqueezedItem()
void Digikam::SqueezedComboBox::insertSqueezedItem |
( |
const QString & |
newItem, |
|
|
int |
index, |
|
|
const QVariant & |
userData = QVariant() |
|
) |
| |
|
inherited |
◆ insertSqueezedList()
void Digikam::SqueezedComboBox::insertSqueezedList |
( |
const QStringList & |
newItems, |
|
|
int |
index |
|
) |
| |
|
inherited |
This inserts items to the list. See QComboBox::insertItems() for details. Please do not use QComboBox:: insertItems() to this widget, as that will fail.
- Parameters
-
newItems | the originals (long version) of the items which needs to be added to the combobox |
index | the position in the widget. |
References Digikam::SqueezedComboBox::insertSqueezedItem().
◆ item()
QString Digikam::SqueezedComboBox::item |
( |
int |
index | ) |
const |
|
inherited |
This method returns the full text (not squeezed) for the index.
- Parameters
-
index | the position in the widget. |
- Returns
- full text of the item
◆ itemHighlighted()
QString Digikam::SqueezedComboBox::itemHighlighted |
( |
| ) |
const |
|
inherited |
This method returns the full text (not squeezed) of the currently highlighted item.
- Returns
- full text of the highlighted item
◆ replaceProfilesSqueezed()
void Digikam::IccProfilesComboBox::replaceProfilesSqueezed |
( |
const QList< IccProfile > & |
profiles | ) |
|
◆ setCurrent()
void Digikam::SqueezedComboBox::setCurrent |
( |
const QString & |
itemText | ) |
|
|
inherited |
Set the current item to the one matching the given text.
- Parameters
-
itemText | the original (long version) of the item text |
◆ setCurrentProfile()
void Digikam::IccProfilesComboBox::setCurrentProfile |
( |
const IccProfile & |
profile | ) |
|
◆ setNoProfileIfEmpty()
void Digikam::IccProfilesComboBox::setNoProfileIfEmpty |
( |
const QString & |
message | ) |
|
◆ sizeHint()
QSize Digikam::SqueezedComboBox::sizeHint |
( |
| ) |
const |
|
overrideinherited |
The documentation for this class was generated from the following files: