UltraScan III
List of all members | Signals | Public Member Functions | Public Attributes | Private Slots
MyButton Class Reference

Class to enable tracing which button was clicked. More...

#include "us_colorgradient.h"

Inheritance diagram for MyButton:
Inheritance graph
[legend]
Collaboration diagram for MyButton:
Collaboration graph
[legend]

Signals

void click (int)
 Click signal that includes the index of which button clicked. More...
 

Public Member Functions

 MyButton (int)
 Constructor captures index to which button is created. More...
 

Public Attributes

int which
 Which-button index. More...
 

Private Slots

void pushed (void)
 

Detailed Description

Class to enable tracing which button was clicked.

Definition at line 12 of file us_colorgradient.h.

Constructor & Destructor Documentation

MyButton::MyButton ( int  value)

Constructor captures index to which button is created.

Parameters
valueIndex value of button created.

Definition at line 29 of file us_colorgradient.cpp.

Member Function Documentation

void MyButton::click ( int  )
signal

Click signal that includes the index of which button clicked.

void MyButton::pushed ( void  )
privateslot

Definition at line 35 of file us_colorgradient.cpp.

Member Data Documentation

int MyButton::which

Which-button index.

Definition at line 22 of file us_colorgradient.h.


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