QElectroTech
0.8-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,. More... | |
Private Types | |
enum | WizardState { Category, Filename, Names } |
Private Member Functions | |
NewElementWizard (const NewElementWizard &) | |
QWizardPage * | buildStep1 () |
NewElementWizard::buildStep1. More... | |
QWizardPage * | buildStep2 () |
NewElementWizard::buildStep2. More... | |
QWizardPage * | buildStep3 () |
NewElementWizard::buildStep3. More... | |
bool | validStep1 () |
NewElementWizard::validStep1 Valid the setp 1. More... | |
bool | validStep2 () |
NewElementWizard::validStep2 Valid the step 2. More... | |
bool | validateCurrentPage () override |
NewElementWizard::validateCurrentPage. More... | |
void | createNewElement () |
NewElementWizard::createNewElement Lauch an element editor for create the new element. More... | |
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 Lauch an element editor for 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 |