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

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... | |
| TxAttributeSet* | modelWindow |
| 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... | |
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
Definition at line 53 of file TxqConfigFrame.h.
|
|
The TxqConfigFrame constructor takes a QWidget w a name nm and a window flag f All other options must be set from member methods.
|
|
|
The TxqConfigFrame destructor.
|
|
|
This is a utility method to add new menus to thisMenu.
|
|
|
Utility method to add new menu items from the attribute sets in order to invoke a TxqEditorDlog.
|
|
|
Add the Edit menu items.
Reimplemented from TxqFrame. Reimplemented in TxqNldTrol. |
|
|
Add to the base File menu.
Reimplemented from TxqFrame. |
|
|
Add the help menu items.
Reimplemented from TxqMasterIoFrame. |
|
|
This is a utility method to add new list menus to thisMenu A list menu will open a TxqListDlog.
|
|
|
Add the default menu bar items.
Reimplemented from TxqMasterIoFrame. |
|
|
Add the open menu items.
|
|
|
Add to the base Parameters menu.
Reimplemented from TxqMasterIoFrame. |
|
|
Add the save menu items.
Reimplemented in TxqAccelTrol. |
|
|
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. |
|
|
Add all the options to the View vectors these options are allowed to be copied from the config set to the window attribute set.
|
|
|
slot to apply and he edit attributes and close the editor.
|
|
|
slot to apply the edit attributes from the editor.
|
|
|
slot to cancel the editor.
|
|
|
signal is emitted to request to close all the opened windows.
|
|
|
slot to close the View window and update a list item.
|
|
|
signal emitted to request to close a specified window.
|
|
|
copy a TxAttributeSet from one TxAttributeSet to the other typically used to copy the configSet attribute to the viewMenuItems.
|
|
|
Create the open menu.
|
|
|
Create the save menu.
|
|
|
Create the widgets that the frame needs.
Reimplemented from TxqMasterIoFrame. |
|
|
Create the window attribute set.
|
|
|
declare the base class method to prevent compiler warnings.
Definition at line 145 of file TxqConfigFrame.h. |
|
|
Delete the widget.
|
|
|
disable the open menu.
|
|
|
slot to open the editor window.
|
|
|
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.
Definition at line 301 of file TxqConfigFrame.h. |
|
|
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.
Definition at line 312 of file TxqConfigFrame.h. |
|
|
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.
Definition at line 290 of file TxqConfigFrame.h. |
|
|
slot to open a window from a TxqListItemDlog's item.
Referenced by doListItemEditWindow(), doListItemParamsWindow(), and doListItemViewWindow().
|
|
|
slot to open a TxqListDlog window.
|
|
|
slot to do the view item.
|
|
|
enable the open menu.
|
|
|
Get the config filename and read the config file.
|
|
|
Get the input filename.
|
|
|
Get the geometry of the window.
|
|
|
Get the input filename from a dialog.
|
|
|
slot to get the window id number for the editor.
|
|
|
Initialize data members. This method may be used to re-initialize these data members |
|
|
reset the X,Y frame location within the move event.
|
|
|
slot to open an input file.
|
|
|
slot to open the input text file.
|
|
|
Read the config attribute set from a file.
|
|
|
reset the frame size within the resize event.
|
|
|
signal to restart the model.
|
|
|
slot to restart the model.
|
|
|
slot to revert the edit attributes from the editor.
|
|
|
slot to save a configuration file.
|
|
|
save the geometry of the window.
|
|
|
Set the default input directory name If unset, the default is "../input".
|
|
|
Set the edit menu items with attribute sets.
|
|
|
Set the input filename.
|
|
|
Set the input file name extension which can be set more than once.
|
|
|
Set the geometry of the frame using the attribute set.
|
|
|
Set the initial state of the model.
|
|
|
Set the location of the Txq2dPlotFrame.
|
|
|
Set the parameters menu items.
|
|
|
Set the view menu items with attribute sets. The View menu will be filled with items which can open Txq2dPlotFrames
Reimplemented in TxqAccelTrol, and TxqNldTrol. |
|
|
Start the HTML browser.
Reimplemented from TxqMasterIoFrame. |
|
|
signal to start the model.
|
|
|
start the browser.
Reimplemented from TxqMasterIoFrame. |
|
|
slot to start the model.
|
|
|
signal to update this model's attribute.
|
|
|
update the time status label.
|
|
|
signal to update this model's attribute.
|
|
|
Write the config attribute set to a file.
|
|
|
The base name of the input filename.
Definition at line 554 of file TxqConfigFrame.h. |
|
|
bool flag to determine whether to check if a editor window is open.
Definition at line 713 of file TxqConfigFrame.h. |
|
|
bool flag to determine whether to check if a window is open.
Definition at line 708 of file TxqConfigFrame.h. |
|
|
This TxHierAttribSet is used to read or write to/from a configuration file.
Definition at line 659 of file TxqConfigFrame.h. |
|
|
The default directory name.
Definition at line 564 of file TxqConfigFrame.h. |
|
|
The default height.
Definition at line 679 of file TxqConfigFrame.h. |
|
|
The default width.
Definition at line 674 of file TxqConfigFrame.h. |
|
|
The default X location.
Definition at line 664 of file TxqConfigFrame.h. |
|
|
The default Y location.
Definition at line 669 of file TxqConfigFrame.h. |
|
|
The Edit attribute map of all the attributes with the index number from insertItem.
Definition at line 591 of file TxqConfigFrame.h. |
|
|
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. |
|
|
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. |
|
|
Definition at line 623 of file TxqConfigFrame.h. |
|
|
The Edit menu map of all the created QPopupMenu's with the associated QString name.
Definition at line 636 of file TxqConfigFrame.h. |
|
|
The input filename.
Definition at line 544 of file TxqConfigFrame.h. |
|
|
The input filename extension.
Definition at line 559 of file TxqConfigFrame.h. |
|
|
The input filename extensions in a vector.
Definition at line 574 of file TxqConfigFrame.h. |
|
|
bool to fix X11 position.
Definition at line 718 of file TxqConfigFrame.h. |
|
|
The global listId number.
Definition at line 733 of file TxqConfigFrame.h. |
|
|
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. |
|
|
The List menu map of all the created TxqListDlog's with the associated integer id.
Definition at line 609 of file TxqConfigFrame.h. |
|
|
The List menu map of all the created TxqListDlog's with the associated QString menu name.
Definition at line 615 of file TxqConfigFrame.h. |
|
|
A vector of list id numbers.
Definition at line 728 of file TxqConfigFrame.h. |
|
|
The master id list number variable.
Definition at line 723 of file TxqConfigFrame.h. |
|
|
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. |
|
|
The model state.
Definition at line 579 of file TxqConfigFrame.h. |
|
|
This TxAttributeSet is used to set the geometry of the window.
Definition at line 653 of file TxqConfigFrame.h. |
|
|
The input filename extensions suitable for a QDialog browser.
Definition at line 569 of file TxqConfigFrame.h. |
|
|
The open popup menu.
Definition at line 534 of file TxqConfigFrame.h. |
|
|
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. |
|
|
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. |
|
|
Definition at line 624 of file TxqConfigFrame.h. |
|
|
The Parameters menu map of all the created QPopupMenu's with the associated QString name.
Definition at line 642 of file TxqConfigFrame.h. |
|