X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fapplicationwindow.h;h=8322abced90307c2f43a834567b2754baae67a76;hb=70297ac8ec7453e4196f4b58056bcfe4b04f2aca;hp=c9551d50b1c9382d62de42275662c1146a6b9044;hpb=7b7c8ec7d7f5379e09a8b7392f465f41639b0c79;p=architektonas diff --git a/src/applicationwindow.h b/src/applicationwindow.h index c9551d5..8322abc 100644 --- a/src/applicationwindow.h +++ b/src/applicationwindow.h @@ -23,7 +23,10 @@ class ApplicationWindow: public QMainWindow void closeEvent(QCloseEvent * event); private slots: -// void FileOpen(); + void FileNew(void); + void FileOpen(void); + void FileSave(void); + void FileSaveAs(void); void SnapToGridTool(void); void FixAngle(void); void FixLength(void); @@ -38,6 +41,10 @@ class ApplicationWindow: public QMainWindow void ZoomOutTool(void); void HelpAbout(void); void Settings(void); + void HandleGrouping(void); + void HandleGridSizeInPixels(int); + void HandleGridSizeInBaseUnits(QString); + void HandleDimensionSize(QString); private: void ClearUIToolStatesExcept(QAction *); @@ -55,6 +62,9 @@ class ApplicationWindow: public QMainWindow DrawingView * drawing; AboutWindow * aboutWin; QLabel * zoomIndicator; + QString documentName; + QLineEdit * baseUnitInput; + QLineEdit * dimensionSizeInput; QSettings settings; @@ -78,6 +88,9 @@ class ApplicationWindow: public QMainWindow QAction * zoomInAct; QAction * zoomOutAct; QAction * snapToGridAct; + QAction * groupAct; + QAction * connectAct; + QAction * disconnectAct; }; #endif // __APPLICATIONWINDOW_H__