libyui
YSlider.h
1 /*
2  Copyright (C) 2000-2012 Novell, Inc
3  This library is free software; you can redistribute it and/or modify
4  it under the terms of the GNU Lesser General Public License as
5  published by the Free Software Foundation; either version 2.1 of the
6  License, or (at your option) version 3.0 of the License. This library
7  is distributed in the hope that it will be useful, but WITHOUT ANY
8  WARRANTY; without even the implied warranty of MERCHANTABILITY or
9  FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
10  License for more details. You should have received a copy of the GNU
11  Lesser General Public License along with this library; if not, write
12  to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
13  Floor, Boston, MA 02110-1301 USA
14 */
15 
16 
17 /*-/
18 
19  File: YSlider.h
20 
21  Author: Stefan Hundhammer <shundhammer@suse.de>
22 
23 /-*/
24 
25 #ifndef YSlider_h
26 #define YSlider_h
27 
28 #include "YIntField.h"
29 
30 class YSliderPrivate;
31 
32 
44 class YSlider : public YIntField
45 {
46 protected:
58  const std::string & label,
59  int minValue,
60  int maxValue );
61 
62 public:
66  virtual ~YSlider();
67 
72  virtual const char * widgetClass() const { return "YSlider"; }
73 
74 private:
75 
77 };
78 
79 
80 #endif // YSlider_h
virtual const char * widgetClass() const
Definition: YSlider.h:72
int maxValue() const
Definition: YIntField.cc:106
YWidget * parent() const
Definition: YWidget.cc:271
int minValue() const
Definition: YIntField.cc:86
std::string label() const
Definition: YIntField.cc:126
Definition: YIntField.h:38
Definition: YSlider.h:44
virtual ~YSlider()
Definition: YSlider.cc:59
Definition: YWidget.h:54
YSlider(YWidget *parent, const std::string &label, int minValue, int maxValue)
Definition: YSlider.cc:45
Definition: YSlider.cc:34