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

TxqConfigFrame Class Reference

The TxqConfigFrame is a TxqMasterIoFrame which adds the use of a TxAttributeSet to hold this frame's geometry. More...

#include <TxqConfigFrame.h>

Inheritance diagram for TxqConfigFrame::

TxqMasterIoFrame TxqFrame QFrame TxqNldTrol TxqAccelTrol List of all members.

Public Slots

virtual void startBrowser (const QString &home, const QString &title)
 Start the HTML browser. More...

virtual void startHtmlBrowser ()
 start the browser. More...

void startModel ()
 slot to start the model. More...

void restartModel ()
 slot to restart the model. More...

void openInputFile ()
 slot to open an input file. More...

void openInputTextFile ()
 slot to open the input text file. More...

void saveConfigFile ()
 slot to save a configuration file. More...

void doViewWindow (int number)
 slot to do the view item. More...

void doListWindow (int number)
 slot to open a TxqListDlog window. More...

void doListItemWindow (int number)
 slot to open a window from a TxqListItemDlog's item. More...

void doListItemViewWindow (int number)
 slot to open a "View" window from a TxqListItemDlog's item The number is added to the viewListIdBegin number to correctly acces the id number within the maps and vector containers. More...

void doListItemEditWindow (int number)
 slot to open a "Edit" window from a TxqListItemDlog's item The number is added to the editListIdBegin number to correctly acces the id number within the maps and vector containers. More...

void doListItemParamsWindow (int number)
 slot to open a "Params" window from a TxqListItemDlog's item The number is added to the paramsListIdBegin number to correctly acces the id number within the maps and vector containers. More...

void doEditWindow (int number)
 slot to open the editor window. More...

void closeWindow (int number)
 slot to close the View window and update a list item. More...

virtual void cancelEditEditor ()
 slot to cancel the editor. More...

virtual void revertEditAttrib ()
 slot to revert the edit attributes from the editor. More...

virtual void applyEditAttrib ()
 slot to apply the edit attributes from the editor. More...

virtual void applyCloseEditAttrib ()
 slot to apply and he edit attributes and close the editor. More...

void getWindowId (int number)
 slot to get the window id number for the editor. More...


Signals

void closeAllWindows ()
 signal is emitted to request to close all the opened windows. More...

void closeWindowSignal (int index)
 signal emitted to request to close a specified window. More...

void restartEvent ()
 signal to restart the model. More...

void startEvent ()
 signal to start the model. More...

void updateModelAttribute (TxAttributeSet *attrib)
 signal to update this model's attribute. More...

void updateViewAttribs (TxAttributeSet *viewAttrib, TxAttributeSet *dataAttrib)
 signal to update this model's attribute. More...


Public Methods

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

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

void setGeometryAttrib (TxAttributeSet *window)
 Set the geometry of the frame using the attribute set. More...

QRect getGeometry ()
 Get the geometry of the window. More...

void readConfig (QString filename)
 Read the config attribute set from a file. More...

void writeConfig (QString filename)
 Write the config attribute set to a file. More...

void setFileName (const QString &name)
 Set the input filename. More...

QString getFileName ()
 Get the input filename. More...

QString getInputFileName ()
 Get the input filename from a dialog. More...

void getConfigFileName (QString filename)
 Get the config filename and read the config file. More...

void setInitialState ()
 Set the initial state of the model. More...

void updateTimeLabel (const QString &label)
 update the time status label. More...

void destroy ()
 Delete the widget. More...

void destroy (bool t, bool tt)
 declare the base class method to prevent compiler warnings. More...

virtual void setViewMenuItems (vector< TxAttributeSet *> menuItems, vector< TxAttributeSet *> dataAttribs)
 Set the view menu items with attribute sets. More...

virtual void setEditMenuItems (vector< TxAttributeSet *> menuItems)
 Set the edit menu items with attribute sets. More...

virtual void setParamsMenuItems (vector< TxAttributeSet *> menuItems)
 Set the parameters menu items. More...

void setFileNameExt (QString ext)
 Set the input file name extension which can be set more than once. More...

void setDefaultDir (QString dirName)
 Set the default input directory name If unset, the default is "../input". More...

void setLocation (Txq2dPlotFrame *window, TxAttributeSet *attrib)
 Set the location of the Txq2dPlotFrame. More...

