4
* This widget is part of the Document properties dialog.
8
* Ralf Stephan <ralf@ark.in-berlin.de>
10
* Copyright (C) 2006 Authors
12
* Released under GNU GPL. Read the file 'COPYING' for more information.
15
#ifndef INKSCAPE_UI_WIDGET_TOLERANCE_SLIDER__H_
16
#define INKSCAPE_UI_WIDGET_TOLERANCE_SLIDER__H_
18
#include <gtkmm/box.h>
19
#include <gtkmm/tooltips.h>
20
#include <gtkmm/checkbutton.h>
21
#include <gtkmm/radiobutton.h>
22
#include <gtkmm/scale.h>
30
class ToleranceSlider {
34
void init (const Glib::ustring& label1,
35
const Glib::ustring& label2,
36
const Glib::ustring& label3,
37
const Glib::ustring& tip1,
38
const Glib::ustring& tip2,
39
const Glib::ustring& tip3,
40
const Glib::ustring& key,
42
void setValue (double);
43
void setLimits (double, double);
47
void on_scale_changed();
49
void update (double val);
52
Gtk::RadioButtonGroup _radio_button_group;
53
Gtk::RadioButton *_button1;
54
Gtk::RadioButton *_button2;
58
sigc::connection _scale_changed_connection;
59
sigc::connection _btn_toggled_connection;
66
} // namespace Inkscape
68
#endif // INKSCAPE_UI_WIDGET_TOLERANCE_SLIDER__H_
73
c-file-style:"stroustrup"
74
c-file-offsets:((innamespace . 0)(inline-open . 0))
79
// vim: filetype=c++:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :