Limo
A simple mod manager
Loading...
Searching...
No Matches
tablepushbutton.h
Go to the documentation of this file.
1
5
6
#pragma once
7
8
#include <QPushButton>
9
10
15
class
TablePushButton
:
public
QPushButton
16
{
17
Q_OBJECT
18
public
:
24
TablePushButton
(
int
row,
int
col);
25
26
private
:
28
const
int
row_
;
30
const
int
col_
;
31
32
private
slots:
34
void
onClickedAt
();
35
36
signals:
42
void
clickedAt
(
int
row,
int
col);
43
};
TablePushButton::row_
const int row_
Row of the QTableWidget which contains this button.
Definition
tablepushbutton.h:28
TablePushButton::clickedAt
void clickedAt(int row, int col)
Signals button has been clicked at a specific table position.
TablePushButton::TablePushButton
TablePushButton(int row, int col)
Constructs a new button for the given row and column.
Definition
tablepushbutton.cpp:3
TablePushButton::col_
const int col_
Column of the QTableWidget which contains this button.
Definition
tablepushbutton.h:30
TablePushButton::onClickedAt
void onClickedAt()
Called when the button is clicked. Emits clickedAt.
Definition
tablepushbutton.cpp:8
src
ui
tablepushbutton.h
Generated by
1.13.2