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

TxqWsFrame Class Reference

A Qt wdiget which holds a TxqWorkspace to the TxqFrame. More...

#include <TxqWsFrame.h>

Inheritance diagram for TxqWsFrame::

TxqFrame QFrame TxqConfigWsFrame TxqNldWsTrol TxqAccelWsTrol TxqSosWsTrol List of all members.

Public Methods

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

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

virtual TxqWorkSpacegetWorkSpace ()
 Get the work space. More...

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

virtual void disableFileMenu ()
 Disable the Menus in the File menu. More...

virtual void enableFileMenu ()
 Enable the Menus in the File menu. More...


Protected Slots

void windowsMenuAboutToShow ()
 Add to the windows menu at show time. More...

void windowsMenuActivated (int id)
 Activate the window selected by id. More...


Protected Methods

void addButtons ()
 Adds the new buttons to the VCR list. More...

virtual void createWindowsMenu ()
 Create the Windows menu bar item. More...

virtual void createWorkSpace ()
 Create the work space widget. More...

virtual void createWidgets ()
 Create the widgets. More...

virtual void createButtons ()
 Create the VCR buttons. 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...

virtual void addMenuBarItems ()
 add the default menu bar items. More...

virtual void addWindowsMenuItems ()
 Add the Windows menu bar items. More...


Protected Attributes

QPopupMenu* windowsMenu
 The windowMenu popup. More...

TxqWorkSpaceworkspace
 The workspace widget. More...

TxqVCRButtonsbuttons
 The VCR button list. More...


Private Attributes

vector<QPushButton*> buttonsVec
 The buttons vector. More...


Detailed Description

A Qt wdiget which holds a TxqWorkspace to the TxqFrame.

Holds TxqVCRButtons object to have Run Step Stop Restart and control logic.

Copyright 2000 by Tech-X Corporation

Author:
Kelly G. Luetkemeyer

Version:
Id:
TxqWsFrame.h,v 1.5 2002/04/08 18:11:45 kgl Exp

Definition at line 43 of file TxqWsFrame.h.


Constructor & Destructor Documentation

TxqWsFrame::TxqWsFrame ( QWidget * parent = 0,
const char * nm = 0,
WFlags f = WType_TopLevel )
 

The TxqWsFrame 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 defaulted to null
nm   The name of the Qt widget defaulted to null
f   The window flags defaulted to WType_TopLevel

TxqWsFrame::~TxqWsFrame ( ) [virtual]
 

The TxqWsFrame destructor.


Member Function Documentation

void TxqWsFrame::addButton ( QPushButton * btn ) [virtual]
 

Adds a button to the frame.

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

void TxqWsFrame::addButtons ( ) [protected]
 

Adds the new buttons to the VCR list.

void TxqWsFrame::addMenuBarItems ( ) [protected, virtual]
 

add the default menu bar items.

Reimplemented from TxqFrame.

void TxqWsFrame::addWidgets ( ) [protected, 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.

Reimplemented from TxqFrame.

void TxqWsFrame::addWindowsMenuItems ( ) [protected, virtual]
 

Add the Windows menu bar items.

void TxqWsFrame::createButtons ( ) [protected, virtual]
 

Create the VCR buttons.

void TxqWsFrame::createWidgets ( ) [protected, virtual]
 

Create the widgets.

Reimplemented from TxqFrame.

void TxqWsFrame::createWindowsMenu ( ) [protected, virtual]
 

Create the Windows menu bar item.

void TxqWsFrame::createWorkSpace ( ) [protected, virtual]
 

Create the work space widget.

void TxqWsFrame::disableFileMenu ( ) [virtual]
 

Disable the Menus in the File menu.

void TxqWsFrame::enableFileMenu ( ) [virtual]
 

Enable the Menus in the File menu.

TxqWorkSpace * TxqWsFrame::getWorkSpace ( ) [virtual]
 

Get the work space.

Returns:
the TxqWorkSpace pointer

void TxqWsFrame::windowsMenuAboutToShow ( ) [protected, slot]
 

Add to the windows menu at show time.

void TxqWsFrame::windowsMenuActivated ( int id ) [protected, slot]
 

Activate the window selected by id.

Parameters:
id   the window number to activate


Member Data Documentation

TxqVCRButtons * TxqWsFrame::buttons [protected]
 

The VCR button list.

Definition at line 150 of file TxqWsFrame.h.

vector< QPushButton *> TxqWsFrame::buttonsVec [private]
 

The buttons vector.

Definition at line 170 of file TxqWsFrame.h.

QPopupMenu * TxqWsFrame::windowsMenu [protected]
 

The windowMenu popup.

Definition at line 140 of file TxqWsFrame.h.

TxqWorkSpace * TxqWsFrame::workspace [protected]
 

The workspace widget.

Definition at line 145 of file TxqWsFrame.h.


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