ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
VP1PluginDialog::Imp Class Reference
Collaboration diagram for VP1PluginDialog::Imp:

Public Member Functions

void setInfo ()
 

Public Attributes

VP1PluginDialogpd
 
VP1ChannelManagerchannelmanager
 
VP1ExecutionSchedulerscheduler
 
QLabel * label_selectplugin
 
QComboBox * comboBox_plugins
 
QLabel * label_fullpathtitle
 
QLabel * label_fullpath
 
QLabel * label_channels
 
QPushButton * pushButton_unload
 
QTextBrowser * textBrowser_channels
 
QMap< int, QString > index_2_fullpath
 
QString unloadfile
 

Detailed Description

Definition at line 24 of file VP1PluginDialog.cxx.

Member Function Documentation

◆ setInfo()

void VP1PluginDialog::Imp::setInfo ( )

Definition at line 90 of file VP1PluginDialog.cxx.

91 {
92  QStringList files = channelmanager->currentPluginFiles();
93  comboBox_plugins->clear();
94  index_2_fullpath.clear();
95  if (files.empty()) {
96  label_selectplugin->setEnabled(false);
97  comboBox_plugins->setEnabled(false);
98  label_fullpathtitle->setEnabled(false);
99  label_fullpath->setEnabled(false);
100  label_channels->setEnabled(false);
101  pushButton_unload->setEnabled(false);
102  label_fullpath->setText("n/a");
103  comboBox_plugins->addItem("No plugins loaded");
104  textBrowser_channels->setHtml("");
105  textBrowser_channels->setEnabled(false);
106  } else {
107  label_selectplugin->setEnabled(true);
108  comboBox_plugins->setEnabled(true);
109  label_fullpathtitle->setEnabled(true);
110  label_fullpath->setEnabled(true);
111  label_channels->setEnabled(true);
112  pushButton_unload->setEnabled(true);
113  textBrowser_channels->setEnabled(true);
114 
115  int i(0);
116  for(QString file : files) {
117  QFileInfo fi(file);
118  comboBox_plugins->addItem(fi.fileName());
119  index_2_fullpath.insert(i++,file);
120  }
121  comboBox_plugins->setCurrentIndex(0);
122  pd->pluginSelected(0);
123  }
124 }

Member Data Documentation

◆ channelmanager

VP1ChannelManager* VP1PluginDialog::Imp::channelmanager

Definition at line 27 of file VP1PluginDialog.cxx.

◆ comboBox_plugins

QComboBox* VP1PluginDialog::Imp::comboBox_plugins

Definition at line 31 of file VP1PluginDialog.cxx.

◆ index_2_fullpath

QMap<int,QString> VP1PluginDialog::Imp::index_2_fullpath

Definition at line 37 of file VP1PluginDialog.cxx.

◆ label_channels

QLabel* VP1PluginDialog::Imp::label_channels

Definition at line 34 of file VP1PluginDialog.cxx.

◆ label_fullpath

QLabel* VP1PluginDialog::Imp::label_fullpath

Definition at line 33 of file VP1PluginDialog.cxx.

◆ label_fullpathtitle

QLabel* VP1PluginDialog::Imp::label_fullpathtitle

Definition at line 32 of file VP1PluginDialog.cxx.

◆ label_selectplugin

QLabel* VP1PluginDialog::Imp::label_selectplugin

Definition at line 30 of file VP1PluginDialog.cxx.

◆ pd

VP1PluginDialog* VP1PluginDialog::Imp::pd

Definition at line 26 of file VP1PluginDialog.cxx.

◆ pushButton_unload

QPushButton* VP1PluginDialog::Imp::pushButton_unload

Definition at line 35 of file VP1PluginDialog.cxx.

◆ scheduler

VP1ExecutionScheduler* VP1PluginDialog::Imp::scheduler

Definition at line 28 of file VP1PluginDialog.cxx.

◆ textBrowser_channels

QTextBrowser* VP1PluginDialog::Imp::textBrowser_channels

Definition at line 36 of file VP1PluginDialog.cxx.

◆ unloadfile

QString VP1PluginDialog::Imp::unloadfile

Definition at line 38 of file VP1PluginDialog.cxx.


The documentation for this class was generated from the following file:
VP1PluginDialog::Imp::channelmanager
VP1ChannelManager * channelmanager
Definition: VP1PluginDialog.cxx:27
VP1PluginDialog::Imp::pushButton_unload
QPushButton * pushButton_unload
Definition: VP1PluginDialog.cxx:35
VP1PluginDialog::Imp::index_2_fullpath
QMap< int, QString > index_2_fullpath
Definition: VP1PluginDialog.cxx:37
VP1PluginDialog::Imp::textBrowser_channels
QTextBrowser * textBrowser_channels
Definition: VP1PluginDialog.cxx:36
VP1ChannelManager::currentPluginFiles
QStringList currentPluginFiles() const
Definition: VP1ChannelManager.cxx:535
lumiFormat.i
int i
Definition: lumiFormat.py:85
VP1PluginDialog::Imp::label_fullpath
QLabel * label_fullpath
Definition: VP1PluginDialog.cxx:33
generateReferenceFile.files
files
Definition: generateReferenceFile.py:12
file
TFile * file
Definition: tile_monitor.h:29
VP1PluginDialog::Imp::label_channels
QLabel * label_channels
Definition: VP1PluginDialog.cxx:34
VP1PluginDialog::Imp::label_selectplugin
QLabel * label_selectplugin
Definition: VP1PluginDialog.cxx:30
VP1PluginDialog::Imp::label_fullpathtitle
QLabel * label_fullpathtitle
Definition: VP1PluginDialog.cxx:32
VP1PluginDialog::Imp::pd
VP1PluginDialog * pd
Definition: VP1PluginDialog.cxx:26
checkFileSG.fi
fi
Definition: checkFileSG.py:65
VP1PluginDialog::Imp::comboBox_plugins
QComboBox * comboBox_plugins
Definition: VP1PluginDialog.cxx:31
VP1PluginDialog::pluginSelected
void pluginSelected(int i)
Definition: VP1PluginDialog.cxx:127