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

Public Member Functions

def __init__ (self, parent=None, *args, **kwargs)
 Initialize the widget that represents the TELIFSIM Page.
 
def set_stdcmds_facade (self, facade)
 Setup the TELIFSIM Standard facade already instantiated in the application_window constructor.
 
def set_simcmds_facade (self, facade)
 Setup the TELIFSIM Simulation 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_altaz_changed (self, model_set_function, coordinates_element)
 Custom slot used to connect with jlm offset widgets text and value change signals Do the numerical unit convertion to radians and update other related jlm offset widgets.
 
def update_moveToNamedPosComboBox_list (self)
 Based on the tel_named_pos datapoint update the combox list of entries.
 
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_moveToAltAzButton_clicked (self)
 Slots for methods in the SimCmds interface ##.
 
def on_moveToNamedPosButton_clicked (self)
 Slot that auto-connects to the QPushButton presetPushButton.
 
def on_updateRousTimeCmdButton_clicked (self)
 Slot that auto-connects to the QPushButton updateRousTimeCmdButton.
 

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
 
 _simcmds_facade
 
 _numerical_unit_type
 

Constructor & Destructor Documentation

◆ __init__()

def telifsim_cmds.TelifsimCmds.__init__ (   self,
  parent = None,
args,
**  kwargs 
)

Initialize the widget that represents the TELIFSIM 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 TelifsimCmds instance

Member Function Documentation

◆ _init_gui()

def telifsim_cmds.TelifsimCmds._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 telifsim_cmds.TelifsimCmds.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 telifsim_cmds.TelifsimCmds.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_altaz_changed()

def telifsim_cmds.TelifsimCmds.on_altaz_changed (   self,
  model_set_function,
  coordinates_element 
)

Custom slot used to connect with jlm offset widgets text and value change signals Do the numerical unit convertion to radians and update other related jlm offset widgets.

◆ on_disablePushButton_clicked()

def telifsim_cmds.TelifsimCmds.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 telifsim_cmds.TelifsimCmds.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 telifsim_cmds.TelifsimCmds.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 telifsim_cmds.TelifsimCmds.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 telifsim_cmds.TelifsimCmds.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 telifsim_cmds.TelifsimCmds.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 telifsim_cmds.TelifsimCmds.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_moveToAltAzButton_clicked()

def telifsim_cmds.TelifsimCmds.on_moveToAltAzButton_clicked (   self)

Slots for methods in the SimCmds interface ##.

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_moveToNamedPosButton_clicked()

def telifsim_cmds.TelifsimCmds.on_moveToNamedPosButton_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 telifsim_cmds.TelifsimCmds.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 telifsim_cmds.TelifsimCmds.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 telifsim_cmds.TelifsimCmds.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

◆ on_updateRousTimeCmdButton_clicked()

def telifsim_cmds.TelifsimCmds.on_updateRousTimeCmdButton_clicked (   self)

Slot that auto-connects to the QPushButton updateRousTimeCmdButton.

updateRousTimeCmdButton 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_simcmds_facade()

def telifsim_cmds.TelifsimCmds.set_simcmds_facade (   self,
  facade 
)

Setup the TELIFSIM Simulation facade already instantiated in the application_window constructor.

Parameters
facadeTELIFSIM Simulation facade application instance

◆ set_stdcmds_facade()

def telifsim_cmds.TelifsimCmds.set_stdcmds_facade (   self,
  facade 
)

Setup the TELIFSIM Standard facade already instantiated in the application_window constructor.

Parameters
facadeTELIFSIM Standard facade application instance

◆ update_moveToNamedPosComboBox_list()

def telifsim_cmds.TelifsimCmds.update_moveToNamedPosComboBox_list (   self)

Based on the tel_named_pos datapoint update the combox list of entries.

Member Data Documentation

◆ _model

telifsim_cmds.TelifsimCmds._model
protected

◆ _numerical_unit_type

telifsim_cmds.TelifsimCmds._numerical_unit_type
protected

◆ _simcmds_facade

telifsim_cmds.TelifsimCmds._simcmds_facade
protected

◆ _stdcmds_facade

telifsim_cmds.TelifsimCmds._stdcmds_facade
protected

◆ ui

telifsim_cmds.TelifsimCmds.ui

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