void copyAttrib (TxAttributeSet *from, TxAttributeSet *to)
 copy a TxAttributeSet from one TxAttributeSet to the other typically used to copy the configSet attribute to the viewMenuItems. More...

void saveGeometry ()
 save the geometry of the window. More...

void enableOpenMenu ()
 enable the open menu. More...

void disableOpenMenu ()
 disable the open menu. More...


Protected Methods

virtual void initialize ()
 Initialize data members. More...

void createWindowAttribSet ()
 Create the window attribute set. More...

void createSaveMenu ()
 Create the save menu. More...

void createOpenMenu ()
 Create the open menu. More...

virtual void createWidgets ()
 Create the widgets that the frame needs. More...

void addViewOptions ()
 Add all the options to the View vectors these options are allowed to be copied from the config set to the window attribute set. More...

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

void addParamsMenuItems ()
 Add to the base Parameters menu. More...

virtual void addHelpMenuItems ()
 Add the help menu items. 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...

virtual void addAttribMenus (vector< TxAttributeSet *> &menuItems, TXSTD::map< QString, QPopupMenu *> &menuMap, QPopupMenu *thisMenu)
 This is a utility method to add new menus to thisMenu. More...

virtual void addListMenus (vector< TxAttributeSet *> &menuItems, TXSTD::map< int, TxqListDlog *> &menuListMap, TXSTD::map< QString, TxqListDlog *> &menuListNameMap, TXSTD::map< QString, int > &menuListIdMap, TXSTD::map< QString, QPopupMenu *> &menuMap, QPopupMenu *thisMenu)
 This is a utility method to add new list menus to thisMenu A list menu will open a TxqListDlog. More...

virtual void addEditAttribMenuItems (vector< TxAttributeSet *> &menuItems, TXSTD::map< QString, QPopupMenu *> &menuMap, TXSTD::map< int, TxAttributeSet *> &attribMap, TXSTD::map< QString, int > &listIdMap)
 Utility method to add new menu items from the attribute sets in order to invoke a TxqEditorDlog. More...

void moveEvent (QMoveEvent *event)
 reset the X,Y frame location within the move event. More...

void resizeEvent (QResizeEvent *event)
 reset the frame size within the resize event. More...

void addOpenMenuItems ()
 Add the open menu items. More...

void addEditMenuItems ()
 Add the Edit menu items. More...

void addSaveMenuItems ()
 Add the save menu items. More...


Protected Attributes

QPopupMenu* openMenu
 The open popup menu. More...

QPopupMenu* saveMenu
 The save popup menu. More...

QString fileName
 The input filename. More...

QString saveConfigFileName
 The save filename. More...

QString baseName
 The base name of the input filename. More...

QString fileNameExt
 The input filename extension. More...

QString defaultDirName
 The default directory name. More...

QString openFileNameExts
 The input filename extensions suitable for a QDialog browser. More...

vector<QString> fileNameExts
 The input filename extensions in a vector. More...

int modelState
 The model state. More...

TXSTD::map<int, TxAttributeSet*> viewAttribMap
 The View attribute map of all the attributes with the index number from insertItem. More...

TXSTD::map<int, TxAttributeSet*> editAttribMap
 The Edit attribute map of all the attributes with the index number from insertItem. More...

TXSTD::map<int, TxAttributeSet*> viewAttribDataMap
 The View attribute map of all the data attributes with the index number from insertItem. More...

TXSTD::map<QString, QPopupMenu*> viewMenuMap
 The View menu map of all the created QPopupMenu's with the associated QString name. More...

TXSTD::map<int, TxqListDlog*> listMap
 The List menu map of all the created TxqListDlog's with the associated integer id. More...

TXSTD::map<QString, TxqListDlog*> listNameMap
 The List menu map of all the created TxqListDlog's with the associated QString menu name. More...

TXSTD::map<QString, int> viewListIdMap
 The List menu map of all the id numbers for the TxqListDlog with the associated QString menu name. More...

TXSTD::map<QString, int> editListIdMap
TXSTD::map<QString, int> paramsListIdMap
TXSTD::map<int, int> listItemIdMap
 The List menu map of all the id numbers of the listItems with the associated TxqListDlog id number. More...

TXSTD::map<QString, QPopupMenu*> editMenuMap
 The Edit menu map of all the created QPopupMenu's with the associated QString name. More...

TXSTD::map<QString, QPopupMenu*> paramsMenuMap
 The Parameters menu map of all the created QPopupMenu's with the associated QString name. More...

TXSTD::map<int, QString> masterListIdMap
 The map of the masterListId number with a type QString. More...

TxAttributeSetmodelWindow
 This TxAttributeSet is used to set the geometry of the window. More...

TxHierAttribSet* configSet
 This TxHierAttribSet is used to read or write to/from a configuration file. More...

int defaultX
 The default X location. More...

int defaultY
 The default Y location. More...

int defaultW
 The default width. More...

int defaultH
 The default height. More...

vector<string> viewOptionAttribs
 The vector list of allowable Option attributes to copy for the View menu. More...

vector<string> viewStringAttribs
 The vector list of allowable String attributes to copy for the View menu. More...

vector<string> viewNewOptionAttribs
 The vector list of new Option attributes to copy for the View menu. More...

vector<string> viewNewStringAttribs
 The vector list of new String attributes to copy for the View menu. More...

bool checkWindowOpen
 bool flag to determine whether to check if a window is open. More...

bool checkEditWindowOpen
 bool flag to determine whether to check if a editor window is open. More...

bool fixX11Flag
 bool to fix X11 position. More...

int masterListId
 The master id list number variable. More...

TXSTD::vector<int> listWindowId
 A vector of list id numbers. More...

int listId
 The global listId number. More...

int editListIdBegin
 The Edit begin list id number This number is the beginning of the index in listWindowId for Edit. More...

int editListIdEnd
 The Edit end list id number This number is the end of the index in listWindowId for Edit. More...

int viewListIdBegin
 The View begin list id number This number is the beginning of the index in listWindowId for View. More...

int viewListIdEnd
 The View end list id number This number is the end of the index in listWindowId for View. More...

int paramsListIdBegin
 The Params begin list id number This number is the beginning of the index in listWindowId for Params. More...

int paramsListIdEnd
 The Params end list id number This number is the end of the index in listWindowId for Params. More...


Detailed Description

The TxqConfigFrame is a TxqMasterIoFrame which adds the use of a TxAttributeSet to hold this frame's geometry.

This attribute set also contains the geometry information of held Txq2dPlotframes. The config attribute set can be read from a file at startup time and can be saved later. This class also contains the state of the model, id PRE, INITIAL, RUN, or STOP and can initialize or re-initialize a mode. This class can also display a status line and edit TxAttributeSets. The View Edit and Parameters menu items can be created from methods of this class containing attribute sets.

Copyright 2000 - 2001 by Tech-X Corporation

Author:
Kelly G. Luetkemeyer

Version:
Id:
TxqConfigFrame.h,v 1.16 2002/04/09 17:12:19 kgl Exp

Definition at line 53 of file TxqConfigFrame.h.


Constructor & Destructor Documentation

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

The TxqConfigFrame 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.
f   The window flags.

TxqConfigFrame::~TxqConfigFrame ( ) [virtual]
 

The TxqConfigFrame destructor.


Member Function Documentation

void TxqConfigFrame::addAttribMenus ( vector< TxAttributeSet *> & menuItems,
TXSTD::map< QString, QPopupMenu *> & menuMap,
QPopupMenu * thisMenu ) [protected, virtual]
 

This is a utility method to add new menus to thisMenu.

Parameters:
menuItems   a vector of TxAttributeSet pointer which contain information about the menu to add
menuMap   the map of QString and QPopupMenus to use
thisMenu   the items are added to this QPopupMenu item

void TxqConfigFrame::addEditAttribMenuItems ( vector< TxAttributeSet *> & menuItems,
TXSTD::map< QString, QPopupMenu *> & menuMap,
TXSTD::map< int, TxAttributeSet *> & attribMap,
TXSTD::map< QString, int > & listIdMap ) [protected, virtual]
 

Utility method to add new menu items from the attribute sets in order to invoke a TxqEditorDlog.

Parameters:
menuItems   a vector of TxAttributeSet pointer which contain information about the menu to add
menuMap   the map of QString and QPopupMenus to use
attribMap   the map of TxAttributeSets which can be editted by the editor
listIdMap   The map of menu names and TxqListDlog' id numbers.

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

Add the Edit menu items.

Reimplemented from TxqFrame.

Reimplemented in TxqNldTrol.

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

Add to the base File menu.

Reimplemented from TxqFrame.

void TxqConfigFrame::addHelpMenuItems ( ) [protected, virtual]
 

Add the help menu items.

Reimplemented from TxqMasterIoFrame.

void TxqConfigFrame::addListMenus ( vector< TxAttributeSet *> & menuItems,
TXSTD::map< int, TxqListDlog *> & menuListMap,
TXSTD::map< QString, TxqListDlog *> & menuListNameMap,
TXSTD::map< QString, int > & menuListIdMap,
TXSTD::map< QString, QPopupMenu *> & menuMap,
QPopupMenu * thisMenu ) [protected, virtual]
 

This is a utility method to add new list menus to thisMenu A list menu will open a TxqListDlog.

Parameters:
menuItems   A vector of TxAttributeSet pointer which contain information about the menu to add.
menuListMap   The map of menu id numbers and associated TxqListDlog's. Items will be inserted into this map by the method.
menuListNameMap   The map of menu names and TxqListDlogs. Items will be inserted into this map by the method.
menuListIdMap   The map of menu names and TxqListDlog' id numbers. Items will be inserted into this map by the method.
menuMap   the map of QString and QPopupMenus to use
thisMenu   The items are added to this QPopupMenu item.

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

Add the default menu bar items.

Reimplemented from TxqMasterIoFrame.

void TxqConfigFrame::addOpenMenuItems ( ) [protected]
 

Add the open menu items.

void TxqConfigFrame::addParamsMenuItems ( ) [protected, virtual]
 

Add to the base Parameters menu.

Reimplemented from TxqMasterIoFrame.

void TxqConfigFrame::addSaveMenuItems ( ) [protected]
 

Add the save menu items.

Reimplemented in TxqAccelTrol.

void TxqConfigFrame::addSubMenuBarItems ( ) [protected, virtual]
 

Add the sub menu bar items The sub menubar items are any menus in the menubar that may need items inserted into it.

Reimplemented from TxqMasterIoFrame.

void TxqConfigFrame::addViewOptions ( ) [protected]
 

Add all the options to the View vectors these options are allowed to be copied from the config set to the window attribute set.

void TxqConfigFrame::applyCloseEditAttrib ( ) [virtual, slot]
 

slot to apply and he edit attributes and close the editor.

void TxqConfigFrame::applyEditAttrib ( ) [virtual, slot]
 

slot to apply the edit attributes from the editor.

void TxqConfigFrame::cancelEditEditor ( ) [virtual, slot]
 

slot to cancel the editor.

void TxqConfigFrame::closeAllWindows ( ) [signal]
 

signal is emitted to request to close all the opened windows.

void TxqConfigFrame::closeWindow ( int number ) [slot]
 

slot to close the View window and update a list item.

void TxqConfigFrame::closeWindowSignal ( int index ) [signal]
 

signal emitted to request to close a specified window.

Parameters:
index   the window number to close

void TxqConfigFrame::copyAttrib ( TxAttributeSet * from,
TxAttributeSet * to )
 

copy a TxAttributeSet from one TxAttributeSet to the other typically used to copy the configSet attribute to the viewMenuItems.

Parameters:
from   the TxAttributeSet pointer to copy data from
to   the TxAttributeSet pointer to copy data to

void TxqConfigFrame::createOpenMenu ( ) [protected]
 

Create the open menu.

void TxqConfigFrame::createSaveMenu ( ) [protected]
 

Create the save menu.

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

Create the widgets that the frame needs.

Reimplemented from TxqMasterIoFrame.

void TxqConfigFrame::createWindowAttribSet ( ) [protected]
 

Create the window attribute set.

void TxqConfigFrame::destroy ( bool t,
bool tt ) [inline]
 

declare the base class method to prevent compiler warnings.

Definition at line 145 of file TxqConfigFrame.h.

void TxqConfigFrame::destroy ( )
 

Delete the widget.

void TxqConfigFrame::disableOpenMenu ( )
 

disable the open menu.

void TxqConfigFrame::doEditWindow ( int number ) [slot]
 

slot to open the editor window.

Parameters:
number   the index number into the map to locate the attribute sets.

void TxqConfigFrame::doListItemEditWindow ( int number ) [inline, slot]
 

slot to open a "Edit" window from a TxqListItemDlog's item The number is added to the editListIdBegin number to correctly acces the id number within the maps and vector containers.

This new number is then passed to doListIemWindow.

Parameters:
number   the index number into the map to locate the window to open.

