Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

TxqVCRButtons Class Reference

A Qt wdiget that contains the following VCR buttons : Run Step Stop Restart and control logic. More...

#include <TxqVCRButtons.h>

Inheritance diagram for TxqVCRButtons::

QWidget List of all members.

Public Slots

virtual void polish ()
 polish is used in order to allow overloading of widget adds. More...

void run ()
 Executed after Run is pushed. More...

void stop ()
 Executed after Stop is pushed. More...

void step ()
 Executed after Step is pushed. More...

void restart ()
 Executed after Restart is pushed. More...


Public Methods

 TxqVCRButtons (QWidget *parent=0, const char *nm=0)
 The TxqVCRButtons constructor takes a QWidget w a name nm and a window flag f All other options must be set from member methods. More...

void createButtons ()
 create the VCR buttons. More...

void addButton (QPushButton *btn)
 Adds a button to the frame. More...

void buttonSlots ()
 Sets the slots for the buttons. More...

void setRunning ()
 Set the running state. More...

void setStepped ()
 Set the stepped state. More...

void setInitialState ()
 Set the inital state. More...

void setPreInitialState ()
 Set the pre inital state This states sets all buttons to de-selected. More...

virtual ~TxqVCRButtons ()
 The TxqVCRButtons destructor. More...

virtual void addWidgets ()
 Adds all the widgets to the layout This method is to be used in polish to add any created widgets to the layout manager. More...


Public Attributes

QPushButton* runButton
 The VCR run button. More...

QPushButton* stopButton
 The VCR stop button. More...

QPushButton* stepButton
 The VCR step button. More...

QPushButton* restartButton
 The VCR restart button. More...


Private Attributes

QBoxLayout* buttons
 The button layout. More...


Detailed Description

A Qt wdiget that contains the following VCR buttons : Run Step Stop Restart and control logic.

Copyright 2000 by Tech-X Corporation

Author:
Kelly G. Luetkemeyer

Version:
Id:
TxqVCRButtons.h,v 1.10 2001/10/12 18:51:23 kgl Exp

Definition at line 34 of file TxqVCRButtons.h.


Constructor & Destructor Documentation

TxqVCRButtons::TxqVCRButtons ( QWidget * parent = 0,
const char * nm = 0 )
 

The TxqVCRButtons constructor takes a QWidget w a name nm and a window flag f All other options must be set from member methods.

Parameters:
parent   The parent Qt widget.
nm   The name of the Qt widget.

TxqVCRButtons::~TxqVCRButtons ( ) [virtual]
 

The TxqVCRButtons destructor.


Member Function Documentation

void TxqVCRButtons::addButton ( QPushButton * btn )
 

Adds a button to the frame.

Parameters:
btn   the button to add to the VCR button list.

void TxqVCRButtons::addWidgets ( ) [virtual]
 

Adds all the widgets to the layout This method is to be used in polish to add any created widgets to the layout manager.

void TxqVCRButtons::buttonSlots ( )
 

Sets the slots for the buttons.

void TxqVCRButtons::createButtons ( )
 

create the VCR buttons.

void TxqVCRButtons::polish ( ) [virtual, slot]
 

polish is used in order to allow overloading of widget adds.

void TxqVCRButtons::restart ( ) [slot]
 

Executed after Restart is pushed.

void TxqVCRButtons::run ( ) [slot]
 

Executed after Run is pushed.

void TxqVCRButtons::setInitialState ( )
 

Set the inital state.

void TxqVCRButtons::setPreInitialState ( )
 

Set the pre inital state This states sets all buttons to de-selected.

void TxqVCRButtons::setRunning ( )
 

Set the running state.

void TxqVCRButtons::setStepped ( )
 

Set the stepped state.

void TxqVCRButtons::step ( ) [slot]
 

Executed after Step is pushed.

void TxqVCRButtons::stop ( ) [slot]
 

Executed after Stop is pushed.


Member Data Documentation

QBoxLayout * TxqVCRButtons::buttons [private]
 

The button layout.

Definition at line 153 of file TxqVCRButtons.h.

QPushButton * TxqVCRButtons::restartButton
 

The VCR restart button.

Definition at line 103 of file TxqVCRButtons.h.

QPushButton * TxqVCRButtons::runButton
 

The VCR run button.

Definition at line 91 of file TxqVCRButtons.h.

QPushButton * TxqVCRButtons::stepButton
 

The VCR step button.

Definition at line 99 of file TxqVCRButtons.h.

QPushButton * TxqVCRButtons::stopButton
 

The VCR stop button.

Definition at line 95 of file TxqVCRButtons.h.


The documentation for this class was generated from the following file: Copyright Tech-X Corporation, all rights reserved.