preferences-widget.h revision e2fe1f55dfc360f8e8dbdc03d906df3e1e7126ca
/**
* \brief Inkscape Preferences dialog
*
* Authors:
* Marco Scholten
* Bruno Dilly <bruno.dilly@gmail.com>
*
* Copyright (C) 2004, 2006, 2007 Authors
*
* Released under GNU GPL. Read the file 'COPYING' for more information.
*/
#include <iostream>
#include <vector>
#include <gtkmm/comboboxtext.h>
#include <gtkmm/spinbutton.h>
#include <gtkmm/tooltips.h>
#include <gtkmm/treeview.h>
#include <gtkmm/radiobutton.h>
#include <gtkmm/drawingarea.h>
#include <gtkmm/filechooserbutton.h>
#include <stddef.h>
#include "ui/widget/color-picker.h"
#include "ui/widget/unit-menu.h"
#include "ui/widget/spinbutton.h"
{
bool default_value);
void on_toggled();
};
{
int _value_type;
enum
{
};
int _int_value;
void on_toggled();
};
{
bool _is_int;
bool _is_percent;
void on_value_changed();
};
void set_size(int x, int y);
void redraw();
static const double textsize;
static const double textpadding;
double _unitconv;
int _min_width;
int _height;
int _border;
int _drawing_width;
};
{
void on_slider_value_changed();
void on_spinbutton_value_changed();
void on_unit_changed();
bool freeze; // used to block recursive updates of slider and spinbutton
};
{
double lower, double upper, double step_increment, double page_increment, double default_value, int digits);
void on_slider_value_changed();
void on_spinbutton_value_changed();
bool freeze; // used to block recursive updates of slider and spinbutton
};
{
std::vector<Glib::ustring> _ustr_values; ///< string key values used optionally instead of numeric _values
void on_changed();
};
{
void on_changed();
};
{
void onRelatedEntryChangedCallback();
void onRelatedButtonClickedCallback();
};
{
bool mask);
void onRelatedEntryChangedCallback();
void onRelatedButtonClickedCallback();
};
{
void onFileChanged();
};
{
virtual ~PrefColorPicker() {};
};
{
void on_changed();
};
{
DialogPage();
void add_line(bool indent, Glib::ustring const &label, Gtk::Widget& widget, Glib::ustring const &suffix, Glib::ustring const &tip, bool expand = true);
};
} // namespace Widget
} // namespace UI
} // namespace Inkscape
#endif //INKSCAPE_UI_WIDGET_INKSCAPE_PREFERENCES_H
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=c++:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :