#include <ddtGraphicalElementsDialog.hpp>
|
| void | ParameterChanged (const QString dialog_id, const QString param_id, const QVariant parameter) |
| |
| void | ParameterChanged (const QString dialog_id, const QString param_id, const QVariant parameter) |
| |
|
| virtual void | ConfirmPressed () |
| |
| virtual void | CancelPressed () |
| |
| virtual void | QuitPressed () |
| |
| virtual void | SetChangedParameter (const QString param_id, const QVariant parameter) |
| |
| template<typename Func1 , typename Func2 > |
| void | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *context, Func2 slot) |
| | connect Template version of QObject::connection with fixed Qt::QueuedConnection flag. Normally used to connect a signal with a lambda function.
|
| |
| virtual void | AddDefaultButtonsToLayout (QBoxLayout *layout, bool show_confirm_button, bool show_quit_button, bool show_cancel_button) |
| |
| virtual QLayout * | GetMainLayout () |
| |
| void | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member) |
| | connect Group of overloaded functions that use the QObject::connect method with the Qt::QueuedConnection flag. This defines Qt Signal and Slots connection the same way thought out the QApplication.
|
| |
| void | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
| |
| void | connect (const QObject *sender, const char *signal, const char *member) |
| |
| QLayout * | main_layout |
| |
Class for the graphical element dialog
◆ DdtGraphicalElementsDialog()
| DdtGraphicalElementsDialog::DdtGraphicalElementsDialog |
( |
QWidget * | parent = nullptr | ) |
|
|
explicit |
Constructor
- Parameters
-
| parent | Pointer to the parent widget |
◆ ~DdtGraphicalElementsDialog()
| virtual DdtGraphicalElementsDialog::~DdtGraphicalElementsDialog |
( |
| ) |
|
|
virtualdefault |
◆ AddButtonsToLayout()
| void DdtGraphicalElementsDialog::AddButtonsToLayout |
( |
QVBoxLayout * | i_vertical_layout | ) |
|
|
protectedvirtual |
Setup button elements for the dialog
◆ AddFormLayoutRowFillColor()
| void DdtGraphicalElementsDialog::AddFormLayoutRowFillColor |
( |
QFormLayout * | i_form_layout | ) |
|
|
protectedvirtual |
Setup form layout elements for fill color
◆ AddFormLayoutRowFont()
| void DdtGraphicalElementsDialog::AddFormLayoutRowFont |
( |
QFormLayout * | i_form_layout | ) |
|
|
protectedvirtual |
Setup form layout elements for font
◆ AddFormLayoutRowLineColor()
| void DdtGraphicalElementsDialog::AddFormLayoutRowLineColor |
( |
QFormLayout * | i_form_layout | ) |
|
|
protectedvirtual |
Setup form layout elements for line color
◆ AddFormLayoutRowLineStyle()
| void DdtGraphicalElementsDialog::AddFormLayoutRowLineStyle |
( |
QFormLayout * | i_form_layout | ) |
|
|
protectedvirtual |
Setup form layout elements for line style
◆ AddFormLayoutRowRotation()
| void DdtGraphicalElementsDialog::AddFormLayoutRowRotation |
( |
QFormLayout * | i_form_layout | ) |
|
|
protectedvirtual |
Setup form layout elements for rotation
◆ AddFormLayoutRowTag()
| void DdtGraphicalElementsDialog::AddFormLayoutRowTag |
( |
QFormLayout * | i_form_layout | ) |
|
|
protectedvirtual |
Setup form layout elements for tag
◆ AddFormLayoutRowThickness()
| void DdtGraphicalElementsDialog::AddFormLayoutRowThickness |
( |
QFormLayout * | i_form_layout | ) |
|
|
protectedvirtual |
Setup form layout elements for line thickness
◆ AddFormLayoutRowTreshold()
| void DdtGraphicalElementsDialog::AddFormLayoutRowTreshold |
( |
QFormLayout * | i_form_layout | ) |
|
|
protectedvirtual |
Setup form layout elements for threshold scale
◆ AddPropertyControlElements()
| void DdtGraphicalElementsDialog::AddPropertyControlElements |
( |
QVBoxLayout * | i_vertical_layout | ) |
|
|
protectedvirtual |
Setup control elements for properties of graphical elements buttons
◆ AddToolButtonsToLayout()
| void DdtGraphicalElementsDialog::AddToolButtonsToLayout |
( |
QVBoxLayout * | i_vertical_layout | ) |
|
|
protectedvirtual |
◆ changeEvent()
| void DdtGraphicalElementsDialog::changeEvent |
( |
QEvent * | event | ) |
|
|
overrideprotected |
◆ closeEvent()
| void DdtGraphicalElementsDialog::closeEvent |
( |
QCloseEvent * | event | ) |
|
|
overrideprotected |
◆ CreateDialog()
| void DdtGraphicalElementsDialog::CreateDialog |
( |
| ) |
|
|
overrideprotectedvirtual |
Creates the dialog elements
Implements DdtDialog.
◆ focusInEvent()
| void DdtGraphicalElementsDialog::focusInEvent |
( |
QFocusEvent * | event | ) |
|
|
overrideprotected |
◆ GetDialogName()
| QString DdtGraphicalElementsDialog::GetDialogName |
( |
| ) |
|
|
overridevirtual |
Method that return the dialogs name in human readable form
- Returns
- Name of the dialog
Implements DdtDialog.
◆ ParameterChanged
| void DdtGraphicalElementsDialog::ParameterChanged |
( |
const QString | dialog_id, |
|
|
const QString | param_id, |
|
|
const QVariant | parameter ) |
|
signal |
Parameter of dialog has changed
◆ QuitPressed
| void DdtGraphicalElementsDialog::QuitPressed |
( |
| ) |
|
|
overridevirtualslot |
Slot called when the quit button was pressed. Default behavior is to close the dialog.
◆ SetChangedParameter
| void DdtGraphicalElementsDialog::SetChangedParameter |
( |
const QString | param_id, |
|
|
const QVariant | parameter ) |
|
overrideslot |
Called when an element of the dialog was changed
- Parameters
-
| param_id | ID of the parameter |
| parameter | QVariant of the parameter |
◆ SetInitialParameter()
| void DdtGraphicalElementsDialog::SetInitialParameter |
( |
const QString | parameter_id, |
|
|
const QVariant | parameter ) |
|
overridevirtual |
Method to set initial parameters that should be selected in a dialog at startup
- Parameters
-
| parameter_id | ID of the parameter to set |
| parameter | QVariant of the value to set |
Implements DdtDialog.
The documentation for this class was generated from the following files: