source: s10k/Vago/windowMessagesWizard/wmpage.h@ 1099

Last change on this file since 1099 was 1061, checked in by s10k, 8 years ago

Added Vago 1.3

File size: 876 bytes
Line 
1#ifndef WMPAGE_H
2#define WMPAGE_H
3
4#include <QVBoxLayout>
5#include <QHBoxLayout>
6#include <QTextEdit>
7#include <QGroupBox>
8#include <QLabel>
9#include <QSpacerItem>
10#include <QToolButton>
11#include <QFileDialog>
12#include <functional>
13
14#include "utilvago.h"
15
16class WmPage : public QObject // for signals and slots
17{
18 Q_OBJECT
19public:
20 WmPage(QWidget *currentTab);
21 QTextEdit& getMainText();
22 QTextEdit& getFooterText();
23 QLabel& getMiddleImage();
24 void hideFooterText();
25 void showFooterText();
26private:
27 QTextEdit* mainText;
28 QTextEdit* footerText;
29 QLabel* middleImage;
30 QToolButton* addRemoveImageButton;
31 QWidget *pageTab;
32 QGroupBox *footerTextGroupBox;
33private:
34 void createAndAddPageToTab(QWidget *currentTab);
35private slots:
36 void addRemoveImageButtonTriggered();
37};
38
39#endif // WMPAGE_H
Note: See TracBrowser for help on using the repository browser.