ATLAS Offline Software
Static Public Member Functions | Private Member Functions | List of all members
VP1Settings Class Reference

#include <VP1Settings.h>

Collaboration diagram for VP1Settings:

Static Public Member Functions

static QString defaultFileSelectDirectory ()
 

Private Member Functions

 VP1Settings ()
 
 ~VP1Settings ()
 

Detailed Description

Definition at line 23 of file VP1Settings.h.

Constructor & Destructor Documentation

◆ VP1Settings()

VP1Settings::VP1Settings ( )
private

◆ ~VP1Settings()

VP1Settings::~VP1Settings ( )
private

Member Function Documentation

◆ defaultFileSelectDirectory()

QString VP1Settings::defaultFileSelectDirectory ( )
static

Definition at line 22 of file VP1Settings.cxx.

23 {
24  static QString thedir;
25  if (thedir.isEmpty()) {
26  #if defined BUILDVP1LIGHT
27  thedir = VP1QtUtils::expertSettingValue("expert","ExpertSettings/VP1_FILESELECTDIR");
28  #else
29  thedir = VP1QtUtils::environmentVariableValue("VP1_FILESELECTDIR");
30  #endif
31  if (thedir.isEmpty()||!QFileInfo(thedir).isDir()||!QFileInfo(thedir).exists())
32  thedir = QDir::currentPath();
33  }
34  return thedir;
35 }

The documentation for this class was generated from the following files:
VP1QtUtils::expertSettingValue
static QString expertSettingValue(const QString &type, const QString &name)
Definition: VP1QtUtils.cxx:43
VP1QtUtils::environmentVariableValue
static QString environmentVariableValue(const QString &name)
Definition: VP1QtUtils.cxx:117
runegammaMonitoring.isDir
isDir
Definition: runegammaMonitoring.py:37
python.dummyaccess.exists
def exists(filename)
Definition: dummyaccess.py:9