index 5a40cfd307403fd2b5e6548a9fa45e770d9720b8..dc96fc313761230f75efc9eba01d5eb9b2d4ed6b 100644 (file)
#ifndef INKSCAPE_UI_DIALOG_LIVE_PATH_EFFECT_H
#define INKSCAPE_UI_DIALOG_LIVE_PATH_EFFECT_H
#ifndef INKSCAPE_UI_DIALOG_LIVE_PATH_EFFECT_H
#define INKSCAPE_UI_DIALOG_LIVE_PATH_EFFECT_H
-#include "dialog.h"
+#include "ui/widget/panel.h"
#include "ui/widget/button.h"
#include <gtkmm/label.h>
#include <gtkmm/comboboxtext.h>
#include <gtkmm/frame.h>
#include "ui/widget/button.h"
#include <gtkmm/label.h>
#include <gtkmm/comboboxtext.h>
#include <gtkmm/frame.h>
+#include <gtkmm/tooltips.h>
#include "ui/widget/combo-enums.h"
#include "live_effects/effect.h"
#include "ui/widget/combo-enums.h"
#include "live_effects/effect.h"
namespace UI {
namespace Dialog {
namespace UI {
namespace Dialog {
-class LivePathEffectEditor : public Dialog {
+class LivePathEffectEditor : public UI::Widget::Panel {
public:
public:
- LivePathEffectEditor(Behavior::BehaviorFactory behavior_factory);
+ LivePathEffectEditor();
virtual ~LivePathEffectEditor();
virtual ~LivePathEffectEditor();
- static LivePathEffectEditor *create(Behavior::BehaviorFactory behavior_factory)
- { return new LivePathEffectEditor(behavior_factory); }
+ static LivePathEffectEditor &getInstance() { return *new LivePathEffectEditor(); }
void onSelectionChanged(Inkscape::Selection *sel);
void setDesktop(SPDesktop *desktop);
private:
sigc::connection selection_changed_connection;
void onSelectionChanged(Inkscape::Selection *sel);
void setDesktop(SPDesktop *desktop);
private:
sigc::connection selection_changed_connection;
- sigc::connection selection_modified_connection;
void set_sensitize_all(bool sensitive);
void set_sensitize_all(bool sensitive);
Gtk::Frame effectcontrol_frame;
Gtk::HBox effectapplication_hbox;
Gtk::VBox effectcontrol_vbox;
Gtk::Frame effectcontrol_frame;
Gtk::HBox effectapplication_hbox;
Gtk::VBox effectcontrol_vbox;
+ Gtk::Tooltips tooltips;
SPDesktop * current_desktop;
SPDesktop * current_desktop;