qmca  0.0.20
Public Member Functions | Private Attributes | List of all members
TestControlPanel Class Reference

#include <testcontrolpanel.h>

Inheritance diagram for TestControlPanel:
Inheritance graph

Public Member Functions

 TestControlPanel (QWidget *parent)
 
virtual ~TestControlPanel ()
 

Private Attributes

QGridLayout * m_GridLayout
 

Detailed Description

Definition at line 8 of file testcontrolpanel.h.

Constructor & Destructor Documentation

TestControlPanel::TestControlPanel ( QWidget *  parent)

Definition at line 9 of file testcontrolpanel.cpp.

References m_GridLayout.

10  : QFrame(parent),
11  m_GridLayout(NULL)
12 {
13  m_GridLayout = new QGridLayout(this);
14 
15  m_GridLayout -> addWidget(new QLabel(tr("EMW Control")), 0,0,1,3);
16  m_GridLayout -> addWidget(new EpicsStringDisplay(new EpicsString("ID11:Location", this)), 1,0,1,3);
17  m_GridLayout -> addWidget(new EpicsStringDisplay(new EpicsString("ID11:Device", this)), 2,0,1,3);
18  m_GridLayout -> addWidget(new QLabel(tr("Software Version:")), 3,0,1,2);
19  m_GridLayout -> addWidget(new EpicsStringDisplay(new EpicsString("ID11:Version", this)), 3,2,1,1);
20  m_GridLayout -> addWidget(new QLabel(tr("Current:")), 4,0,1,1);
21  m_GridLayout -> addWidget(new EpicsStringDisplay(new EpicsString("ID11:Gap.VAL", this)), 4,1,1,1);
22  m_GridLayout -> addWidget(new EpicsStringDisplay(new EpicsString("ID11:Energy.VAL", this)),4,2,1,1);
23  m_GridLayout -> addWidget(new QLabel(tr("Desired:")), 5,0,1,1);
24  m_GridLayout -> addWidget(new EpicsStringDisplay(new EpicsString("ID11:GapSet.VAL", this)), 5,1,1,1);
25  m_GridLayout -> addWidget(new EpicsStringDisplay(new EpicsString("ID11:EnergySet.VAL", this)),5,2,1,1);
26  m_GridLayout -> addWidget(new QLabel(tr("")), 6,0,1,1);
27  m_GridLayout -> addWidget(new QLabel(tr("Gap (mm)")), 6,1,1,1);
28  m_GridLayout -> addWidget(new QLabel(tr("Energy (keV)")), 6,2,1,1);
29 
30  m_GridLayout -> addWidget(new QPushButton("Start"), 7,0,1,1);
31  m_GridLayout -> addWidget(new QPushButton("Stop"), 7,2,1,1);
32 
33  m_GridLayout -> addWidget(new QLabel(tr("Access Mode:")), 8,0,1,2);
34  m_GridLayout -> addWidget(new EpicsStringDisplay(new EpicsString("ID11:AccessSecurity.VAL", this)),8,2,1,1);
35  m_GridLayout -> addWidget(new QLabel(tr("Bl. Comm. Limit (mm):")), 9,0,1,2);
36  m_GridLayout -> addWidget(new EpicsStringDisplay(new EpicsString("ID11:DeviceLimit.VAL", this)),9,2,1,1);
37 
38  m_GridLayout -> addWidget(new QLabel(tr("Status Messages:")), 10,0,1,1);
39  m_GridLayout -> addWidget(new EpicsStringDisplay(new EpicsString("ID11:Message1.VAL", this)), 11,0,1,3);
40  m_GridLayout -> addWidget(new EpicsStringDisplay(new EpicsString("ID11:Message2.VAL", this)), 12,0,1,3);
41 }
QGridLayout * m_GridLayout
TestControlPanel::~TestControlPanel ( )
virtual

Definition at line 43 of file testcontrolpanel.cpp.

44 {
45 }

Member Data Documentation

QGridLayout* TestControlPanel::m_GridLayout
private

Definition at line 17 of file testcontrolpanel.h.

Referenced by TestControlPanel().


The documentation for this class was generated from the following files: