comparison src/AboutDialog.h @ 749:65171b865963

A first step toward reducing compile dependencies. git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@1026 59b1889a-e5ac-428c-b0c7-476e01d41282
author thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
date Sat, 02 Oct 2010 12:15:20 +0000
parents aae5a8d04f70
children ac165b6ae67e
comparison
equal deleted inserted replaced
748:8fa147439b3c 749:65171b865963
19 19
20 #ifndef ABOUTDIALOG_H 20 #ifndef ABOUTDIALOG_H
21 #define ABOUTDIALOG_H 21 #define ABOUTDIALOG_H
22 22
23 #include <QDialog> 23 #include <QDialog>
24 #include <QUrl>
25 #include <QDesktopServices>
26 #include <QScrollBar>
27 #include <QTimer>
28 #include "ui_AboutDialog.h"
29 24
30 #include <QLocale> 25 namespace Ui {
26 class AboutDialog;
27 }
31 28
32 29 class AboutDialog : public QDialog
33 class AboutDialog : public QDialog, private Ui::AboutDialog
34 { 30 {
35 Q_OBJECT 31 Q_OBJECT
36 32
37 public: 33 public:
38 AboutDialog(QWidget *parent = 0, Qt::WindowFlags flags = 0); 34 AboutDialog(QWidget *parent = 0, Qt::WindowFlags flags = 0);
45 void scroll(); 41 void scroll();
46 42
47 private: 43 private:
48 void changeEvent(QEvent *event); 44 void changeEvent(QEvent *event);
49 45
46 Ui::AboutDialog* dialogForm;
47
50 QString gplText; 48 QString gplText;
51 QString textBrowserSavedContent; 49 QString textBrowserSavedContent;
52 int scrollDirection; 50 int scrollDirection;
53 int scrollSpeed; 51 int scrollSpeed;
54 QTimer *timer; 52 QTimer *timer;