1 #ifndef AESALON_GUI_PROGRAM_DISPLAY_H
2 #define AESALON_GUI_PROGRAM_DISPLAY_H
6 #include <QMdiSubWindow>
10 #include <QHBoxLayout>
11 #include <QVBoxLayout>
12 #include <QPushButton>
16 #include "ProgramBlockDisplay.h"
17 #include "ProgramReferenceDisplay.h"
19 #include "misc/SmartPointer.h"
20 #include "platform/NamedPipe.h"
26 class ProgramDisplay
: public QMdiSubWindow
{ Q_OBJECT
28 ProgramBlockDisplay
*program_block_display
;
29 ProgramReferenceDisplay
*program_reference_display
;
31 QWidget
*launch_widget
;
32 QVBoxLayout
*launch_layout
;
33 QGridLayout
*launch_program_layout
;
34 QLineEdit
*launch_program_name
;
35 QLabel
*launch_program_label
;
36 QLineEdit
*launch_program_arguments
;
37 QLabel
*launch_program_arguments_label
;
38 QCheckBox
*launch_program_xterm
;
39 QPushButton
*launch_program_button
;
41 QWidget
*running_widget
;
42 QVBoxLayout
*running_layout
;
43 QTabWidget
*running_tab_bar
;
44 QWidget
*running_general
;
45 QVBoxLayout
*running_general_layout
;
46 QHBoxLayout
*running_general_program_layout
;
47 QLabel
*running_general_program_label
;
48 QLabel
*running_general_program_name_label
;
52 Misc::SmartPointer
<Program
> program
;
54 void create_launch_widget();
55 void create_running_widget();
59 ProgramDisplay(QWidget
*parent
= 0);
60 virtual ~ProgramDisplay();
64 } // namespace Aesalon