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
|
/***************************************************************************
* copyright : (C) 2009-2019 by Pascal Brachet *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef BROWSERDIALOG_H
#define BROWSERDIALOG_H
#include "ui_browserdialog.h"
#include "algowebpage.h"
#include "loghighlighter.h"
#include "consolehighlighter.h"
class BrowserDialog : public QDialog {
Q_OBJECT
public:
BrowserDialog(QWidget *parent=0, QString fichier="", bool blackconsole=true);
~BrowserDialog();
Ui::BrowserDialog ui;
AlgoWebPage* page;
public slots:
void scriptAfficher(QString msg,bool newline);
void scriptAfficherVariables(QString msg,bool newline);
void scriptLaunched();
void LancerAlgo();
void ExecuterAlgo();
void ContinuerPasAPas();
void StopperPasAPas();
void scriptFinished();
void scriptEffacer();
void scriptDebutPause();
void scriptFinPause();
private slots:
void closeEvent(QCloseEvent *e);
void accept();
protected slots:
void finishLoading(bool);
private:
ConsoleHighlighter *highlighter;
LogHighlighter *highlighterPas;
};
#endif
|