![]() |
Scanframe Modular Application 0.1.0
|
Dialog to select a part and project to 'open' or 'save'. More...
#include <StoreProjectDialog.h>
Public Types | |
enum | EOption : int { opSave = 1 << 0 , opMustExist = 1 << 1 , opOverwritePrompt = 1 << 2 , opNoPartChange = 1 << 3 , opPartSelect = 1 << 4 , opShowHelp = 1 << 5 } |
Options flags for behavior of this dialog. More... | |
typedef QFlags< EOption > | Options |
Options type. | |
Public Member Functions | |
StoreProjectDialog (QWidget *parent=nullptr) | |
Default Qt constructor. | |
~StoreProjectDialog () override | |
Overridden destructor. | |
void | setOptions (Options options) |
Sets the options for operation of the dialog and see EOption for the information. | |
Options | options () const |
Gets the options set with setOptions and see EOption for the information. | |
void | setPartProject (const PartProject *part_project) |
Assigns the data from the given part project to teh local one. | |
const PartProject * | getPartProject () const |
Gets the local part project pointer. | |
int | exec () override |
Overridden from base class. | |
Dialog to select a part and project to 'open' or 'save'.
typedef QFlags<EOption> sf::StoreProjectDialog::Options |
Options type.
enum sf::StoreProjectDialog::EOption : int |
Options flags for behavior of this dialog.
|
explicit |
Default Qt constructor.
|
override |
Overridden destructor.
|
override |
Overridden from base class.
const PartProject * sf::StoreProjectDialog::getPartProject | ( | ) | const |
Gets the local part project pointer.
Options sf::StoreProjectDialog::options | ( | ) | const |
Gets the options set with setOptions and see EOption for the information.
void sf::StoreProjectDialog::setOptions | ( | Options | options | ) |
Sets the options for operation of the dialog and see EOption for the information.
options |
void sf::StoreProjectDialog::setPartProject | ( | const PartProject * | part_project | ) |
Assigns the data from the given part project to teh local one.
part_project |