source: projects/punch-card/punch-card-editor/src/libs/qextserialport/examples/qespta/MainWindow.h @ 53

Last change on this file since 53 was 53, checked in by sven, 14 years ago

Punch Card Editor, ongoing development

  • Extended new Deck interface, expanding the undo framework
  • Implemented editor changes via undo framework
  • revised the menu and toolbar actions and structure (now dynamic construction at deck load time), implemented undo viewer
  • Started implementation of device driver framework in menu
  • Embedded the Qextserialport library (http://qextserialport.sourceforge.net/)
  • Started the Documation M200 Client device driver (well, just created the directory structure and qmake project file infrastructure)
  • At the current state, the complete project compiles :-)

Statistics: About 3500 Lines of code (without libqextserialport)

-- sven @ workstation

  • Property svn:executable set to *
File size: 853 bytes
Line 
1/**
2 * @file MainWindow.h
3 * @brief Application's Main Window.
4 * @see MainWindow
5 * @author Micha³ Policht
6 */
7
8
9#ifndef MAINWINDOW_H_
10#define MAINWINDOW_H_
11
12
13#include <QMainWindow>
14
15class QMenu;
16class QAction;
17
18
19/**
20 * Application's Main Window.
21 */
22class MainWindow : public QMainWindow
23{
24        Q_OBJECT
25       
26        /**
27         * @name Menu Bar
28         */
29//@{
30        QMenu *fileMenu;
31                QAction *exitAct;
32        QMenu *helpMenu;
33                QAction *aboutAct;
34//@}
35       
36       
37        private:
38                /**
39                 * Create menus.
40                 */
41                void createMenus();
42               
43                /**
44                 * Create actions.
45                 */
46                void createActions();
47               
48        private slots:
49                /**
50                 * About application popup.
51                 */
52                void about();
53               
54        public:
55                /**
56                 * MainWindow default constructor.
57                 *      @param title window title.
58                 */
59                MainWindow(const QString &title);
60               
61};
62
63#endif /*MAINWINDOW_H_*/
64
Note: See TracBrowser for help on using the repository browser.
© 2008 - 2013 technikum29 • Sven Köppel • Some rights reserved
Powered by Trac
Expect where otherwise noted, content on this site is licensed under a Creative Commons 3.0 License