You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qtmindmap/mainwindow.h

48 lines
858 B

14 years ago
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QSystemTrayIcon>
#include "aboutdialog.h"
#include "graphwidget.h"
14 years ago
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(bool isSystemTray = false, QWidget *parent = 0);
14 years ago
~MainWindow();
void showSysTray();
14 years ago
public slots:
void klakk();
void exportScene();
void about();
void aboutDestroyed();
14 years ago
private:
void setupSystemTray();
Ui::MainWindow *m_ui;
AboutDialog *m_aboutDialog;
GraphWidget *m_graphicsView;
QSystemTrayIcon *m_systemTrayIcon;
MainWindow *m_mainWindow;
QMenu *m_trayIconMenu;
QAction *m_minimizeAction;
QAction *m_maximizeAction;
QAction *m_restoreAction;
QAction *m_quitAction;
QIcon *m_icon;
14 years ago
};
#endif // MAINWINDOW_H