An overloaded QPushButton to allow an index to be set and a signal to be emitted with the index. Allows the connected handler to tell which buttone was pushed.
More...
#include "us_associations_gui.h"
|
void | pushed (int) |
| A signal to send with the index of the menu selected. More...
|
|
An overloaded QPushButton to allow an index to be set and a signal to be emitted with the index. Allows the connected handler to tell which buttone was pushed.
Definition at line 56 of file us_associations_gui.h.
US_PushButton::US_PushButton |
( |
const QString & |
text, |
|
|
int |
i |
|
) |
| |
Constructor for the pushbutton
- Parameters
-
text | Label for the pushbutton |
i | Value to be used to identify the pushbutton |
Definition at line 8 of file us_associations_gui.cpp.
void US_PushButton::mousePressEvent |
( |
QMouseEvent * |
e | ) |
|
|
privateslot |
void US_PushButton::pushed |
( |
int |
| ) |
|
|
signal |
A signal to send with the index of the menu selected.
void US_PushButton::setIndex |
( |
int |
i | ) |
|
|
inline |
The documentation for this class was generated from the following files: