hlcc 2.0.0-beta2+pre1
|
Public Member Functions | |
def | __init__ (self, parent=None, *args, **kwargs) |
Initialize the widget that represents the ELTPK Page. | |
def | set_stdcmds_facade (self, facade) |
Setupt the ELTPK Standard facade already instantiated in the application_window constructor. | |
def | set_commands_facade (self, facade) |
Setupt the ELTPK Commands facade already instantiated in the application_window constructor. | |
def | change_numerical_units_view (self, NumericalUnitsPropertyEnum unit_type) |
Save the current numerical unit type widgets that are displayed and invoke the utils generic hide_show_property_widgets static method. | |
def | on_altitude_changed (self, model_set_function) |
Custom slot used to connect with altitude widgets text and value change signals Do the numerical unit convertion to radians and update other related altitude widgets. | |
def | on_azimuth_changed (self, model_set_function) |
Custom slot used to connect with azimuth widgets text and value change signals Do the numerical unit convertion to radians and update other related azimuth widgets. | |
def | on_radec_changed (self, model_set_function, coordinates_element) |
Custom slot used to connect with ra/dec widgets text and value change signals Do the numerical unit convertion to radians and update other related ra/dec widgets. | |
def | on_initPushButton_clicked (self) |
Slots for methods in the StdCmds interface ##. | |
def | on_exitPushButton_clicked (self) |
Slot that auto-connects to the QPushButton exitPushButton. | |
def | on_resetPushButton_clicked (self) |
Slot that auto-connects to the QPushButton resetPushButton. | |
def | on_enablePushButton_clicked (self) |
Slot that auto-connects to the QPushButton enablePushButton. | |
def | on_disablePushButton_clicked (self) |
Slot that auto-connects to the QPushButton disablePushButton. | |
def | on_getStatePushButton_clicked (self) |
Slot that auto-connects to the QPushButton getStatePushButton. | |
def | on_getStatusPushButton_clicked (self) |
Slot that auto-connects to the QPushButton getStatusPushButton. | |
def | on_getVersionPushButton_clicked (self) |
Slot that auto-connects to the QPushButton getVersionPushButton. | |
def | on_stopPushButton_clicked (self) |
Slot that auto-connects to the QPushButton stopPushButton. | |
def | on_actionServerExit_triggered (self) |
Slot that auto-connects to the QAction actionServerExit. | |
def | on_setLogLevelPushButton_clicked (self) |
Slot that auto-connects to the QPushButton setLogLevelPushButton. | |
def | on_altAzPushButton_clicked (self) |
Slots for methods in the PointingKernelCommands interface ##. | |
def | on_radecPushButton_clicked (self) |
Slot that auto-connects to the QPushButton presetPushButton. | |
Public Attributes | |
ui | |
Protected Member Functions | |
def | _init_gui (self) |
In some cases, widgets are not ready for modification until init is done. | |
Protected Attributes | |
_model | |
_stdcmds_facade | |
_commands_facade | |
_numerical_unit_type | |
def eltpk_cmds.EltpkCmds.__init__ | ( | self, | |
parent = None , |
|||
* | args, | ||
** | kwargs | ||
) |
Initialize the widget that represents the ELTPK Page.
This class is a used to promote a QWidget in the QtDesigner enable the usage of further methods implemented here.
parent | Widget that holds this EltpkCmds instance |
|
protected |
In some cases, widgets are not ready for modification until init is done.
This can be workaround by invoking another method at the end of init.
def eltpk_cmds.EltpkCmds.change_numerical_units_view | ( | self, | |
NumericalUnitsPropertyEnum | unit_type | ||
) |
Save the current numerical unit type widgets that are displayed and invoke the utils generic hide_show_property_widgets static method.
unit_type | Enum responsible to decide the type of widgets to be displayed |
def eltpk_cmds.EltpkCmds.on_actionServerExit_triggered | ( | self | ) |
Slot that auto-connects to the QAction actionServerExit.
actionServerExit is not declared in the code, but in the mainwindow.ui.
def eltpk_cmds.EltpkCmds.on_altAzPushButton_clicked | ( | self | ) |
Slots for methods in the PointingKernelCommands interface ##.
Slot that auto-connects to the QPushButton altAzPushButton. altAzPushButton is not declared in the code, but in the eltpk_cmds_ui.ui . See https://doc.qt.io/qt-5/designer-using-a-ui-file.html#widgets-and-dialogs-with-auto-connect
def eltpk_cmds.EltpkCmds.on_altitude_changed | ( | self, | |
model_set_function | |||
) |
Custom slot used to connect with altitude widgets text and value change signals Do the numerical unit convertion to radians and update other related altitude widgets.
def eltpk_cmds.EltpkCmds.on_azimuth_changed | ( | self, | |
model_set_function | |||
) |
Custom slot used to connect with azimuth widgets text and value change signals Do the numerical unit convertion to radians and update other related azimuth widgets.
def eltpk_cmds.EltpkCmds.on_disablePushButton_clicked | ( | self | ) |
Slot that auto-connects to the QPushButton disablePushButton.
disablePushButton is not declared in the code, but in the mainwindow.ui. See https://doc.qt.io/qt-5/designer-using-a-ui-file.html#widgets-and-dialogs-with-auto-connect
def eltpk_cmds.EltpkCmds.on_enablePushButton_clicked | ( | self | ) |
Slot that auto-connects to the QPushButton enablePushButton.
enablePushButton is not declared in the code, but in the mainwindow.ui. See https://doc.qt.io/qt-5/designer-using-a-ui-file.html#widgets-and-dialogs-with-auto-connect
def eltpk_cmds.EltpkCmds.on_exitPushButton_clicked | ( | self | ) |
Slot that auto-connects to the QPushButton exitPushButton.
exitPushButton is not declared in the code, but in the mainwindow.ui. See https://doc.qt.io/qt-5/designer-using-a-ui-file.html#widgets-and-dialogs-with-auto-connect
def eltpk_cmds.EltpkCmds.on_getStatePushButton_clicked | ( | self | ) |
Slot that auto-connects to the QPushButton getStatePushButton.
getStatePushButton is not declared in the code, but in the mainwindow.ui. See https://doc.qt.io/qt-5/designer-using-a-ui-file.html#widgets-and-dialogs-with-auto-connect
def eltpk_cmds.EltpkCmds.on_getStatusPushButton_clicked | ( | self | ) |
Slot that auto-connects to the QPushButton getStatusPushButton.
getStatusPushButton is not declared in the code, but in the mainwindow.ui. See https://doc.qt.io/qt-5/designer-using-a-ui-file.html#widgets-and-dialogs-with-auto-connect
def eltpk_cmds.EltpkCmds.on_getVersionPushButton_clicked | ( | self | ) |
Slot that auto-connects to the QPushButton getVersionPushButton.
getVersionPushButton is not declared in the code, but in the mainwindow.ui. See https://doc.qt.io/qt-5/designer-using-a-ui-file.html#widgets-and-dialogs-with-auto-connect
def eltpk_cmds.EltpkCmds.on_initPushButton_clicked | ( | self | ) |
Slots for methods in the StdCmds interface ##.
Slot that auto-connects to the QPushButton initPushButton. initPushButton is not declared in the code, but in the mainwindow.ui. See https://doc.qt.io/qt-5/designer-using-a-ui-file.html#widgets-and-dialogs-with-auto-connect
def eltpk_cmds.EltpkCmds.on_radec_changed | ( | self, | |
model_set_function, | |||
coordinates_element | |||
) |
Custom slot used to connect with ra/dec widgets text and value change signals Do the numerical unit convertion to radians and update other related ra/dec widgets.
def eltpk_cmds.EltpkCmds.on_radecPushButton_clicked | ( | self | ) |
Slot that auto-connects to the QPushButton presetPushButton.
presetPushButton is not declared in the code, but in the mainwindow.ui. See https://doc.qt.io/qt-5/designer-using-a-ui-file.html#widgets-and-dialogs-with-auto-connect
def eltpk_cmds.EltpkCmds.on_resetPushButton_clicked | ( | self | ) |
Slot that auto-connects to the QPushButton resetPushButton.
resetPushButton is not declared in the code, but in the mainwindow.ui. See https://doc.qt.io/qt-5/designer-using-a-ui-file.html#widgets-and-dialogs-with-auto-connect
def eltpk_cmds.EltpkCmds.on_setLogLevelPushButton_clicked | ( | self | ) |
Slot that auto-connects to the QPushButton setLogLevelPushButton.
setLogLevelPushButton is not declared in the code, but in the mainwindow.ui. See https://doc.qt.io/qt-5/designer-using-a-ui-file.html#widgets-and-dialogs-with-auto-connect
def eltpk_cmds.EltpkCmds.on_stopPushButton_clicked | ( | self | ) |
Slot that auto-connects to the QPushButton stopPushButton.
stopPushButton is not declared in the code, but in the mainwindow.ui. See https://doc.qt.io/qt-5/designer-using-a-ui-file.html#widgets-and-dialogs-with-auto-connect
def eltpk_cmds.EltpkCmds.set_commands_facade | ( | self, | |
facade | |||
) |
Setupt the ELTPK Commands facade already instantiated in the application_window constructor.
facade | ELTPK Commands facade application instance |
def eltpk_cmds.EltpkCmds.set_stdcmds_facade | ( | self, | |
facade | |||
) |
Setupt the ELTPK Standard facade already instantiated in the application_window constructor.
facade | ELTPK Standard facade application instance |
|
protected |
|
protected |
|
protected |
|
protected |
eltpk_cmds.EltpkCmds.ui |