-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathFenPrincipale.h
executable file
·61 lines (50 loc) · 1.42 KB
/
FenPrincipale.h
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#ifndef HEADER_FENPRINCIPALE
#define HEADER_FENPRINCIPALE
#include <QtGui>
#include <QtWebKit>
class FenPrincipale : public QMainWindow
{
Q_OBJECT
public:
FenPrincipale();
private:
void creerActions();
void creerMenus();
void creerBarresOutils();
void creerBarreEtat();
QWidget *creerOngletPageWeb(QString url = "");
QWebView *pageActuelle();
private slots:
void precedente();
void suivante();
void home();
void stop();
void actualiser();
void about();
void aboutPhNavig();
void nouvelOnglet();
void fermerOnglet();
void chargerPage();
void changementOnglet(int index);
void changementTitre(const QString & titreComplet);
void changementUrl(const QUrl & url);
void chargementDebut();
void chargementEnCours(int pourcentage);
void chargementTermine(bool ok);
private:
QTabWidget *onglets;
QAction *actionNouvelOnglet;
QAction *actionFermerOnglet;
QAction *actionQuitter;
QAction *actionAbout;
QAction *actionAboutPhNavig;
QAction *actionPrecedente;
QAction *actionSuivante;
QAction *actionStop;
QAction *actionActualiser;
QAction *actionHome;
QAction *actionGo;
QLineEdit *champAdresse;
QProgressBar *progression;
};
#endif