QElectroTech 0.200.1-dev
Loading...
Searching...
No Matches
ImportElementTextPatternDialog Class Reference

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>

Inherits QDialog.

Collaboration diagram for ImportElementTextPatternDialog:
Collaboration graph

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.

Private Attributes

Ui::ImportElementTextPatternDialog * ui

Detailed Description

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.

Constructor & Destructor Documentation

◆ ImportElementTextPatternDialog()

ImportElementTextPatternDialog::ImportElementTextPatternDialog ( QWidget * parent = nullptr)
explicit
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~ImportElementTextPatternDialog()

ImportElementTextPatternDialog::~ImportElementTextPatternDialog ( )

Member Function Documentation

◆ getItem()

QString ImportElementTextPatternDialog::getItem ( QWidget * parent,
const QString & title,
const QString & label,
const QStringList & items,
bool * ok = nullptr,
bool * erase = nullptr )
static

ImportElementTextPatternDialog::getItem For all arguments see QInputDialog::getItem, except for erase, they store the state of the check box.

Parameters
parent
title
label
items
ok
erase
Returns
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setComboBoxItems()

void ImportElementTextPatternDialog::setComboBoxItems ( const QStringList & items)

◆ setLabelText()

void ImportElementTextPatternDialog::setLabelText ( const QString & label)

◆ textValue()

QString ImportElementTextPatternDialog::textValue ( ) const

Member Data Documentation

◆ ui

Ui::ImportElementTextPatternDialog* ImportElementTextPatternDialog::ui
private

The documentation for this class was generated from the following files: