summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/tolerance-slider.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/widget/tolerance-slider.h')
-rw-r--r--src/ui/widget/tolerance-slider.h23
1 files changed, 15 insertions, 8 deletions
diff --git a/src/ui/widget/tolerance-slider.h b/src/ui/widget/tolerance-slider.h
index 22c04d361..6865ec769 100644
--- a/src/ui/widget/tolerance-slider.h
+++ b/src/ui/widget/tolerance-slider.h
@@ -1,8 +1,3 @@
-/** \file
- * \brief
- *
- * This widget is part of the Document properties dialog.
- */
/*
* Authors:
* Ralf Stephan <ralf@ark.in-berlin.de>
@@ -27,11 +22,13 @@ namespace Widget {
class Registry;
+/**
+ * Implementation of tolerance slider widget.
+ * This widget is part of the Document properties dialog.
+ */
class ToleranceSlider {
public:
- ToleranceSlider();
- ~ToleranceSlider();
- void init (const Glib::ustring& label1,
+ ToleranceSlider(const Glib::ustring& label1,
const Glib::ustring& label2,
const Glib::ustring& label3,
const Glib::ustring& tip1,
@@ -39,9 +36,19 @@ public:
const Glib::ustring& tip3,
const Glib::ustring& key,
Registry& wr);
+ ~ToleranceSlider();
void setValue (double);
void setLimits (double, double);
Gtk::VBox* _vbox;
+private:
+ void init (const Glib::ustring& label1,
+ const Glib::ustring& label2,
+ const Glib::ustring& label3,
+ const Glib::ustring& tip1,
+ const Glib::ustring& tip2,
+ const Glib::ustring& tip3,
+ const Glib::ustring& key,
+ Registry& wr);
protected:
void on_scale_changed();