blob: 4d982d3e35676d6e6b0591f1e7af20eff42cf4b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
/*
* \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.
*/
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include "tree-editor.h"
#include "verbs.h"
namespace Inkscape {
namespace UI {
namespace Dialog {
TreeEditor::TreeEditor()
: Dialog ("dialogs.treeeditor", SP_VERB_NONE /*FIXME*/)
{
get_vbox()->pack_start(_hbox);
_hbox.add(_leftWin);
_leftWin.add(_leftTree);
// Only show the scrollbars when they are necessary
_leftWin.set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC);
// TODO: Create the tree model
show_all_children();
}
} // namespace Dialog
} // namespace UI
} // namespace Inkscape
/*
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 :
|