CEDRIC  Revision_backup-2009-02
AlphaEditor.h
Go to the documentation of this file.
1 /******************************************************************************
2  *
3  * Copyright (C) 2008 Boris Iven, Max Hermann
4  *
5  * This file is part of the "CEDRIC Event Display" application.
6  *
7  *****************************************************************************/
8 
9 #ifndef ALPHAEDITOR_H_
10 #define ALPHAEDITOR_H_
11 
12 #include <QSpinBox>
13 
14 class QWidget;
15 
16 class AlphaEditor : public QSpinBox
17 {
18  Q_OBJECT
19  Q_PROPERTY(int alpha READ alpha WRITE setAlpha USER true)
20 
21 public:
22  AlphaEditor(QWidget* parent = 0);
23 
24  int alpha() const;
25  void setAlpha(int alpha);
26 };
27 
28 #endif /*ALPHAEDITOR_H_*/
void setAlpha(int alpha)
Definition: AlphaEditor.cpp:29
Definition: AlphaEditor.h:16
int alpha() const
AlphaEditor(QWidget *parent=0)
Definition: AlphaEditor.cpp:17