summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/tree-editor.h
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2006-01-16 02:36:01 +0000
committermental <mental@users.sourceforge.net>2006-01-16 02:36:01 +0000
commit179fa413b047bede6e32109e2ce82437c5fb8d34 (patch)
treea5a6ac2c1708bd02288fbd8edb2ff500ff2e0916 /src/ui/dialog/tree-editor.h
downloadinkscape-179fa413b047bede6e32109e2ce82437c5fb8d34.tar.gz
inkscape-179fa413b047bede6e32109e2ce82437c5fb8d34.zip
moving trunk for module inkscape
(bzr r1)
Diffstat (limited to 'src/ui/dialog/tree-editor.h')
-rw-r--r--src/ui/dialog/tree-editor.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/src/ui/dialog/tree-editor.h b/src/ui/dialog/tree-editor.h
new file mode 100644
index 000000000..9355e04d7
--- /dev/null
+++ b/src/ui/dialog/tree-editor.h
@@ -0,0 +1,61 @@
+/*
+ * \brief Tree Editor - Abstract base class for dialogs that allow
+ * editing properties of tree-organized data.
+ *
+ * Authors:
+ * Bryce W. Harrington <bryce@bryceharrington.org>
+ *
+ * Copyright (C) 2004, 2005 Authors
+ *
+ * Released under GNU GPL. Read the file 'COPYING' for more information.
+ */
+
+#ifndef INKSCAPE_DIALOG_TREE_EDITOR_H
+#define INKSCAPE_DIALOG_TREE_EDITOR_H
+
+#include <gtkmm/box.h>
+#include <gtkmm/scrolledwindow.h>
+#include <gtkmm/treeview.h>
+#include <glibmm/i18n.h>
+
+#include "dialog.h"
+
+namespace Inkscape {
+namespace UI {
+namespace Dialog {
+
+class TreeEditor : public Dialog {
+public:
+ TreeEditor();
+ virtual ~TreeEditor();
+
+protected:
+
+ Gtk::HBox _hbox;
+ Gtk::ScrolledWindow _leftWin;
+ Gtk::TreeView _leftTree;
+
+ // TODO: Add the tree model
+ // Glib::RefPtr<ExampleTreeModel> _refTreeModel;
+
+private:
+ TreeEditor(TreeEditor const &d);
+ TreeEditor& operator=(TreeEditor const &d);
+};
+
+} // namespace Dialog
+} // namespace UI
+} // namespace Inkscape
+
+#endif // INKSCAPE_UI_DIALOG_TREE_EDITOR_H
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :