QElectroTech 0.100.0-dev
|
#include <newelementwizard.h>
Inherits QWizard.
Public Member Functions | |
NewElementWizard (QWidget *=nullptr, Qt::WindowFlags=Qt::Widget) | |
~NewElementWizard () override | |
void | preselectedLocation (const ElementsLocation &location) |
NewElementWizard::preselectedLocation Select item in the tree view represented by location,. | |
Private Types | |
enum | WizardState { Category , Filename , Names } |
Private Member Functions | |
NewElementWizard (const NewElementWizard &) | |
QWizardPage * | buildStep1 () |
NewElementWizard::buildStep1. | |
QWizardPage * | buildStep2 () |
NewElementWizard::buildStep2. | |
QWizardPage * | buildStep3 () |
NewElementWizard::buildStep3. | |
bool | validStep1 () |
NewElementWizard::validStep1 Valid the setp 1. | |
bool | validStep2 () |
NewElementWizard::validStep2 Valid the step 2. | |
bool | validateCurrentPage () override |
NewElementWizard::validateCurrentPage. | |
void | createNewElement () |
NewElementWizard::createNewElement Launch an element editor to create the new element. | |
Private Attributes | |
QFileNameEdit * | m_qle_filename |
NameListWidget * | m_names_list |
QString | m_chosen_file |
QTreeView * | m_tree_view = nullptr |
ElementsLocation | m_chosen_location |
ElementsCollectionModel * | m_model = nullptr |
This class provides a wizard dialog enabling users to to specify the basic parameters of the electrical elements they intend to draw.
These parameters include:
|
private |
NewElementWizard::NewElementWizard | ( | QWidget * | parent = nullptr , |
Qt::WindowFlags | f = Qt::Widget |
||
) |
Constructeur
parent | QWidget parent de ce dialogue |
f | flags pour le dialogue |
|
override |
Destructeur
|
private |
|
private |
|
private |
|
private |
|
private |
NewElementWizard::createNewElement Launch an element editor to create the new element.
void NewElementWizard::preselectedLocation | ( | const ElementsLocation & | location | ) |
NewElementWizard::preselectedLocation Select item in the tree view represented by location,.
location |
|
overrideprivate |
NewElementWizard::validateCurrentPage.
|
private |
NewElementWizard::validStep1 Valid the setp 1.
|
private |
NewElementWizard::validStep2 Valid the step 2.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |