#include <TxqFrame.h>
Inheritance diagram for TxqFrame::

Public Slots | |
| virtual void | polish () |
| polish is used in order to allow overloading of widget adds to the file menu bar and to a layout. More... | |
| virtual bool | close (bool forceKill=true) |
| slot used to close and quit the window. More... | |
Signals | |
| void | aboutToClose (int index) |
| public signal emitted with the index number whenver the objec is about to close. More... | |
Public Methods | |
| TxqFrame (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 and uses those to build the QFrame base class. More... | |
| virtual | ~TxqFrame () |
| The TxqFrame destructor. More... | |
| virtual void | addToMenuBar (const QString &text, QPopupMenu *popup) |
| Add a popup to the menu bar. More... | |
| virtual void | addWidget (QWidget *w) |
| Adds vertically the given widget to the area below the MenuBar. More... | |
| virtual void | addWidget (QWidget *w, int row, int col) |
| Adds the given widget to the area below the MenuBar, at the given row and column number. More... | |
| virtual void | addWidget (QWidget *w, int fromRow, int toRow, int fromCol, int toCol) |
| Adds the given multi-cell widget to the area below the MenuBar, from the given row and column number, to the supplied row and column number. More... | |
| virtual void | addHWidget (QWidget *w) |
| Adds horizontally the given widget to the area below the MenuBar. 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 | show () |
| Resize the widget, activate the layout, and make visible. More... | |
| bool | activate () |
| Activate the widget geometry management for the topLayout. More... | |
| void | setName (QString name) |
| Set the caption, icon text and name. More... | |
| virtual void | setName (const char *nm) |
| Forward the overloaded method to base class. More... | |
| virtual void | setDestructClose (bool f) |
| Set the desctructive close flag True if needing to close and destroy the QFrame class. More... | |
| virtual void | setIndex (const int index) |
| Set an index number to be associated with this object. More... | |
| virtual int | getIndex () |
| Get the associated index number of this object. More... | |
Protected Slots | |
| virtual void | dumpData () |
| slot used to dump the contents of the frame to an ASCII file. More... | |
| virtual void | saveAs () |
| slot used to save the contents of the frame. More... | |
| virtual void | print () |
| slot used to invoke the print dialog. More... | |
| virtual void | printPreview () |
| slot used to invoke the print preview frame. More... | |
| virtual bool | exit () |
| slot used to query the user if exit is desired. More... | |
| bool | iconify (bool forceKill=FALSE) |
| slot used to iconify the window. More... | |
| virtual bool | copy () |
| slot used to copy the selection. More... | |
| virtual bool | cut () |
| slot used to cut the selection. More... | |
| virtual bool | paste () |
| slot used to paste the selection. More... | |
| virtual void | motifStyle () |
| slot used to set to motif style windows. More... | |
| virtual void | windowsStyle () |
| slot used to set to MS window style windows. More... | |
| virtual void | cdeStyle () |
| slot used to set to CDE window style windows. More... | |
| void | platinumStyle () |
| slot used to set to Platinum style windows. More... | |
Protected Methods | |
| virtual void | createWidgets () |
| Create the widgets that the frame needs. More... | |
| void | createStatusBar () |
| Create a status bar. More... | |
| void | createMenuBar () |
| Create the top menu bar and set into frame. More... | |
| virtual void | addFileMenuItems () |
| Add items to the base File menu. More... | |
| virtual void | addCloseMenuItem () |
| Add "Close" to the base File menu. More... | |
| virtual void | addIconifyMenuItem () |
| Add "Iconify" to the base File menu. More... | |
| virtual void | addSaveAsMenuItem () |
| Add "Save as..." to the base File menu. More... | |
| virtual void | addDumpMenuItem () |
| Add "Dump data..." to the base File menu. More... | |
| virtual void | addPrintMenuItem () |
| Add "Print..." to the base File menu. More... | |
| void | addPrintPreviewMenuItem () |
| Add "Print preview..." to the base File menu. More... | |
| virtual void | addExitMenuItem () |
| Add "Exit" to the base File menu. More... | |
| virtual void | addEditMenuItems () |
| Add to the base Edit menu. More... | |
| virtual void | addCutCopyPasteMenuItems () |
| Add "CutCopyPaste" to the base File menu. More... | |
| virtual void | addStyleMenuItems () |
| Add to the base Style menu. More... | |
| virtual void | addStyleMenuItem () |
| Add the Style menu item. More... | |
| virtual void | addViewMenuItems () |
| Add to the base View menu. More... | |
| virtual void | addMenuBarItems () |
| Add the default menu bar items. More... | |
| virtual void | addSubMenuBarItems () |
| Add the sub menu bar items The sub menubar items are any menus in the menubar that may need items inserted into it. More... | |
| void | closeEvent (QCloseEvent *event) |
| Hide the window when closing. More... | |
| QMenuBar* | getMenuBar () |
| Get the menu bar. More... | |
Protected Attributes | |
| QMenuBar* | menuBar |
| The top-level menu bar. More... | |
| QStatusBar* | statusBar |
| A status bar. More... | |
| QPopupMenu* | file |
| file contains the menubar File commands. More... | |
| QPopupMenu* | edit |
| edit contains the menubar Edit commands. More... | |
| QPopupMenu* | view |
| view contains the menubar View commands. More... | |
| QPopupMenu* | style |
| style contains the menubar Style commands. More... | |
| QBoxLayout* | topLayout |
| topLayout does geometry management for the menuBar and the layout. More... | |
| QGridLayout* | layout |
| layout does geometry management for the additional widgets. More... | |
| int | sPlatinum |
| The Platinum style return value. More... | |
| int | sWindows |
| The Window style return value. More... | |
| int | sCDE |
| The CDE style return value. More... | |
| int | sMotif |
| The Motif style return value. More... | |
| bool | isPrint |
| isPrint determines if the printer dialog has finished. More... | |
| QPrinter* | printer |
| The printer dialog. More... | |
| QString | saveFileName |
| The saved filename for the contents of the frame. More... | |
| QString | dumpDataFileName |
| The dump data ASCII filename for the contents of the frame. More... | |
| bool | dumpDataFlag |
| Determines if ASCII data dumping is ok. More... | |
| QTextStream* | ts |
| The QTextStream used to dump ASCII data. More... | |
| QFile* | dumpfile |
| The dump file accessor. More... | |
| QString | selFilter |
| The selected filter for the file name to save the frame contents. More... | |
| int | vGridNumber |
| The vertial grid number. More... | |
| int | hGridNumber |
| The horizontal grid number. More... | |
| bool | destructClose |
| The destructive close flag The default is true to close the frame and destroy. More... | |
Private Methods | |
| void | selectStyleMenu (int) |
| Highlight the selected style. More... | |
Private Attributes | |
| QString | clipText |
| The clipboard text. More... | |
| int | indexNumber |
| The index number of this object. More... | |
It addes a File, Edit, and Style buttons and a layout manager, and a Menubar with a layout manager.
Copyright 1998 - 2001 by Tech-X Corporation
Definition at line 60 of file TxqFrame.h.
|
|
The TxqFrame constructor takes a QFrame w a name nm and a window flag f and uses those to build the QFrame base class. All other options must be set from member methods.
|
|
|
The TxqFrame destructor.
|
|
|
public signal emitted with the index number whenver the objec is about to close.
|
|
|
Activate the widget geometry management for the topLayout.
|
|
|
Add "Close" to the base File menu.
|
|
|
Add "CutCopyPaste" to the base File menu.
|
|
|
Add "Dump data..." to the base File menu.
|
|
|
Add to the base Edit menu.
Reimplemented in Txq2dFrame, Txq2dPrintFrame, Txq3dFrame, Txq2dPlotFrame, TxqConfigFrame, TxqMovieFrame, and TxqNldTrol. |
|
|
Add "Exit" to the base File menu.
|
|
|
Add items to the base File menu.
Reimplemented in TxqNewTrolFrame, Txq2dFrame, Txq2dPrintFrame, Txq3dFrame, Txq2dPlotFrame, TxqConfigFrame, and TxqMovieFrame. |
|
|
Adds horizontally the given widget to the area below the MenuBar. This call is forwared to the layout manager, layout.
|
|
|
Add "Iconify" to the base File menu.
|
|
|
Add the default menu bar items.
Reimplemented in TxqMasterIoFrame, TxqPrintPixmapFrame, TxqWsFrame, Txq2dPrintFrame, Txq2dPlotFrame, TxqConfigFrame, TxqImageFrame, and TxqMovieFrame. |
|
|
Add "Print..." to the base File menu.
Reimplemented in Txq2dPrintFrame. |
|
|
Add "Print preview..." to the base File menu.
|
|
|
Add "Save as..." to the base File menu.
|
|
|
Add the Style menu item.
|
|
|
Add to the base Style menu.
|
|
|
Add the sub menu bar items The sub menubar items are any menus in the menubar that may need items inserted into it.
Reimplemented in TxqMasterIoFrame, TxqPrintPixmapFrame, TxqConfigFrame, and TxqImageFrame. |
|
|
Add a popup to the menu bar.
|
|
|
Add to the base View menu.
Reimplemented in TxqMasterIoFrame, Txq2dFrame, Txq3dFrame, Txq2dPlotFrame, and TxqMovieFrame. |
|
|
Adds the given multi-cell widget to the area below the MenuBar, from the given row and column number, to the supplied row and column number. This call is forwared to the layout manager, layout. |
|
|
Adds the given widget to the area below the MenuBar, at the given row and column number. This call is forwared to the layout manager, layout. |
|
|
Adds vertically the given widget to the area below the MenuBar. This call is forwared to the layout manager, layout.
|
|
|
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 in TxqMasterIoFrame, TxqVcrFrame, TxqWsFrame, Txq2dFrame, Txq3dFrame, Txq2dPlotFrame, and TxqImageFrame. |
|
|
slot used to set to CDE window style windows.
|
|
|
slot used to close and quit the window.
Reimplemented in Txq2dPlotFrame, TxqConfigWsFrame, and TxqImageFrame. |
|
|
Hide the window when closing.
|
|
|
slot used to copy the selection.
Reimplemented in Txq2dFrame, and Txq3dFrame. |
|
|
Create the top menu bar and set into frame.
|
|
|
Create a status bar.
Reimplemented in Txq3dFrame. |
|
|
Create the widgets that the frame needs.
Reimplemented in TxqMasterIoFrame, TxqVcrFrame, TxqWsFrame, and TxqConfigFrame. |
|
|
slot used to cut the selection.
|
|
|
slot used to dump the contents of the frame to an ASCII file.
Reimplemented in Txq2dFrame, Txq3dFrame, and Txq2dPlotFrame. |
|
|
slot used to query the user if exit is desired.
|
|
|
Get the associated index number of this object.
|
|
|
Get the menu bar.
Definition at line 305 of file TxqFrame.h. |
|
|
slot used to iconify the window.
|
|
|
slot used to set to motif style windows.
|
|
|
slot used to paste the selection.
|
|
|
slot used to set to Platinum style windows.
|
|
|
polish is used in order to allow overloading of widget adds to the file menu bar and to a layout.
Reimplemented in Txq2dPlotFrame. |
|
|
slot used to invoke the print dialog.
Reimplemented in TxqPrintPixmapFrame, Txq2dFrame, Txq2dPrintFrame, Txq3dFrame, and TxqImageFrame. |
|
|
slot used to invoke the print preview frame.
Reimplemented in Txq2dFrame, and Txq3dFrame. |
|
|
slot used to save the contents of the frame.
Reimplemented in Txq2dFrame, and Txq3dFrame. |
|
|
Highlight the selected style.
|
|
|
Set the desctructive close flag True if needing to close and destroy the QFrame class.
|
|
|
Set an index number to be associated with this object.
Reimplemented in TxqImageFrame. |
|
|
Forward the overloaded method to base class.
Definition at line 158 of file TxqFrame.h. |
|
|
Set the caption, icon text and name.
Referenced by setName().
|
|
|
Resize the widget, activate the layout, and make visible.
Reimplemented in Txq2dPlotFrame. |
|
|
slot used to set to MS window style windows.
|
|
|
The clipboard text.
Definition at line 500 of file TxqFrame.h. |
|
|
The destructive close flag The default is true to close the frame and destroy.
Definition at line 420 of file TxqFrame.h. |
|
|
The dump data ASCII filename for the contents of the frame.
Definition at line 383 of file TxqFrame.h. |
|
|
Determines if ASCII data dumping is ok.
Definition at line 388 of file TxqFrame.h. |
|
|
The dump file accessor.
Definition at line 398 of file TxqFrame.h. |
|
|
edit contains the menubar Edit commands.
Definition at line 326 of file TxqFrame.h. |
|
|
file contains the menubar File commands.
Definition at line 321 of file TxqFrame.h. |
|
|
The horizontal grid number.
Definition at line 414 of file TxqFrame.h. |
|
|
The index number of this object.
Definition at line 505 of file TxqFrame.h. |
|
|
isPrint determines if the printer dialog has finished.
Reimplemented in TxqPrintPixmapFrame. Definition at line 368 of file TxqFrame.h. |
|
|
layout does geometry management for the additional widgets.
Definition at line 346 of file TxqFrame.h. |
|
|
The top-level menu bar.
Definition at line 311 of file TxqFrame.h. |
|
|
The printer dialog.
Reimplemented in TxqPrintPixmapFrame. Definition at line 373 of file TxqFrame.h. |
|
|
The CDE style return value.
Definition at line 359 of file TxqFrame.h. |
|
|
The Motif style return value.
Definition at line 363 of file TxqFrame.h. |
|
|
The Platinum style return value.
Definition at line 351 of file TxqFrame.h. |
|
|
The Window style return value.
Definition at line 355 of file TxqFrame.h. |
|
|
The saved filename for the contents of the frame.
Definition at line 378 of file TxqFrame.h. |
|
|
The selected filter for the file name to save the frame contents.
Definition at line 404 of file TxqFrame.h. |
|
|
A status bar.
Definition at line 316 of file TxqFrame.h. |
|
|
style contains the menubar Style commands.
Definition at line 336 of file TxqFrame.h. |
|
|
topLayout does geometry management for the menuBar and the layout.
Definition at line 341 of file TxqFrame.h. |
|
|
The QTextStream used to dump ASCII data.
Definition at line 393 of file TxqFrame.h. |
|
|
The vertial grid number.
Definition at line 409 of file TxqFrame.h. |
|
|
view contains the menubar View commands.
Definition at line 331 of file TxqFrame.h. |
Copyright Tech-X Corporation, all rights reserved.