18#ifndef ELEMENT_DIALOG_H
19#define ELEMENT_DIALOG_H
25class QDialogButtonBox;
Definition elementdialog.h:35
ElementsLocation m_location
Definition elementdialog.h:68
ElementsCollectionModel * m_model
Definition elementdialog.h:72
ElementsLocation location() const
ElementDialog::location.
Definition elementdialog.cpp:243
static ElementsLocation getOpenElementLocation(QWidget *parent=nullptr)
ElementDialog::getOpenElementLocation Display a dialog for open an element through her location.
Definition elementdialog.cpp:280
ElementDialog(const ElementDialog &)
void checkCurrentLocation()
ElementDialog::checkCurrentLocation Update this dialog according to the current selected location and...
Definition elementdialog.cpp:154
void checkAccept()
Definition elementdialog.cpp:190
uint m_mode
Definition elementdialog.h:67
@ SaveElement
The dialog should select an element for saving.
Definition elementdialog.h:43
@ SaveCategory
The dialog should select a category for saving.
Definition elementdialog.h:45
@ OpenCategory
The dialog should open a category.
Definition elementdialog.h:44
@ OpenElement
The dialog should open an element.
Definition elementdialog.h:42
void setUpWidget()
ElementDialog::setUpWidget Build and setup the widgets of this dialog.
Definition elementdialog.cpp:49
QDialogButtonBox * m_buttons_box
Definition elementdialog.h:69
void indexClicked(const QModelIndex &index)
ElementDialog::indexClicked.
Definition elementdialog.cpp:143
QTreeView * m_tree_view
Definition elementdialog.h:71
static ElementsLocation execConfiguredDialog(int, QWidget *parent=nullptr)
ElementDialog::execConfiguredDialog launch a dialog with the chosen mode.
Definition elementdialog.cpp:301
static ElementsLocation getSaveElementLocation(QWidget *parent=nullptr)
ElementDialog::getSaveElementLocation Display a dialog that allow to user to select an element (exist...
Definition elementdialog.cpp:290
QFileNameEdit * m_text_field
Definition elementdialog.h:70
void setUpConnection()
ElementDialog::setUpConnection Setup connection of this dialog.
Definition elementdialog.cpp:130
Definition elementscollectionmodel.h:33
The ElementsLocation class This class represents the location, the location of an element or of a cat...
Definition elementslocation.h:47
Definition qfilenameedit.h:32