Go to the documentation of this file.
36 #include <QAbstractItemModel>
82 void on_searchBar_textEdited(
const QString& text);
83 void startButtonClicked(
int row,
int column, QModelIndex parent);
84 void stopButtonClicked(
int row,
int column, QModelIndex parent);
86 void restartButtonClicked(
int row,
int column, QModelIndex parent);
88 void on_newButton_clicked();
90 void on_openButton_clicked();
91 void removeItemTriggered();
93 void onCustomContextMenu(
const QPoint& point);
95 void on_treeView_clicked(
const QModelIndex&
index);
97 Ui::ScenarioListView* ui;
103 QAction removeAction;
void setModel(FilterableTreeModelSortFilterProxyModelPtr model)
Sets the model of this view.
ScenarioListView(QWidget *parent=0)
Constructor that sets up the ui and behaviour of this view.
void startApplication(int row, int column, QModelIndex parent)
void stopApplication(int row, int column, QModelIndex parent)
void removeItem(QModelIndex index)
std::shared_ptr< FilterableTreeModelSortFilterProxyModel > FilterableTreeModelSortFilterProxyModelPtr
~ScenarioListView() override
Destructor.
View that shows a list of Scenarios. Allows to start, stop, restart Applications and Scenarios....
void itemClicked(const QModelIndex &index)
void restartApplication(int row, int column, QModelIndex parent)