Definition at line 301 of file TxqConfigFrame.h.

void TxqConfigFrame::doListItemParamsWindow ( int number ) [inline, slot]
 

slot to open a "Params" window from a TxqListItemDlog's item The number is added to the paramsListIdBegin number to correctly acces the id number within the maps and vector containers.

This new number is then passed to doListIemWindow.

Parameters:
number   the index number into the map to locate the window to open.

Definition at line 312 of file TxqConfigFrame.h.

void TxqConfigFrame::doListItemViewWindow ( int number ) [inline, slot]
 

slot to open a "View" window from a TxqListItemDlog's item The number is added to the viewListIdBegin number to correctly acces the id number within the maps and vector containers.

This new number is then passed to doListIemWindow.

Parameters:
number   the index number into the map to locate the window to open.

Definition at line 290 of file TxqConfigFrame.h.

void TxqConfigFrame::doListItemWindow ( int number ) [slot]
 

slot to open a window from a TxqListItemDlog's item.

Parameters:
number   the index number into the map to locate the window type to open. Currently the type can be "View" or "Edit"

Referenced by doListItemEditWindow(), doListItemParamsWindow(), and doListItemViewWindow().

void TxqConfigFrame::doListWindow ( int number ) [slot]
 

slot to open a TxqListDlog window.

Parameters:
number   the index number into the map to locate the TxqListDlog pointer.

void TxqConfigFrame::doViewWindow ( int number ) [slot]
 

slot to do the view item.

Parameters:
number   the index number into the map to locate the attribute sets.

void TxqConfigFrame::enableOpenMenu ( )
 

enable the open menu.

void TxqConfigFrame::getConfigFileName ( QString filename )
 

Get the config filename and read the config file.

Parameters:
filename   the config filename to read

QString TxqConfigFrame::getFileName ( )
 

Get the input filename.

Returns:
the QString filename

QRect TxqConfigFrame::getGeometry ( )
 

Get the geometry of the window.

Parameters:
the   QRect denoting the geometry of this frame

QString TxqConfigFrame::getInputFileName ( )
 

Get the input filename from a dialog.

Parameters:
the   QString from the dialog which will be null if the user cancelled the request.

void TxqConfigFrame::getWindowId ( int number ) [slot]
 

slot to get the window id number for the editor.

Parameters:
number   the number to use to retrieve the attribute set from the map

void TxqConfigFrame::initialize ( ) [protected, virtual]
 

Initialize data members.

This method may be used to re-initialize these data members

void TxqConfigFrame::moveEvent ( QMoveEvent * event ) [protected]
 

reset the X,Y frame location within the move event.

Parameters:
event   the QMouseEvent

void TxqConfigFrame::openInputFile ( ) [slot]
 

slot to open an input file.

void TxqConfigFrame::openInputTextFile ( ) [slot]
 

slot to open the input text file.

void TxqConfigFrame::readConfig ( QString filename )
 

Read the config attribute set from a file.

Parameters:
filename   the filename to read the config attribute sets

void TxqConfigFrame::resizeEvent ( QResizeEvent * event ) [protected]
 

reset the frame size within the resize event.

Parameters:
event   the QResizeEvent

void TxqConfigFrame::restartEvent ( ) [signal]
 

signal to restart the model.

void TxqConfigFrame::restartModel ( ) [slot]
 

slot to restart the model.

void TxqConfigFrame::revertEditAttrib ( ) [virtual, slot]
 

slot to revert the edit attributes from the editor.

void TxqConfigFrame::saveConfigFile ( ) [slot]
 

slot to save a configuration file.

void TxqConfigFrame::saveGeometry ( )
 

save the geometry of the window.

void TxqConfigFrame::setDefaultDir ( QString dirName )
 

Set the default input directory name If unset, the default is "../input".

Parameters:
dirName   the default directory name.

void TxqConfigFrame::setEditMenuItems ( vector< TxAttributeSet *> menuItems ) [virtual]
 

Set the edit menu items with attribute sets.

Parameters:
menuItems   a vector of TxAtributeSet pointers which define a menu item with special menu keywords. These menu items will open a TxqEditorDlog for editting a TxAttributeSet.

void TxqConfigFrame::setFileName ( const QString & name )
 

Set the input filename.

Parameters:
name   the input filename

void TxqConfigFrame::setFileNameExt ( QString ext )
 

Set the input file name extension which can be set more than once.

