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
16
class
TableToolButton
:
public
QToolButton
17
{
18
Q_OBJECT
19
public
:
25
TableToolButton
(
int
row);
26
27
private
:
29
const
int
row_
;
30
31
public
slots:
33
void
onRunClicked
();
35
void
onRemoveClicked
();
36
37
signals:
42
void
clickedRunAt
(
int
row);
47
void
clickedRemoveAt
(
int
row);
48
};
TableToolButton::clickedRunAt
void clickedRunAt(int row)
Signals the Run tool action has been clicked.
TableToolButton::onRemoveClicked
void onRemoveClicked()
Called then the Remove tool action is clicked.
Definition
tabletoolbutton.cpp:10
TableToolButton::onRunClicked
void onRunClicked()
Called when the Run tool action is clicked.
Definition
tabletoolbutton.cpp:5
TableToolButton::TableToolButton
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
TableToolButton::row_
const int row_
Row of the QTableWidget which contains this button.
Definition
tabletoolbutton.h:29
TableToolButton::clickedRemoveAt
void clickedRemoveAt(int row)
Signals the Remove tool action has been clicked.
src
ui
tabletoolbutton.h
Generated by
1.13.2