QElectroTech
0.70
|
The ImportElementTextPatternDialog class A dialog use for ask user to select a element text pattern. This dialog is highly inspired from QInputDialog::getItem. In fact this the same + a check box. More...
#include <importelementtextpatterndialog.h>
Public Member Functions | |
ImportElementTextPatternDialog (QWidget *parent=nullptr) | |
~ImportElementTextPatternDialog () | |
void | setLabelText (const QString &label) |
void | setComboBoxItems (const QStringList &items) |
QString | textValue () const |
Static Public Member Functions | |
static QString | getItem (QWidget *parent, const QString &title, const QString &label, const QStringList &items, bool *ok=nullptr, bool *erase=nullptr) |
ImportElementTextPatternDialog::getItem For all arguments see QInputDialog::getItem, except for erase, they store the state of the check box. More... | |
Private Attributes | |
Ui::ImportElementTextPatternDialog * | ui |
The ImportElementTextPatternDialog class A dialog use for ask user to select a element text pattern. This dialog is highly inspired from QInputDialog::getItem. In fact this the same + a check box.
Definition at line 33 of file importelementtextpatterndialog.h.
|
explicit |
Definition at line 21 of file importelementtextpatterndialog.cpp.
References ui.
Referenced by getItem().
ImportElementTextPatternDialog::~ImportElementTextPatternDialog | ( | ) |
Definition at line 27 of file importelementtextpatterndialog.cpp.
References ui.
|
static |
ImportElementTextPatternDialog::getItem For all arguments see QInputDialog::getItem, except for erase, they store the state of the check box.
parent | |
title | |
label | |
items | |
ok | |
erase |
Definition at line 43 of file importelementtextpatterndialog.cpp.
References ImportElementTextPatternDialog().
Referenced by ImportElementTextPattern::getName().
void ImportElementTextPatternDialog::setComboBoxItems | ( | const QStringList & | items | ) |
Definition at line 68 of file importelementtextpatterndialog.cpp.
References ui.
void ImportElementTextPatternDialog::setLabelText | ( | const QString & | label | ) |
Definition at line 64 of file importelementtextpatterndialog.cpp.
References ui.
QString ImportElementTextPatternDialog::textValue | ( | ) | const |
Definition at line 72 of file importelementtextpatterndialog.cpp.
References ui.
|
private |
Definition at line 49 of file importelementtextpatterndialog.h.
Referenced by ImportElementTextPatternDialog(), setComboBoxItems(), setLabelText(), textValue(), and ~ImportElementTextPatternDialog().