Parameters:
ext   the filename extension to set.

void TxqConfigFrame::setGeometryAttrib ( TxAttributeSet * window )
 

Set the geometry of the frame using the attribute set.

Parameters:
window   the input TxAttributeSet

void TxqConfigFrame::setInitialState ( )
 

Set the initial state of the model.

void TxqConfigFrame::setLocation ( Txq2dPlotFrame * window,
TxAttributeSet * attrib )
 

Set the location of the Txq2dPlotFrame.

Parameters:
window   the Txq2dPlotFrame pointer in which to set its location
attrib   the TxAttributeSet for this Txq2dPlotFrame

void TxqConfigFrame::setParamsMenuItems ( vector< TxAttributeSet *> menuItems ) [virtual]
 

Set the parameters menu items.

Parameters:
menuItems   a vector of TxAtributeSet pointers which define a menu item with special menu keywords. These menu items will open a TxqEditorDlog for editting a TxAttributeSet.

void TxqConfigFrame::setViewMenuItems ( vector< TxAttributeSet *> menuItems,
vector< TxAttributeSet *> dataAttribs ) [virtual]
 

Set the view menu items with attribute sets.

The View menu will be filled with items which can open Txq2dPlotFrames

Parameters:
menuItems   the vector of TxAttributeSet pointers. Each menuItems element contains a TxAttributeSet which defines a menu item with special menu keywords.
dataAttribs   the vector of TxAttributeSet pointers to be used by the Txq2dPlotFrame

Reimplemented in TxqAccelTrol, and TxqNldTrol.

void TxqConfigFrame::startBrowser ( const QString & home,
const QString & title ) [virtual, slot]
 

Start the HTML browser.

Parameters:
home   the HOME directory name to start the browswer.
title   the title for the browser widget.

Reimplemented from TxqMasterIoFrame.

void TxqConfigFrame::startEvent ( ) [signal]
 

signal to start the model.

void TxqConfigFrame::startHtmlBrowser ( ) [virtual, slot]
 

start the browser.

Reimplemented from TxqMasterIoFrame.

void TxqConfigFrame::startModel ( ) [slot]
 

slot to start the model.

void TxqConfigFrame::updateModelAttribute ( TxAttributeSet * attrib ) [signal]
 

signal to update this model's attribute.

Parameters:
attrib   the TxAttributeSet pointer to update its values

void TxqConfigFrame::updateTimeLabel ( const QString & label )
 

update the time status label.

Parameters:
label   the new label to update

void TxqConfigFrame::updateViewAttribs ( TxAttributeSet * viewAttrib,
TxAttributeSet * dataAttrib ) [signal]
 

signal to update this model's attribute.

Parameters:
viewAttrib   the TxAttributeSet pointer to update its window values
dataAttrib   the TxAttributeSet pointer to update its data values

void TxqConfigFrame::writeConfig ( QString filename )
 

Write the config attribute set to a file.

Parameters:
filename   the filename to write the config attribute set


Member Data Documentation

QString TxqConfigFrame::baseName [protected]
 

The base name of the input filename.

Definition at line 554 of file TxqConfigFrame.h.

bool TxqConfigFrame::checkEditWindowOpen [protected]
 

bool flag to determine whether to check if a editor window is open.

Definition at line 713 of file TxqConfigFrame.h.

bool TxqConfigFrame::checkWindowOpen [protected]
 

bool flag to determine whether to check if a window is open.

Definition at line 708 of file TxqConfigFrame.h.

TxHierAttribSet * TxqConfigFrame::configSet [protected]
 

This TxHierAttribSet is used to read or write to/from a configuration file.

Definition at line 659 of file TxqConfigFrame.h.

QString TxqConfigFrame::defaultDirName [protected]
 

The default directory name.

Definition at line 564 of file TxqConfigFrame.h.

int TxqConfigFrame::defaultH [protected]
 

The default height.

Definition at line 679 of file TxqConfigFrame.h.

int TxqConfigFrame::defaultW [protected]
 

The default width.

Definition at line 674 of file TxqConfigFrame.h.

int TxqConfigFrame::defaultX [protected]
 

The default X location.

Definition at line 664 of file TxqConfigFrame.h.

int TxqConfigFrame::defaultY [protected]
 

The default Y location.

Definition at line 669 of file TxqConfigFrame.h.

TXSTD::map< int, TxAttributeSet *> TxqConfigFrame::editAttribMap [protected]
 

The Edit attribute map of all the attributes with the index number from insertItem.

Definition at line 591 of file TxqConfigFrame.h.

int TxqConfigFrame::editListIdBegin [protected]
 

The Edit begin list id number This number is the beginning of the index in listWindowId for Edit.

Definition at line 740 of file TxqConfigFrame.h.

int TxqConfigFrame::editListIdEnd [protected]
 

The Edit end list id number This number is the end of the index in listWindowId for Edit.

Definition at line 747 of file TxqConfigFrame.h.

TXSTD::map< QString, int > TxqConfigFrame::editListIdMap<QString, int> [protected]
 

Definition at line 623 of file TxqConfigFrame.h.

TXSTD::map< QString, QPopupMenu *> TxqConfigFrame::editMenuMap [protected]
 

The Edit menu map of all the created QPopupMenu's with the associated QString name.

Definition at line 636 of file TxqConfigFrame.h.

QString TxqConfigFrame::fileName [protected]
 

The input filename.

Definition at line 544 of file TxqConfigFrame.h.

QString TxqConfigFrame::fileNameExt [protected]
 

The input filename extension.

Definition at line 559 of file TxqConfigFrame.h.

vector< QString > TxqConfigFrame::fileNameExts [protected]
 

The input filename extensions in a vector.

Definition at line 574 of file TxqConfigFrame.h.

bool TxqConfigFrame::fixX11Flag [protected]
 

bool to fix X11 position.

Definition at line 718 of file TxqConfigFrame.h.

int TxqConfigFrame::listId [protected]
 

The global listId number.

Definition at line 733 of file TxqConfigFrame.h.

TXSTD::map< int, int > TxqConfigFrame::listItemIdMap [protected]
 

The List menu map of all the id numbers of the listItems with the associated TxqListDlog id number.

Definition at line 630 of file TxqConfigFrame.h.

TXSTD::map< int, TxqListDlog *> TxqConfigFrame::listMap [protected]
 

The List menu map of all the created TxqListDlog's with the associated integer id.

Definition at line 609 of file TxqConfigFrame.h.

TXSTD::map< QString, TxqListDlog *> TxqConfigFrame::listNameMap [protected]
 

The List menu map of all the created TxqListDlog's with the associated QString menu name.

Definition at line 615 of file TxqConfigFrame.h.

TXSTD::vector< int > TxqConfigFrame::listWindowId [protected]
 

A vector of list id numbers.

Definition at line 728 of file TxqConfigFrame.h.

int TxqConfigFrame::masterListId [protected]
 

The master id list number variable.

Definition at line 723 of file TxqConfigFrame.h.

TXSTD::map< int, QString > TxqConfigFrame::masterListIdMap [protected]
 

The map of the masterListId number with a type QString.

Currently the type can be "View" or "Edit"

Definition at line 648 of file TxqConfigFrame.h.

int TxqConfigFrame::modelState [protected]
 

The model state.

Definition at line 579 of file TxqConfigFrame.h.

TxAttributeSet * TxqConfigFrame::modelWindow [protected]
 

This TxAttributeSet is used to set the geometry of the window.

Definition at line 653 of file TxqConfigFrame.h.

QString TxqConfigFrame::openFileNameExts [protected]
 

The input filename extensions suitable for a QDialog browser.

Definition at line 569 of file TxqConfigFrame.h.

QPopupMenu * TxqConfigFrame::openMenu [protected]
 

The open popup menu.

Definition at line 534 of file TxqConfigFrame.h.

int TxqConfigFrame::paramsListIdBegin [protected]
 

The Params begin list id number This number is the beginning of the index in listWindowId for Params.

Definition at line 768 of file TxqConfigFrame.h.

int TxqConfigFrame::paramsListIdEnd [protected]
 

The Params end list id number This number is the end of the index in listWindowId for Params.

Definition at line 775 of file TxqConfigFrame.h.

TXSTD::map< QString, int > TxqConfigFrame::paramsListIdMap<QString, int> [protected]
 

Definition at line 624 of file TxqConfigFrame.h.

TXSTD::map< QString, QPopupMenu *> TxqConfigFrame::paramsMenuMap [protected]
 

The Parameters menu map of all the created QPopupMenu's with the associated QString name.

Definition at line 642 of file TxqConfigFrame.h.

QString TxqConfigF