Limo
A simple mod manager
Loading...
Searching...
No Matches
TableToolButton Class Reference

QToolButton derivative for use in a QTableWidget cell. This button knows it's position in the table. More...

#include <tabletoolbutton.h>

Inheritance diagram for TableToolButton:
Collaboration diagram for TableToolButton:

Public Slots

void onRunClicked ()
 Called when the Run tool action is clicked.
 
void onRemoveClicked ()
 Called then the Remove tool action is clicked.
 

Signals

void clickedRunAt (int row)
 Signals the Run tool action has been clicked.
 
void clickedRemoveAt (int row)
 Signals the Remove tool action has been clicked.
 

Public Member Functions

 TableToolButton (int row)
 Since QTableWidget takes ownership of it's cell widgets, it is not necessary to take a parent object or delete this object manually.
 

Private Attributes

const int row_
 Row of the QTableWidget which contains this button.
 

Detailed Description

QToolButton derivative for use in a QTableWidget cell. This button knows it's position in the table.

Constructor & Destructor Documentation

◆ TableToolButton()

TableToolButton::TableToolButton ( int row)

Since QTableWidget takes ownership of it's cell widgets, it is not necessary to take a parent object or delete this object manually.

Parameters
rowRow in a QTableWidget which contains this button.

Member Function Documentation

◆ clickedRemoveAt

void TableToolButton::clickedRemoveAt ( int row)
signal

Signals the Remove tool action has been clicked.

Parameters
rowRow containing this button.

◆ clickedRunAt

void TableToolButton::clickedRunAt ( int row)
signal

Signals the Run tool action has been clicked.

Parameters
rowRow containing this button.

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