hlcc 2.0.0-beta2+pre1
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
eltpk_cmds.EltpkCmds Class Reference
Inheritance diagram for eltpk_cmds.EltpkCmds:

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
 

Constructor & Destructor Documentation

◆ __init__()

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.

Parameters
parentWidget that holds this EltpkCmds instance

Member Function Documentation

◆ _init_gui()

def eltpk_cmds.EltpkCmds._init_gui (   self)
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.

◆ change_numerical_units_view()

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.

Parameters
unit_typeEnum responsible to decide the type of widgets to be displayed

◆ on_actionServerExit_triggered()

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.

Note
This is different from others slots. It uses a QAction instead of a QPushButton See https://doc.qt.io/qt-5/designer-using-a-ui-file.html#widgets-and-dialogs-with-auto-connect

◆ on_altAzPushButton_clicked()

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

◆ on_altitude_changed()

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.

◆ on_azimuth_changed()

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.

◆ on_disablePushButton_clicked()

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

◆ on_enablePushButton_clicked()

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

◆ on_exitPushButton_clicked()

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

◆ on_getStatePushButton_clicked()

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

◆ on_getStatusPushButton_clicked()

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

◆ on_getVersionPushButton_clicked()

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

◆ on_initPushButton_clicked()

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

◆ on_radec_changed()

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.

◆ on_radecPushButton_clicked()

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

◆ on_resetPushButton_clicked()

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

◆ on_setLogLevelPushButton_clicked()

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

◆ on_stopPushButton_clicked()

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

◆ set_commands_facade()

def eltpk_cmds.EltpkCmds.set_commands_facade (   self,
  facade 
)

Setupt the ELTPK Commands facade already instantiated in the application_window constructor.

Parameters
facadeELTPK Commands facade application instance

◆ set_stdcmds_facade()

def eltpk_cmds.EltpkCmds.set_stdcmds_facade (   self,
  facade 
)

Setupt the ELTPK Standard facade already instantiated in the application_window constructor.

Parameters
facadeELTPK Standard facade application instance

Member Data Documentation

◆ _commands_facade

eltpk_cmds.EltpkCmds._commands_facade
protected

◆ _model

eltpk_cmds.EltpkCmds._model
protected

◆ _numerical_unit_type

eltpk_cmds.EltpkCmds._numerical_unit_type
protected

◆ _stdcmds_facade

eltpk_cmds.EltpkCmds._stdcmds_facade
protected

◆ ui

eltpk_cmds.EltpkCmds.ui

The documentation for this class was generated from the following file: