A dialog to request a preferencePack name and a set of preferencePack templates. More...
#include <DlgPreferencePackManagementImp.h>
Public Member Functions | |
DlgCreateNewPreferencePackImp (QWidget *parent=nullptr) | |
Constructs a Gui::Dialog::DlgCreateNewPreferencePackImp as a child of 'parent'. More... | |
std::string | preferencePackName () const |
std::vector< PreferencePackManager::TemplateFile > | selectedTemplates () const |
void | setPreferencePackNames (const std::vector< std::string > &usedNames) |
void | setPreferencePackTemplates (const std::vector< PreferencePackManager::TemplateFile > &availableTemplates) |
~DlgCreateNewPreferencePackImp () | |
Protected Slots | |
void | accept () override |
void | on_lineEdit_textEdited (const QString &text) |
void | onItemChanged (QTreeWidgetItem *item, int column) |
A dialog to request a preferencePack name and a set of preferencePack templates.
DlgCreateNewPreferencePackImp::DlgCreateNewPreferencePackImp | ( | QWidget * | parent = nullptr | ) |
Constructs a Gui::Dialog::DlgCreateNewPreferencePackImp as a child of 'parent'.
References draftgeoutils.intersections::connect(), and onItemChanged().
DlgCreateNewPreferencePackImp::~DlgCreateNewPreferencePackImp | ( | ) |
|
overrideprotectedslot |
|
protectedslot |
|
protectedslot |
Referenced by DlgCreateNewPreferencePackImp().
std::string DlgCreateNewPreferencePackImp::preferencePackName | ( | ) | const |
std::vector< Gui::PreferencePackManager::TemplateFile > DlgCreateNewPreferencePackImp::selectedTemplates | ( | ) | const |
void Gui::Dialog::DlgCreateNewPreferencePackImp::setPreferencePackNames | ( | const std::vector< std::string > & | usedNames | ) |
void DlgCreateNewPreferencePackImp::setPreferencePackTemplates | ( | const std::vector< PreferencePackManager::TemplateFile > & | availableTemplates | ) |