26 #if defined _WIN64 || defined _WIN32
36 #define MAX_MODULE_INSTANCES 20
37 #define MAX_SERVERS 10
38 #define MAX_TIMEOUT_ATTEMPTS 100
39 #define MAX_GPU_DEVICES 4
60 QHBoxLayout *infoLayout;
85 MainWindow(QWidget *parent=0, QString aquilaVersion=0, QString hostName=0, QString yarpVersion=0);
115 bool addModule(QString module, QString server);
118 virtual bool winEvent(MSG *message,
long *result);
129 QSignalMapper *toolsSignalMapper;
130 QProgressBar *progressBar;
131 QTabWidget *serverTabWidget;
132 QComboBox *moduleCombobox;
133 QComboBox *serverCombobox;
134 QDialog *newTabDialog;
135 QProcess *serverProcess;
136 QAction *viewServersAct;
145 QString localHostName;
146 QString minimumYarpVersion;
150 QStringList arguments;
154 bool serverProcessRunning;
156 void initialiseTabWidget();
157 void initialiseProgressBar();
158 void initialiseModules();
159 void initialiseServer();
160 void createFileMenu();
161 int getModuleID(QString portPrefix);
169 void showNewTabDialog();
170 void refreshServerDialog();
171 void refreshNewTabDialog();
172 void readServerOutput();
174 void startTool(
int toolID);
175 void showContextMenu(
const QPoint& cursorPosition);
176 void serverComboboxChanged(
int serverID);
185 #endif//MAIN_WINDOW_H