ddt
0.1
|
#include <ddtDistanceDialog.hpp>
Public Slots | |
void | ConfirmPressed () override |
void | QuitPressed () override |
void | CancelPressed () override |
![]() | |
virtual void | ConfirmPressed () |
virtual void | CancelPressed () |
virtual void | QuitPressed () |
Signals | |
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) |
Public Member Functions | |
DdtDistanceDialog (QWidget *parent=nullptr) | |
~DdtDistanceDialog () override=default | |
void | SetInitialParameter (const QString parameter_id, const QVariant parameter) override |
void | SetChangedParameter (const QString param_id, const QVariant parameter) override |
QString | GetDialogName () override |
![]() | |
DdtDialog (QWidget *parent=nullptr) | |
virtual | ~DdtDialog () |
Protected Member Functions | |
void | CreateDialog () override |
virtual void | RetranslateUi () |
void | changeEvent (QEvent *event) override |
void | focusInEvent (QFocusEvent *event) override |
void | closeEvent (QCloseEvent *event) override |
void | UpdateDistanceData (const QList< QVariant > table_distance_data) |
![]() | |
virtual void | AddDefaultButtonsToLayout (QBoxLayout *layout, bool show_confirm_button, bool show_quit_button, bool show_cancel_button) |
virtual QLayout * | GetMainLayout () |
Additional Inherited Members | |
![]() | |
QLayout * | main_layout |
Class for the distance dialog
|
explicit |
Constructor
parent | Pointer to the parent widget |
|
overridedefault |
Destructor
|
overrideslot |
Slot called when the cancel button was pressed. Stops the pick operation.
|
overrideprotected |
|
overrideprotected |
|
overrideslot |
Slot called when the confirm button was pressed. Default behavior is to close the dialog.
|
overrideprotectedvirtual |
Creates the dialog elements
Implements DdtDialog.
|
overrideprotected |
|
overridevirtual |
Method that return the dialogs name in human readable form
Implements DdtDialog.
|
signal |
Parameter of dialog has changed
|
overrideslot |
Slot called when the quit button was pressed. Default behavior is to close the dialog.
|
protectedvirtual |
|
overridevirtual |
Called when an element of the dialog was changed
param_id | ID of the parameter |
parameter | QVariant of the parameter |
Reimplemented from DdtDialog.
|
overridevirtual |
Method to set initial parameters that should be selected in a dialog at startup
parameter_id | ID of the parameter to set |
parameter | QVariant of the value to set |
Implements DdtDialog.
|
protected |
Update the distance data elements in the dialog