7 #ifndef SMSTYLEIMPORT_H
8 #define SMSTYLEIMPORT_H
12 #include "ui_smstyleimport.h"
13 #include "scribusapi.h"
14 #include "styles/styleset.h"
15 #include "scribusstructs.h"
22 class SCRIBUS_API SMStyleImport :
public QDialog,
public Ui::SMStyleImport
27 SMStyleImport(QWidget* parent,
30 QHash<QString, multiLine> *lstyleList);
35 QStringList paragraphStyles();
36 QStringList characterStyles();
37 QStringList lineStyles();
42 QTreeWidgetItem * cstyleItem;
43 QTreeWidgetItem * lstyleItem;
49 static const int cType = QTreeWidgetItem::UserType;
50 static const int pType = QTreeWidgetItem::UserType + 1;
51 static const int lType = QTreeWidgetItem::UserType + 2;
53 QStringList commonStyles(QTreeWidgetItem * rootItem,
int type);
56 void checkAll(
bool allChecked);
60 #endif // SMSTYLEIMPORT_H
QTreeWidgetItem * pstyleItem
Root items in the styleWidget.
Definition: smstyleimport.h:41