#include <tmainwindow.h>
Public Slots | |
virtual void | ShowToolTip (const QString &toolTip) Q_DECL_OVERRIDE |
virtual void | zoomToSelected () Q_DECL_OVERRIDE |
virtual void | updateGroups () Q_DECL_OVERRIDE |
Public Slots inherited from VAbstractMainWindow | |
virtual void | ShowToolTip (const QString &toolTip)=0 |
virtual void | updateGroups ()=0 |
virtual void | zoomToSelected ()=0 |
Public Member Functions | |
TMainWindow (QWidget *parent=nullptr) | |
virtual | ~TMainWindow () Q_DECL_OVERRIDE |
QString | CurrentFile () const |
void | RetranslateTable () |
void | SetBaseMHeight (int height) |
void | SetBaseMSize (int size) |
void | SetPUnit (Unit unit) |
bool | LoadFile (const QString &path) |
Public Member Functions inherited from VAbstractMainWindow | |
VAbstractMainWindow (QWidget *parent=nullptr) | |
virtual | ~VAbstractMainWindow () Q_DECL_EQ_DEFAULT |
Protected Member Functions | |
virtual void | closeEvent (QCloseEvent *event) Q_DECL_OVERRIDE |
virtual void | changeEvent (QEvent *event) Q_DECL_OVERRIDE |
virtual void | showEvent (QShowEvent *event) Q_DECL_OVERRIDE |
virtual bool | eventFilter (QObject *object, QEvent *event) Q_DECL_OVERRIDE |
virtual void | exportToCSVData (const QString &fileName, const DialogExportToCSV &dialog) Q_DECL_FINAL |
void | handleExportToCSV () |
Protected Member Functions inherited from VAbstractMainWindow | |
bool | ContinueFormatRewrite (const QString ¤tFormatVersion, const QString &maxFormatVersion) |
void | ToolBarStyle (QToolBar *bar) |
Private Types | |
enum | { MaxRecentFiles = 5 } |
Private Slots | |
void | FileNew () |
void | OpenIndividual () |
void | OpenMultisize () |
void | OpenTemplate () |
void | CreateFromExisting () |
void | Preferences () |
void | ToolBarStyles () |
void | print () |
void | printPages (QPrinter *printer) |
bool | FileSave () |
bool | FileSaveAs () |
void | AboutToShowWindowMenu () |
void | ShowWindow () const |
void | SaveGivenName () |
void | SaveFamilyName () |
void | SaveEmail () |
void | SaveGender (int index) |
void | SaveBirthDate (const QDate &date) |
void | SaveNotes () |
void | SavePMSystem (int index) |
void | Remove () |
void | MoveTop () |
void | MoveUp () |
void | MoveDown () |
void | MoveBottom () |
void | Fx () |
void | AddCustom () |
void | AddKnown () |
void | ImportFromPattern () |
void | ChangedSize (int index) |
void | ChangedHeight (int index) |
void | ShowMData () |
void | DeployFormula () |
void | SaveMName (const QString &text) |
void | SaveMValue () |
void | SaveMBaseValue (double value) |
void | SaveMSizeIncrease (double value) |
void | SaveMHeightIncrease (double value) |
void | SaveMDescription () |
void | SaveMFullName () |
void | PatternUnitChanged (int index) |
Private Member Functions | |
void | SetupMenu () |
void | InitWindow () |
void | InitTable () |
void | SetDecimals () |
void | InitUnits () |
void | InitComboBoxUnits () |
void | InitGender (QComboBox *gender) |
void | ShowNewMData (bool fresh) |
void | ShowUnits () |
void | ShowHeaderUnits (QTableWidget *table, int column, const QString &unit) |
void | UpdateRecentFileActions () |
void | MeasurementsWasSaved (bool saved) |
void | SetCurrentFile (const QString &fileName) |
bool | SaveMeasurements (const QString &fileName, QString &error) |
bool | MaybeSave () |
QTableWidgetItem * | AddCell (const QString &text, int row, int column, int aligment, bool ok=true) |
Q_REQUIRED_RESULT QComboBox * | SetGradationList (QLabel *label, const QStringList &list) |
void | SetDefaultHeight (int value) |
void | SetDefaultSize (int value) |
void | RefreshData (bool freshCall=false) |
void | RefreshTable (bool freshCall=false) |
QString | GetCustomName () const |
QString | ClearCustomName (const QString &name) const |
bool | EvalFormula (const QString &formula, bool fromUser, VContainer *data, QLabel *label) |
QString | getMeasurementNumber (const QString &name) |
void | ShowMDiagram (const QString &name) |
void | Open (const QString &pathTo, const QString &filter) |
void | UpdatePadlock (bool ro) |
void | MeasurementGUI () |
void | Controls () |
void | MFields (bool enabled) |
void | UpdateWindowTitle () |
void | ReadSettings () |
void | WriteSettings () |
QStringList | FilterMeasurements (const QStringList &mNew, const QStringList &mFilter) |
void | UpdatePatternUnit () |
bool | LoadFromExistingFile (const QString &path) |
void | CreateWindowMenu (QMenu *menu) |
bool | IgnoreLocking (int error, const QString &path) |
template<class T > | |
void | HackWidget (T **widget) |
void | copyToClipboard () |
copyToClipboard copy dialog selection to clipboard as comma separated values. More... | |
Private Attributes | |
Ui::TMainWindow * | ui |
VMeasurements * | individualMeasurements |
VContainer * | data |
Unit | mUnit |
Unit | pUnit |
MeasurementsType | mType |
qreal | currentSize |
qreal | currentHeight |
QString | curFile |
QComboBox * | gradationHeights |
QComboBox * | gradationSizes |
QComboBox * | comboBoxUnits |
int | formulaBaseHeight |
std::shared_ptr< VLockGuard< char > > | lock |
QSharedPointer< VTableSearch > | search |
QLabel * | labelGradationHeights |
QLabel * | labelGradationSizes |
QLabel * | labelPatternUnit |
QAction * | actionDockDiagram |
bool | dockDiagramVisible |
bool | isInitialized |
bool | mIsReadOnly |
QAction * | recentFileActs [MaxRecentFiles] |
QAction * | separatorAct |
QVector< QObject * > | hackedWidgets |
Additional Inherited Members | |
Protected Slots inherited from VAbstractMainWindow | |
void | WindowsLocale () |
void | exportToCSV (QString &file) |
Protected Attributes inherited from VAbstractMainWindow | |
int | m_curFileFormatVersion |
QString | m_curFileFormatVersionStr |
Definition at line 76 of file tmainwindow.h.
|
private |
Enumerator | |
---|---|
MaxRecentFiles |
Definition at line 189 of file tmainwindow.h.
|
explicit |
Definition at line 110 of file tmainwindow.cpp.
References Cm, Individual, MaxRecentFiles, qApp, ReadSettings(), recentFileActs, search, SetupMenu(), ui, and UpdateWindowTitle().
|
virtual |
Definition at line 183 of file tmainwindow.cpp.
References data, individualMeasurements, and ui.
|
privateslot |
Definition at line 1135 of file tmainwindow.cpp.
References CreateWindowMenu(), and ui.
|
private |
|
privateslot |
Definition at line 1463 of file tmainwindow.cpp.
References VMeasurements::addEmpty(), VMeasurements::AddEmptyAfter(), ColumnName, GetCustomName(), individualMeasurements, MeasurementsWasSaved(), RefreshData(), search, and ui.
|
privateslot |
Definition at line 1492 of file tmainwindow.cpp.
References VMeasurements::addEmpty(), VMeasurements::AddEmptyAfter(), ColumnName, Individual, individualMeasurements, VMeasurements::listKnown(), MeasurementsWasSaved(), mType, qApp, RefreshData(), search, and ui.
|
privateslot |
Definition at line 1633 of file tmainwindow.cpp.
References currentHeight, gradationHeights, RefreshData(), search, and ui.
Referenced by InitWindow().
|
privateslot |
Definition at line 1623 of file tmainwindow.cpp.
References currentSize, gradationSizes, RefreshData(), search, and ui.
Referenced by InitWindow().
|
protectedvirtual |
Definition at line 569 of file tmainwindow.cpp.
References VMeasurements::BaseHeight(), VMeasurements::BaseSize(), comboBoxUnits, individualMeasurements, InitComboBoxUnits(), InitGender(), InitPMSystems(), labelGradationHeights, labelGradationSizes, labelPatternUnit, mType, Multisize, VDomDocument::MUnit(), qApp, ui, and UnitsToStr().
|
private |
Definition at line 2855 of file tmainwindow.cpp.
References CustomMSign.
Referenced by ShowNewMData().
|
protectedvirtual |
Definition at line 554 of file tmainwindow.cpp.
References MaybeSave(), and WriteSettings().
|
private |
|
private |
copyToClipboard copy dialog selection to clipboard as comma separated values.
Definition at line 3369 of file tmainwindow.cpp.
References ui.
Referenced by InitWindow().
|
privateslot |
Definition at line 492 of file tmainwindow.cpp.
References individualMeasurements, LoadFromExistingFile(), and qApp.
Referenced by SetupMenu().
|
private |
Definition at line 3168 of file tmainwindow.cpp.
References qApp, SCASSERT, and ShowWindow().
Referenced by AboutToShowWindowMenu().
QString TMainWindow::CurrentFile | ( | ) | const |
Definition at line 191 of file tmainwindow.cpp.
References curFile.
Referenced by FileSaveAs(), and printPages().
|
privateslot |
Definition at line 1775 of file tmainwindow.cpp.
References DIALOG_MAX_FORMULA_HEIGHT, formulaBaseHeight, SCASSERT, and ui.
Referenced by InitWindow().
|
private |
Definition at line 2867 of file tmainwindow.cpp.
References data, VContainer::DataVariables(), qmu::QmuParserError::GetMsg(), mUnit, pUnit, qApp, UnitConvertor(), and UnitsToStr().
Referenced by SaveMValue(), and ShowNewMData().
|
protectedvirtual |
Definition at line 651 of file tmainwindow.cpp.
References qApp.
|
protectedvirtual |
Implements VAbstractMainWindow.
Definition at line 705 of file tmainwindow.cpp.
References QxtCsvModel::insertColumn(), QxtCsvModel::insertRow(), mType, Multisize, DialogExportToCSV::SelectedMib(), DialogExportToCSV::Separator(), QxtCsvModel::setHeaderText(), QxtCsvModel::setText(), QxtCsvModel::toCSV(), ui, and DialogExportToCSV::WithHeader().
|
privateslot |
Definition at line 388 of file tmainwindow.cpp.
References DialogNewMeasurements::BaseHeight(), DialogNewMeasurements::BaseSize(), currentHeight, currentSize, data, individualMeasurements, InitWindow(), VMeasurements::IsReadOnly(), VAbstractMainWindow::m_curFileFormatVersion, VAbstractMainWindow::m_curFileFormatVersionStr, MeasurementGUI(), VVITConverter::MeasurementMaxVer, VVSTConverter::MeasurementMaxVer, VVITConverter::MeasurementMaxVerStr, VVSTConverter::MeasurementMaxVerStr, MeasurementsWasSaved(), mIsReadOnly, mType, Multisize, DialogNewMeasurements::MUnit(), mUnit, pUnit, qApp, SetCurrentFile(), VMeasurements::SetHeight(), VMeasurements::SetSize(), DialogNewMeasurements::Type(), and UpdatePadlock().
Referenced by SetupMenu().
|
privateslot |
Definition at line 881 of file tmainwindow.cpp.
References VAbstractMainWindow::ContinueFormatRewrite(), curFile, FileSaveAs(), Individual, VAbstractMainWindow::m_curFileFormatVersion, VAbstractMainWindow::m_curFileFormatVersionStr, VVITConverter::MeasurementMaxVer, VVSTConverter::MeasurementMaxVer, VVITConverter::MeasurementMaxVerStr, VVSTConverter::MeasurementMaxVerStr, mIsReadOnly, mType, Multisize, and SaveMeasurements().
Referenced by MaybeSave(), and SetupMenu().
|
privateslot |
Definition at line 978 of file tmainwindow.cpp.
References curFile, CurrentFile(), Individual, individualMeasurements, VLockGuard< Guarded >::IsLocked(), VMeasurements::IsReadOnly(), lock, mIsReadOnly, mType, VCommonSettings::PrepareMultisizeTables(), qApp, SaveMeasurements(), VMeasurements::SetReadOnly(), UpdatePadlock(), UpdateWindowTitle(), and VlpCreateLock().
Referenced by FileSave(), MaybeSave(), and SetupMenu().
|
private |
Definition at line 2994 of file tmainwindow.cpp.
References convertToList().
Referenced by ImportFromPattern().
|
privateslot |
Definition at line 1412 of file tmainwindow.cpp.
References ColumnName, data, VException::DetailedInformation(), VExceptionBadId::ErrorMessage(), EditFormulaDialog::GetFormula(), VContainer::GetVariable(), individualMeasurements, MeasurementsWasSaved(), mUnit, NULL_ID, qApp, RefreshData(), search, EditFormulaDialog::SetFormula(), VMeasurements::SetMValue(), EditFormulaDialog::setPostfix(), ui, and UnitsToStr().
Referenced by InitWindow().
|
private |
Definition at line 2706 of file tmainwindow.cpp.
References CustomMSign, data, VContainer::IsUnique(), measurement_, and qApp.
Referenced by AddCustom(), and SaveMName().
|
private |
|
private |
Definition at line 3352 of file tmainwindow.cpp.
References hackedWidgets.
Referenced by InitWindow().
|
protected |
Definition at line 761 of file tmainwindow.cpp.
References curFile, and VAbstractMainWindow::exportToCSV().
Referenced by SetupMenu().
|
private |
Definition at line 3205 of file tmainwindow.cpp.
References qApp, and V_EX_NOINPUT.
Referenced by LoadFile(), and LoadFromExistingFile().
|
privateslot |
Definition at line 1549 of file tmainwindow.cpp.
References VMeasurements::addEmpty(), VMeasurements::AddEmptyAfter(), ColumnName, VAbstractConverter::Convert(), VException::DetailedInformation(), VException::ErrorMessage(), FilterMeasurements(), individualMeasurements, VLockGuard< Guarded >::IsLocked(), VMeasurements::ListAll(), MeasurementsWasSaved(), VCommonSettings::PrepareStandardTemplates(), qApp, RefreshData(), search, and ui.
|
private |
Definition at line 3333 of file tmainwindow.cpp.
References Cm, comboBoxUnits, Inch, Mm, SCASSERT, and UnitsToStr().
Referenced by changeEvent(), and InitUnits().
|
private |
Definition at line 3342 of file tmainwindow.cpp.
References Female, Male, SCASSERT, and Unknown.
Referenced by changeEvent(), and InitWindow().
|
private |
Definition at line 2377 of file tmainwindow.cpp.
References ColumnBaseValue, ColumnFormula, ColumnInHeights, ColumnInSizes, mType, Multisize, ShowMData(), ShowUnits(), and ui.
Referenced by InitWindow().
|
private |
Definition at line 3311 of file tmainwindow.cpp.
References comboBoxUnits, InitComboBoxUnits(), labelPatternUnit, PatternUnitChanged(), pUnit, and ui.
Referenced by InitWindow().
|
private |
Definition at line 2198 of file tmainwindow.cpp.
References actionDockDiagram, VMeasurements::BaseHeight(), VMeasurements::BaseSize(), VMeasurements::BirthDate(), ChangedHeight(), ChangedSize(), copyToClipboard(), DeployFormula(), dockDiagramVisible, VMeasurements::Email(), VMeasurements::FamilyName(), formulaBaseHeight, Fx(), VMeasurements::Gender(), VMeasurements::GivenName(), gradationHeights, gradationSizes, HackWidget(), VTableSearch::HasResult(), VContainer::height(), individualMeasurements, InitGender(), InitPMSystems(), InitTable(), InitUnits(), labelGradationHeights, labelGradationSizes, MoveBottom(), MoveDown(), MoveTop(), MoveUp(), mType, Multisize, mUnit, VDomDocument::MUnit(), NameRegExp(), VMeasurements::Notes(), VMeasurements::PMSystem(), qApp, Remove(), SaveBirthDate(), SaveEmail(), SaveFamilyName(), SaveGender(), SaveGivenName(), SaveMBaseValue(), SaveMDescription(), SaveMFullName(), SaveMHeightIncrease(), SaveMName(), SaveMSizeIncrease(), SaveMValue(), SaveNotes(), SavePMSystem(), SCASSERT, search, SetDecimals(), SetDefaultHeight(), SetDefaultSize(), SetGradationList(), VContainer::size(), ui, UnitsToStr(), VMeasurement::WholeListHeights(), and VMeasurement::WholeListSizes().
Referenced by FileNew(), LoadFile(), and LoadFromExistingFile().
bool TMainWindow::LoadFile | ( | const QString & | path | ) |
Definition at line 246 of file tmainwindow.cpp.
References VMeasurements::BaseHeight(), VMeasurements::BaseSize(), VAbstractConverter::Convert(), currentHeight, currentSize, data, VException::DetailedInformation(), VException::ErrorMessage(), VAbstractConverter::GetCurrentFormatVarsion(), VAbstractConverter::GetVersionStr(), IgnoreLocking(), individualMeasurements, InitWindow(), VMeasurements::IsDefinedKnownNamesValid(), VMeasurements::IsReadOnly(), lock, VAbstractMainWindow::m_curFileFormatVersion, VAbstractMainWindow::m_curFileFormatVersionStr, MeasurementGUI(), mIsReadOnly, mType, Multisize, mUnit, VDomDocument::MUnit(), pUnit, qApp, RefreshData(), SetCurrentFile(), VMeasurements::SetHeight(), VMeasurements::SetSize(), VMeasurements::setXMLContent(), VMeasurements::Type(), ui, Unknown, UpdatePadlock(), V_EX_NOINPUT, and VlpCreateLock().
Referenced by MApplication::event(), and Open().
|
private |
Definition at line 3017 of file tmainwindow.cpp.
References VMeasurements::BaseHeight(), VMeasurements::BaseSize(), VMeasurements::ClearForExport(), VAbstractConverter::Convert(), currentHeight, currentSize, data, VException::DetailedInformation(), VException::ErrorMessage(), VAbstractConverter::GetCurrentFormatVarsion(), VAbstractConverter::GetVersionStr(), IgnoreLocking(), individualMeasurements, InitWindow(), VMeasurements::IsDefinedKnownNamesValid(), VMeasurements::IsReadOnly(), lock, VAbstractMainWindow::m_curFileFormatVersion, VAbstractMainWindow::m_curFileFormatVersionStr, MeasurementGUI(), mIsReadOnly, mType, Multisize, mUnit, VDomDocument::MUnit(), pUnit, qApp, RefreshData(), VMeasurements::SetHeight(), VMeasurements::SetSize(), VMeasurements::setXMLContent(), VMeasurements::Type(), ui, Unknown, UpdatePadlock(), V_EX_NOINPUT, and VlpCreateLock().
Referenced by CreateFromExisting().
|
private |
Definition at line 2478 of file tmainwindow.cpp.
References curFile, FileSave(), FileSaveAs(), mIsReadOnly, and ui.
Referenced by closeEvent().
|
private |
Definition at line 2951 of file tmainwindow.cpp.
References ColumnName, Controls(), CustomMSign, and ui.
Referenced by FileNew(), LoadFile(), LoadFromExistingFile(), and ShowNewMData().
|
private |
Definition at line 2427 of file tmainwindow.cpp.
References mIsReadOnly, and ui.
Referenced by AddCustom(), AddKnown(), FileNew(), Fx(), ImportFromPattern(), MoveBottom(), MoveDown(), MoveTop(), MoveUp(), Remove(), SaveBirthDate(), SaveEmail(), SaveFamilyName(), SaveGender(), SaveGivenName(), SaveMBaseValue(), SaveMDescription(), SaveMeasurements(), SaveMFullName(), SaveMHeightIncrease(), SaveMName(), SaveMSizeIncrease(), SaveMValue(), SaveNotes(), and SavePMSystem().
|
private |
Definition at line 2765 of file tmainwindow.cpp.
References mType, Multisize, and ui.
Referenced by Remove(), and ShowNewMData().
|
privateslot |
Definition at line 1394 of file tmainwindow.cpp.
References ColumnName, individualMeasurements, MeasurementsWasSaved(), VMeasurements::MoveBottom(), RefreshData(), search, and ui.
Referenced by InitWindow().
|
privateslot |
Definition at line 1376 of file tmainwindow.cpp.
References ColumnName, individualMeasurements, MeasurementsWasSaved(), VMeasurements::MoveDown(), RefreshData(), search, and ui.
Referenced by InitWindow().
|
privateslot |
Definition at line 1340 of file tmainwindow.cpp.
References ColumnName, individualMeasurements, MeasurementsWasSaved(), VMeasurements::MoveTop(), RefreshData(), search, and ui.
Referenced by InitWindow().
|
privateslot |
Definition at line 1358 of file tmainwindow.cpp.
References ColumnName, individualMeasurements, MeasurementsWasSaved(), VMeasurements::MoveUp(), RefreshData(), search, and ui.
Referenced by InitWindow().
|
private |
Definition at line 2917 of file tmainwindow.cpp.
References individualMeasurements, LoadFile(), and qApp.
Referenced by OpenIndividual(), OpenMultisize(), and OpenTemplate().
|
privateslot |
Definition at line 439 of file tmainwindow.cpp.
Referenced by SetupMenu().
|
privateslot |
Definition at line 463 of file tmainwindow.cpp.
References Open(), VCommonSettings::PrepareMultisizeTables(), and qApp.
Referenced by SetupMenu().
|
privateslot |
Definition at line 475 of file tmainwindow.cpp.
References individualMeasurements, lock, Open(), VCommonSettings::PrepareStandardTemplates(), qApp, and SetCurrentFile().
Referenced by SetupMenu().
|
privateslot |
Definition at line 2091 of file tmainwindow.cpp.
References comboBoxUnits, pUnit, and UpdatePatternUnit().
Referenced by InitUnits().
|
privateslot |
Definition at line 527 of file tmainwindow.cpp.
References ToolBarStyles(), DialogSeamlyMePreferences::updateProperties(), and VAbstractMainWindow::WindowsLocale().
|
privateslot |
Definition at line 772 of file tmainwindow.cpp.
References mType, Multisize, printPages(), and ui.
Referenced by SetupMenu().
|
privateslot |
Definition at line 803 of file tmainwindow.cpp.
References CurrentFile(), mType, Multisize, mUnit, PrintDPI, ui, and UnitsToStr().
Referenced by print().
|
private |
Definition at line 2970 of file tmainwindow.cpp.
References APP_VERSION, VCommonSettings::GetGeometry(), VCommonSettings::GetToolbarsState(), VCommonSettings::GetWindowState(), qApp, and ToolBarStyles().
Referenced by TMainWindow().
|
private |
Definition at line 2589 of file tmainwindow.cpp.
References VContainer::ClearUniqueNames(), VContainer::ClearVariables(), data, individualMeasurements, Measurement, VMeasurements::ReadMeasurements(), and RefreshTable().
Referenced by AddCustom(), AddKnown(), ChangedHeight(), ChangedSize(), Fx(), ImportFromPattern(), LoadFile(), LoadFromExistingFile(), MoveBottom(), MoveDown(), MoveTop(), MoveUp(), Remove(), SaveMBaseValue(), SaveMDescription(), SaveMFullName(), SaveMHeightIncrease(), SaveMName(), SaveMSizeIncrease(), SaveMValue(), SetBaseMHeight(), and SetBaseMSize().
|
private |
Definition at line 2599 of file tmainwindow.cpp.
References AddCell(), ColumnBaseValue, ColumnCalcValue, ColumnFormula, ColumnFullName, ColumnInHeights, ColumnInSizes, ColumnName, ColumnNumber, data, VContainer::DataMeasurements(), VContainer::DataVariables(), getMeasurementNumber(), Individual, mType, mUnit, pUnit, qApp, ShowUnits(), ui, and UnitConvertor().
Referenced by RefreshData(), RetranslateTable(), and UpdatePatternUnit().
|
privateslot |
Definition at line 1269 of file tmainwindow.cpp.
References individualMeasurements, MeasurementsWasSaved(), MFields(), mType, Multisize, RefreshData(), VMeasurements::Remove(), search, and ui.
Referenced by InitWindow().
void TMainWindow::RetranslateTable | ( | ) |
Definition at line 197 of file tmainwindow.cpp.
References individualMeasurements, RefreshTable(), search, and ui.
|
privateslot |
Definition at line 1236 of file tmainwindow.cpp.
References VMeasurements::BirthDate(), individualMeasurements, MeasurementsWasSaved(), and VMeasurements::SetBirthDate().
Referenced by InitWindow().
|
privateslot |
Definition at line 1215 of file tmainwindow.cpp.
References VMeasurements::Email(), individualMeasurements, MeasurementsWasSaved(), VMeasurements::SetEmail(), and ui.
Referenced by InitWindow().
|
privateslot |
Definition at line 1205 of file tmainwindow.cpp.
References VMeasurements::FamilyName(), individualMeasurements, MeasurementsWasSaved(), VMeasurements::SetFamilyName(), and ui.
Referenced by InitWindow().
|
privateslot |
Definition at line 1225 of file tmainwindow.cpp.
References VMeasurements::Gender(), individualMeasurements, MeasurementsWasSaved(), VMeasurements::SetGender(), and ui.
Referenced by InitWindow().
|
privateslot |
Definition at line 1195 of file tmainwindow.cpp.
References VMeasurements::GivenName(), individualMeasurements, MeasurementsWasSaved(), VMeasurements::SetGivenName(), and ui.
Referenced by InitWindow().
|
privateslot |
Definition at line 1944 of file tmainwindow.cpp.
References ColumnName, individualMeasurements, MeasurementsWasSaved(), RefreshData(), search, VMeasurements::SetMBaseValue(), ShowNewMData(), and ui.
Referenced by InitWindow().
|
privateslot |
Definition at line 2019 of file tmainwindow.cpp.
References ColumnName, individualMeasurements, MeasurementsWasSaved(), RefreshData(), VMeasurements::SetMDescription(), and ui.
Referenced by InitWindow().
|
private |
Definition at line 2466 of file tmainwindow.cpp.
References individualMeasurements, MeasurementsWasSaved(), VMeasurements::SaveDocument(), and SetCurrentFile().
Referenced by FileSave(), and FileSaveAs().
|
privateslot |
Definition at line 2046 of file tmainwindow.cpp.
References ColumnName, data, VException::DetailedInformation(), VExceptionBadId::ErrorMessage(), VContainer::GetVariable(), individualMeasurements, MeasurementsWasSaved(), RefreshData(), VMeasurements::SetMFullName(), and ui.
Referenced by InitWindow().
|
privateslot |
Definition at line 1994 of file tmainwindow.cpp.
References ColumnName, individualMeasurements, MeasurementsWasSaved(), RefreshData(), search, VMeasurements::SetMHeightIncrease(), ShowNewMData(), and ui.
Referenced by InitWindow().
|
privateslot |
Definition at line 1808 of file tmainwindow.cpp.
References ColumnName, CustomMSign, data, VException::DetailedInformation(), VExceptionBadId::ErrorMessage(), GetCustomName(), VContainer::GetVariable(), individualMeasurements, VContainer::IsUnique(), MeasurementsWasSaved(), RefreshData(), search, VMeasurements::SetMName(), and ui.
Referenced by InitWindow(), and ShowNewMData().
|
privateslot |
Definition at line 1969 of file tmainwindow.cpp.
References ColumnName, individualMeasurements, MeasurementsWasSaved(), RefreshData(), search, VMeasurements::SetMSizeIncrease(), ShowNewMData(), and ui.
Referenced by InitWindow().
|
privateslot |
Definition at line 1868 of file tmainwindow.cpp.
References ColumnCalcValue, ColumnFormula, ColumnName, data, VException::DetailedInformation(), VExceptionBadId::ErrorMessage(), EvalFormula(), VContainer::GetVariable(), individualMeasurements, MeasurementsWasSaved(), mUnit, qApp, RefreshData(), search, VMeasurements::SetMValue(), ui, and UnitsToStr().
Referenced by InitWindow().
|
privateslot |
Definition at line 1246 of file tmainwindow.cpp.
References individualMeasurements, MeasurementsWasSaved(), VMeasurements::Notes(), VMeasurements::SetNotes(), and ui.
Referenced by InitWindow().
|
privateslot |
Definition at line 1256 of file tmainwindow.cpp.
References individualMeasurements, MeasurementsWasSaved(), VMeasurements::PMSystem(), VMeasurements::SetPMSystem(), and ui.
Referenced by InitWindow().
void TMainWindow::SetBaseMHeight | ( | int | height | ) |
Definition at line 209 of file tmainwindow.cpp.
References Cm, currentHeight, individualMeasurements, mType, Multisize, mUnit, RefreshData(), ui, and UnitConvertor().
Referenced by MApplication::ParseCommandLine().
void TMainWindow::SetBaseMSize | ( | int | size | ) |
Definition at line 224 of file tmainwindow.cpp.
References Cm, currentSize, individualMeasurements, mType, Multisize, mUnit, RefreshData(), ui, and UnitConvertor().
Referenced by MApplication::ParseCommandLine().
|
private |
Definition at line 2434 of file tmainwindow.cpp.
References curFile, MaxRecentFiles, qApp, ui, UpdateRecentFileActions(), and UpdateWindowTitle().
Referenced by FileNew(), LoadFile(), OpenTemplate(), and SaveMeasurements().
|
private |
Definition at line 3271 of file tmainwindow.cpp.
References Cm, Inch, Mm, mUnit, and ui.
Referenced by InitWindow().
|
private |
Definition at line 2561 of file tmainwindow.cpp.
References currentHeight, and gradationHeights.
Referenced by InitWindow().
|
private |
Definition at line 2575 of file tmainwindow.cpp.
References currentSize, and gradationSizes.
Referenced by InitWindow().
|
private |
void TMainWindow::SetPUnit | ( | Unit | unit | ) |
Definition at line 239 of file tmainwindow.cpp.
References pUnit, and UpdatePatternUnit().
Referenced by MApplication::ParseCommandLine().
|
private |
Definition at line 2099 of file tmainwindow.cpp.
References CreateFromExisting(), FileNew(), FileSave(), FileSaveAs(), handleExportToCSV(), OpenIndividual(), OpenMultisize(), OpenTemplate(), print(), and ui.
Referenced by TMainWindow().
|
protectedvirtual |
Definition at line 630 of file tmainwindow.cpp.
References dockDiagramVisible, isInitialized, and ui.
|
private |
|
privateslot |
Definition at line 1643 of file tmainwindow.cpp.
References ShowNewMData().
Referenced by InitTable().
|
private |
Definition at line 1751 of file tmainwindow.cpp.
References VTranslateMeasurements::guiText(), MeasurementDatabaseDialog::imageUrl(), VTranslateMeasurements::MNumber(), qApp, and ui.
Referenced by ShowNewMData().
|
private |
Definition at line 1649 of file tmainwindow.cpp.
References ClearCustomName(), ColumnName, data, VContainer::DataVariables(), EvalFormula(), VContainer::GetVariable(), MeasurementGUI(), MFields(), mType, Multisize, mUnit, pUnit, qApp, SaveMName(), ShowMDiagram(), ui, UnitConvertor(), and UnitsToStr().
Referenced by SaveMBaseValue(), SaveMHeightIncrease(), SaveMSizeIncrease(), and ShowMData().
|
virtualslot |
Definition at line 375 of file tmainwindow.cpp.
|
private |
Definition at line 2400 of file tmainwindow.cpp.
References ColumnBaseValue, ColumnCalcValue, ColumnFormula, ColumnInHeights, ColumnInSizes, mUnit, pUnit, ShowHeaderUnits(), ui, and UnitsToStr().
Referenced by InitTable(), and RefreshTable().
|
privateslot |
|
privateslot |
Definition at line 547 of file tmainwindow.cpp.
References VAbstractMainWindow::ToolBarStyle(), and ui.
Referenced by Preferences(), and ReadSettings().
|
virtualslot |
Definition at line 382 of file tmainwindow.cpp.
|
private |
Definition at line 2935 of file tmainwindow.cpp.
References mIsReadOnly, and ui.
Referenced by FileNew(), FileSaveAs(), LoadFile(), and LoadFromExistingFile().
|
private |
Definition at line 3000 of file tmainwindow.cpp.
References RefreshTable(), search, and ui.
Referenced by PatternUnitChanged(), and SetPUnit().
|
private |
Definition at line 3143 of file tmainwindow.cpp.
References MaxRecentFiles, qApp, recentFileActs, separatorAct, and strippedName().
Referenced by SetCurrentFile().
|
private |
Definition at line 2798 of file tmainwindow.cpp.
References curFile, darkenPixmap(), mIsReadOnly, mType, Multisize, qApp, and VER_INTERNALNAME_ME_STR.
Referenced by FileSaveAs(), SetCurrentFile(), and TMainWindow().
|
private |
Definition at line 2985 of file tmainwindow.cpp.
References APP_VERSION, qApp, VCommonSettings::SetGeometry(), VCommonSettings::SetToolbarsState(), and VCommonSettings::SetWindowState().
Referenced by closeEvent().
|
virtualslot |
Definition at line 3360 of file tmainwindow.cpp.
|
private |
Definition at line 185 of file tmainwindow.h.
Referenced by InitWindow().
|
private |
Definition at line 178 of file tmainwindow.h.
Referenced by changeEvent(), InitComboBoxUnits(), InitUnits(), and PatternUnitChanged().
|
private |
Definition at line 175 of file tmainwindow.h.
Referenced by CurrentFile(), FileSave(), FileSaveAs(), handleExportToCSV(), MaybeSave(), SetCurrentFile(), and UpdateWindowTitle().
|
private |
Definition at line 174 of file tmainwindow.h.
Referenced by ChangedHeight(), FileNew(), LoadFile(), LoadFromExistingFile(), SetBaseMHeight(), and SetDefaultHeight().
|
private |
Definition at line 173 of file tmainwindow.h.
Referenced by ChangedSize(), FileNew(), LoadFile(), LoadFromExistingFile(), SetBaseMSize(), and SetDefaultSize().
|
private |
Definition at line 169 of file tmainwindow.h.
Referenced by EvalFormula(), FileNew(), Fx(), GetCustomName(), LoadFile(), LoadFromExistingFile(), RefreshData(), RefreshTable(), SaveMFullName(), SaveMName(), SaveMValue(), ShowNewMData(), and ~TMainWindow().
|
private |
Definition at line 186 of file tmainwindow.h.
Referenced by InitWindow(), and showEvent().
|
private |
Definition at line 179 of file tmainwindow.h.
Referenced by DeployFormula(), and InitWindow().
|
private |
Definition at line 176 of file tmainwindow.h.
Referenced by ChangedHeight(), InitWindow(), and SetDefaultHeight().
|
private |
Definition at line 177 of file tmainwindow.h.
Referenced by ChangedSize(), InitWindow(), and SetDefaultSize().
|
private |
Definition at line 192 of file tmainwindow.h.
Referenced by HackWidget().
|
private |
Definition at line 168 of file tmainwindow.h.
Referenced by AddCustom(), AddKnown(), changeEvent(), CreateFromExisting(), FileNew(), FileSaveAs(), Fx(), ImportFromPattern(), InitWindow(), LoadFile(), LoadFromExistingFile(), MoveBottom(), MoveDown(), MoveTop(), MoveUp(), Open(), OpenTemplate(), RefreshData(), Remove(), RetranslateTable(), SaveBirthDate(), SaveEmail(), SaveFamilyName(), SaveGender(), SaveGivenName(), SaveMBaseValue(), SaveMDescription(), SaveMeasurements(), SaveMFullName(), SaveMHeightIncrease(), SaveMName(), SaveMSizeIncrease(), SaveMValue(), SaveNotes(), SavePMSystem(), SetBaseMHeight(), SetBaseMSize(), and ~TMainWindow().
|
private |
Definition at line 187 of file tmainwindow.h.
Referenced by showEvent().
|
private |
Definition at line 182 of file tmainwindow.h.
Referenced by changeEvent(), and InitWindow().
|
private |
Definition at line 183 of file tmainwindow.h.
Referenced by changeEvent(), and InitWindow().
|
private |
Definition at line 184 of file tmainwindow.h.
Referenced by changeEvent(), and InitUnits().
|
private |
Definition at line 180 of file tmainwindow.h.
Referenced by FileSaveAs(), LoadFile(), LoadFromExistingFile(), and OpenTemplate().
|
private |
Definition at line 188 of file tmainwindow.h.
Referenced by FileNew(), FileSave(), FileSaveAs(), LoadFile(), LoadFromExistingFile(), MaybeSave(), MeasurementsWasSaved(), UpdatePadlock(), and UpdateWindowTitle().
|
private |
Definition at line 172 of file tmainwindow.h.
Referenced by AddKnown(), changeEvent(), exportToCSVData(), FileNew(), FileSave(), FileSaveAs(), InitTable(), InitWindow(), LoadFile(), LoadFromExistingFile(), MFields(), print(), printPages(), RefreshTable(), Remove(), SetBaseMHeight(), SetBaseMSize(), ShowNewMData(), and UpdateWindowTitle().
|
private |
Definition at line 170 of file tmainwindow.h.
Referenced by EvalFormula(), FileNew(), Fx(), InitWindow(), LoadFile(), LoadFromExistingFile(), printPages(), RefreshTable(), SaveMValue(), SetBaseMHeight(), SetBaseMSize(), SetDecimals(), ShowNewMData(), and ShowUnits().
|
private |
Definition at line 171 of file tmainwindow.h.
Referenced by EvalFormula(), FileNew(), InitUnits(), LoadFile(), LoadFromExistingFile(), PatternUnitChanged(), RefreshTable(), SetPUnit(), ShowNewMData(), and ShowUnits().
|
private |
Definition at line 190 of file tmainwindow.h.
Referenced by TMainWindow(), and UpdateRecentFileActions().
|
private |
Definition at line 181 of file tmainwindow.h.
Referenced by AddCustom(), AddKnown(), ChangedHeight(), ChangedSize(), Fx(), ImportFromPattern(), InitWindow(), MoveBottom(), MoveDown(), MoveTop(), MoveUp(), Remove(), RetranslateTable(), SaveMBaseValue(), SaveMHeightIncrease(), SaveMName(), SaveMSizeIncrease(), SaveMValue(), TMainWindow(), and UpdatePatternUnit().
|
private |
Definition at line 191 of file tmainwindow.h.
Referenced by UpdateRecentFileActions().
|
private |
Definition at line 167 of file tmainwindow.h.
Referenced by AboutToShowWindowMenu(), AddCell(), AddCustom(), AddKnown(), ChangedHeight(), ChangedSize(), changeEvent(), Controls(), copyToClipboard(), DeployFormula(), exportToCSVData(), Fx(), ImportFromPattern(), InitTable(), InitUnits(), InitWindow(), LoadFile(), LoadFromExistingFile(), MaybeSave(), MeasurementGUI(), MeasurementsWasSaved(), MFields(), MoveBottom(), MoveDown(), MoveTop(), MoveUp(), print(), printPages(), RefreshTable(), Remove(), RetranslateTable(), SaveEmail(), SaveFamilyName(), SaveGender(), SaveGivenName(), SaveMBaseValue(), SaveMDescription(), SaveMFullName(), SaveMHeightIncrease(), SaveMName(), SaveMSizeIncrease(), SaveMValue(), SaveNotes(), SavePMSystem(), SetBaseMHeight(), SetBaseMSize(), SetCurrentFile(), SetDecimals(), SetGradationList(), SetupMenu(), showEvent(), ShowMDiagram(), ShowNewMData(), ShowUnits(), TMainWindow(), ToolBarStyles(), UpdatePadlock(), UpdatePatternUnit(), and ~TMainWindow().