• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdegraphics API Reference
  • KDE Home
  • Contact Us
 

libs/libkdcraw/libkdcraw

  • sources
  • kde-4.14
  • kdegraphics
  • libs
  • libkdcraw
  • libkdcraw
rnuminput.h
Go to the documentation of this file.
1 
28 #ifndef RNUMINPUT_H
29 #define RNUMINPUT_H
30 
31 // KDE includes
32 
33 #include <khbox.h>
34 #include <knuminput.h>
35 
36 // Local includes
37 
38 #include "libkdcraw_export.h"
39 
40 namespace KDcrawIface
41 {
42 
43 class LIBKDCRAW_EXPORT RIntNumInput : public KHBox
44 {
45  Q_OBJECT
46 
47 public:
48 
49  RIntNumInput(QWidget* const parent=0);
50  ~RIntNumInput();
51 
52  int value() const;
53 
54  void setSliderEnabled(bool b);
55  void setRange(int min, int max, int step);
56 
57  void setDefaultValue(int d);
58  int defaultValue() const;
59 
60  KIntNumInput* input() const;
61 
62 Q_SIGNALS:
63 
64  void reset();
65  void valueChanged(int);
66 
67 public Q_SLOTS:
68 
69  void setValue(int d);
70  void slotReset();
71 
72 private Q_SLOTS:
73 
74  void slotValueChanged(int);
75 
76 private:
77 
78  class Private;
79  Private* const d;
80 };
81 
82 // ---------------------------------------------------------
83 
84 class LIBKDCRAW_EXPORT RDoubleNumInput : public KHBox
85 {
86  Q_OBJECT
87 
88 public:
89 
90  RDoubleNumInput(QWidget* const parent=0);
91  ~RDoubleNumInput();
92 
93  double value() const;
94 
95  void setDecimals(int p);
96  void setRange(double min, double max, double step, bool slider=true);
97 
98  void setDefaultValue(double d);
99  double defaultValue() const;
100 
101  KDoubleNumInput* input() const;
102 
103 Q_SIGNALS:
104 
105  void reset();
106  void valueChanged(double);
107 
108 public Q_SLOTS:
109 
110  void setValue(double d);
111  void slotReset();
112 
113 private Q_SLOTS:
114 
115  void slotValueChanged(double);
116 
117 private:
118 
119  class Private;
120  Private* const d;
121 };
122 
123 } // namespace KDcrawIface
124 
125 #endif /* RNUMINPUT_H */
QWidget
KDcrawIface::RIntNumInput
Definition: rnuminput.h:43
LIBKDCRAW_EXPORT
#define LIBKDCRAW_EXPORT
Definition: libkdcraw_export.h:39
KDcrawIface::RDoubleNumInput
Definition: rnuminput.h:84
libkdcraw_export.h
===========================================================This file is part of the KDE project ...
KHBox
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:19:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

libs/libkdcraw/libkdcraw

Skip menu "libs/libkdcraw/libkdcraw"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdegraphics API Reference

Skip menu "kdegraphics API Reference"
  •     libkdcraw
  •     libkexiv2
  •     libkipi
  •     libksane
  • okular

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal