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 
8 #ifndef CXFIMPORTDIALOG_H
9 #define CXFIMPORTDIALOG_H
10 
11 #include <QDialog>
12 #include <QList>
13 
14 #include "colormgmt/sccolormgmtstructs.h"
15 #include "ui_cxfimportdialogbase.h"
16 
17 class CxfImportDialog : public QDialog, Ui::CxfImportDialogBase
18 {
19 	Q_OBJECT
20 
21 public:
22 	CxfImportDialog(QWidget* parent = nullptr);
23 
24 	QList<eColorSpaceType> priorities() const;
25 
26 	void setDefaultPriorities();
27 	void setPriorities(const QList<eColorSpaceType>& priorities);
28 
29 protected:
30 	void insertColorspaceLab();
31 	void insertColorspaceRGB();
32 	void insertColorspaceCMYK();
33 
34 protected slots:
35 	void moveUp();
36 	void moveDown();
37 	void select(QListWidgetItem* item);
38 };
39 
40 #endif // CXFIMPORTDIALOG_H
41