QElectroTech
0.8-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. More... | |
void | acceptUpdate () |
ElementsCategoryEditor::acceptUpdate Valid the update of the category. More... | |
Public Member Functions | |
ElementsCategoryEditor (const ElementsLocation &location, bool edit=true, QWidget *parent=nullptr) | |
ElementsCategoryEditor::ElementsCategoryEditor Constructor. More... | |
~ElementsCategoryEditor () override | |
ElementsCategoryEditor::~ElementsCategoryEditor Destructor. More... | |
ElementsLocation | createdLocation () const |
ElementsCategoryEditor::createdLocation. More... | |
Private Member Functions | |
ElementsCategoryEditor (const ElementsCategoryEditor &) | |
void | setUpWidget () |
ElementsCategoryEditor::setUpWidget. More... | |
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 |