ATLAS Offline Software
Loading...
Searching...
No Matches
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
21public:
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
36private:
37
38 class Imp;
40
41};
42
43#endif /* VP1COLLECTIONSETTINGSBUTTONBASE_H_ */
QByteArray saveState() const
fill out with the state of the object (used for drag and drop etc)
VP1CollectionSettingsButtonBase(QWidget *parent=0, int dim=25)
SoMaterial * getMaterial(VP1MaterialButton *) const
VP1MaterialButtonBase(QWidget *parent, IVP1System *sys=0, const QString &helpername="")