#include <qcalc.h>
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 |
Q_H_GROUP_BOX * | buttons_layout |
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 |
Q_POPUP_MENU * | edit_menu |
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) |
This event handler is called when a drag is in progress and the mouse enters this widget. Method re-implemented from QWidget class (QT3 built-in class). Brings window to front to assist drops on partially hidden windows. | |
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 |
Q_POPUP_MENU * | options_menu |
int | toggleID |
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.
QcalcWindow::QcalcWindow | ( | QWidget * | parent = 0 , |
|
const char * | name = 0 | |||
) |
QcalcWindow::~QcalcWindow | ( | ) | [virtual] |
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, virtual] |
This event handler is called when a drag is in progress and the mouse enters this widget. Method re-implemented from QWidget class (QT3 built-in class). Brings window to front to assist drops on partially hidden windows.
event | of type QDragEnterEvent * |
None |
Reimplemented from QguWindow.
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::save | ( | Vostream & | ) | [virtual] |
Pure virtual fuction to save the contents of this window (session/working list). Overridden in sub-classes.
Vostream& |
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.
None |
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.
None |
None |
Reimplemented from QguWindow.
void QcalcWindow::saveSession | ( | QString | folder | ) | [virtual, slot] |
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] |
QString QcalcWindow::_gap_field_cpy |
QString QcalcWindow::_gap_field_Def |
QString QcalcWindow::_IvlSource_cpy |
QString QcalcWindow::_IvlSource_Def |
QString QcalcWindow::_TagSource_cpy |
QString QcalcWindow::_TagSource_Def |
QComboBox* QcalcWindow::_TimeIvlSelect |
QComboBox* QcalcWindow::_TimeTagSelect |
QGridLayout* QcalcWindow::_top_gl [private] |
QSplitter* QcalcWindow::_top_splitter [private] |
QWidget* QcalcWindow::_top_widget |
QString QcalcWindow::_width_field_cpy |
QString QcalcWindow::_width_field_Def |
Q_H_GROUP_BOX* QcalcWindow::buttons_layout |
QPushButton* QcalcWindow::dismissBtn |
Q_POPUP_MENU* QcalcWindow::edit_menu |
QLabel* QcalcWindow::End_field |
QLabel* QcalcWindow::IvlSource_label |
QPushButton* QcalcWindow::JoinBtn |
QCheckBox* QcalcWindow::multiJn_check1 |
QCheckBox* QcalcWindow::multiJn_check2 |
QPushButton* QcalcWindow::newCalcBtn |
QLabel* QcalcWindow::Ntags_field |
Q_POPUP_MENU* QcalcWindow::options_menu [private] |
double QcalcWindow::qcalc_version |
QString QcalcWindow::SAVE_ALIAS_EXT |
QLabel* QcalcWindow::spacing_field |
QLabel* QcalcWindow::Start_field |
QTabWidget* QcalcWindow::tabWidget |
QLabel* QcalcWindow::TagSource_label |
int QcalcWindow::toggleID [private] |
bool QcalcWindow::verbose |
QPushButton* QcalcWindow::WriteBtn |