|
QElectroTech
0.8-dev
|
Go to the documentation of this file.
18 #ifndef NEW_ELEMENT_WIZARD_H
19 #define NEW_ELEMENT_WIZARD_H
bool exist() const
ElementsLocation::exist.
Definition: elementslocation.cpp:472
Definition: newelementwizard.h:39
bool validStep2()
NewElementWizard::validStep2 Valid the step 2.
Definition: newelementwizard.cpp:205
void addName(const QString &, const QString &)
Definition: nameslist.cpp:43
QTreeView * m_tree_view
Definition: newelementwizard.h:58
bool validStep1()
NewElementWizard::validStep1 Valid the setp 1.
Definition: newelementwizard.cpp:173
NewElementWizard(QWidget *=nullptr, Qt::WindowFlags=Qt::Widget)
Definition: newelementwizard.cpp:31
Definition: qfilenameedit.h:32
virtual QString collectionPath() const =0
QString m_chosen_file
Definition: newelementwizard.h:57
ElementsCollectionModel * m_model
Definition: newelementwizard.h:60
The ElementCollectionItem class This class represent a item (a directory or an element) in a element ...
Definition: elementcollectionitem.h:30
@ Names
Definition: newelementwizard.h:54
QFileNameEdit * m_qle_filename
Definition: newelementwizard.h:55
void createNewElement()
NewElementWizard::createNewElement Lauch an element editor for create the new element.
Definition: newelementwizard.cpp:236
virtual bool isDir() const =0
ElementsLocation m_chosen_location
Definition: newelementwizard.h:59
void addCustomCollection(bool set_data=true)
ElementsCollectionModel::addCustomCollection Add the custom elements collection to this model.
Definition: elementscollectionmodel.cpp:316
WizardState
Definition: newelementwizard.h:54
bool addToPath(const QString &)
ElementsLocation::addToPath Add a string to the actual path of this location.
Definition: elementslocation.cpp:320
void hideElement()
ElementsCollectionModel::hideElement Hide element in this model, only directory is managed.
Definition: elementscollectionmodel.cpp:526
QWizardPage * buildStep3()
NewElementWizard::buildStep3.
Definition: newelementwizard.cpp:126
void preselectedLocation(const ElementsLocation &location)
NewElementWizard::preselectedLocation Select item in the tree view represented by location,...
Definition: newelementwizard.cpp:62
@ Category
Definition: newelementwizard.h:54
QWizardPage * buildStep1()
NewElementWizard::buildStep1.
Definition: newelementwizard.cpp:75
NameListWidget * m_names_list
Definition: newelementwizard.h:56
The ElementsLocation class This class represents the location, the location of an element or of a cat...
Definition: elementslocation.h:46
QModelIndex indexFromLocation(const ElementsLocation &location)
ElementsCollectionModel::indexFromLocation Return the index who represent location....
Definition: elementscollectionmodel.cpp:543
Definition: nameslist.h:30
~NewElementWizard() override
Definition: newelementwizard.cpp:54
Definition: elementscollectionmodel.h:32
bool validateCurrentPage() override
NewElementWizard::validateCurrentPage.
Definition: newelementwizard.cpp:147
@ Filename
Definition: newelementwizard.h:54
NewElementWizard(const NewElementWizard &)
QMessageBox::StandardButton critical(QWidget *, const QString &, const QString &, QMessageBox::StandardButtons=QMessageBox::Ok, QMessageBox::StandardButton=QMessageBox::NoButton)
Definition: qetmessagebox.cpp:23
QWizardPage * buildStep2()
NewElementWizard::buildStep2.
Definition: newelementwizard.cpp:102
QIcon tr
Definition: qeticons.cpp:206
Definition: qetelementeditor.h:33