digikam
Digikam::IccProfilesComboBox Class Reference
#include <iccprofilescombobox.h>

Public Member Functions | |
| IccProfilesComboBox (QWidget *parent=0) | |
| ~IccProfilesComboBox () | |
| void | addProfileSqueezed (const IccProfile &profile, const QString &description=QString()) |
| void | addProfilesSqueezed (const QList< IccProfile > &profiles) |
| IccProfile | currentProfile () const |
| void | replaceProfilesSqueezed (const QList< IccProfile > &profiles) |
| void | setCurrentProfile (const IccProfile &profile) |
| void | setNoProfileIfEmpty (const QString &message) |
Detailed Description
Definition at line 45 of file iccprofilescombobox.h.
Constructor & Destructor Documentation
| Digikam::IccProfilesComboBox::IccProfilesComboBox | ( | QWidget * | parent = 0 |
) |
Definition at line 45 of file iccprofilescombobox.cpp.
| Digikam::IccProfilesComboBox::~IccProfilesComboBox | ( | ) |
Definition at line 50 of file iccprofilescombobox.cpp.
Member Function Documentation
| void Digikam::IccProfilesComboBox::addProfileSqueezed | ( | const IccProfile & | profile, | |
| const QString & | description = QString() | |||
| ) |
Add the given profile with the given description, or, if null, a standard description.
Does not test for duplicity, does not sort into existing profiles.
Definition at line 113 of file iccprofilescombobox.cpp.
| void Digikam::IccProfilesComboBox::addProfilesSqueezed | ( | const QList< IccProfile > & | profiles | ) |
Checks the given profiles for validity, creates a suitable description (ICC profile description, file path), removes duplicates by file path, sorts them and adds them in sorted order.
Definition at line 103 of file iccprofilescombobox.cpp.
| IccProfile Digikam::IccProfilesComboBox::currentProfile | ( | ) | const |
Retrieves the current profile, or a null profile if none is selected.
Definition at line 139 of file iccprofilescombobox.cpp.
| void Digikam::IccProfilesComboBox::replaceProfilesSqueezed | ( | const QList< IccProfile > & | profiles | ) |
Clears, does the same as addProfilesSqueezed, and restores the current entry if possible.
Definition at line 121 of file iccprofilescombobox.cpp.
| void Digikam::IccProfilesComboBox::setCurrentProfile | ( | const IccProfile & | profile | ) |
Sets the current profile. If profile is not in the list, sets no current item (-1).
Definition at line 144 of file iccprofilescombobox.cpp.
| void Digikam::IccProfilesComboBox::setNoProfileIfEmpty | ( | const QString & | message | ) |
Sets a message the is displayed in the combo box and disables the combo box, if the combo box is currently empty.
Definition at line 129 of file iccprofilescombobox.cpp.
The documentation for this class was generated from the following files:
KDE 4.4 API Reference