ATLAS Offline Software
VP1CollectionSettingsButtonBase.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /*
6  * CollectionSettingsButtonBase.h
7  *
8  * Created on: Sep 2, 2014
9  * Author: Riccardo-Maria BIANCHI - rbianchi@cern.ch
10  */
11 
12 #ifndef VP1COLLECTIONSETTINGSBUTTONBASE_H_
13 #define VP1COLLECTIONSETTINGSBUTTONBASE_H_
14 
16 
18 
19  Q_OBJECT
20 
21 public:
22 
23  VP1CollectionSettingsButtonBase(QWidget * parent = 0, int dim = 25);//dim<=0 => Won't change sizepolicy
25 
26  void setDimension(int dim);
27 
28  SoMaterial * getMaterial(VP1MaterialButton*) const;
29  SoMaterial * fallBackMaterial() const;
30 
31 // SoMaterial * fallBackMaterial;
32 
33  QByteArray saveState() const;
34  void restoreFromState( const QByteArray& );
35 
36 private:
37 
38  class Imp;
39  Imp * m_d;
40 
41 };
42 
43 #endif /* VP1COLLECTIONSETTINGSBUTTONBASE_H_ */
yodamerge_tmp.dim
dim
Definition: yodamerge_tmp.py:239
VP1MaterialButton.h
VP1MaterialButton
Definition: VP1MaterialButton.h:46
VP1CollectionSettingsButtonBase::restoreFromState
void restoreFromState(const QByteArray &)
Definition: VP1CollectionSettingsButtonBase.cxx:84
VP1CollectionSettingsButtonBase::Imp
Definition: VP1CollectionSettingsButtonBase.cxx:19
VP1CollectionSettingsButtonBase::~VP1CollectionSettingsButtonBase
virtual ~VP1CollectionSettingsButtonBase()
Definition: VP1CollectionSettingsButtonBase.cxx:44
VP1CollectionSettingsButtonBase::m_d
Imp * m_d
Definition: VP1CollectionSettingsButtonBase.h:38
VP1CollectionSettingsButtonBase::getMaterial
SoMaterial * getMaterial(VP1MaterialButton *) const
Definition: VP1CollectionSettingsButtonBase.cxx:62
VP1CollectionSettingsButtonBase
Definition: VP1CollectionSettingsButtonBase.h:17
test_pyathena.parent
parent
Definition: test_pyathena.py:15
VP1CollectionSettingsButtonBase::VP1CollectionSettingsButtonBase
VP1CollectionSettingsButtonBase(QWidget *parent=0, int dim=25)
Definition: VP1CollectionSettingsButtonBase.cxx:34
VP1CollectionSettingsButtonBase::fallBackMaterial
SoMaterial * fallBackMaterial() const
Definition: VP1CollectionSettingsButtonBase.cxx:52
VP1MaterialButtonBase
Definition: VP1MaterialButton.h:25
VP1CollectionSettingsButtonBase::saveState
QByteArray saveState() const
fill out with the state of the object (used for drag and drop etc)
Definition: VP1CollectionSettingsButtonBase.cxx:78
VP1CollectionSettingsButtonBase::setDimension
void setDimension(int dim)