1 /*
2 For general Scribus (>=1.3.2) copyright and licensing information please refer
3 to the COPYING file provided with the program. Following this notice may exist
4 a copyright and/or license notice that predates the release of Scribus 1.3.2
5 for which a new license (GPL+exception) is in place.
6 */
7 #ifndef ARCWIDGET_H
8 #define ARCWIDGET_H
9 
10 #include <QWidget>
11 #include "scribusapi.h"
12 #include "ui_arcwidgetbase.h"
13 struct toolPrefs;
14 
15 class SCRIBUS_API ArcWidget : public QWidget, Ui::ArcWidgetBase
16 {
17 	Q_OBJECT
18 
19 	public:
20 		ArcWidget(QWidget* parent);
~ArcWidget()21 		~ArcWidget() {};
22 		void restoreDefaults(struct ItemToolPrefs *prefsData);
23 		void saveGuiToPrefs(struct ItemToolPrefs *prefsData);
24 
25 	protected slots:
26 		void updatePreview();
27 
28 	protected:
29 		void connectSignals(bool);
30 };
31 
32 #endif
33