#include <Workspace/Presentation/operationpropertiesdialog.h>
Inherits QDialog.
◆ OperationPropertiesDialog()
◆ addPropertyPage()
int addPropertyPage |
( |
QWidget * |
widget, |
|
|
const QString & |
label |
|
) |
| |
- Parameters
-
widget | The widget to be added as a new page to the properties. The dialog takes ownership of the widget. |
label | The label to use for the new page. It will typically be used as the text shown on a tab of a tab widget, so it should be kept short. |
If the operation is part of a workspace that comes from an external source URL, the widget will be made read-only by marking it a disabled. This is to prevent the user from trying to change something that they cannot save.
- Returns
- The page number of the new property page. This can be used to tell the dialog to show that page when an error is encountered, for example.
- See also
- showPage()
◆ enableOkButton()
void enableOkButton |
( |
bool |
enable | ) |
|
- Parameters
-
enable | Enable or disable the Ok button |
◆ setFocusOnWidget()
void setFocusOnWidget |
( |
const QString & |
objectName | ) |
|
- Parameters
-
objectName | QObject name of the widget that we wish to focus on. |
◆ setReadOnly()
◆ showLastPage()
◆ showPage()
void showPage |
( |
int |
index | ) |
|