18 #ifndef ELEMENT_DIALOG_H 19 #define ELEMENT_DIALOG_H 24 class QDialogButtonBox;
QDialogButtonBox * m_buttons_box
void checkCurrentLocation()
ElementDialog::checkCurrentLocation Update this dialog according to the current selected location and...
QFileNameEdit * m_text_field
ElementDialog(uint=ElementDialog::OpenElement, QWidget *parent=nullptr)
ElementDialog::ElementDialog.
static ElementsLocation execConfiguredDialog(int, QWidget *parent=nullptr)
ElementDialog::execConfiguredDialog launch a dialog with the chosen mode.
ElementsLocation location() const
ElementDialog::location.
void setUpWidget()
ElementDialog::setUpWidget Build and setup the widgets of this dialog.
The dialog should select an element for saving.
The dialog should open an element.
ElementsCollectionModel * m_model
The dialog should select a category for saving.
void setUpConnection()
ElementDialog::setUpConnection Setup connection of this dialog.
void indexClicked(const QModelIndex &index)
ElementDialog::indexClicked.
static ElementsLocation getOpenElementLocation(QWidget *parent=nullptr)
ElementDialog::getOpenElementLocation Display a dialog for open an element through her location...
The dialog should open a category.
ElementsLocation m_location
static ElementsLocation getSaveElementLocation(QWidget *parent=nullptr)
ElementDialog::getSaveElementLocation Display a dialog that allow to user to select an element (exist...