The MainWindow class main windows. More...
#include <mainwindow.h>
Public Slots | |
void | ProcessCMD () |
void | penChanged (Pen pen) |
virtual void | ShowToolTip (const QString &toolTip) Q_DECL_OVERRIDE |
ShowTool highlight tool.Tip show tools tooltip. More... | |
virtual void | updateGroups () Q_DECL_OVERRIDE |
triggers the update of the groups More... | |
virtual void | zoomToSelected () Q_DECL_OVERRIDE |
void | showAllGroups () |
void | hideAllGroups () |
void | lockAllGroups () |
void | unlockAllGroups () |
void | addGroupToList () |
void | deleteGroupFromList () |
void | editGroup () |
void | addSelectedItemsToGroup () |
Public Slots inherited from MainWindowsNoGUI | |
void | toolLayoutSettings (QToolButton *tButton, bool checked) |
void | PrintPreviewOrigin () |
void | PrintPreviewTiled () |
void | PrintOrigin () |
void | PrintTiled () |
void | refreshLabels () |
refreshLabels call to recalculate piece labels. For example after changing a font. More... | |
void | refreshGrainLines () |
refreshGrainLines call to recalculate piece grainlines. For example after show / hide grainlines. More... | |
void | refreshSeamAllowances () |
refreshSeamAllowances call to show / hide seam allowances. More... | |
void | exportSVG (const QString &name, QGraphicsRectItem *paper, QGraphicsScene *scene) const |
exportSVG save layout to svg file. More... | |
void | exportPNG (const QString &name, QGraphicsScene *scene) const |
exportPNG save layout to png file. More... | |
void | exportTIF (const QString &name, QGraphicsScene *scene) const |
exportTIF save layout to tif file. More... | |
void | exportJPG (const QString &name, QGraphicsScene *scene) const |
exportJPG save layout to jpg file. More... | |
void | exportBMP (const QString &name, QGraphicsScene *scene) const |
exportBMP save layout to bmp file. More... | |
void | exportPPM (const QString &name, QGraphicsScene *scene) const |
exportPPM save layout to gif file. More... | |
void | exportPDF (const QString &name, QGraphicsRectItem *paper, QGraphicsScene *scene, bool ignoreMargins, const QMarginsF &margins) const |
exportPDF save layout to pdf file. More... | |
void | exportEPS (const QString &name, QGraphicsRectItem *paper, QGraphicsScene *scene, bool ignoreMargins, const QMarginsF &margins) const |
exportEPS( save layout to eps file. More... | |
void | exportPS (const QString &name, QGraphicsRectItem *paper, QGraphicsScene *scene, bool ignoreMargins, const QMarginsF &margins) const |
exportPS save layout to ps file. More... | |
Public Slots inherited from VAbstractMainWindow | |
virtual void | ShowToolTip (const QString &toolTip)=0 |
virtual void | updateGroups ()=0 |
virtual void | zoomToSelected ()=0 |
Signals | |
void | RefreshHistory () |
void | EnableItemMove (bool move) |
void | ItemsSelection (SelectionType type) const |
void | EnableLabelSelection (bool enable) const |
void | EnablePointSelection (bool enable) const |
void | EnableLineSelection (bool enable) const |
void | EnableArcSelection (bool enable) const |
void | EnableElArcSelection (bool enable) const |
void | EnableSplineSelection (bool enable) const |
void | EnableSplinePathSelection (bool enable) const |
void | EnableNodeLabelSelection (bool enable) const |
void | EnableNodePointSelection (bool enable) const |
void | enablePieceSelection (bool enable) const |
void | EnableLabelHover (bool enable) const |
void | EnablePointHover (bool enable) const |
void | EnableLineHover (bool enable) const |
void | EnableArcHover (bool enable) const |
void | EnableElArcHover (bool enable) const |
void | EnableSplineHover (bool enable) const |
void | EnableSplinePathHover (bool enable) const |
void | EnableNodeLabelHover (bool enable) const |
void | EnableNodePointHover (bool enable) const |
void | enablePieceHover (bool enable) const |
void | signalZoomToAreaActive (bool enable) const |
void | signalZoomPanActive (bool enable) const |
Public Member Functions | |
MainWindow (QWidget *parent=nullptr) | |
MainWindow constructor. More... | |
virtual | ~MainWindow () Q_DECL_OVERRIDE |
bool | LoadPattern (const QString &fileName, const QString &customMeasureFile=QString()) |
LoadPattern open pattern file. More... | |
Public Member Functions inherited from MainWindowsNoGUI | |
MainWindowsNoGUI (QWidget *parent=nullptr) | |
virtual | ~MainWindowsNoGUI () Q_DECL_OVERRIDE |
Public Member Functions inherited from VAbstractMainWindow | |
VAbstractMainWindow (QWidget *parent=nullptr) | |
virtual | ~VAbstractMainWindow () Q_DECL_EQ_DEFAULT |
Protected Member Functions | |
virtual void | keyPressEvent (QKeyEvent *event) Q_DECL_OVERRIDE |
keyPressEvent handle key press events. More... | |
virtual void | keyReleaseEvent (QKeyEvent *event) Q_DECL_OVERRIDE |
keyReleaseEvent handle key press events. More... | |
virtual void | showEvent (QShowEvent *event) Q_DECL_OVERRIDE |
showEvent handle after show window. More... | |
virtual void | changeEvent (QEvent *event) Q_DECL_OVERRIDE |
virtual void | closeEvent (QCloseEvent *event) Q_DECL_OVERRIDE |
closeEvent handle after close window. More... | |
virtual void | customEvent (QEvent *event) Q_DECL_OVERRIDE |
virtual void | CleanLayout () Q_DECL_OVERRIDE |
virtual void | PrepareSceneList () Q_DECL_OVERRIDE |
virtual void | exportToCSVData (const QString &fileName, const DialogExportToCSV &dialog) Q_DECL_FINAL |
void | handleExportToCSV () |
Protected Member Functions inherited from MainWindowsNoGUI | |
void | ExportData (const QVector< VLayoutPiece > &pieceList, const ExportLayoutDialog &dialog) |
void | InitTempLayoutScene () |
QIcon | ScenePreview (int i) const |
bool | LayoutSettings (VLayoutGenerator &lGenerator) |
int | ContinueIfLayoutStale () |
QString | FileName () const |
void | SetSizeHeightForIndividualM () const |
Protected Member Functions inherited from VAbstractMainWindow | |
bool | ContinueFormatRewrite (const QString ¤tFormatVersion, const QString &maxFormatVersion) |
void | ToolBarStyle (QToolBar *bar) |
Private Types | |
enum | { MaxRecentFiles = 5 } |
drawMode true if draft scene active. More... | |
Private Slots | |
void | zoomScaleChanged (qreal scale) |
void | MouseMove (const QPointF &scenePos) |
mouseMove save mouse position and show user. More... | |
void | Clear () |
Clear reset to default window. More... | |
void | PatternChangesWereSaved (bool saved) |
haveChange enable action save if we have unsaved change. More... | |
void | LastUsedTool () |
void | FullParseFile () |
void | SetEnabledGUI (bool enabled) |
void | GlobalchangeDraftBlock (const QString &patternPiece) |
void | ToolBarStyles () |
void | resetOrigins () |
void | showLayoutPages (int index) |
void | Preferences () |
void | exportLayoutAs () |
void | exportPiecesAs () |
void | exportDraftBlocksAs () |
void | handleArrowTool (bool checked) |
handleArrowTool enable arrow tool. More... | |
void | handlePointAtDistanceAngleTool (bool checked) |
handlePointAtDistanceAngleTool handler for handlePointAtDistanceAngle tool. More... | |
void | handleAlongLineTool (bool checked) |
handleAlongLineTool handler for point along Line tools. More... | |
void | handleMidpointTool (bool checked) |
void | handleShoulderPointTool (bool checked) |
handleShoulderPointTool handler for shoulderPoint tool. More... | |
void | handleNormalTool (bool checked) |
handleNormalTool handler point on perpendicular tool. More... | |
void | handleBisectorTool (bool checked) |
handleBisectorTool handler for bisector tool. More... | |
void | handleHeightTool (bool checked) |
handleHeightTool handler tool height. More... | |
void | handleTriangleTool (bool checked) |
handleTriangleTool handler Point - Intersect Axis and Triangle. More... | |
void | handleLineIntersectAxisTool (bool checked) |
void | handlePointOfContactTool (bool checked) |
handlePointOfContactTool handler for pointOfContact tool. More... | |
void | handlePointIntersectXYTool (bool checked) |
handlePointIntersectXYTool handler for pointOfIntersection tool. More... | |
void | handleLineTool (bool checked) |
handleLineTool handler for line tool. More... | |
void | handleLineIntersectTool (bool checked) |
handleLineIntersectTool handler for lineIntersect tool. More... | |
void | handleCurveTool (bool checked) |
handleCurveTool handler for curve tool. More... | |
void | handleSplineTool (bool checked) |
handleSplineTool handler for spline tool. More... | |
void | handleCurveWithControlPointsTool (bool checked) |
void | handleSplineWithControlPointsTool (bool checked) |
void | handlePointAlongCurveTool (bool checked) |
handlePointAlongCurveTool handler for point along curve tool. More... | |
void | handlePointAlongSplineTool (bool checked) |
handlePointAlongSplineTool handler for point along spline tool. More... | |
void | handleCurveIntersectCurveTool (bool checked) |
void | handleCurveIntersectAxisTool (bool checked) |
void | handleArcTool (bool checked) |
handleArcTool handler for arc tool. More... | |
void | handlePointAlongArcTool (bool checked) |
handlePointAlongArcTool handler for PointAlongArc tool. More... | |
void | handlePointFromArcAndTangentTool (bool checked) |
void | handleArcWithLengthTool (bool checked) |
void | handleArcIntersectAxisTool (bool checked) |
void | handlePointOfIntersectionArcsTool (bool checked) |
void | handlePointOfIntersectionCirclesTool (bool checked) |
void | handlePointFromCircleAndTangentTool (bool checked) |
void | handleEllipticalArcTool (bool checked) |
handleEllipticalArcTool handler for EllipticalArc tool. More... | |
void | handleGroupTool (bool checked) |
void | handleRotationTool (bool checked) |
void | handleMirrorByLineTool (bool checked) |
void | handleMirrorByAxisTool (bool checked) |
void | handleMoveTool (bool checked) |
void | handleTrueDartTool (bool checked) |
void | handleInternalPathTool (bool checked) |
void | handleAnchorPointTool (bool checked) |
void | handleInsertNodesTool (bool checked) |
void | handlePatternPieceTool (bool checked) |
handlePatternPieceTool handler for pattern piece tool. More... | |
void | handleUnionTool (bool checked) |
handleUnionTool handler for Union tool. More... | |
void | handleNewLayout (bool checked) |
handleNewLayout handler for New Layout tool. More... | |
void | showDraftMode (bool checked) |
showDraftMode show draw scene. More... | |
void | showPieceMode (bool checked) |
showPieceMode show Piece scene. More... | |
void | showLayoutMode (bool checked) |
showLayoutMode show layout scene. More... | |
void | New () |
NewPattern create new empty pattern. More... | |
bool | SaveAs () |
SaveAs save as pattern file. More... | |
bool | Save () |
Save save pattern file. More... | |
void | Open () |
Open ask user select pattern file. More... | |
void | closeUnionDialog (int result) |
closeUnionDialog actions after closing Union tool dialog. More... | |
void | ClosedEditGroupDialog (int result) |
void | ClosedDialogInternalPath (int result) |
void | ClosedDialogAnchorPoint (int result) |
void | ClosedInsertNodesDialog (int result) |
void | zoomToPrevious () |
void | zoomToArea (bool checked) |
void | zoomPan (bool checked) |
void | zoomToPoint (const QString &pointName) |
zoomToPoint show dialog for choosing a point and update the graphics view to focus on it. More... | |
void | showZoomToPointDialog () |
zoomToPoint show dialog for choosing a point and update the graphics view to focus on it. More... | |
void | LoadIndividual () |
void | LoadMultisize () |
void | UnloadMeasurements () |
void | ShowMeasurements () |
void | MeasurementsChanged (const QString &path) |
void | SyncMeasurements () |
void | ChangedSize (int index) |
ChangedSize change new size value. More... | |
void | ChangedHeight (int index) |
ChangedGrowth change new height value. More... | |
Private Member Functions | |
void | SetDefaultHeight () |
void | SetDefaultSize () |
void | initStatusBar () |
initStatusBar initialize horizontal bar for presenting status information More... | |
void | initModesToolBar () |
void | initDraftToolBar () |
initDraftToolBar enable draw toolbar. More... | |
void | initPointNameToolBar () |
initPointNameToolBar enable Point Name toolbar. More... | |
void | initToolsToolBar () |
void | initToolBarVisibility () |
void | initPenToolBar () |
initPenToolBar enable default color, line wight & type toolbar. More... | |
void | updateToolBarVisibility () |
void | setToolBarVisibility (QToolBar *toolbar, bool visible) |
void | InitToolButtons () |
void | handlePointsMenu () |
void | handleLinesMenu () |
void | handleArcsMenu () |
void | handleCurvesMenu () |
void | handleCirclesMenu () |
void | handleOperationsMenu () |
void | handlePatternPiecesMenu () |
void | handlePieceMenu () |
void | handleLayoutMenu () |
void | handleImagesMenu () |
void | CancelTool () |
CancelTool cancel tool. More... | |
void | SetEnableWidgets (bool enable) |
SetEnableWidgets enable action button. More... | |
void | setEnableTools (bool enable) |
setEnableTools enable button. More... | |
void | SetLayoutModeActions () |
void | SaveCurrentScene () |
SaveCurrentScene save scene options before set another. More... | |
void | RestoreCurrentScene () |
RestoreCurrentScene restore scene options after change. More... | |
void | MinimumScrollBar () |
MinimumScrollBar set scroll bar to minimum. More... | |
template<typename Dialog , typename Func > | |
void | SetToolButton (bool checked, Tool t, const QString &cursor, const QString &toolTip, Func closeDialogSlot) |
SetToolButton set tool and show dialog. More... | |
template<typename Dialog , typename Func , typename Func2 > | |
void | SetToolButtonWithApply (bool checked, Tool t, const QString &cursor, const QString &toolTip, Func closeDialogSlot, Func2 applyDialogSlot) |
SetToolButtonWithApply set tool and show dialog. More... | |
template<typename DrawTool > | |
void | ClosedDialog (int result) |
ClosedDialog handle close dialog. More... | |
template<typename DrawTool > | |
void | ClosedDialogWithApply (int result, VMainGraphicsScene *scene) |
ClosedDialogWithApply handle close dialog that has apply button. More... | |
template<typename DrawTool > | |
void | ApplyDialog (VMainGraphicsScene *scene) |
ApplyDialog handle apply in dialog. More... | |
template<typename DrawTool > | |
void | ClosedDrawDialogWithApply (int result) |
template<typename DrawTool > | |
void | ApplyDrawDialog () |
template<typename DrawTool > | |
void | ClosedPiecesDialogWithApply (int result) |
template<typename DrawTool > | |
void | applyPiecesDialog () |
bool | SavePattern (const QString &fileName, QString &error) |
SavePattern save pattern file. More... | |
void | AutoSavePattern () |
AutoSavePattern start safe saving. More... | |
void | setCurrentFile (const QString &fileName) |
setCurrentFile the function is called to reset the state of a few variables when a file is loaded or saved, or when the user starts editing a new file (in which case fileName is empty). More... | |
void | ReadSettings () |
ReadSettings read setting for app. More... | |
void | WriteSettings () |
WriteSettings save setting for app. More... | |
bool | MaybeSave () |
MaybeSave The function is called to save pending changes. More... | |
void | UpdateRecentFileActions () |
void | CreateMenus () |
void | CreateActions () |
void | InitAutoSave () |
QString | createDraftBlockName (const QString &text) |
QString | CheckPathToMeasurements (const QString &patternPath, const QString &path) |
QComboBox * | SetGradationList (QLabel *label, const QStringList &list) |
void | changeDraftBlock (int index, bool zoomBestFit=true) |
void | EndVisualization (bool click=false) |
EndVisualization try show dialog after and working with tool visualization. More... | |
void | zoomFirstShow () |
zoomFirstShow Fit scene size to best size for first show More... | |
void | UpdateHeightsList (const QStringList &list) |
void | UpdateSizesList (const QStringList &list) |
void | AddDocks () |
void | InitDocksContain () |
bool | OpenNewSeamly2D (const QString &fileName=QString()) const |
void | FileClosedCorrect () |
QStringList | GetUnlokedRestoreFileList () const |
void | addDraftBlock (const QString &blockName) |
QPointF | draftBlockStartPosition () const |
void | InitScenes () |
QSharedPointer< VMeasurements > | OpenMeasurementFile (const QString &path) |
bool | LoadMeasurements (const QString &path) |
bool | UpdateMeasurements (const QString &path, int size, int height) |
void | CheckRequiredMeasurements (const VMeasurements *m) |
void | ReopenFilesAfterCrash (QStringList &args) |
void | DoExport (const VCommandLinePtr &expParams) |
bool | SetSize (const QString &text) |
bool | SetHeight (const QString &text) |
QString | GetPatternFileName () |
QString | GetMeasurementFileName () |
void | UpdateWindowTitle () |
void | upDateScenes () |
void | updateViewToolbar () |
void | resetPanShortcuts () |
QStringList | draftPointNamesList () |
draftPointNamesList gets the list of points in draft mode. More... | |
void | updateZoomToPointComboBox (QStringList namesList) |
updateZoomToPointComboBox updates the list of points included in the toolbar combobox. More... | |
bool | IgnoreLocking (int error, const QString &path) |
void | ToolSelectPoint () const |
void | ToolSelectPointByPress () const |
void | ToolSelectPointByRelease () const |
void | ToolSelectSpline () const |
void | ToolSelectSplinePath () const |
void | ToolSelectArc () const |
void | ToolSelectPointArc () const |
void | ToolSelectCurve () const |
void | selectAllDraftObjectsTool () const |
void | ToolSelectOperationObjects () const |
void | ToolSelectGroupObjects () const |
void | selectPieceTool () const |
Private Attributes | |
Ui::MainWindow * | ui |
ui keeps information about user interface More... | |
QFileSystemWatcher * | watcher |
Tool | currentTool |
tool current tool More... | |
Tool | lastUsedTool |
tool last used tool More... | |
VMainGraphicsScene * | draftScene |
draftScene draft block scene. More... | |
VMainGraphicsScene * | pieceScene |
pieceScene pattern piece scene. More... | |
QPointer< MouseCoordinates > | mouseCoordinates |
mouseCoordinates pointer to label who show mouse coordinate. More... | |
QPointer< QToolButton > | infoToolButton |
QLabel * | helpLabel |
helpLabel help show tooltip. More... | |
bool | isInitialized |
isInitialized true after first show window. More... | |
bool | mChanges |
mChanges true if measurement file was changed. More... | |
bool | mChangesAsked |
bool | patternReadOnly |
QPointer< DialogVariables > | dialogTable |
QSharedPointer< DialogTool > | dialogTool |
QPointer< HistoryDialog > | historyDialog |
QFontComboBox * | fontComboBox |
QComboBox * | fontSizeComboBox |
QComboBox * | draftBlockComboBox |
QLabel * | draftBlockLabel |
draftBlockComboBox stores names of draft blocks. More... | |
Draw | mode |
qint32 | currentBlockIndex |
mode stores current draw mode. More... | |
qint32 | currentToolBoxIndex |
currentBlockIndex current selected draft block. More... | |
bool | isToolOptionsDockVisible |
currentToolBoxIndex current set of tools. More... | |
bool | isGroupsDockVisible |
bool | isLayoutsDockVisible |
bool | isToolboxDockVisible |
bool | drawMode |
QAction * | recentFileActs [MaxRecentFiles] |
QAction * | separatorAct |
QLabel * | leftGoToStage |
QLabel * | rightGoToStage |
QTimer * | autoSaveTimer |
bool | guiEnabled |
QPointer< QComboBox > | gradationHeights |
QPointer< QComboBox > | gradationSizes |
QPointer< QLabel > | gradationHeightsLabel |
QPointer< QLabel > | gradationSizesLabel |
VToolOptionsPropertyBrowser * | toolProperties |
GroupsWidget * | groupsWidget |
PiecesWidget * | patternPiecesWidget |
std::shared_ptr< VLockGuard< char > > | lock |
QDoubleSpinBox * | zoomScaleSpinBox |
PenToolBar * | m_penToolBar |
for selecting the current pen More... | |
PenToolBar * | m_penReset |
QComboBox * | m_zoomToPointComboBox |
Additional Inherited Members | |
Protected Slots inherited from VAbstractMainWindow | |
void | WindowsLocale () |
void | exportToCSV (QString &file) |
Static Protected Member Functions inherited from MainWindowsNoGUI | |
static QVector< VLayoutPiece > | preparePiecesForLayout (const QHash< quint32, VPiece > &pieces) |
Protected Attributes inherited from MainWindowsNoGUI | |
QVector< VLayoutPiece > | pieceList |
QGraphicsScene * | currentScene |
QGraphicsScene * | tempSceneLayout |
currentScene pointer to current scene. More... | |
VContainer * | pattern |
pattern container with data (points, arcs, splines, spline paths, variables) More... | |
VPattern * | doc |
pattern container with data (points, arcs, splines, spline paths, variables) More... | |
QList< QGraphicsItem * > | papers |
doc dom document container More... | |
QList< QGraphicsItem * > | shadows |
QList< QGraphicsScene * > | scenes |
QList< QList< QGraphicsItem * > > | pieces |
QVector< QVector< VLayoutPiece > > | piecesOnLayout |
QAction * | undoAction |
QAction * | redoAction |
QAction * | actionDockWidgetToolOptions |
QAction * | actionDockWidgetGroups |
QAction * | actionDockWidgetLayouts |
QAction * | actionDockWidgetToolbox |
bool | isNoScaling |
bool | isLayoutStale |
bool | ignoreMargins |
QMarginsF | margins |
QSizeF | paperSize |
Protected Attributes inherited from VAbstractMainWindow | |
int | m_curFileFormatVersion |
QString | m_curFileFormatVersionStr |
The MainWindow class main windows.
Definition at line 86 of file mainwindow.h.
|
private |
drawMode true if draft scene active.
Enumerator | |
---|---|
MaxRecentFiles |
Definition at line 313 of file mainwindow.h.
|
explicit |
MainWindow constructor.
parent | parent widget. |
Definition at line 134 of file mainwindow.cpp.
References VAbstractPattern::CheckLayout(), Clear(), VAbstractPattern::ClearMainWindow(), FullParseFile(), VAbstractPattern::patternChanged(), PatternChangesWereSaved(), SetEnabledGUI(), VAbstractPattern::SetEnabledGUI(), and VAbstractPattern::UndoCommand().
|
virtual |
Definition at line 5985 of file mainwindow.cpp.
References CancelTool(), CleanLayout(), MainWindowsNoGUI::doc, and ui.
|
private |
Definition at line 5234 of file mainwindow.cpp.
References MainWindowsNoGUI::actionDockWidgetGroups, MainWindowsNoGUI::actionDockWidgetLayouts, MainWindowsNoGUI::actionDockWidgetToolbox, MainWindowsNoGUI::actionDockWidgetToolOptions, and ui.
Referenced by CreateMenus().
|
private |
Definition at line 298 of file mainwindow.cpp.
References VAbstractPattern::appendDraftBlock(), VContainer::ClearGObjects(), VToolBasePoint::Create(), MainWindowsNoGUI::doc, draftBlockComboBox, draftBlockStartPosition(), draftScene, VMainGraphicsScene::enablePiecesMode(), FromGui, FullParse, VPattern::GenerateLabel(), groupsWidget, helpLabel, VMainGraphicsScene::InitOrigins(), NewPatternPiece, VMainGraphicsView::NewSceneRect(), MainWindowsNoGUI::pattern, pieceScene, qApp, setEnableTools(), SetEnableWidgets(), ui, and GroupsWidget::updateGroups().
Referenced by New().
|
slot |
Definition at line 1683 of file mainwindow.cpp.
References GroupsWidget::addGroupToList(), and groupsWidget.
|
slot |
Definition at line 1697 of file mainwindow.cpp.
|
private |
ApplyDialog handle apply in dialog.
Definition at line 780 of file mainwindow.cpp.
References dialogTool, MainWindowsNoGUI::doc, MainWindowsNoGUI::pattern, and SCASSERT.
|
private |
Definition at line 808 of file mainwindow.cpp.
References draftScene.
|
private |
Definition at line 831 of file mainwindow.cpp.
References pieceScene.
|
private |
AutoSavePattern start safe saving.
Definition at line 4768 of file mainwindow.cpp.
References autosavePrefix, patternReadOnly, qApp, and SavePattern().
Referenced by InitAutoSave().
|
private |
CancelTool cancel tool.
Definition at line 3123 of file mainwindow.cpp.
References AbstractSpline, AlongLine, AnchorPoint, Arc, ArcIntersectAxis, ArcWithLength, Arrow, BasePoint, Bisector, CubicBezier, CubicBezierPath, CurveIntersectAxis, Cut, CutArc, CutSpline, CutSplinePath, DoublePoint, EllipticalArc, EndLine, Group, Height, InsertNodes, InternalPath, LAST_ONE_DO_NOT_USE, Line, LineIntersect, LineIntersectAxis, LinePoint, VAbstractTool::m_suppressContextMenu, Midpoint, MirrorByAxis, MirrorByLine, Move, NodeArc, NodeElArc, NodePoint, NodeSpline, NodeSplinePath, Normal, Piece, PointFromArcAndTangent, PointFromCircleAndTangent, PointOfContact, PointOfIntersection, PointOfIntersectionArcs, PointOfIntersectionCircles, PointOfIntersectionCurves, qApp, Rotation, ShoulderPoint, SinglePoint, Spline, SplinePath, Triangle, TrueDarts, and Union.
Referenced by handleArrowTool(), SetToolButton(), and ~MainWindow().
|
privateslot |
ChangedGrowth change new height value.
index | index of the selected item. |
Definition at line 4468 of file mainwindow.cpp.
References AbsoluteMPath(), VMainGraphicsScene::DimensionsChanged(), MainWindowsNoGUI::doc, gradationHeights, VContainer::height(), LiteParse, VPattern::LiteParseTree(), VAbstractPattern::MPath(), pieceScene, qApp, VContainer::size(), and UpdateMeasurements().
Referenced by initStatusBar(), and UpdateHeightsList().
|
private |
Definition at line 6744 of file mainwindow.cpp.
References VAbstractPattern::changeActiveDraftBlock(), MainWindowsNoGUI::doc, draftBlockComboBox, drawMode, groupsWidget, handleArrowTool(), VToolOptionsPropertyBrowser::itemClicked(), RefreshHistory(), VPattern::setCurrentData(), toolProperties, GroupsWidget::updateGroups(), and zoomToSelected().
Referenced by GlobalchangeDraftBlock(), and initDraftToolBar().
|
privateslot |
ChangedSize change new size value.
index | index of the selected item. |
Definition at line 4437 of file mainwindow.cpp.
References AbsoluteMPath(), VMainGraphicsScene::DimensionsChanged(), MainWindowsNoGUI::doc, gradationSizes, VContainer::height(), LiteParse, VPattern::LiteParseTree(), VAbstractPattern::MPath(), pieceScene, qApp, VContainer::size(), and UpdateMeasurements().
Referenced by initStatusBar(), and UpdateSizesList().
|
protectedvirtual |
Definition at line 1727 of file mainwindow.cpp.
References draftBlockLabel, helpLabel, VMainGraphicsScene::LanguageChanged(), pieceScene, MainWindowsNoGUI::redoAction, ui, MainWindowsNoGUI::undoAction, and UpdateWindowTitle().
|
private |
Definition at line 6596 of file mainwindow.cpp.
References CheckRequiredMeasurements(), VAbstractConverter::Convert(), MainWindowsNoGUI::doc, VCommonSettings::GetDefPathMultisizeMeasurements(), Individual, VApplication::IsGUIMode(), Multisize, MainWindowsNoGUI::pattern, PatternChangesWereSaved(), VCommonSettings::PrepareMultisizeTables(), qApp, RelativeMPath(), VContainer::rheight(), VContainer::rsize(), VAbstractPattern::SetMPath(), and Unknown.
Referenced by LoadPattern().
|
private |
Definition at line 602 of file mainwindow.cpp.
References VException::AddMoreInformation(), MainWindowsNoGUI::doc, VMeasurements::ListAll(), VAbstractPattern::ListMeasurements(), and qApp.
Referenced by CheckPathToMeasurements(), and OpenMeasurementFile().
|
protectedvirtual |
Implements MainWindowsNoGUI.
Definition at line 1776 of file mainwindow.cpp.
References GroupsWidget::clear(), groupsWidget, MainWindowsNoGUI::papers, MainWindowsNoGUI::scenes, SetLayoutModeActions(), MainWindowsNoGUI::shadows, and ui.
Referenced by Clear(), and ~MainWindow().
|
privateslot |
Clear reset to default window.
Definition at line 3951 of file mainwindow.cpp.
References AbsoluteMPath(), CleanLayout(), VContainer::Clear(), VToolOptionsPropertyBrowser::clearPropertyBrowser(), Cm, MainWindowsNoGUI::doc, draftBlockComboBox, draftScene, handleArrowTool(), VToolOptionsPropertyBrowser::itemClicked(), lock, VAbstractPattern::MPath(), MainWindowsNoGUI::pattern, MainWindowsNoGUI::pieceList, pieceScene, qApp, setCurrentFile(), setEnableTools(), showDraftMode(), toolProperties, ui, Unknown, watcher, and zoomScaleSpinBox.
Referenced by IgnoreLocking(), LoadPattern(), and MainWindow().
|
private |
ClosedDialog handle close dialog.
result | result working dialog. |
Definition at line 726 of file mainwindow.cpp.
References MainWindowsNoGUI::currentScene, dialogTool, MainWindowsNoGUI::doc, handleArrowTool(), MainWindowsNoGUI::pattern, SCASSERT, and ui.
|
privateslot |
Definition at line 1534 of file mainwindow.cpp.
References AnchorPointTool::Create(), dialogTool, MainWindowsNoGUI::doc, handleArrowTool(), LiteParse, VPattern::LiteParseTree(), MainWindowsNoGUI::pattern, and SCASSERT.
Referenced by handleAnchorPointTool().
|
privateslot |
Definition at line 1560 of file mainwindow.cpp.
References VToolInternalPath::Create(), dialogTool, MainWindowsNoGUI::doc, handleArrowTool(), LiteParse, VPattern::LiteParseTree(), MainWindowsNoGUI::pattern, pieceScene, and SCASSERT.
Referenced by handleInternalPathTool().
|
private |
ClosedDialogWithApply handle close dialog that has apply button.
result | result working dialog. |
Definition at line 747 of file mainwindow.cpp.
References dialogTool, MainWindowsNoGUI::doc, VAbstractPattern::getCursor(), handleArrowTool(), historyDialog, LiteParse, VPattern::LiteParseTree(), SCASSERT, ShowToolTip(), and ui.
|
private |
Definition at line 801 of file mainwindow.cpp.
References draftScene.
|
privateslot |
Definition at line 1387 of file mainwindow.cpp.
References VAbstractPattern::addGroupItems(), dialogTool, MainWindowsNoGUI::doc, handleArrowTool(), and SCASSERT.
Referenced by handleGroupTool().
|
privateslot |
Definition at line 1591 of file mainwindow.cpp.
References dialogTool, MainWindowsNoGUI::doc, handleArrowTool(), PatternPieceTool::insertNodes(), LiteParse, VPattern::LiteParseTree(), MainWindowsNoGUI::pattern, pieceScene, and SCASSERT.
Referenced by handleInsertNodesTool().
|
private |
Definition at line 815 of file mainwindow.cpp.
References VContainer::DataPieces(), MainWindowsNoGUI::pattern, pieceScene, and ui.
|
protectedvirtual |
closeEvent handle after close window.
event | close event. |
Definition at line 1749 of file mainwindow.cpp.
References FileClosedCorrect(), and MaybeSave().
|
privateslot |
closeUnionDialog actions after closing Union tool dialog.
result | result of dialog working. |
Definition at line 1627 of file mainwindow.cpp.
References MainWindowsNoGUI::doc, LiteParse, and VPattern::LiteParseTree().
Referenced by handleUnionTool().
|
private |
|
private |
Definition at line 5935 of file mainwindow.cpp.
References draftBlockComboBox.
|
private |
Definition at line 4936 of file mainwindow.cpp.
References AddDocks(), MaxRecentFiles, qApp, recentFileActs, MainWindowsNoGUI::redoAction, VToolOptionsPropertyBrowser::refreshOptions(), separatorAct, toolProperties, ui, MainWindowsNoGUI::undoAction, and UpdateRecentFileActions().
|
protectedvirtual |
Definition at line 1767 of file mainwindow.cpp.
References qApp, and UNDO_EVENT.
|
slot |
Definition at line 1687 of file mainwindow.cpp.
References GroupsWidget::deleteGroupFromList(), and groupsWidget.
|
private |
Definition at line 6809 of file mainwindow.cpp.
References VContainer::DataPieces(), VException::ErrorMessage(), MainWindowsNoGUI::ExportData(), Layout, MainWindowsNoGUI::LayoutSettings(), Modeling, MainWindowsNoGUI::pattern, MainWindowsNoGUI::pieceList, MainWindowsNoGUI::pieces, MainWindowsNoGUI::preparePiecesForLayout(), qApp, MainWindowsNoGUI::scenes, ExportLayoutDialog::selectFormat(), ExportLayoutDialog::setBinaryDXFFormat(), ExportLayoutDialog::setDestinationPath(), ExportLayoutDialog::setTextAsPaths(), V_EX_DATAERR, and V_EX_OK.
Referenced by ProcessCMD().
|
private |
Definition at line 350 of file mainwindow.cpp.
References draftBlockComboBox, draftScene, and VMainGraphicsScene::visibleItemsBoundingRect().
Referenced by addDraftBlock().
|
private |
draftPointNamesList gets the list of points in draft mode.
Definition at line 7223 of file mainwindow.cpp.
References VContainer::DataGObjects(), MainWindowsNoGUI::pattern, and Point.
Referenced by LoadPattern(), and showZoomToPointDialog().
|
slot |
Definition at line 1692 of file mainwindow.cpp.
References GroupsWidget::editGroup(), and groupsWidget.
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
Referenced by handleArrowTool(), InitScenes(), and SetToolButton().
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
Referenced by handleArrowTool(), InitScenes(), and selectPieceTool().
|
signal |
Referenced by handleArrowTool(), InitScenes(), and selectPieceTool().
|
signal |
Referenced by handleArrowTool(), InitScenes(), and selectPieceTool().
|
signal |
Referenced by handleArrowTool(), InitScenes(), and selectPieceTool().
|
signal |
Referenced by handleArrowTool(), InitScenes(), and selectPieceTool().
|
signal |
Referenced by handleArrowTool(), InitScenes(), and selectPieceTool().
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
private |
EndVisualization try show dialog after and working with tool visualization.
Definition at line 6765 of file mainwindow.cpp.
References dialogTool.
Referenced by keyPressEvent().
|
privateslot |
Definition at line 6400 of file mainwindow.cpp.
References BMP, Calculation, VAbstractPattern::changeActiveDraftBlock(), MainWindowsNoGUI::doc, draftScene, DXF_AC1006_AAMA, DXF_AC1006_ASTM, DXF_AC1006_Flat, DXF_AC1009_AAMA, DXF_AC1009_ASTM, DXF_AC1009_Flat, DXF_AC1012_AAMA, DXF_AC1012_ASTM, DXF_AC1012_Flat, DXF_AC1014_AAMA, DXF_AC1014_ASTM, DXF_AC1014_Flat, DXF_AC1015_AAMA, DXF_AC1015_ASTM, DXF_AC1015_Flat, DXF_AC1018_AAMA, DXF_AC1018_ASTM, DXF_AC1018_Flat, DXF_AC1021_AAMA, DXF_AC1021_ASTM, DXF_AC1021_Flat, DXF_AC1024_AAMA, DXF_AC1024_ASTM, DXF_AC1024_Flat, DXF_AC1027_AAMA, DXF_AC1027_ASTM, DXF_AC1027_Flat, EPS, MainWindowsNoGUI::exportBMP(), MainWindowsNoGUI::exportEPS(), ExportLayoutDialog::exportFormatSuffix(), MainWindowsNoGUI::exportJPG(), MainWindowsNoGUI::exportPDF(), MainWindowsNoGUI::exportPNG(), MainWindowsNoGUI::exportPPM(), MainWindowsNoGUI::exportPS(), MainWindowsNoGUI::exportSVG(), MainWindowsNoGUI::exportTIF(), ExportLayoutDialog::fileName(), MainWindowsNoGUI::FileName(), ExportLayoutDialog::format(), FullParse, VAbstractPattern::getActiveDraftBlockName(), JPG, MainWindowsNoGUI::margins, VMainGraphicsView::NewSceneRect(), OBJ, ExportLayoutDialog::path(), PDF, PDFTiled, PNG, PPM, PS, qApp, VMainGraphicsScene::setOriginsVisible(), SVG, TIF, ui, and zoomScaleChanged().
Referenced by handleOperationsMenu(), and InitToolButtons().
|
privateslot |
Definition at line 6298 of file mainwindow.cpp.
References MainWindowsNoGUI::ContinueIfLayoutStale(), VException::DetailedInformation(), VException::ErrorMessage(), MainWindowsNoGUI::ExportData(), MainWindowsNoGUI::FileName(), MainWindowsNoGUI::isLayoutStale, Layout, MainWindowsNoGUI::scenes, and ui.
Referenced by handleLayoutMenu(), and InitToolButtons().
|
privateslot |
Definition at line 6334 of file mainwindow.cpp.
References VContainer::DataPieces(), VException::DetailedInformation(), VException::ErrorMessage(), MainWindowsNoGUI::ExportData(), MainWindowsNoGUI::FileName(), Modeling, MainWindowsNoGUI::pattern, MainWindowsNoGUI::pieceList, MainWindowsNoGUI::preparePiecesForLayout(), and ui.
Referenced by handlePatternPiecesMenu(), and InitToolButtons().
|
protectedvirtual |
Implements VAbstractMainWindow.
Definition at line 1804 of file mainwindow.cpp.
References QxtCsvModel::insertColumn(), QxtCsvModel::insertRow(), MainWindowsNoGUI::pattern, qApp, DialogExportToCSV::SelectedMib(), DialogExportToCSV::Separator(), QxtCsvModel::setHeaderText(), QxtCsvModel::setText(), QxtCsvModel::toCSV(), VContainer::variablesData(), and DialogExportToCSV::WithHeader().
|
private |
Definition at line 4034 of file mainwindow.cpp.
References autosavePrefix, qApp, and WriteSettings().
Referenced by closeEvent().
|
privateslot |
Definition at line 4053 of file mainwindow.cpp.
References VToolOptionsPropertyBrowser::clearPropertyBrowser(), VException::DetailedInformation(), MainWindowsNoGUI::doc, draftBlockComboBox, draftScene, drawMode, VException::ErrorMessage(), FullParse, VAbstractPattern::getPatternPieces(), GlobalchangeDraftBlock(), VApplication::IsGUIMode(), VMainGraphicsView::NewSceneRect(), VPattern::Parse(), patternPiecesWidget, pieceScene, qApp, SetEnabledGUI(), setEnableTools(), toolProperties, ui, PiecesWidget::updateList(), and V_EX_NOINPUT.
Referenced by LoadPattern(), and MainWindow().
|
private |
Definition at line 7045 of file mainwindow.cpp.
References AbsoluteMPath(), MainWindowsNoGUI::doc, mChanges, VAbstractPattern::MPath(), qApp, and strippedName().
Referenced by UpdateWindowTitle().
|
private |
|
private |
Definition at line 6168 of file mainwindow.cpp.
References VLockGuard< Guarded >::IsLocked(), and qApp.
Referenced by ReopenFilesAfterCrash().
|
privateslot |
Definition at line 4174 of file mainwindow.cpp.
References changeDraftBlock(), VException::DetailedInformation(), draftBlockComboBox, VExceptionBadId::ErrorMessage(), VApplication::IsGUIMode(), qApp, SetEnabledGUI(), and V_EX_NOINPUT.
Referenced by FullParseFile().
|
privateslot |
handleAlongLineTool handler for point along Line tools.
checked | true - button checked. |
Definition at line 877 of file mainwindow.cpp.
References AlongLine, and ToolSelectPointByRelease().
Referenced by handlePointsMenu(), and InitToolButtons().
|
privateslot |
Definition at line 1521 of file mainwindow.cpp.
References AnchorPoint, ClosedDialogAnchorPoint(), and ToolSelectPointByRelease().
Referenced by handlePieceMenu(), and InitToolButtons().
|
privateslot |
Definition at line 1254 of file mainwindow.cpp.
References ArcIntersectAxis, and selectAllDraftObjectsTool().
Referenced by handleArcsMenu(), and InitToolButtons().
|
private |
Definition at line 2789 of file mainwindow.cpp.
References handleArcIntersectAxisTool(), handleArcTool(), handleArcWithLengthTool(), handleEllipticalArcTool(), handlePointAlongArcTool(), handlePointFromArcAndTangentTool(), handlePointFromCircleAndTangentTool(), handlePointOfIntersectionArcsTool(), handlePointOfIntersectionCirclesTool(), and ui.
|
privateslot |
handleArcTool handler for arc tool.
checked | true - button checked. |
Definition at line 1220 of file mainwindow.cpp.
References Arc, and ToolSelectPointByRelease().
Referenced by handleArcsMenu(), and InitToolButtons().
|
privateslot |
Definition at line 1332 of file mainwindow.cpp.
References ArcWithLength, and ToolSelectPointByRelease().
Referenced by handleArcsMenu(), and InitToolButtons().
|
privateslot |
handleArrowTool enable arrow tool.
Definition at line 3305 of file mainwindow.cpp.
References Arrow, ByMouseRelease, CancelTool(), currentTool, EnableArcHover(), EnableArcSelection(), EnableElArcHover(), EnableElArcSelection(), EnableItemMove(), EnableLabelHover(), EnableLabelSelection(), EnableLineHover(), EnableLineSelection(), EnableNodeLabelHover(), EnableNodeLabelSelection(), EnableNodePointHover(), EnableNodePointSelection(), enablePieceHover(), enablePieceSelection(), EnablePointHover(), EnablePointSelection(), EnableSplineHover(), EnableSplinePathHover(), EnableSplinePathSelection(), EnableSplineSelection(), helpLabel, ItemsSelection(), VAbstractTool::m_suppressContextMenu, and ui.
Referenced by changeDraftBlock(), Clear(), ClosedDialog(), ClosedDialogAnchorPoint(), ClosedDialogInternalPath(), ClosedDialogWithApply(), ClosedEditGroupDialog(), ClosedInsertNodesDialog(), InitToolButtons(), keyPressEvent(), SetEnabledGUI(), showDraftMode(), showLayoutMode(), and showPieceMode().
|
privateslot |
handleBisectorTool handler for bisector tool.
checked | true - button checked. |
Definition at line 915 of file mainwindow.cpp.
References Bisector, and ToolSelectPointByRelease().
Referenced by handlePointsMenu(), and InitToolButtons().
|
private |
Definition at line 2936 of file mainwindow.cpp.
|
privateslot |
Definition at line 1200 of file mainwindow.cpp.
References CurveIntersectAxis, and selectAllDraftObjectsTool().
Referenced by handleCurvesMenu(), and InitToolButtons().
|
privateslot |
Definition at line 1185 of file mainwindow.cpp.
References PointOfIntersectionCurves, and ToolSelectCurve().
Referenced by handleCurvesMenu(), and InitToolButtons().
|
private |
Definition at line 2866 of file mainwindow.cpp.
References handleCurveIntersectAxisTool(), handleCurveIntersectCurveTool(), handleCurveTool(), handleCurveWithControlPointsTool(), handlePointAlongCurveTool(), handlePointAlongSplineTool(), handleSplineTool(), handleSplineWithControlPointsTool(), and ui.
|
privateslot |
handleCurveTool handler for curve tool.
checked | true - button checked. |
Definition at line 1083 of file mainwindow.cpp.
References Spline, and ToolSelectPointByPress().
Referenced by handleCurvesMenu(), and InitToolButtons().
|
privateslot |
Definition at line 1117 of file mainwindow.cpp.
References CubicBezier, and ToolSelectPointByRelease().
Referenced by handleCurvesMenu(), and InitToolButtons().
|
privateslot |
handleEllipticalArcTool handler for EllipticalArc tool.
checked | true - button checked. |
Definition at line 1352 of file mainwindow.cpp.
References EllipticalArc, and ToolSelectPointByRelease().
Referenced by handleArcsMenu(), and InitToolButtons().
|
protected |
Definition at line 1858 of file mainwindow.cpp.
References VAbstractMainWindow::exportToCSV(), and qApp.
|
privateslot |
Definition at line 1368 of file mainwindow.cpp.
References ClosedEditGroupDialog(), Group, strCtrl, strQShortcut, ToolSelectGroupObjects(), and translate.
Referenced by handleOperationsMenu(), and InitToolButtons().
|
privateslot |
handleHeightTool handler tool height.
checked | true - button checked. |
Definition at line 1009 of file mainwindow.cpp.
References Height, and ToolSelectPointByRelease().
Referenced by handlePointsMenu(), and InitToolButtons().
|
private |
|
privateslot |
Definition at line 1572 of file mainwindow.cpp.
References ClosedInsertNodesDialog(), InsertNodes, strCtrl, strQShortcut, ToolSelectOperationObjects(), and translate.
Referenced by handlePieceMenu(), and InitToolButtons().
|
privateslot |
Definition at line 1546 of file mainwindow.cpp.
References ClosedDialogInternalPath(), InternalPath, and selectAllDraftObjectsTool().
Referenced by handlePieceMenu(), and InitToolButtons().
|
private |
Definition at line 3075 of file mainwindow.cpp.
References exportLayoutAs(), handleNewLayout(), and ui.
|
privateslot |
Definition at line 1024 of file mainwindow.cpp.
References LineIntersectAxis, and ToolSelectPointByRelease().
Referenced by handlePointsMenu(), and InitToolButtons().
|
privateslot |
handleLineIntersectTool handler for lineIntersect tool.
checked | true - button checked. |
Definition at line 1063 of file mainwindow.cpp.
References LineIntersect, and ToolSelectPointByRelease().
Referenced by handleLinesMenu(), and InitToolButtons().
|
private |
Definition at line 2761 of file mainwindow.cpp.
References handleLineIntersectTool(), handleLineTool(), and ui.
|
privateslot |
handleLineTool handler for line tool.
checked | true - button checked. |
Definition at line 1044 of file mainwindow.cpp.
References Line, and ToolSelectPointByRelease().
Referenced by handleLinesMenu(), and InitToolButtons().
|
privateslot |
Definition at line 838 of file mainwindow.cpp.
References Midpoint, and ToolSelectPointByRelease().
Referenced by handlePointsMenu(), and InitToolButtons().
|
privateslot |
Definition at line 1447 of file mainwindow.cpp.
References MirrorByAxis, strCtrl, strQShortcut, ToolSelectOperationObjects(), and translate.
Referenced by handleOperationsMenu(), and InitToolButtons().
|
privateslot |
Definition at line 1428 of file mainwindow.cpp.
References MirrorByLine, strCtrl, strQShortcut, ToolSelectOperationObjects(), and translate.
Referenced by handleOperationsMenu(), and InitToolButtons().
|
privateslot |
Definition at line 1467 of file mainwindow.cpp.
References Move, strCtrl, strQShortcut, ToolSelectOperationObjects(), and translate.
Referenced by handleOperationsMenu(), and InitToolButtons().
|
privateslot |
handleNewLayout handler for New Layout tool.
tButton | - toolbutton. |
checked | true - button checked. |
Definition at line 1639 of file mainwindow.cpp.
References MainWindowsNoGUI::toolLayoutSettings(), and ui.
Referenced by handleLayoutMenu(), and InitToolButtons().
|
privateslot |
handleNormalTool handler point on perpendicular tool.
checked | true - button checked. |
Definition at line 896 of file mainwindow.cpp.
References Normal, and ToolSelectPointByRelease().
Referenced by handlePointsMenu(), and InitToolButtons().
|
private |
Definition at line 2942 of file mainwindow.cpp.
References exportDraftBlocksAs(), handleGroupTool(), handleMirrorByAxisTool(), handleMirrorByLineTool(), handleMoveTool(), handleRotationTool(), handleTrueDartTool(), and ui.
|
private |
Definition at line 3049 of file mainwindow.cpp.
References exportPiecesAs(), handleUnionTool(), and ui.
|
privateslot |
handlePatternPieceTool handler for pattern piece tool.
checked | true - button checked. |
Definition at line 1506 of file mainwindow.cpp.
References Piece, and selectAllDraftObjectsTool().
Referenced by handlePieceMenu(), and InitToolButtons().
|
private |
Definition at line 3004 of file mainwindow.cpp.
References VContainer::DataPieces(), handleAnchorPointTool(), handleInsertNodesTool(), handleInternalPathTool(), handlePatternPieceTool(), MainWindowsNoGUI::pattern, and ui.
|
privateslot |
handlePointAlongArcTool handler for PointAlongArc tool.
checked | true - button checked. |
Definition at line 1239 of file mainwindow.cpp.
References CutArc, and ToolSelectArc().
Referenced by handleArcsMenu(), and InitToolButtons().
|
privateslot |
handlePointAlongCurveTool handler for point along curve tool.
checked | true - button is checked |
Definition at line 1151 of file mainwindow.cpp.
References CutSpline, and ToolSelectSpline().
Referenced by handleCurvesMenu(), and InitToolButtons().
|
privateslot |
handlePointAlongSplineTool handler for point along spline tool.
checked | true - button is checked |
Definition at line 1170 of file mainwindow.cpp.
References CutSplinePath, and ToolSelectSplinePath().
Referenced by handleCurvesMenu(), and InitToolButtons().
|
privateslot |
handlePointAtDistanceAngleTool handler for handlePointAtDistanceAngle tool.
checked | true - button checked. |
Definition at line 858 of file mainwindow.cpp.
References EndLine, and ToolSelectPointByRelease().
Referenced by handlePointsMenu(), and InitToolButtons().
|
privateslot |
Definition at line 1317 of file mainwindow.cpp.
References PointFromArcAndTangent, and ToolSelectPointArc().
Referenced by handleArcsMenu(), and InitToolButtons().
|
privateslot |
Definition at line 1302 of file mainwindow.cpp.
References PointFromCircleAndTangent, and ToolSelectPointByRelease().
Referenced by handleArcsMenu(), and InitToolButtons().
|
privateslot |
handlePointIntersectXYTool handler for pointOfIntersection tool.
checked | true - button checked. |
Definition at line 990 of file mainwindow.cpp.
References PointOfIntersection, and ToolSelectPointByRelease().
Referenced by handlePointsMenu(), and InitToolButtons().
|
privateslot |
handlePointOfContactTool handler for pointOfContact tool.
checked | true - button checked. |
Definition at line 953 of file mainwindow.cpp.
References PointOfContact, and ToolSelectPointByRelease().
Referenced by handlePointsMenu(), and InitToolButtons().
|
privateslot |
Definition at line 1270 of file mainwindow.cpp.
References PointOfIntersectionArcs, and ToolSelectArc().
Referenced by handleArcsMenu(), and InitToolButtons().
|
privateslot |
Definition at line 1285 of file mainwindow.cpp.
References PointOfIntersectionCircles, and ToolSelectPointByRelease().
Referenced by handleArcsMenu(), and InitToolButtons().
|
private |
Definition at line 2669 of file mainwindow.cpp.
References handleAlongLineTool(), handleBisectorTool(), handleHeightTool(), handleLineIntersectAxisTool(), handleMidpointTool(), handleNormalTool(), handlePointAtDistanceAngleTool(), handlePointIntersectXYTool(), handlePointOfContactTool(), handleShoulderPointTool(), handleTriangleTool(), and ui.
|
privateslot |
Definition at line 1408 of file mainwindow.cpp.
References Rotation, strCtrl, strQShortcut, ToolSelectOperationObjects(), and translate.
Referenced by handleOperationsMenu(), and InitToolButtons().
|
privateslot |
handleShoulderPointTool handler for shoulderPoint tool.
checked | true - button checked. |
Definition at line 934 of file mainwindow.cpp.
References ShoulderPoint, and ToolSelectPointByRelease().
Referenced by handlePointsMenu(), and InitToolButtons().
|
privateslot |
handleSplineTool handler for spline tool.
checked | true - button checked. |
Definition at line 1102 of file mainwindow.cpp.
References SplinePath, and ToolSelectPointByPress().
Referenced by handleCurvesMenu(), and InitToolButtons().
|
privateslot |
Definition at line 1132 of file mainwindow.cpp.
References CubicBezierPath, and ToolSelectPointByRelease().
Referenced by handleCurvesMenu(), and InitToolButtons().
|
privateslot |
handleTriangleTool handler Point - Intersect Axis and Triangle.
checked | true - button checked. |
Definition at line 971 of file mainwindow.cpp.
References ToolSelectPointByRelease(), and Triangle.
Referenced by handlePointsMenu(), and InitToolButtons().
|
privateslot |
Definition at line 1487 of file mainwindow.cpp.
References ToolSelectPointByRelease(), and TrueDarts.
Referenced by handleOperationsMenu(), and InitToolButtons().
|
privateslot |
handleUnionTool handler for Union tool.
checked | true - button checked. |
Definition at line 1609 of file mainwindow.cpp.
References closeUnionDialog(), selectPieceTool(), and Union.
Referenced by handlePatternPiecesMenu(), and InitToolButtons().
|
slot |
Definition at line 1668 of file mainwindow.cpp.
References groupsWidget, and GroupsWidget::hideAllGroups().
|
private |
Definition at line 7153 of file mainwindow.cpp.
References Clear(), VApplication::IsGUIMode(), qApp, and V_EX_NOINPUT.
Referenced by LoadPattern().
|
private |
Definition at line 5914 of file mainwindow.cpp.
References AutoSavePattern(), autoSaveTimer, and qApp.
Referenced by Preferences().
|
private |
Definition at line 5267 of file mainwindow.cpp.
References MainWindowsNoGUI::doc, VAbstractPattern::FullUpdateFromFile(), groupsWidget, PiecesWidget::Highlight(), VMainGraphicsScene::HighlightItem(), VToolOptionsPropertyBrowser::itemClicked(), VMainGraphicsView::itemClicked(), MainWindowsNoGUI::pattern, patternPiecesWidget, pieceScene, PiecesWidget::selectPiece(), VAbstractPattern::showPiece(), PiecesWidget::togglePiece(), toolProperties, ui, VAbstractPattern::updateGroups(), updateGroups(), VAbstractPattern::UpdateInLayoutList(), PiecesWidget::updateList(), and VToolOptionsPropertyBrowser::updateOptions().
|
private |
initDraftToolBar enable draw toolbar.
Definition at line 2276 of file mainwindow.cpp.
References changeDraftBlock(), MainWindowsNoGUI::doc, draftBlockComboBox, draftBlockLabel, qApp, and ui.
|
private |
Definition at line 2195 of file mainwindow.cpp.
References leftGoToStage, rightGoToStage, and ui.
|
private |
initPenToolBar enable default color, line wight & type toolbar.
Definition at line 2438 of file mainwindow.cpp.
References m_penToolBar, penChanged(), and PenToolBar::penChanged().
|
private |
initPointNameToolBar enable Point Name toolbar.
Definition at line 2210 of file mainwindow.cpp.
References fontComboBox, fontSizeComboBox, qApp, ui, and upDateScenes().
|
private |
Definition at line 374 of file mainwindow.cpp.
References MainWindowsNoGUI::currentScene, draftScene, EnableArcHover(), EnableArcSelection(), EnableElArcHover(), EnableElArcSelection(), EnableItemMove(), VMainGraphicsScene::EnableItemMove(), EnableLabelHover(), EnableLabelSelection(), EnableLineHover(), EnableLineSelection(), EnableNodeLabelHover(), EnableNodeLabelSelection(), EnableNodePointHover(), EnableNodePointSelection(), enablePieceHover(), enablePieceSelection(), EnablePointHover(), EnablePointSelection(), EnableSplineHover(), EnableSplinePathHover(), EnableSplinePathSelection(), EnableSplineSelection(), VMainGraphicsScene::ItemsSelection(), ItemsSelection(), MouseMove(), VMainGraphicsScene::mouseMove(), VMainGraphicsView::mouseRelease(), pieceScene, qApp, VMainGraphicsScene::setCurrentTransform(), VMainGraphicsView::signalZoomScaleChanged(), VMainGraphicsScene::ToggleArcHover(), VMainGraphicsScene::ToggleArcSelection(), VMainGraphicsScene::ToggleElArcHover(), VMainGraphicsScene::ToggleElArcSelection(), VMainGraphicsScene::ToggleLabelHover(), VMainGraphicsScene::ToggleLabelSelection(), VMainGraphicsScene::ToggleLineHover(), VMainGraphicsScene::ToggleLineSelection(), VMainGraphicsScene::ToggleNodeLabelHover(), VMainGraphicsScene::ToggleNodeLabelSelection(), VMainGraphicsScene::ToggleNodePointHover(), VMainGraphicsScene::ToggleNodePointSelection(), VMainGraphicsScene::togglePieceHover(), VMainGraphicsScene::togglePieceSelection(), VMainGraphicsScene::TogglePointHover(), VMainGraphicsScene::TogglePointSelection(), VMainGraphicsScene::ToggleSplineHover(), VMainGraphicsScene::ToggleSplinePathHover(), VMainGraphicsScene::ToggleSplinePathSelection(), VMainGraphicsScene::ToggleSplineSelection(), ui, and zoomScaleChanged().
|
private |
initStatusBar initialize horizontal bar for presenting status information
Definition at line 2123 of file mainwindow.cpp.
References ChangedHeight(), ChangedSize(), MainWindowsNoGUI::doc, VAbstractPattern::GetGradationHeights(), VAbstractPattern::GetGradationSizes(), gradationHeights, gradationHeightsLabel, gradationSizes, gradationSizesLabel, infoToolButton, VMeasurement::ListHeights(), VMeasurement::ListSizes(), mouseCoordinates, Multisize, qApp, SetDefaultHeight(), SetDefaultSize(), SetGradationList(), and ui.
Referenced by LoadMeasurements(), LoadPattern(), and UnloadMeasurements().
|
private |
Definition at line 2384 of file mainwindow.cpp.
References ui, and updateToolBarVisibility().
|
private |
Definition at line 2609 of file mainwindow.cpp.
References exportDraftBlocksAs(), exportLayoutAs(), exportPiecesAs(), handleAlongLineTool(), handleAnchorPointTool(), handleArcIntersectAxisTool(), handleArcTool(), handleArcWithLengthTool(), handleArrowTool(), handleBisectorTool(), handleCurveIntersectAxisTool(), handleCurveIntersectCurveTool(), handleCurveTool(), handleCurveWithControlPointsTool(), handleEllipticalArcTool(), handleGroupTool(), handleHeightTool(), handleInsertNodesTool(), handleInternalPathTool(), handleLineIntersectAxisTool(), handleLineIntersectTool(), handleLineTool(), handleMidpointTool(), handleMirrorByAxisTool(), handleMirrorByLineTool(), handleMoveTool(), handleNewLayout(), handleNormalTool(), handlePatternPieceTool(), handlePointAlongArcTool(), handlePointAlongCurveTool(), handlePointAlongSplineTool(), handlePointAtDistanceAngleTool(), handlePointFromArcAndTangentTool(), handlePointFromCircleAndTangentTool(), handlePointIntersectXYTool(), handlePointOfContactTool(), handlePointOfIntersectionArcsTool(), handlePointOfIntersectionCirclesTool(), handleRotationTool(), handleShoulderPointTool(), handleSplineTool(), handleSplineWithControlPointsTool(), handleTriangleTool(), handleTrueDartTool(), handleUnionTool(), LAST_ONE_DO_NOT_USE, and ui.
|
private |
Definition at line 2304 of file mainwindow.cpp.
References m_zoomToPointComboBox, VMainGraphicsView::MaxScale(), VMainGraphicsView::MinScale(), resetPanShortcuts(), showZoomToPointDialog(), ui, VMainGraphicsView::zoom100Percent(), VMainGraphicsView::zoomIn(), VMainGraphicsView::zoomOut(), zoomPan(), zoomScaleChanged(), zoomScaleSpinBox, zoomToArea(), VMainGraphicsView::zoomToFit(), zoomToPoint(), zoomToPrevious(), and zoomToSelected().
|
signal |
|
protectedvirtual |
keyPressEvent handle key press events.
event | key event. |
Definition at line 3362 of file mainwindow.cpp.
References EndVisualization(), handleArrowTool(), qApp, and ui.
|
protectedvirtual |
keyReleaseEvent handle key press events.
event | key event. |
Definition at line 3390 of file mainwindow.cpp.
|
privateslot |
Definition at line 5032 of file mainwindow.cpp.
References AbstractSpline, AlongLine, AnchorPoint, Arc, ArcIntersectAxis, ArcWithLength, Arrow, BasePoint, Bisector, CubicBezier, CubicBezierPath, CurveIntersectAxis, Cut, CutArc, CutSpline, CutSplinePath, DoublePoint, EllipticalArc, EndLine, Group, Height, InsertNodes, InternalPath, LAST_ONE_DO_NOT_USE, Line, LineIntersect, LineIntersectAxis, LinePoint, Midpoint, MirrorByAxis, MirrorByLine, Move, NodeArc, NodeElArc, NodePoint, NodeSpline, NodeSplinePath, Normal, Piece, PointFromArcAndTangent, PointFromCircleAndTangent, PointOfContact, PointOfIntersection, PointOfIntersectionArcs, PointOfIntersectionCircles, PointOfIntersectionCurves, Rotation, ShoulderPoint, SinglePoint, Spline, SplinePath, Triangle, TrueDarts, and Union.
|
privateslot |
Definition at line 1870 of file mainwindow.cpp.
References AbsoluteMPath(), MainWindowsNoGUI::doc, helpLabel, LiteParse, VPattern::LiteParseTree(), LoadMeasurements(), VAbstractPattern::MPath(), PatternChangesWereSaved(), qApp, RelativeMPath(), VAbstractPattern::SetMPath(), ui, UpdateWindowTitle(), and watcher.
|
private |
Definition at line 498 of file mainwindow.cpp.
References VContainer::ClearVariables(), VExceptionEmptyParameter::DetailedInformation(), MainWindowsNoGUI::doc, VExceptionEmptyParameter::ErrorMessage(), Inch, Individual, initStatusBar(), VApplication::IsGUIMode(), Measurement, Multisize, OpenMeasurementFile(), MainWindowsNoGUI::pattern, qApp, VContainer::SetHeight(), VAbstractPattern::SetPatternWasChanged(), VContainer::SetSize(), MainWindowsNoGUI::SetSizeHeightForIndividualM(), UnitConvertor(), VAbstractPattern::UpdatePatternLabel(), and V_EX_NOINPUT.
Referenced by LoadIndividual(), LoadMultisize(), and LoadPattern().
|
privateslot |
Definition at line 1915 of file mainwindow.cpp.
References AbsoluteMPath(), MainWindowsNoGUI::doc, gradationHeights, gradationSizes, helpLabel, LiteParse, VPattern::LiteParseTree(), LoadMeasurements(), VAbstractPattern::MPath(), Multisize, PatternChangesWereSaved(), VCommonSettings::PrepareMultisizeTables(), qApp, RelativeMPath(), VAbstractPattern::SetMPath(), ui, UpdateWindowTitle(), and watcher.
bool MainWindow::LoadPattern | ( | const QString & | fileName, |
const QString & | customMeasureFile = QString() |
||
) |
LoadPattern open pattern file.
fileName | name of file. |
Definition at line 5999 of file mainwindow.cpp.
References AbsoluteMPath(), CheckPathToMeasurements(), Clear(), VAbstractConverter::Convert(), VException::DetailedInformation(), MainWindowsNoGUI::doc, draftPointNamesList(), draftScene, VException::ErrorMessage(), FullParseFile(), VAbstractConverter::GetCurrentFormatVarsion(), VAbstractConverter::GetVersionStr(), guiEnabled, helpLabel, IgnoreLocking(), Individual, initStatusBar(), VApplication::IsGUIMode(), MainWindowsNoGUI::isNoScaling, VPattern::IsReadOnly(), LoadMeasurements(), lock, LONG_OPTION_NO_HDPI_SCALING, VAbstractMainWindow::m_curFileFormatVersion, VAbstractMainWindow::m_curFileFormatVersionStr, VAbstractPattern::MPath(), Multisize, VDomDocument::MUnit(), VMainGraphicsView::NewSceneRect(), OpenNewSeamly2D(), MainWindowsNoGUI::pattern, patternReadOnly, pieceScene, qApp, RelativeMPath(), VContainer::rheight(), VContainer::rsize(), setCurrentFile(), SetEnableWidgets(), VMeasurements::SetHeight(), VAbstractPattern::SetMPath(), VMeasurements::SetSize(), VPattern::setXMLContent(), VMeasurements::setXMLContent(), showDraftMode(), VMeasurements::Type(), ui, Unknown, updateZoomToPointComboBox(), V_EX_NOINPUT, V_EX_OK, VlpCreateLock(), watcher, and zoomFirstShow().
Referenced by VApplication::event(), Open(), ProcessCMD(), and ReopenFilesAfterCrash().
|
slot |
Definition at line 1673 of file mainwindow.cpp.
References groupsWidget, and GroupsWidget::lockAllGroups().
|
private |
MaybeSave The function is called to save pending changes.
Definition at line 4871 of file mainwindow.cpp.
References guiEnabled, patternReadOnly, qApp, Save(), and SaveAs().
Referenced by closeEvent().
|
privateslot |
Definition at line 2045 of file mainwindow.cpp.
References mChanges, mChangesAsked, ui, and UpdateWindowTitle().
|
private |
MinimumScrollBar set scroll bar to minimum.
Definition at line 4719 of file mainwindow.cpp.
References ui.
Referenced by showEvent().
|
privateslot |
mouseMove save mouse position and show user.
scenePos | position mouse. |
Definition at line 3109 of file mainwindow.cpp.
References mouseCoordinates.
Referenced by InitScenes().
|
privateslot |
NewPattern create new empty pattern.
Definition at line 4376 of file mainwindow.cpp.
References addDraftBlock(), draftBlockComboBox, draftScene, VAbstractMainWindow::m_curFileFormatVersion, VAbstractMainWindow::m_curFileFormatVersionStr, mouseCoordinates, DialogNewPattern::name(), VMainGraphicsView::NewSceneRect(), OpenNewSeamly2D(), MainWindowsNoGUI::pattern, VPatternConverter::PatternMaxVer, VPatternConverter::PatternMaxVerStr, DialogNewPattern::PatternUnit(), pieceScene, qApp, and ui.
Referenced by CreateActions().
|
privateslot |
Open ask user select pattern file.
Definition at line 3921 of file mainwindow.cpp.
References LoadPattern(), and qApp.
Referenced by CreateActions().
|
private |
Definition at line 428 of file mainwindow.cpp.
References CheckRequiredMeasurements(), VAbstractConverter::Convert(), VException::DetailedInformation(), VException::ErrorMessage(), Inch, VApplication::IsGUIMode(), Multisize, MainWindowsNoGUI::pattern, qApp, VContainer::rheight(), VContainer::rsize(), Unknown, V_EX_DATAERR, and V_EX_NOINPUT.
Referenced by LoadMeasurements(), and UpdateMeasurements().
|
private |
Definition at line 5294 of file mainwindow.cpp.
References VApplication::NewSeamly2D(), and qApp.
Referenced by LoadPattern(), and New().
|
privateslot |
haveChange enable action save if we have unsaved change.
Definition at line 4421 of file mainwindow.cpp.
References MainWindowsNoGUI::doc, guiEnabled, MainWindowsNoGUI::isLayoutStale, VAbstractPattern::IsModified(), patternReadOnly, and ui.
Referenced by CheckPathToMeasurements(), LoadIndividual(), LoadMultisize(), MainWindow(), SavePattern(), and UnloadMeasurements().
|
slot |
Called when something changed in the pen tool bar (e.g. color, weight, or type).
Definition at line 2456 of file mainwindow.cpp.
References MainWindowsNoGUI::doc, and VAbstractPattern::setDefaultPen().
Referenced by initPenToolBar().
|
privateslot |
Definition at line 6244 of file mainwindow.cpp.
References InitAutoSave(), MainWindowsNoGUI::refreshLabels(), VToolOptionsPropertyBrowser::refreshOptions(), resetOrigins(), resetPanShortcuts(), VMainGraphicsView::resetScrollAnimations(), VMainGraphicsView::resetScrollBars(), ToolBarStyles(), toolProperties, ui, DialogPreferences::updateProperties(), upDateScenes(), updateToolBarVisibility(), updateViewToolbar(), and VAbstractMainWindow::WindowsLocale().
|
protectedvirtual |
Implements MainWindowsNoGUI.
Definition at line 1788 of file mainwindow.cpp.
References MainWindowsNoGUI::ScenePreview(), MainWindowsNoGUI::scenes, SetLayoutModeActions(), and ui.
|
slot |
Definition at line 6962 of file mainwindow.cpp.
References DoExport(), VApplication::IsGUIMode(), MainWindowsNoGUI::isNoScaling, LoadPattern(), qApp, ReopenFilesAfterCrash(), SetHeight(), SetSize(), V_EX_DATAERR, V_EX_NOINPUT, and V_EX_OK.
|
private |
ReadSettings read setting for app.
Definition at line 4827 of file mainwindow.cpp.
References APP_VERSION, VCommonSettings::GetGeometry(), VSettings::GetGraphicalOutput(), VCommonSettings::GetToolbarsState(), VCommonSettings::GetUndoCount(), VCommonSettings::GetWindowState(), isGroupsDockVisible, isLayoutsDockVisible, isToolboxDockVisible, isToolOptionsDockVisible, qApp, ToolBarStyles(), and ui.
|
signal |
Referenced by changeDraftBlock().
|
private |
Definition at line 6545 of file mainwindow.cpp.
References autosavePrefix, GetUnlokedRestoreFileList(), LoadPattern(), and VDomDocument::SafeCopy().
Referenced by ProcessCMD().
|
privateslot |
Definition at line 6220 of file mainwindow.cpp.
References draftScene, VMainGraphicsScene::InitOrigins(), pieceScene, and VMainGraphicsScene::setOriginsVisible().
Referenced by Preferences().
|
private |
Definition at line 7140 of file mainwindow.cpp.
Referenced by initToolsToolBar(), and Preferences().
|
private |
RestoreCurrentScene restore scene options after change.
Definition at line 3430 of file mainwindow.cpp.
References MainWindowsNoGUI::currentScene, VMainGraphicsScene::getHorScrollBar(), VMainGraphicsScene::getVerScrollBar(), SCASSERT, VMainGraphicsScene::transform(), ui, and zoomScaleChanged().
Referenced by showDraftMode(), and showPieceMode().
|
privateslot |
Save save pattern file.
Definition at line 3830 of file mainwindow.cpp.
References autosavePrefix, VAbstractMainWindow::ContinueFormatRewrite(), VAbstractMainWindow::m_curFileFormatVersion, VAbstractMainWindow::m_curFileFormatVersionStr, VPatternConverter::PatternMaxVer, VPatternConverter::PatternMaxVerStr, patternReadOnly, qApp, SaveAs(), and SavePattern().
Referenced by CreateActions(), and MaybeSave().
|
privateslot |
SaveAs save as pattern file.
Definition at line 3710 of file mainwindow.cpp.
References autosavePrefix, MainWindowsNoGUI::doc, VLockGuard< Guarded >::IsLocked(), VAbstractPattern::IsModified(), lock, VAbstractMainWindow::m_curFileFormatVersion, VAbstractMainWindow::m_curFileFormatVersionStr, VPatternConverter::PatternMaxVer, VPatternConverter::PatternMaxVerStr, patternReadOnly, qApp, SavePattern(), VAbstractPattern::SetModified(), and VlpCreateLock().
Referenced by CreateActions(), MaybeSave(), and Save().
|
private |
SaveCurrentScene save scene options before set another.
Definition at line 3409 of file mainwindow.cpp.
References Calculation, MainWindowsNoGUI::currentScene, mode, Modeling, SCASSERT, VMainGraphicsScene::setCurrentTransform(), VMainGraphicsScene::setHorScrollBar(), VMainGraphicsScene::setVerScrollBar(), and ui.
Referenced by showDraftMode(), showLayoutMode(), and showPieceMode().
|
private |
SavePattern save pattern file.
fileName | pattern file name. |
Definition at line 4733 of file mainwindow.cpp.
References AbsoluteMPath(), MainWindowsNoGUI::doc, helpLabel, VAbstractPattern::MPath(), PatternChangesWereSaved(), qApp, RelativeMPath(), VPattern::SaveDocument(), setCurrentFile(), VAbstractPattern::SetMPath(), and VAbstractPattern::UpdatePatternLabel().
Referenced by AutoSavePattern(), Save(), and SaveAs().
|
private |
Definition at line 7419 of file mainwindow.cpp.
References ByMouseRelease, EnableArcHover(), EnableArcSelection(), EnableElArcHover(), EnableElArcSelection(), EnableLabelHover(), EnableLabelSelection(), EnableLineHover(), EnableLineSelection(), EnablePointHover(), EnablePointSelection(), EnableSplineHover(), EnableSplinePathHover(), EnableSplinePathSelection(), EnableSplineSelection(), ItemsSelection(), and ui.
Referenced by handleArcIntersectAxisTool(), handleCurveIntersectAxisTool(), handleInternalPathTool(), and handlePatternPieceTool().
|
private |
Definition at line 7482 of file mainwindow.cpp.
References ByMouseRelease, EnableNodeLabelHover(), EnableNodeLabelSelection(), EnableNodePointHover(), EnableNodePointSelection(), enablePieceHover(), enablePieceSelection(), ItemsSelection(), and ui.
Referenced by handleUnionTool().
|
private |
setCurrentFile the function is called to reset the state of a few variables when a file is loaded or saved, or when the user starts editing a new file (in which case fileName is empty).
fileName | file name. |
Definition at line 4790 of file mainwindow.cpp.
References MainWindowsNoGUI::doc, VCommonSettings::GetRecentFileList(), VCommonSettings::GetRestoreFileList(), VApplication::IsGUIMode(), MaxRecentFiles, qApp, VAbstractPattern::SetPatternWasChanged(), VCommonSettings::SetRecentFileList(), VCommonSettings::SetRestoreFileList(), VAbstractPattern::UpdatePatternLabel(), UpdateRecentFileActions(), and UpdateWindowTitle().
Referenced by Clear(), LoadPattern(), and SavePattern().
|
private |
Definition at line 4494 of file mainwindow.cpp.
References MainWindowsNoGUI::doc, VPattern::GetDefCustomHeight(), gradationHeights, VContainer::height(), and VContainer::SetHeight().
Referenced by initStatusBar().
|
private |
Definition at line 4514 of file mainwindow.cpp.
References MainWindowsNoGUI::doc, VPattern::GetDefCustomSize(), gradationSizes, VContainer::SetSize(), and VContainer::size().
Referenced by initStatusBar().
|
privateslot |
Definition at line 4213 of file mainwindow.cpp.
References guiEnabled, handleArrowTool(), qApp, setEnableTools(), SetEnableWidgets(), and ui.
Referenced by FullParseFile(), GlobalchangeDraftBlock(), and MainWindow().
|
private |
setEnableTools enable button.
enable | enable value. |
Definition at line 4538 of file mainwindow.cpp.
References Calculation, VContainer::DataPieces(), LAST_ONE_DO_NOT_USE, Layout, mode, Modeling, MainWindowsNoGUI::pattern, and ui.
Referenced by addDraftBlock(), Clear(), FullParseFile(), SetEnabledGUI(), showDraftMode(), showLayoutMode(), and showPieceMode().
|
private |
SetEnableWidgets enable action button.
enable | enable value. |
Definition at line 4239 of file mainwindow.cpp.
References MainWindowsNoGUI::actionDockWidgetGroups, MainWindowsNoGUI::actionDockWidgetLayouts, MainWindowsNoGUI::actionDockWidgetToolOptions, Calculation, MainWindowsNoGUI::doc, draftBlockComboBox, draftScene, VAbstractPattern::getActiveDraftBlockName(), groupsWidget, Layout, m_zoomToPointComboBox, mode, Modeling, patternReadOnly, qApp, MainWindowsNoGUI::redoAction, GroupsWidget::setAddGroupEnabled(), VMainGraphicsScene::SetDisableTools(), ui, MainWindowsNoGUI::undoAction, and zoomScaleSpinBox.
Referenced by addDraftBlock(), LoadPattern(), SetEnabledGUI(), showDraftMode(), showLayoutMode(), and showPieceMode().
|
private |
|
private |
Definition at line 6919 of file mainwindow.cpp.
References Cm, VContainer::GetPatternUnit(), gradationHeights, VApplication::IsGUIMode(), Multisize, MainWindowsNoGUI::pattern, qApp, and UnitConvertor().
Referenced by ProcessCMD().
|
private |
Definition at line 4703 of file mainwindow.cpp.
References MainWindowsNoGUI::scenes, and ui.
Referenced by CleanLayout(), and PrepareSceneList().
|
private |
Definition at line 6876 of file mainwindow.cpp.
References Cm, VContainer::GetPatternUnit(), gradationSizes, VApplication::IsGUIMode(), Multisize, MainWindowsNoGUI::pattern, qApp, and UnitConvertor().
Referenced by ProcessCMD().
|
private |
Definition at line 2474 of file mainwindow.cpp.
Referenced by updateToolBarVisibility().
|
private |
SetToolButton set tool and show dialog.
checked | true if tool button checked. |
t | tool type. |
cursor | path tool cursor icon. |
toolTip | first tooltipe. |
closeDialogSlot | function what handle after close dialog. |
Definition at line 632 of file mainwindow.cpp.
References AnchorPoint, ArcIntersectAxis, CancelTool(), DialogTool::ChosenObject(), VMainGraphicsScene::ChosenObject(), MainWindowsNoGUI::currentScene, currentTool, DialogTool::DialogClosed(), dialogTool, MainWindowsNoGUI::doc, EnableItemMove(), VPattern::getActivePatternPieces(), helpLabel, InsertNodes, InternalPath, lastUsedTool, Midpoint, MainWindowsNoGUI::pattern, qApp, SCASSERT, DialogTool::SelectedObject(), VMainGraphicsScene::SelectedObject(), ShowToolTip(), DialogTool::ToolTip(), and ui.
|
private |
SetToolButtonWithApply set tool and show dialog.
checked | true if tool button checked. |
t | tool type. |
cursor | path tool cursor icon. |
toolTip | first tooltipe. |
closeDialogSlot | function to handle close of dialog. |
applyDialogSlot | function to handle apply in dialog. |
Definition at line 703 of file mainwindow.cpp.
References DialogTool::DialogApplied(), and dialogTool.
|
slot |
Definition at line 1663 of file mainwindow.cpp.
References groupsWidget, and GroupsWidget::showAllGroups().
|
privateslot |
showDraftMode show draw scene.
checked | true - button checked. |
Definition at line 3450 of file mainwindow.cpp.
References Calculation, currentBlockIndex, MainWindowsNoGUI::currentScene, currentToolBoxIndex, draftBlockComboBox, draftScene, drawMode, VMainGraphicsScene::enablePiecesMode(), gradationHeights, gradationHeightsLabel, gradationSizes, gradationSizesLabel, groupsWidget, handleArrowTool(), leftGoToStage, mode, Multisize, qApp, RestoreCurrentScene(), rightGoToStage, SaveCurrentScene(), setEnableTools(), SetEnableWidgets(), VMainGraphicsScene::setOriginsVisible(), ui, and updateViewToolbar().
Referenced by Clear(), LoadPattern(), showLayoutMode(), showPieceMode(), WriteSettings(), and zoomFirstShow().
|
protectedvirtual |
showEvent handle after show window.
event | show event. |
Definition at line 1707 of file mainwindow.cpp.
References isInitialized, and MinimumScrollBar().
|
privateslot |
showLayoutMode show layout scene.
checked | true - button checked. |
Definition at line 3591 of file mainwindow.cpp.
References Calculation, currentBlockIndex, MainWindowsNoGUI::currentScene, currentToolBoxIndex, VContainer::DataPieces(), draftBlockComboBox, drawMode, VException::ErrorMessage(), gradationHeights, gradationHeightsLabel, gradationSizes, gradationSizesLabel, handleArrowTool(), helpLabel, Layout, leftGoToStage, mode, mouseCoordinates, Multisize, MainWindowsNoGUI::pattern, MainWindowsNoGUI::pieceList, MainWindowsNoGUI::pieces, MainWindowsNoGUI::preparePiecesForLayout(), qApp, rightGoToStage, SaveCurrentScene(), MainWindowsNoGUI::scenes, setEnableTools(), SetEnableWidgets(), showDraftMode(), showLayoutPages(), showPieceMode(), MainWindowsNoGUI::tempSceneLayout, and ui.
|
privateslot |
Definition at line 6229 of file mainwindow.cpp.
References MainWindowsNoGUI::scenes, MainWindowsNoGUI::tempSceneLayout, and ui.
Referenced by showLayoutMode().
|
privateslot |
Definition at line 2004 of file mainwindow.cpp.
References AbsoluteMPath(), Cm, MainWindowsNoGUI::doc, VContainer::height(), MainWindowsNoGUI::isNoScaling, LONG_OPTION_NO_HDPI_SCALING, VAbstractPattern::MPath(), Multisize, VDomDocument::MUnit(), qApp, VContainer::size(), ui, UnitConvertor(), and UnitsToStr().
|
privateslot |
showPieceMode show Piece scene.
checked | true - button checked. |
Definition at line 3511 of file mainwindow.cpp.
References Calculation, currentBlockIndex, MainWindowsNoGUI::currentScene, currentToolBoxIndex, VContainer::DataPieces(), draftBlockComboBox, drawMode, gradationHeights, gradationHeightsLabel, gradationSizes, gradationSizesLabel, handleArrowTool(), helpLabel, leftGoToStage, mode, Modeling, Multisize, MainWindowsNoGUI::pattern, patternPiecesWidget, pieceScene, qApp, RestoreCurrentScene(), rightGoToStage, SaveCurrentScene(), setEnableTools(), SetEnableWidgets(), VMainGraphicsScene::setOriginsVisible(), showDraftMode(), ui, PiecesWidget::updateList(), and updateViewToolbar().
Referenced by showLayoutMode(), and zoomFirstShow().
|
virtualslot |
ShowTool highlight tool.Tip show tools tooltip.
toolTip | tooltip text. |
Definition at line 1649 of file mainwindow.cpp.
References helpLabel.
Referenced by ClosedDialogWithApply(), and SetToolButton().
|
privateslot |
zoomToPoint show dialog for choosing a point and update the graphics view to focus on it.
Definition at line 2547 of file mainwindow.cpp.
References draftPointNamesList(), and zoomToPoint().
Referenced by initToolsToolBar().
|
signal |
|
signal |
|
privateslot |
Definition at line 2076 of file mainwindow.cpp.
References AbsoluteMPath(), MainWindowsNoGUI::doc, VContainer::height(), helpLabel, LiteParse, VPattern::LiteParseTree(), mChanges, mChangesAsked, VAbstractPattern::MPath(), VWidgetPopup::PopupMessage(), qApp, VContainer::size(), ui, UpdateMeasurements(), UpdateWindowTitle(), and watcher.
|
privateslot |
Definition at line 6207 of file mainwindow.cpp.
References fontComboBox, fontSizeComboBox, qApp, VAbstractMainWindow::ToolBarStyle(), and ui.
Referenced by Preferences(), and ReadSettings().
|
private |
Definition at line 7341 of file mainwindow.cpp.
References ByMouseRelease, EnableArcHover(), EnableArcSelection(), EnableElArcHover(), EnableElArcSelection(), EnableLabelHover(), EnableLabelSelection(), EnableLineHover(), EnableLineSelection(), EnablePointHover(), EnablePointSelection(), EnableSplineHover(), EnableSplinePathHover(), EnableSplinePathSelection(), EnableSplineSelection(), ItemsSelection(), and ui.
Referenced by handlePointAlongArcTool(), and handlePointOfIntersectionArcsTool().
|
private |
Definition at line 7393 of file mainwindow.cpp.
References ByMouseRelease, EnableArcHover(), EnableArcSelection(), EnableElArcHover(), EnableElArcSelection(), EnableLabelHover(), EnableLabelSelection(), EnableLineHover(), EnableLineSelection(), EnablePointHover(), EnablePointSelection(), EnableSplineHover(), EnableSplinePathHover(), EnableSplinePathSelection(), EnableSplineSelection(), ItemsSelection(), and ui.
Referenced by handleCurveIntersectCurveTool().
|
private |
Definition at line 7471 of file mainwindow.cpp.
References EnableLineHover(), EnableLineSelection(), and ToolSelectOperationObjects().
Referenced by handleGroupTool().
|
private |
Definition at line 7445 of file mainwindow.cpp.
References ByMouseRelease, EnableArcHover(), EnableArcSelection(), EnableElArcHover(), EnableElArcSelection(), EnableLabelHover(), EnableLabelSelection(), EnableLineHover(), EnableLineSelection(), EnablePointHover(), EnablePointSelection(), EnableSplineHover(), EnableSplinePathHover(), EnableSplinePathSelection(), EnableSplineSelection(), ItemsSelection(), and ui.
Referenced by handleInsertNodesTool(), handleMirrorByAxisTool(), handleMirrorByLineTool(), handleMoveTool(), handleRotationTool(), and ToolSelectGroupObjects().
|
private |
Definition at line 7251 of file mainwindow.cpp.
References EnableArcHover(), EnableArcSelection(), EnableElArcHover(), EnableElArcSelection(), EnableLabelHover(), EnableLabelSelection(), EnableLineHover(), EnableLineSelection(), EnablePointHover(), EnablePointSelection(), EnableSplineHover(), EnableSplinePathHover(), EnableSplinePathSelection(), EnableSplineSelection(), and ui.
Referenced by ToolSelectPointByPress(), and ToolSelectPointByRelease().
|
private |
Definition at line 7367 of file mainwindow.cpp.
References ByMouseRelease, EnableArcHover(), EnableArcSelection(), EnableElArcHover(), EnableElArcSelection(), EnableLabelHover(), EnableLabelSelection(), EnableLineHover(), EnableLineSelection(), EnablePointHover(), EnablePointSelection(), EnableSplineHover(), EnableSplinePathHover(), EnableSplinePathSelection(), EnableSplineSelection(), ItemsSelection(), and ui.
Referenced by handlePointFromArcAndTangentTool().
|
private |
Definition at line 7282 of file mainwindow.cpp.
References ByMousePress, ItemsSelection(), and ToolSelectPoint().
Referenced by handleCurveTool(), and handleSplineTool().
|
private |
Definition at line 7275 of file mainwindow.cpp.
References ByMouseRelease, ItemsSelection(), and ToolSelectPoint().
Referenced by handleAlongLineTool(), handleAnchorPointTool(), handleArcTool(), handleArcWithLengthTool(), handleBisectorTool(), handleCurveWithControlPointsTool(), handleEllipticalArcTool(), handleHeightTool(), handleLineIntersectAxisTool(), handleLineIntersectTool(), handleLineTool(), handleMidpointTool(), handleNormalTool(), handlePointAtDistanceAngleTool(), handlePointFromCircleAndTangentTool(), handlePointIntersectXYTool(), handlePointOfContactTool(), handlePointOfIntersectionCirclesTool(), handleShoulderPointTool(), handleSplineWithControlPointsTool(), handleTriangleTool(), and handleTrueDartTool().
|
private |
Definition at line 7289 of file mainwindow.cpp.
References ByMouseRelease, EnableArcHover(), EnableArcSelection(), EnableElArcHover(), EnableElArcSelection(), EnableLabelHover(), EnableLabelSelection(), EnableLineHover(), EnableLineSelection(), EnablePointHover(), EnablePointSelection(), EnableSplineHover(), EnableSplinePathHover(), EnableSplinePathSelection(), EnableSplineSelection(), ItemsSelection(), and ui.
Referenced by handlePointAlongCurveTool().
|
private |
Definition at line 7315 of file mainwindow.cpp.
References ByMouseRelease, EnableArcHover(), EnableArcSelection(), EnableElArcHover(), EnableElArcSelection(), EnableLabelHover(), EnableLabelSelection(), EnableLineHover(), EnableLineSelection(), EnablePointHover(), EnablePointSelection(), EnableSplineHover(), EnableSplinePathHover(), EnableSplinePathSelection(), EnableSplineSelection(), ItemsSelection(), and ui.
Referenced by handlePointAlongSplineTool().
|
privateslot |
Definition at line 1971 of file mainwindow.cpp.
References AbsoluteMPath(), MainWindowsNoGUI::doc, helpLabel, initStatusBar(), VAbstractPattern::ListMeasurements(), VAbstractPattern::MPath(), Multisize, PatternChangesWereSaved(), qApp, VAbstractPattern::SetMPath(), ui, Unknown, VAbstractPattern::UpdatePatternLabel(), UpdateWindowTitle(), and watcher.
|
slot |
Definition at line 1678 of file mainwindow.cpp.
References groupsWidget, and GroupsWidget::unlockAllGroups().
|
virtualslot |
triggers the update of the groups
Definition at line 1658 of file mainwindow.cpp.
References groupsWidget, and GroupsWidget::updateGroups().
Referenced by InitDocksContain().
|
private |
Definition at line 4323 of file mainwindow.cpp.
References ChangedHeight(), and gradationHeights.
|
private |
Definition at line 550 of file mainwindow.cpp.
References VContainer::ClearVariables(), VExceptionEmptyParameter::DetailedInformation(), MainWindowsNoGUI::doc, VExceptionEmptyParameter::ErrorMessage(), Individual, VApplication::IsGUIMode(), Measurement, Multisize, OpenMeasurementFile(), MainWindowsNoGUI::pattern, qApp, VContainer::SetHeight(), VAbstractPattern::SetPatternWasChanged(), VContainer::SetSize(), MainWindowsNoGUI::SetSizeHeightForIndividualM(), VAbstractPattern::UpdatePatternLabel(), V_EX_DATAERR, and V_EX_NOINPUT.
Referenced by ChangedHeight(), ChangedSize(), and SyncMeasurements().
|
private |
Definition at line 4914 of file mainwindow.cpp.
References MaxRecentFiles, qApp, recentFileActs, separatorAct, and strippedName().
Referenced by CreateMenus(), and setCurrentFile().
|
private |
Definition at line 7117 of file mainwindow.cpp.
References draftScene, and pieceScene.
Referenced by initPointNameToolBar(), and Preferences().
|
private |
Definition at line 4348 of file mainwindow.cpp.
References ChangedSize(), and gradationSizes.
|
private |
Definition at line 2461 of file mainwindow.cpp.
References qApp, setToolBarVisibility(), and ui.
Referenced by initToolBarVisibility(), and Preferences().
|
private |
Definition at line 7130 of file mainwindow.cpp.
Referenced by Preferences(), showDraftMode(), and showPieceMode().
|
private |
Definition at line 7067 of file mainwindow.cpp.
References darkenPixmap(), GetMeasurementFileName(), GetPatternFileName(), patternReadOnly, qApp, and VER_INTERNALNAME_STR.
Referenced by changeEvent(), LoadIndividual(), LoadMultisize(), MeasurementsChanged(), setCurrentFile(), SyncMeasurements(), and UnloadMeasurements().
|
private |
updateZoomToPointComboBox updates the list of points included in the toolbar combobox.
Definition at line 7242 of file mainwindow.cpp.
References m_zoomToPointComboBox.
Referenced by LoadPattern().
|
private |
WriteSettings save setting for app.
Definition at line 4856 of file mainwindow.cpp.
References APP_VERSION, qApp, VCommonSettings::SetGeometry(), VCommonSettings::SetToolbarsState(), VCommonSettings::SetWindowState(), and showDraftMode().
Referenced by FileClosedCorrect().
|
private |
zoomFirstShow Fit scene size to best size for first show
Definition at line 6777 of file mainwindow.cpp.
References VContainer::DataPieces(), draftScene, VMainGraphicsView::NewSceneRect(), MainWindowsNoGUI::pattern, pieceScene, showDraftMode(), showPieceMode(), ui, and zoomToSelected().
Referenced by LoadPattern().
|
privateslot |
|
privateslot |
Definition at line 2481 of file mainwindow.cpp.
References zoomScaleSpinBox.
Referenced by exportDraftBlocksAs(), InitScenes(), initToolsToolBar(), RestoreCurrentScene(), and zoomToPrevious().
|
privateslot |
|
privateslot |
zoomToPoint show dialog for choosing a point and update the graphics view to focus on it.
pointName | name of to zoom into. |
Definition at line 2564 of file mainwindow.cpp.
References VContainer::DataGObjects(), MainWindowsNoGUI::doc, VAbstractPattern::getGroupsContainingItem(), VGObject::getIdObject(), VGObject::getIdTool(), VAbstractPattern::getTool(), groupsWidget, m_zoomToPointComboBox, NULL_ID, MainWindowsNoGUI::pattern, GroupsWidget::showGroups(), VPointF::toQPointF(), and ui.
Referenced by initToolsToolBar(), and showZoomToPointDialog().
|
privateslot |
Definition at line 2511 of file mainwindow.cpp.
References MainWindowsNoGUI::currentScene, SCASSERT, VMainGraphicsScene::swapTransforms(), VMainGraphicsScene::transform(), ui, and zoomScaleChanged().
Referenced by initToolsToolBar().
|
virtualslot |
Definition at line 2490 of file mainwindow.cpp.
References VPattern::ActiveDrawBoundingRect(), MainWindowsNoGUI::doc, draftScene, Piece, pieceScene, qApp, and ui.
Referenced by changeDraftBlock(), initToolsToolBar(), and zoomFirstShow().
|
private |
Definition at line 319 of file mainwindow.h.
Referenced by InitAutoSave().
|
private |
mode stores current draw mode.
Definition at line 305 of file mainwindow.h.
Referenced by showDraftMode(), showLayoutMode(), and showPieceMode().
|
private |
tool current tool
Definition at line 268 of file mainwindow.h.
Referenced by handleArrowTool(), and SetToolButton().
|
private |
currentBlockIndex current selected draft block.
Definition at line 306 of file mainwindow.h.
Referenced by showDraftMode(), showLayoutMode(), and showPieceMode().
|
private |
Definition at line 296 of file mainwindow.h.
|
private |
Definition at line 297 of file mainwindow.h.
Referenced by ApplyDialog(), ClosedDialog(), ClosedDialogAnchorPoint(), ClosedDialogInternalPath(), ClosedDialogWithApply(), ClosedEditGroupDialog(), ClosedInsertNodesDialog(), EndVisualization(), SetToolButton(), and SetToolButtonWithApply().
|
private |
Definition at line 302 of file mainwindow.h.
Referenced by addDraftBlock(), changeDraftBlock(), Clear(), createDraftBlockName(), draftBlockStartPosition(), FullParseFile(), GlobalchangeDraftBlock(), initDraftToolBar(), New(), SetEnableWidgets(), showDraftMode(), showLayoutMode(), and showPieceMode().
|
private |
draftBlockComboBox stores names of draft blocks.
Definition at line 303 of file mainwindow.h.
Referenced by changeEvent(), and initDraftToolBar().
|
private |
draftScene draft block scene.
Definition at line 274 of file mainwindow.h.
Referenced by addDraftBlock(), ApplyDrawDialog(), Clear(), ClosedDrawDialogWithApply(), draftBlockStartPosition(), exportDraftBlocksAs(), FullParseFile(), InitScenes(), LoadPattern(), New(), resetOrigins(), SetEnableWidgets(), showDraftMode(), upDateScenes(), zoomFirstShow(), and zoomToSelected().
|
private |
Definition at line 311 of file mainwindow.h.
Referenced by changeDraftBlock(), FullParseFile(), showDraftMode(), showLayoutMode(), and showPieceMode().
|
private |
Definition at line 300 of file mainwindow.h.
Referenced by initPointNameToolBar(), and ToolBarStyles().
|
private |
Definition at line 301 of file mainwindow.h.
Referenced by initPointNameToolBar(), and ToolBarStyles().
|
private |
Definition at line 321 of file mainwindow.h.
Referenced by ChangedHeight(), initStatusBar(), LoadMultisize(), SetDefaultHeight(), SetHeight(), showDraftMode(), showLayoutMode(), showPieceMode(), and UpdateHeightsList().
|
private |
Definition at line 323 of file mainwindow.h.
Referenced by initStatusBar(), showDraftMode(), showLayoutMode(), and showPieceMode().
|
private |
Definition at line 322 of file mainwindow.h.
Referenced by ChangedSize(), initStatusBar(), LoadMultisize(), SetDefaultSize(), SetSize(), showDraftMode(), showLayoutMode(), showPieceMode(), and UpdateSizesList().
|
private |
Definition at line 324 of file mainwindow.h.
Referenced by initStatusBar(), showDraftMode(), showLayoutMode(), and showPieceMode().
|
private |
Definition at line 326 of file mainwindow.h.
Referenced by addDraftBlock(), addGroupToList(), changeDraftBlock(), CleanLayout(), deleteGroupFromList(), editGroup(), hideAllGroups(), InitDocksContain(), lockAllGroups(), SetEnableWidgets(), showAllGroups(), showDraftMode(), unlockAllGroups(), updateGroups(), and zoomToPoint().
|
private |
Definition at line 320 of file mainwindow.h.
Referenced by LoadPattern(), MaybeSave(), PatternChangesWereSaved(), and SetEnabledGUI().
|
private |
helpLabel help show tooltip.
Definition at line 285 of file mainwindow.h.
Referenced by addDraftBlock(), changeEvent(), handleArrowTool(), LoadIndividual(), LoadMultisize(), LoadPattern(), SavePattern(), SetToolButton(), showLayoutMode(), showPieceMode(), ShowToolTip(), SyncMeasurements(), and UnloadMeasurements().
|
private |
Definition at line 298 of file mainwindow.h.
Referenced by ClosedDialogWithApply().
|
private |
Definition at line 282 of file mainwindow.h.
Referenced by initStatusBar().
|
private |
Definition at line 308 of file mainwindow.h.
Referenced by ReadSettings().
|
private |
isInitialized true after first show window.
Definition at line 288 of file mainwindow.h.
Referenced by showEvent().
|
private |
Definition at line 309 of file mainwindow.h.
Referenced by ReadSettings().
|
private |
Definition at line 310 of file mainwindow.h.
Referenced by ReadSettings().
|
private |
currentToolBoxIndex current set of tools.
Definition at line 307 of file mainwindow.h.
Referenced by ReadSettings().
|
private |
|
private |
Definition at line 317 of file mainwindow.h.
Referenced by initModesToolBar(), showDraftMode(), showLayoutMode(), and showPieceMode().
|
private |
Definition at line 328 of file mainwindow.h.
Referenced by Clear(), LoadPattern(), and SaveAs().
|
private |
Definition at line 332 of file mainwindow.h.
|
private |
for selecting the current pen
Definition at line 331 of file mainwindow.h.
Referenced by initPenToolBar().
|
private |
Definition at line 333 of file mainwindow.h.
Referenced by initToolsToolBar(), SetEnableWidgets(), updateZoomToPointComboBox(), and zoomToPoint().
|
private |
mChanges true if measurement file was changed.
Definition at line 291 of file mainwindow.h.
Referenced by GetMeasurementFileName(), MeasurementsChanged(), and SyncMeasurements().
|
private |
Definition at line 292 of file mainwindow.h.
Referenced by MeasurementsChanged(), and SyncMeasurements().
|
private |
Definition at line 304 of file mainwindow.h.
Referenced by SaveCurrentScene(), setEnableTools(), SetEnableWidgets(), showDraftMode(), showLayoutMode(), and showPieceMode().
|
private |
mouseCoordinates pointer to label who show mouse coordinate.
Definition at line 280 of file mainwindow.h.
Referenced by initStatusBar(), MouseMove(), New(), and showLayoutMode().
|
private |
Definition at line 327 of file mainwindow.h.
Referenced by FullParseFile(), InitDocksContain(), and showPieceMode().
|
private |
Definition at line 294 of file mainwindow.h.
Referenced by AutoSavePattern(), LoadPattern(), MaybeSave(), PatternChangesWereSaved(), Save(), SaveAs(), SetEnableWidgets(), and UpdateWindowTitle().
|
private |
pieceScene pattern piece scene.
Definition at line 277 of file mainwindow.h.
Referenced by addDraftBlock(), applyPiecesDialog(), ChangedHeight(), ChangedSize(), changeEvent(), Clear(), ClosedDialogInternalPath(), ClosedInsertNodesDialog(), ClosedPiecesDialogWithApply(), FullParseFile(), InitDocksContain(), InitScenes(), LoadPattern(), New(), resetOrigins(), showPieceMode(), upDateScenes(), zoomFirstShow(), and zoomToSelected().
|
private |
Definition at line 314 of file mainwindow.h.
Referenced by CreateMenus(), and UpdateRecentFileActions().
|
private |
Definition at line 318 of file mainwindow.h.
Referenced by initModesToolBar(), showDraftMode(), showLayoutMode(), and showPieceMode().
|
private |
Definition at line 315 of file mainwindow.h.
Referenced by CreateMenus(), and UpdateRecentFileActions().
|
private |
Definition at line 325 of file mainwindow.h.
Referenced by changeDraftBlock(), Clear(), CreateMenus(), FullParseFile(), InitDocksContain(), and Preferences().
|
private |
ui keeps information about user interface
Definition at line 263 of file mainwindow.h.
Referenced by AddDocks(), addDraftBlock(), changeEvent(), CleanLayout(), Clear(), ClosedDialog(), ClosedDialogWithApply(), ClosedPiecesDialogWithApply(), CreateActions(), CreateMenus(), exportDraftBlocksAs(), exportLayoutAs(), exportPiecesAs(), FullParseFile(), handleArcsMenu(), handleArrowTool(), handleCurvesMenu(), handleLayoutMenu(), handleLinesMenu(), handleNewLayout(), handleOperationsMenu(), handlePatternPiecesMenu(), handlePieceMenu(), handlePointsMenu(), InitDocksContain(), initDraftToolBar(), initModesToolBar(), initPointNameToolBar(), InitScenes(), initStatusBar(), initToolBarVisibility(), InitToolButtons(), initToolsToolBar(), keyPressEvent(), keyReleaseEvent(), LoadIndividual(), LoadMultisize(), LoadPattern(), MeasurementsChanged(), MinimumScrollBar(), New(), PatternChangesWereSaved(), Preferences(), PrepareSceneList(), ReadSettings(), resetPanShortcuts(), RestoreCurrentScene(), SaveCurrentScene(), selectAllDraftObjectsTool(), selectPieceTool(), SetEnabledGUI(), setEnableTools(), SetEnableWidgets(), SetGradationList(), SetLayoutModeActions(), SetToolButton(), showDraftMode(), showLayoutMode(), showLayoutPages(), ShowMeasurements(), showPieceMode(), SyncMeasurements(), ToolBarStyles(), ToolSelectArc(), ToolSelectCurve(), ToolSelectOperationObjects(), ToolSelectPoint(), ToolSelectPointArc(), ToolSelectSpline(), ToolSelectSplinePath(), UnloadMeasurements(), updateToolBarVisibility(), updateViewToolbar(), zoomFirstShow(), zoomPan(), zoomToArea(), zoomToPoint(), zoomToPrevious(), zoomToSelected(), and ~MainWindow().
|
private |
Definition at line 265 of file mainwindow.h.
Referenced by Clear(), LoadIndividual(), LoadMultisize(), LoadPattern(), SyncMeasurements(), and UnloadMeasurements().
|
private |
Definition at line 330 of file mainwindow.h.
Referenced by Clear(), initToolsToolBar(), SetEnableWidgets(), and zoomScaleChanged().