ScenarioListView Class Reference

View that shows a list of Scenarios. Allows to start, stop, restart Applications and Scenarios. Also allows to open Scenarios and remove/add items. More...

#include <ArmarXGui/gui-plugins/ScenarioManager/gui/scenariolistview.h>

+ Inheritance diagram for ScenarioListView:

Public Slots

void setModel (FilterableTreeModelSortFilterProxyModelPtr model)
 Sets the model of this view. More...
 

Signals

void createScenario ()
 
void itemClicked (const QModelIndex &index)
 
void removeItem (QModelIndex index)
 
void restartApplication (int row, int column, QModelIndex parent)
 
void showOpenDialog ()
 
void startApplication (int row, int column, QModelIndex parent, ScenarioStartModes startMode)
 
void stopApplication (int row, int column, QModelIndex parent)
 

Public Member Functions

 ScenarioListView (QWidget *parent=0)
 Constructor that sets up the ui and behaviour of this view. More...
 
 ~ScenarioListView () override
 Destructor. More...
 

Detailed Description

View that shows a list of Scenarios. Allows to start, stop, restart Applications and Scenarios. Also allows to open Scenarios and remove/add items.

Definition at line 54 of file scenariolistview.h.

Constructor & Destructor Documentation

◆ ScenarioListView()

ScenarioListView ( QWidget *  parent = 0)
explicit

Constructor that sets up the ui and behaviour of this view.

Parameters
parentparent widget

Definition at line 41 of file scenariolistview.cpp.

+ Here is the call graph for this function:

◆ ~ScenarioListView()

~ScenarioListView ( )
override

Destructor.

Definition at line 85 of file scenariolistview.cpp.

Member Function Documentation

◆ createScenario

void createScenario ( )
signal

◆ itemClicked

void itemClicked ( const QModelIndex &  index)
signal

◆ removeItem

void removeItem ( QModelIndex  index)
signal

◆ restartApplication

void restartApplication ( int  row,
int  column,
QModelIndex  parent 
)
signal

◆ setModel

void setModel ( FilterableTreeModelSortFilterProxyModelPtr  model)
slot

Sets the model of this view.

Parameters
modelthe underlying model

Definition at line 90 of file scenariolistview.cpp.

◆ showOpenDialog

void showOpenDialog ( )
signal

◆ startApplication

void startApplication ( int  row,
int  column,
QModelIndex  parent,
ScenarioStartModes  startMode 
)
signal

◆ stopApplication

void stopApplication ( int  row,
int  column,
QModelIndex  parent 
)
signal

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