2#include <QAbstractButton>
16class StoreInspectionDialog;
88 void nameChanged(
const QString&);
93 bool canClose()
const;
98 void clicked(QAbstractButton* button);
103 Ui::StoreInspectionDialog* ui;
Definition PartInspection.h:11
Dialog to select a part and project to 'open' or 'save'.
Definition StoreInspectionDialog.h:23
int exec() override
Overridden from base class.
EOption
Options flags for behavior of this dialog.
Definition StoreInspectionDialog.h:32
@ oiSerialSelect
Only select a serial.
Definition StoreInspectionDialog.h:38
@ oiInspectSelect
Only select a specific inspection.
Definition StoreInspectionDialog.h:39
@ oiPartSelect
Only select a part.
Definition StoreInspectionDialog.h:37
@ oiNoPartChange
Part is not allowed to change.
Definition StoreInspectionDialog.h:35
@ oiMustExist
Serial must exist when opening.
Definition StoreInspectionDialog.h:36
@ oiShowHelp
Shows the help button.
Definition StoreInspectionDialog.h:40
@ oiCreate
Special open mode. Source of the part name is taken from the existing projects. The save flag is auto...
Definition StoreInspectionDialog.h:34
@ oiSave
Dialog is for saving.
Definition StoreInspectionDialog.h:33
QFlags< EOption > Options
Options type.
Definition StoreInspectionDialog.h:46
void setPartInspection(const PartInspection *part_inspection)
Assigns the data from the given part project to the local one.
Options options() const
Gets the options set with setOptions and see EOption for the information.
StoreInspectionDialog(QWidget *parent=nullptr)
Default Qt constructor.
void setOptions(Options options)
Sets the options for operation of the dialog and see EOption for the information.
const PartInspection * getPartInspection() const
Gets the local part project pointer.
~StoreInspectionDialog() override
Overridden destructor.
Definition ApplicationPropertyPage.h:7
Definition Application.h:10