- tms-old
- tms
- tmsControlGui
- AppGui.h
This file ( 846B ) exceeds the allowed full mode (48 kb) size.
The editor full hight is disabled, only scrolling is allowed..
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height
mode, although some users like it.
/*
* Title: AppGui.h
* Author: M.Thomas BEAM Ltd
* Date: 2007-02-11
*
* Contents:
*
* Mod Rec:
*
*/
#ifndef APPGUI_H
#define APPGUI_H 1
#include <qapp.h>
#include <qmainwindow.h>
#include <qaction.h>
#include <qpopupmenu.h>
#include <qaccel.h>
#include <qstring.h>
#include <BString.h>
#include <BList.h>
class AppGui: public QMainWindow {
Q_OBJECT
public:
AppGui();
virtual ~AppGui();
virtual void init(QString title);
virtual void initMenubar();
virtual void initMain();
virtual void initStatus();
virtual void initToolbar();
// Helper functions
virtual QAction* addAction(QPopupMenu* menu, QString name, QString menuName, QString accelKey, QString memberFunc, QString tip);
public slots:
virtual void slotQuit();
private:
BList<QPopupMenu*> omenus;
BList<QAction*> oactions;
QToolBar *toolbar;
};
#endif