Code

From trunk
[inkscape.git] / src / ui / dialog / find.h
index 2d79b37adae510e0f7835f7fca456509dff33999..891df221f9691930b9b82a032fab7e066c286ccb 100644 (file)
@@ -1,7 +1,7 @@
-/**
- * \brief Find dialog
- *
- * Authors:
+/** @file
+ * @brief Find dialog
+ */
+/* Authors:
  *   Bryce W. Harrington <bryce@bryceharrington.org>
  *
  * Copyright (C) 2004, 2005 Authors
 #include "ui/widget/button.h"
 #include "ui/widget/entry.h" 
 #include <gtkmm/separator.h>
+#include <glib.h>
 
-#include "message-stack.h"
-#include "helper/window.h"
-#include "macros.h"
-#include "inkscape.h"
-#include "document.h"
-#include "desktop.h"
-#include "selection.h"
-#include "desktop-handles.h" 
-
-#include "dialogs/dialog-events.h"
-#include "prefs-utils.h"
-#include "verbs.h"
-#include "interface.h"
-#include "sp-text.h"
-#include "sp-flowtext.h"
-#include "text-editing.h"
-#include "sp-tspan.h"
-#include "selection-chemistry.h"
-#include "sp-defs.h"
-#include "sp-rect.h"
-#include "sp-ellipse.h"
-#include "sp-star.h"
-#include "sp-spiral.h"
-#include "sp-path.h"
-#include "sp-line.h"
-#include "sp-polyline.h"
-#include "sp-item-group.h"
-#include "sp-use.h"
-#include "sp-image.h"
-#include "sp-offset.h"
-#include <xml/repr.h>
-
-using namespace Inkscape::UI::Widget;
+class SPItem;
+class SPObject;
 
 namespace Inkscape {
+class Selection;
+
 namespace UI {
 namespace Dialog {
 
@@ -66,29 +38,29 @@ public:
 
 protected:
     // Widgets:
-    Entry    _entry_text;
-    Entry    _entry_id;
-    Entry    _entry_style;
-    Entry    _entry_attribute;
-
-    CheckButton    _check_search_selection;
-    CheckButton    _check_search_layer;
-    CheckButton    _check_include_hidden;
-    CheckButton    _check_include_locked;
+    Inkscape::UI::Widget::Entry    _entry_text;
+    Inkscape::UI::Widget::Entry    _entry_id;
+    Inkscape::UI::Widget::Entry    _entry_style;
+    Inkscape::UI::Widget::Entry    _entry_attribute;
+
+    Inkscape::UI::Widget::CheckButton    _check_search_selection;
+    Inkscape::UI::Widget::CheckButton    _check_search_layer;
+    Inkscape::UI::Widget::CheckButton    _check_include_hidden;
+    Inkscape::UI::Widget::CheckButton    _check_include_locked;
     
     // Type checkbutton widgets... 
-    CheckButton    _check_all;
-    CheckButton    _check_all_shapes;
-    CheckButton    _check_rects;
-    CheckButton    _check_ellipses;
-    CheckButton    _check_stars;
-    CheckButton    _check_spirals;
-    CheckButton    _check_paths;
-    CheckButton    _check_texts;
-    CheckButton    _check_groups;
-    CheckButton    _check_clones;
-    CheckButton    _check_images;
-    CheckButton    _check_offsets;  
+    Inkscape::UI::Widget::CheckButton    _check_all;
+    Inkscape::UI::Widget::CheckButton    _check_all_shapes;
+    Inkscape::UI::Widget::CheckButton    _check_rects;
+    Inkscape::UI::Widget::CheckButton    _check_ellipses;
+    Inkscape::UI::Widget::CheckButton    _check_stars;
+    Inkscape::UI::Widget::CheckButton    _check_spirals;
+    Inkscape::UI::Widget::CheckButton    _check_paths;
+    Inkscape::UI::Widget::CheckButton    _check_texts;
+    Inkscape::UI::Widget::CheckButton    _check_groups;
+    Inkscape::UI::Widget::CheckButton    _check_clones;
+    Inkscape::UI::Widget::CheckButton    _check_images;
+    Inkscape::UI::Widget::CheckButton    _check_offsets;  
     
     // Button-click handlers
     void    onClear();
@@ -115,8 +87,8 @@ private:
     Find(Find const &d);
     Find& operator=(Find const &d);
     
-    Button    _button_clear;
-    Button    _button_find;
+    Inkscape::UI::Widget::Button    _button_clear;
+    Inkscape::UI::Widget::Button    _button_find;
 };
 
 } // namespace Dialog