Public Slots | Public Member Functions | Private Attributes | List of all members
dbutils::gui::NamedConfigGroupBox Class Reference

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-12-01/DatabaseUtils/cxx/include/GUI/NamedConfigGroupBox.h"

Inheritance diagram for dbutils::gui::NamedConfigGroupBox:

Public Slots

void setConfigurationName (const std::string &name)
 
void setDCMOperatingMode (const std::string &dcmOpMode)
 
void setDetectorName (const std::string &detectorName)
 
void setTimestamp (const std::string &timestamp)
 

Public Member Functions

 NamedConfigGroupBox (QWidget *parent=0)
 

Private Attributes

NameValueLabelPair_configNameWidget
 
NameValueLabelPair_dcmOpModeWidget
 
NameValueLabelPair_detectorNameWidget
 
NameValueLabelPair_timestampWidget
 

Detailed Description

Class for providing a groupbox that displays the current named configuration parameters.

Author
Kurt Biery
Version
Revision
1.1.28.1
Date
2019/09/27 00:07:04

Definition at line 18 of file NamedConfigGroupBox.h.

Constructor & Destructor Documentation

dbutils::gui::NamedConfigGroupBox::NamedConfigGroupBox ( QWidget *  parent = 0)

Definition at line 9 of file NamedConfigGroupBox.cpp.

References _configNameWidget, _dcmOpModeWidget, _detectorNameWidget, _timestampWidget, and dbutils::gui::NameValueLabelPair::setValue().

9  :
10  QGroupBox(tr("Current Named Configuration"), parent)
11 {
12  QGridLayout* gridLayout = new QGridLayout;
13 
14  _configNameWidget = new NameValueLabelPair("Name");
15  _configNameWidget->setValue("unknown");
16  gridLayout->addWidget(_configNameWidget, 0, 0);
17 
18  _dcmOpModeWidget = new NameValueLabelPair("DCM Operating Mode");
19  _dcmOpModeWidget->setValue("unknown");
20  gridLayout->addWidget(_dcmOpModeWidget, 0, 1);
21 
22  _detectorNameWidget = new NameValueLabelPair("Detector");
23  _detectorNameWidget->setValue("unknown");
24  gridLayout->addWidget(_detectorNameWidget, 1, 0);
25 
26  _timestampWidget = new NameValueLabelPair("Time");
27  _timestampWidget->setValue("unknown");
28  gridLayout->addWidget(_timestampWidget, 1, 1);
29 
30  this->setLayout(gridLayout);
31 }
NameValueLabelPair * _detectorNameWidget
void setValue(const std::string &value)

Member Function Documentation

void dbutils::gui::NamedConfigGroupBox::setConfigurationName ( const std::string name)
slot

Definition at line 33 of file NamedConfigGroupBox.cpp.

References _configNameWidget, and dbutils::gui::NameValueLabelPair::setValue().

Referenced by dbutils::gui::SettingsDisplay::updateNamedConfiguration().

34 {
36 }
const XML_Char * name
Definition: expat.h:151
void setValue(const std::string &value)
void dbutils::gui::NamedConfigGroupBox::setDCMOperatingMode ( const std::string dcmOpMode)
slot
void dbutils::gui::NamedConfigGroupBox::setDetectorName ( const std::string detectorName)
slot
void dbutils::gui::NamedConfigGroupBox::setTimestamp ( const std::string timestamp)
slot

Member Data Documentation

NameValueLabelPair* dbutils::gui::NamedConfigGroupBox::_configNameWidget
private

Definition at line 35 of file NamedConfigGroupBox.h.

Referenced by NamedConfigGroupBox(), and setConfigurationName().

NameValueLabelPair* dbutils::gui::NamedConfigGroupBox::_dcmOpModeWidget
private

Definition at line 36 of file NamedConfigGroupBox.h.

Referenced by NamedConfigGroupBox(), and setDCMOperatingMode().

NameValueLabelPair* dbutils::gui::NamedConfigGroupBox::_detectorNameWidget
private

Definition at line 37 of file NamedConfigGroupBox.h.

Referenced by NamedConfigGroupBox(), and setDetectorName().

NameValueLabelPair* dbutils::gui::NamedConfigGroupBox::_timestampWidget
private

Definition at line 38 of file NamedConfigGroupBox.h.

Referenced by NamedConfigGroupBox(), and setTimestamp().


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