blob: ffead6d2f95c42a750316e073a45a15d8cc46587 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QtGui/QMainWindow>
class QImage;
class FractalWidget;
class MainWindow : public QMainWindow
{
Q_OBJECT
private:
FractalWidget *m_fractalWidget;
void readSettings();
void writeSettings();
static QKeySequence::StandardKey keyForItem(const QString &name);
protected:
void closeEvent(QCloseEvent *event);
private slots:
void activateMenuItem();
public:
MainWindow(QWidget *parent = 0);
~MainWindow();
FractalWidget *fractalWidget();
void showMessage(const QString &message);
void buildMenu(struct uih_context *uih, const char *name);
void buildMenu(struct uih_context *uih, const char *name, QMenu *parent);
void popupMenu(struct uih_context *uih, const char *name);
void toggleMenu(struct uih_context *uih, const char *name);
void showDialog(struct uih_context *uih, const char *name);
};
#endif // MAINWINDOW_H
|