![]() |
Scanframe Modular Application 0.1.0
|
Dialog to select a part and project to 'open' or 'save'. More...
#include <StoreInspectionDialog.h>
Public Types | |
enum | EOption { oiSave , oiCreate , oiNoPartChange , oiMustExist , oiPartSelect , oiSerialSelect , oiInspectSelect , oiShowHelp } |
Options flags for behavior of this dialog. More... | |
typedef QFlags< EOption > | Options |
Options type. | |
Public Member Functions | |
StoreInspectionDialog (QWidget *parent=nullptr) | |
Default Qt constructor. | |
~StoreInspectionDialog () 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 | setPartInspection (const TPartInspection *part_inspection) |
Assigns the data from the given part project to the local one. | |
const TPartInspection * | getPartInspection () 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::StoreInspectionDialog::Options |
Options type.
Options flags for behavior of this dialog.
|
explicit |
Default Qt constructor.
|
override |
Overridden destructor.
|
override |
Overridden from base class.
const TPartInspection * sf::StoreInspectionDialog::getPartInspection | ( | ) | const |
Gets the local part project pointer.
Options sf::StoreInspectionDialog::options | ( | ) | const |
Gets the options set with setOptions and see EOption for the information.
void sf::StoreInspectionDialog::setOptions | ( | Options | options | ) |
Sets the options for operation of the dialog and see EOption for the information.
options |
void sf::StoreInspectionDialog::setPartInspection | ( | const TPartInspection * | part_inspection | ) |
Assigns the data from the given part project to the local one.
part_inspection |