bb6a9235c3
- Ostinato Client - will start the server as a child process at startup and terminate it at exit - Ostinato Server (Drone) - is now a system tray application - if not able to bind to a IP/Port successfully, informs the user and exits - the GUI is now nothing more than a TextLabel Others - If a getStats() request is pending, the client will not queue up any more requests till a reply is received for the pending one - Nitpicks in the Payload protocol Widget, PortsWindow Widget
34 lines
555 B
C++
34 lines
555 B
C++
#ifndef _MAIN_WINDOW_H
|
|
#define _MAIN_WINDOW_H
|
|
|
|
#include "ui_mainwindow.h"
|
|
#include <QMainWindow>
|
|
|
|
class PortsWindow;
|
|
class PortStatsWindow;
|
|
|
|
class QDockWidget;
|
|
class QProcess;
|
|
|
|
class MainWindow : public QMainWindow, private Ui::MainWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
private:
|
|
QProcess *localServer_;
|
|
PortsWindow *portsWindow;
|
|
PortStatsWindow *statsWindow;
|
|
QDockWidget *portsDock;
|
|
QDockWidget *statsDock;
|
|
|
|
public:
|
|
MainWindow(QWidget *parent = 0);
|
|
~MainWindow();
|
|
|
|
public slots:
|
|
void on_actionHelpAbout_triggered();
|
|
};
|
|
|
|
#endif
|
|
|