QcalcWindow Class Reference

The class that encapsulates the calculator main window. It is inherited from the QSAS QguWindow class. More...

#include <qcalc.h>

Inheritance diagram for QcalcWindow:

QguWindow

List of all members.

Public Slots

void save ()
 Method saves the content of the window to a local file. Last used save file name is used if it exists, or default.
void saveAs ()
 Method saves the content of the working list within a local file using the filename as provided by the user.
void saveSession (QString)
 Method that saves the content of this window when saving the current QSAS session.
void defaultAll ()
void verboseToggle ()
bool joinObjects (QdObjectSeq_var JoinedList, vector< KVDataBase_var > &OptionList, bool skipVirtual)
bool joinSlotObjects (QcalcTab *qTab, vector< QdObject_var > &returnList)
void writeFile ()
void keepChoices ()
void applyChoices ()
void setTTsource (int)
void setTTivl (int)
void setTimeFeedback ()
void messageHandler (QString txt, bool bError=false)
void launchManExport ()
void launchManJoin ()
void launchManual ()
void launchVersion ()
void DoCalculation ()
void DisplayEndMessage ()

Signals

void ClearComboBox ()
void ProcessListView ()

Public Member Functions

 QcalcWindow (QWidget *parent=0, const char *name=0)
virtual ~QcalcWindow ()
void setDefaults ()
QdTimeInterval_var QcalcGetIntervalFromData ()
QdTimeSeq_var getTimeTags ()
QdTimeInterval_var QcalcGetInterval ()
virtual void save (Vostream &)
 Pure virtual fuction to save the contents of this window (session/working list). Overridden in sub-classes.
virtual void restore (Vistream &v_is, bool replace=true)

Public Attributes

QcalcListView_join_listview
QString SAVE_ALIAS_EXT
QGroupBox * buttons_groupbox
QPushButton * dismissBtn
QPushButton * WriteBtn
QPushButton * JoinBtn
QWidget * _top_widget
QPushButton * newCalcBtn
QComboBox * _TimeIvlSelect
QguWLinput_DataSource
QguWLinput_IvlSource
QComboBox * _TimeTagSelect
QguWLinput_TagSource
QLabel * IvlSource_label
QLabel * TagSource_label
QLabel * Start_field
QLabel * End_field
QLabel * Ntags_field
QLabel * spacing_field
QCheckBox * multiJn_check1
QCheckBox * multiJn_check2
QTabWidget * tabWidget
QMenu * edit_menu
QTextEdit * logArea
QString _width_field_Def
int _gap_Def
QString _gap_field_Def
int _algorithm_Def
QString _IvlSource_Def
int _TimeIvlSelect_Def
QString _TagSource_Def
int _TimeTagSelect_Def
QString _width_field_cpy
int _gap_cpy
QString _gap_field_cpy
int _algorithm_cpy
QString _IvlSource_cpy
int _TimeIvlSelect_cpy
QString _TagSource_cpy
int _TimeTagSelect_cpy
double qcalc_version
bool verbose
MapCalculator m_mapOps

Protected Member Functions

void dragEnterEvent (QDragEnterEvent *event)
void keyPressEvent (QKeyEvent *e)

Private Member Functions

void CreateObjectLisView ()
void CreateJoinTabWindow ()
void CreateFeedBackGroupBox ()
void CreatePopUpMenus ()
KVDataBase_var GetJoinOptionObject (QcalcListVirtualItem *next, QdObject_var obj)
bool CheckSelfLinkedVirtualObjs ()
bool JoinFirst ()
bool JoinLast ()
bool disjointSeries (QdObject_var obj)

Private Attributes

QGridLayout * _top_gl
QSplitter * _top_splitter
QMenu * options_menu
int toggleID


Detailed Description

The class that encapsulates the calculator main window. It is inherited from the QSAS QguWindow class.

The main widgets included in this class are the widgets for the join tab page. In addition, it includes the QTabWidget that is used when adding dynamically the operation tab pages.


Constructor & Destructor Documentation

QcalcWindow::QcalcWindow ( QWidget *  parent = 0,
const char *  name = 0 
)

QcalcWindow::~QcalcWindow (  )  [virtual]


