#include <imagetypewidget.h>
◆ ImageTypeWidget()
| ImageTypeWidget::ImageTypeWidget |
( |
const QStringList & | imageTypes, |
|
|
const QString & | _default, |
|
|
QWidget * | parent = nullptr ) |
|
explicit |
Constructor
- Parameters
-
| imageTypes | A list of image types the user should be able to select from. |
| _default | String which is selected by default. |
| parent | Parent widget |
◆ currentIndexChanged
| void ImageTypeWidget::currentIndexChanged |
( |
const QString & | index | ) |
|
|
signal |
◆ currentType()
| QString ImageTypeWidget::currentType |
( |
| ) |
|
Return current type as string.
- Returns
- String with currently selected type.
◆ slotCurrentIndexChanged
| void ImageTypeWidget::slotCurrentIndexChanged |
( |
const QString & | index | ) |
|
|
privateslot |
Slot to export index changed signal from the combo box.
- Parameters
-
◆ m_comboBox
| KComboBox* ImageTypeWidget::m_comboBox |
|
private |
◆ m_label
| QLabel* ImageTypeWidget::m_label |
|
private |
The documentation for this class was generated from the following files: