Limo
A simple mod manager
Loading...
Searching...
No Matches
tabletoolbutton.h
Go to the documentation of this file.
1
5
6#pragma once
7
8#include <QObject>
9#include <QToolButton>
10
11
16class TableToolButton : public QToolButton
17{
18 Q_OBJECT
19public:
25 TableToolButton(int row);
26
27private:
29 const int row_;
30
31public slots:
33 void onRunClicked();
35 void onRemoveClicked();
36
37signals:
42 void clickedRunAt(int row);
47 void clickedRemoveAt(int row);
48};
void clickedRunAt(int row)
Signals the Run tool action has been clicked.
void onRemoveClicked()
Called then the Remove tool action is clicked.
Definition tabletoolbutton.cpp:10
void onRunClicked()
Called when the Run tool action is clicked.
Definition tabletoolbutton.cpp:5
TableToolButton(int row)
Since QTableWidget takes ownership of it's cell widgets, it is not necessary to take a parent object ...
Definition tabletoolbutton.cpp:3
const int row_
Row of the QTableWidget which contains this button.
Definition tabletoolbutton.h:29
void clickedRemoveAt(int row)
Signals the Remove tool action has been clicked.