Member Function Documentation

void QcalcWindow::applyChoices (  )  [slot]

bool QcalcWindow::CheckSelfLinkedVirtualObjs (  )  [private]

void QcalcWindow::ClearComboBox (  )  [signal]

void QcalcWindow::CreateFeedBackGroupBox (  )  [private]

void QcalcWindow::CreateJoinTabWindow (  )  [private]

void QcalcWindow::CreateObjectLisView (  )  [private]

void QcalcWindow::CreatePopUpMenus (  )  [private]

void QcalcWindow::defaultAll (  )  [slot]

bool QcalcWindow::disjointSeries ( QdObject_var  obj  )  [private]

void QcalcWindow::DisplayEndMessage (  )  [slot]

void QcalcWindow::DoCalculation (  )  [slot]

void QcalcWindow::dragEnterEvent ( QDragEnterEvent *  event  )  [protected]

KVDataBase_var QcalcWindow::GetJoinOptionObject ( QcalcListVirtualItem next,
QdObject_var  obj 
) [private]

QdTimeSeq_var QcalcWindow::getTimeTags (  ) 

bool QcalcWindow::JoinFirst (  )  [private]

bool QcalcWindow::JoinLast (  )  [private]

bool QcalcWindow::joinObjects ( QdObjectSeq_var  JoinedList,
vector< KVDataBase_var > &  OptionList,
bool  skipVirtual 
) [slot]

bool QcalcWindow::joinSlotObjects ( QcalcTab qTab,
vector< QdObject_var > &  returnList 
) [slot]

void QcalcWindow::keepChoices (  )  [slot]

void QcalcWindow::keyPressEvent ( QKeyEvent *  e  )  [protected]

void QcalcWindow::launchManExport (  )  [slot]

void QcalcWindow::launchManJoin (  )  [slot]

void QcalcWindow::launchManual (  )  [slot]

void QcalcWindow::launchVersion (  )  [slot]

void QcalcWindow::messageHandler ( QString  txt,
bool  bError = false 
) [slot]

void QcalcWindow::ProcessListView (  )  [signal]

QdTimeInterval_var QcalcWindow::QcalcGetInterval (  ) 

QdTimeInterval_var QcalcWindow::QcalcGetIntervalFromData (  ) 

void QcalcWindow::restore ( Vistream v_is,
bool  replace = true 
) [virtual]

Implements QguWindow.

void QcalcWindow::save ( Vostream  )  [virtual]

Pure virtual fuction to save the contents of this window (session/working list). Overridden in sub-classes.

Parameters:
Vostream& 
Exceptions:
None 
Returns:
None

Implements QguWindow.

void QcalcWindow::save (  )  [virtual, slot]

Method saves the content of the window to a local file. Last used save file name is used if it exists, or default.

Parameters:
None 
Exceptions:
None 
Returns:
None

Reimplemented from QguWindow.

void QcalcWindow::saveAs (  )  [virtual, slot]

Method saves the content of the working list within a local file using the filename as provided by the user.

Parameters:
None 
Exceptions:
None 
Returns:
None

Reimplemented from QguWindow.

void QcalcWindow::saveSession ( QString  folder  )  [virtual, slot]

Method that saves the content of this window when saving the current QSAS session.

Parameters:
folder of type QString
Exceptions:
None 
Returns:
None

Reimplemented from QguWindow.

void QcalcWindow::setDefaults (  ) 

void QcalcWindow::setTimeFeedback (  )  [slot]

void QcalcWindow::setTTivl ( int  item  )  [slot]

void QcalcWindow::setTTsource ( int  item  )  [slot]

void QcalcWindow::verboseToggle (  )  [slot]

void QcalcWindow::writeFile (  )  [slot]


Member Data Documentation

QGridLayout* QcalcWindow::_top_gl [private]

QSplitter* QcalcWindow::_top_splitter [private]

QPushButton* QcalcWindow::JoinBtn

QMenu* QcalcWindow::options_menu [private]

int QcalcWindow::toggleID [private]

QPushButton* QcalcWindow::WriteBtn


The documentation for this class was generated from the following files:

Generated on Fri Jan 8 12:51:28 2010 for QSAS by  doxygen 1.5.7