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

Txq2dPrintFrame Class Reference

A Qt wdiget which adds a Txq2dPrintCanvas to the TxqFrame. More...

#include <Txq2dPrintFrame.h>

Inheritance diagram for Txq2dPrintFrame::

TxqFrame QFrame List of all members.

Public Methods

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

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

void add (Txq2dPrintCanvas *pc)
 Add a Txq2dPrintCanvas to the frame. More...

Txq2dPrintCanvasgetPrintCanvas ()
 Get the canvas pointer @retun the canvas pointer. More...


Protected Slots

void print ()
 slot to print the canvas. More...


Protected Methods

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

virtual void addFileMenuItems ()
 Add to the base File menu. More...

virtual void addEditMenuItems ()
 Add to the base Edit menu. More...

virtual void addPrintMenuItem ()
 Add Print to the base File menu. More...

void createTxq2dPrintCanvas ()
 Create a print canvas. More...


Private Attributes

Txq2dPrintCanvasprc
 The Txq2dPrintCanvas. More...


Detailed Description

A Qt wdiget which adds a Txq2dPrintCanvas to the TxqFrame.

Copyright 1998, 1999, 2000 by Tech-X Corporation

Author:
Kelly G. Luetkemeyer

Version:
Id:
Txq2dPrintFrame.h,v 1.4 2001/10/10 22:41:05 kgl Exp

Definition at line 37 of file Txq2dPrintFrame.h.


Constructor & Destructor Documentation

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

The TxqFrame constructor takes a QFrame 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.
f   The window flags.

Txq2dPrintFrame::~Txq2dPrintFrame ( ) [virtual]
 

The Txq2dPrintFrame destructor.


Member Function Documentation

void Txq2dPrintFrame::add ( Txq2dPrintCanvas * pc )
 

Add a Txq2dPrintCanvas to the frame.

Parameters:
pc   the Txq2dPrintCanvas pointer to add

void Txq2dPrintFrame::addEditMenuItems ( ) [protected, virtual]
 

Add to the base Edit menu.

Reimplemented from TxqFrame.

void Txq2dPrintFrame::addFileMenuItems ( ) [protected, virtual]
 

Add to the base File menu.

Reimplemented from TxqFrame.

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

Add the default menu bar items.

Reimplemented from TxqFrame.

void Txq2dPrintFrame::addPrintMenuItem ( ) [protected, virtual]
 

Add Print to the base File menu.

Reimplemented from TxqFrame.

void Txq2dPrintFrame::createTxq2dPrintCanvas ( ) [protected]
 

Create a print canvas.

Txq2dPrintCanvas * Txq2dPrintFrame::getPrintCanvas ( ) [inline]
 

Get the canvas pointer @retun the canvas pointer.

Definition at line 70 of file Txq2dPrintFrame.h.

void Txq2dPrintFrame::print ( ) [protected, virtual, slot]
 

slot to print the canvas.

Reimplemented from TxqFrame.


Member Data Documentation

Txq2dPrintCanvas * Txq2dPrintFrame::prc [private]
 

The Txq2dPrintCanvas.

Definition at line 114 of file Txq2dPrintFrame.h.


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