RTC Toolkit  2.0.0
Public Member Functions | Public Attributes | List of all members
gui.main_window.MainWindow Class Reference

Implementation of the mainwindow.ui design. More...

Inheritance diagram for gui.main_window.MainWindow:

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

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.

Parameters
[in]configurationAn RtcConfiguration realized class. It is used to access the Persistent Configuration of the RTC.
[in]deployment_dataAn RtcDeploymentData realized class. It is used to query the RTC of the available components and their URIs.
[in]deployment_controlAn RtcDeploymentControl realized class. Used to start and stop RTC processes.
[in]logsAn RtcLogs realized class. Provides the URI to the logs of a particular RTC component.
[in]parentReference of the parent widget. Needed by Qt.

Member Function Documentation

◆ closeEvent()

def gui.main_window.MainWindow.closeEvent (   self,
  event 
)

◆ on_actionExit_triggered()

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.
Note
This method is auto-connected during the init call to self.ui.setupUi(self)

◆ on_actionViewShowCustomCommands_triggered()

def gui.main_window.MainWindow.on_actionViewShowCustomCommands_triggered (   self,
bool  new_value 
)

◆ on_actionViewShowLogs_triggered()

def gui.main_window.MainWindow.on_actionViewShowLogs_triggered (   self,
bool  new_value 
)

◆ on_rtcOverview_logs_requested()

def gui.main_window.MainWindow.on_rtcOverview_logs_requested (   self,
str  component_name 
)

Member Data Documentation

◆ ui

gui.main_window.MainWindow.ui

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