2008-05-03 09:37:10 -05:00
|
|
|
#ifndef _MAIN_WINDOW_H
|
|
|
|
#define _MAIN_WINDOW_H
|
|
|
|
|
2009-11-29 10:32:31 -06:00
|
|
|
#include "ui_mainwindow.h"
|
2008-05-03 09:37:10 -05:00
|
|
|
#include <QMainWindow>
|
2009-04-05 02:19:37 -05:00
|
|
|
|
2009-11-29 10:32:31 -06:00
|
|
|
class PortsWindow;
|
|
|
|
class PortStatsWindow;
|
2008-05-03 09:37:10 -05:00
|
|
|
|
2009-11-29 10:32:31 -06:00
|
|
|
class QDockWidget;
|
|
|
|
class QProcess;
|
2009-04-05 02:19:37 -05:00
|
|
|
|
2008-05-03 09:37:10 -05:00
|
|
|
class MainWindow : public QMainWindow, private Ui::MainWindow
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
2009-04-05 02:19:37 -05:00
|
|
|
|
|
|
|
private:
|
2009-11-29 10:32:31 -06:00
|
|
|
QProcess *localServer_;
|
2009-04-05 02:19:37 -05:00
|
|
|
PortsWindow *portsWindow;
|
|
|
|
PortStatsWindow *statsWindow;
|
|
|
|
QDockWidget *portsDock;
|
|
|
|
QDockWidget *statsDock;
|
|
|
|
|
2008-05-03 09:37:10 -05:00
|
|
|
public:
|
|
|
|
MainWindow(QWidget *parent = 0);
|
2009-04-05 02:19:37 -05:00
|
|
|
~MainWindow();
|
2008-05-03 09:37:10 -05:00
|
|
|
|
|
|
|
public slots:
|
2009-04-05 02:19:37 -05:00
|
|
|
void on_actionHelpAbout_triggered();
|
2008-05-03 09:37:10 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|