Added initial File boilerplate.

This commit is contained in:
Jim Evins
2014-09-01 23:26:20 -04:00
parent 06ff813618
commit b318efd68e
7 changed files with 260 additions and 35 deletions
+16 -1
View File
@@ -34,6 +34,7 @@ class QLabel;
namespace glabels
{
// Forward References
class LabelModel;
class View;
@@ -50,6 +51,17 @@ namespace glabels
/////////////////////////////////////
public:
MainWindow();
virtual ~MainWindow();
/////////////////////////////////////
// Public Methods
/////////////////////////////////////
public:
LabelModel* model() const;
bool isEmpty() const;
static QList<MainWindow *> windowList();
/////////////////////////////////////
@@ -148,6 +160,8 @@ namespace glabels
// Private Data
/////////////////////////////////////
private:
static QList<MainWindow*> smWindowList;
QMenu* fileMenu;
QMenu* editMenu;
QMenu* viewMenu;
@@ -165,7 +179,8 @@ namespace glabels
QToolBar* editToolBar;
QToolBar* viewToolBar;
View* view;
LabelModel* mModel;
View* mView;
QLabel* zoomInfoLabel;
QLabel* cursorInfoLabel;