08a14570755ea84f83436a88441d99813f708008
1 /**
2 * \brief Find dialog
3 *
4 * Authors:
5 * Bryce W. Harrington <bryce@bryceharrington.org>
6 *
7 * Copyright (C) 2004, 2005 Authors
8 *
9 * Released under GNU GPL. Read the file 'COPYING' for more information.
10 */
12 #ifndef INKSCAPE_UI_DIALOG_FIND_H
13 #define INKSCAPE_UI_DIALOG_FIND_H
15 #include <gtkmm/notebook.h>
16 #include <glibmm/i18n.h>
18 #include "dialog.h"
19 #include "ui/widget/notebook-page.h"
20 #include "ui/widget/button.h"
21 #include "ui/widget/entry.h"
23 using namespace Inkscape::UI::Widget;
25 namespace Inkscape {
26 namespace UI {
27 namespace Dialog {
29 class Find : public Dialog {
30 public:
31 Find();
32 virtual ~Find();
34 static Find *create() { return new Find(); }
36 protected:
37 // Widgets:
38 Entry _entry_text;
39 Entry _entry_id;
40 Entry _entry_style;
41 Entry _entry_attribute;
43 CheckButton _check_search_selection;
44 CheckButton _check_search_layer;
45 CheckButton _check_include_hidden;
46 CheckButton _check_include_locked;
48 // Type checkbutton widgets...
49 CheckButton _check_all;
50 CheckButton _check_all_shapes;
51 CheckButton _check_rects;
52 CheckButton _check_ellipses;
53 CheckButton _check_stars;
54 CheckButton _check_spirals;
55 CheckButton _check_paths;
56 CheckButton _check_texts;
57 CheckButton _check_groups;
58 CheckButton _check_clones;
59 CheckButton _check_images;
60 CheckButton _check_offsets;
63 private:
64 Find(Find const &d);
65 Find& operator=(Find const &d);
67 Button _button_clear;
68 Button _button_find;
69 };
71 } // namespace Dialog
72 } // namespace UI
73 } // namespace Inkscape
75 #endif // INKSCAPE_UI_DIALOG_FIND_H
77 /*
78 Local Variables:
79 mode:c++
80 c-file-style:"stroustrup"
81 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
82 indent-tabs-mode:nil
83 fill-column:99
84 End:
85 */
86 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :