|
QElectroTech
0.8-dev
|
Go to the documentation of this file.
18 #ifndef ELEMENTS_CATEGORY_EDITOR_H
19 #define ELEMENTS_CATEGORY_EDITOR_H
26 class QDialogButtonBox;
bool exist() const
ElementsLocation::exist.
Definition: elementslocation.cpp:472
void addName(const QString &, const QString &)
Definition: nameslist.cpp:43
NameListWidget * m_names_list
Definition: elementscategoryeditor.h:48
QIcon nl
Definition: qeticons.cpp:203
ElementsLocation m_location
Definition: elementscategoryeditor.h:52
void acceptUpdate()
ElementsCategoryEditor::acceptUpdate Valid the update of the category.
Definition: elementscategoryeditor.cpp:182
ElementsLocation createdLocation() const
ElementsCategoryEditor::createdLocation.
Definition: elementscategoryeditor.cpp:97
Definition: qfilenameedit.h:32
bool isWritable() const
ElementsLocation::isWritable.
Definition: elementslocation.cpp:499
ElementsCategoryEditor(const ElementsLocation &location, bool edit=true, QWidget *parent=nullptr)
ElementsCategoryEditor::ElementsCategoryEditor Constructor.
Definition: elementscategoryeditor.cpp:37
bool isElement() const
ElementsLocation::isElement.
Definition: elementslocation.cpp:412
The ElementsCategoryEditor class This class provides a dialog to edit an existing category or create ...
Definition: elementscategoryeditor.h:34
The ElementCollectionHandler class Provide several method to copy element or directory from a collect...
Definition: elementcollectionhandler.h:109
QLabel * m_file_name
Definition: elementscategoryeditor.h:49
void setUpWidget()
ElementsCategoryEditor::setUpWidget.
Definition: elementscategoryeditor.cpp:105
bool isNull() const
ElementsLocation::isNull.
Definition: elementslocation.cpp:387
ElementsCategoryEditor(const ElementsCategoryEditor &)
bool addToPath(const QString &)
ElementsLocation::addToPath Add a string to the actual path of this location.
Definition: elementslocation.cpp:320
ElementsLocation createDir(ElementsLocation &parent, const QString &name, const NamesList &name_list)
ElementCollectionHandler::createDir Create a directorie with name as child of parent....
Definition: elementcollectionhandler.cpp:344
QString fileSystemPath() const
ElementsLocation::fileSystemPath.
Definition: elementslocation.cpp:193
bool setNames(ElementsLocation &location, const NamesList &name_list)
ElementCollectionHandler::setNames Set the names stored in name_list as the names of the item represe...
Definition: elementcollectionhandler.cpp:454
NamesList nameList()
ElementsLocation::nameList.
Definition: elementslocation.cpp:532
The ElementsLocation class This class represents the location, the location of an element or of a cat...
Definition: elementslocation.h:46
QFileNameEdit * m_file_line_edit
Definition: elementscategoryeditor.h:50
Definition: nameslist.h:30
QDialogButtonBox * m_buttons
Definition: elementscategoryeditor.h:47
ElementsLocation m_created_location
Definition: elementscategoryeditor.h:53
QMessageBox::StandardButton warning(QWidget *, const QString &, const QString &, QMessageBox::StandardButtons=QMessageBox::Ok, QMessageBox::StandardButton=QMessageBox::NoButton)
Definition: qetmessagebox.cpp:68
QMessageBox::StandardButton critical(QWidget *, const QString &, const QString &, QMessageBox::StandardButtons=QMessageBox::Ok, QMessageBox::StandardButton=QMessageBox::NoButton)
Definition: qetmessagebox.cpp:23
bool m_edit_mode
Definition: elementscategoryeditor.h:51
void acceptCreation()
ElementsCategoryEditor::acceptCreation Valid the creation of the category.
Definition: elementscategoryeditor.cpp:131
~ElementsCategoryEditor() override
ElementsCategoryEditor::~ElementsCategoryEditor Destructor.
Definition: elementscategoryeditor.cpp:90
QIcon tr
Definition: qeticons.cpp:206
QIcon Cancel
Definition: qeticons.cpp:34