QElectroTech 0.100.0-dev
|
The ElementsCategoryEditor class This class provides a dialog to edit an existing category or create a new one. More...
#include <elementscategoryeditor.h>
Inherits QDialog.
Public Slots | |
void | acceptCreation () |
ElementsCategoryEditor::acceptCreation Valid the creation of the category. | |
void | acceptUpdate () |
ElementsCategoryEditor::acceptUpdate Valid the update of the category. | |
Public Member Functions | |
ElementsCategoryEditor (const ElementsLocation &location, bool edit=true, QWidget *parent=nullptr) | |
ElementsCategoryEditor::ElementsCategoryEditor Constructor. | |
~ElementsCategoryEditor () override | |
ElementsCategoryEditor::~ElementsCategoryEditor Destructor. | |
ElementsLocation | createdLocation () const |
ElementsCategoryEditor::createdLocation. | |
Private Member Functions | |
ElementsCategoryEditor (const ElementsCategoryEditor &) | |
void | setUpWidget () |
ElementsCategoryEditor::setUpWidget. | |
Private Attributes | |
QDialogButtonBox * | m_buttons |
NameListWidget * | m_names_list |
QLabel * | m_file_name |
QFileNameEdit * | m_file_line_edit |
bool | m_edit_mode |
ElementsLocation | m_location |
ElementsLocation | m_created_location |
The ElementsCategoryEditor class This class provides a dialog to edit an existing category or create a new one.
ElementsCategoryEditor::ElementsCategoryEditor | ( | const ElementsLocation & | location, |
bool | edit = true , |
||
QWidget * | parent = nullptr |
||
) |
ElementsCategoryEditor::ElementsCategoryEditor Constructor.
location | : location of the category to edit, or parent directory/category for the creation of a new category |
edit | : true = edit mode, false = creation mode |
parent | : parent widget |
|
override |
ElementsCategoryEditor::~ElementsCategoryEditor Destructor.
|
private |
|
slot |
ElementsCategoryEditor::acceptCreation Valid the creation of the category.
|
slot |
ElementsCategoryEditor::acceptUpdate Valid the update of the category.
ElementsLocation ElementsCategoryEditor::createdLocation | ( | ) | const |
ElementsCategoryEditor::createdLocation.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |