index 0e352ce10be751a51f136af3c53265c3cf2fb537..b52162aba7464d0dc34e338bf27cd51409a3e756 100644 (file)
-#ifndef __TRACEDIALOG_H__
-#define __TRACEDIALOG_H__
-/*
- * A simple dialog for setting the parameters for autotracing a
- * bitmap <image> into an svg <path>
- *
- * Authors:
+/** @file
+ * @brief Bitmap tracing settings dialog
+ */
+/* Authors:
* Bob Jamison
* Other dudes from The Inkscape Organization
*
* Copyright (C) 2004, 2005 Authors
* Bob Jamison
* Other dudes from The Inkscape Organization
*
* Copyright (C) 2004, 2005 Authors
- *
* Released under GNU GPL, read the file 'COPYING' for more information
*/
* Released under GNU GPL, read the file 'COPYING' for more information
*/
+#ifndef __TRACEDIALOG_H__
+#define __TRACEDIALOG_H__
#include "verbs.h"
#include "verbs.h"
-#include "dialog.h"
+#include "ui/widget/panel.h"
namespace Inkscape {
namespace UI {
namespace Inkscape {
namespace UI {
/**
* A dialog that displays log messages
*/
/**
* A dialog that displays log messages
*/
-class TraceDialog : public Dialog
+class TraceDialog : public UI::Widget::Panel
{
public:
{
public:
-
/**
* Constructor
*/
/**
* Constructor
*/
- TraceDialog(Behavior::BehaviorFactory behavior_factory) :
- Dialog (behavior_factory, "dialogs.trace", SP_VERB_SELECTION_TRACE)
- {}
+ TraceDialog() :
+ UI::Widget::Panel("", "/dialogs/trace", SP_VERB_SELECTION_TRACE)
+ {}
/**
* Factory method
*/
/**
* Factory method
*/
- static TraceDialog *create(Behavior::BehaviorFactory behavior_factory);
+ static TraceDialog &getInstance();
/**
* Destructor
/**
* Destructor
} //namespace UI
} //namespace Inkscape
} //namespace UI
} //namespace Inkscape
-
-
-
#endif /* __TRACEDIALOG_H__ */
#endif /* __TRACEDIALOG_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:fileencoding=utf-8:textwidth=99 :