RTC Toolkit
2.0.0
|
Implementation of the mainwindow.ui design. More...
Public Member Functions | |
def | __init__ (self, RtcConfiguration configuration, RtcDeploymentData deployment_data, RtcDeploymentControl deployment_control, RtcLogs logs, OldbClient oldb, parent=None) |
Initializes the MainWindow object, and received the references to the required comms classes. More... | |
def | on_rtcOverview_logs_requested (self, str component_name) |
def | on_actionViewShowLogs_triggered (self, bool new_value) |
def | on_actionViewShowCustomCommands_triggered (self, bool new_value) |
def | closeEvent (self, event) |
def | on_actionExit_triggered (self) |
Method to handle menu exit from the application. More... | |
Public Attributes | |
ui | |
Implementation of the mainwindow.ui design.
It provides the logic for the widgets interactions, creates the comms objects, and forwards the calls to said comms classes.
def gui.main_window.MainWindow.__init__ | ( | self, | |
RtcConfiguration | configuration, | ||
RtcDeploymentData | deployment_data, | ||
RtcDeploymentControl | deployment_control, | ||
RtcLogs | logs, | ||
OldbClient | oldb, | ||
parent = None |
|||
) |
Initializes the MainWindow object, and received the references to the required comms classes.
[in] | configuration | An RtcConfiguration realized class. It is used to access the Persistent Configuration of the RTC. |
[in] | deployment_data | An RtcDeploymentData realized class. It is used to query the RTC of the available components and their URIs. |
[in] | deployment_control | An RtcDeploymentControl realized class. Used to start and stop RTC processes. |
[in] | logs | An RtcLogs realized class. Provides the URI to the logs of a particular RTC component. |
[in] | parent | Reference of the parent widget. Needed by Qt. |
def gui.main_window.MainWindow.closeEvent | ( | self, | |
event | |||
) |
def gui.main_window.MainWindow.on_actionExit_triggered | ( | self | ) |
Method to handle menu exit from the application.
We instruct the application to close all its windows. Each window should implement proper shutdown procedures. In the case of this class (TaurusMainAppWindow), this results in a forwarded call to the closeEvent() method overriden below.
def gui.main_window.MainWindow.on_actionViewShowCustomCommands_triggered | ( | self, | |
bool | new_value | ||
) |
def gui.main_window.MainWindow.on_actionViewShowLogs_triggered | ( | self, | |
bool | new_value | ||
) |
def gui.main_window.MainWindow.on_rtcOverview_logs_requested | ( | self, | |
str | component_name | ||
) |
gui.main_window.MainWindow.ui |