Scribus
Open source desktop publishing at your fingertips
SMStyleImport Class Reference

Import styles from outer sla document. User can choose what to import and what to do with the style names here. More...

#include <smstyleimport.h>

Inheritance diagram for SMStyleImport:
Collaboration diagram for SMStyleImport:

Public Member Functions

 SMStyleImport (QWidget *parent, StyleSet< ParagraphStyle > *pstyleList, StyleSet< CharStyle > *cstyleList, QHash< QString, multiLine > *lstyleList)
 
bool clashRename ()
 True if the rename feature is ON.
 
QStringList paragraphStyles ()
 
QStringList characterStyles ()
 
QStringList lineStyles ()
 

Protected Slots

void checkAll (bool allChecked)
 

Protected Member Functions

QStringList commonStyles (QTreeWidgetItem *rootItem, int type)
 

Protected Attributes

QTreeWidgetItem * pstyleItem
 Root items in the styleWidget.
 
QTreeWidgetItem * cstyleItem
 
QTreeWidgetItem * lstyleItem
 

Static Protected Attributes

static const int cType = QTreeWidgetItem::UserType
 Following constants are used as flags for searching. Soemthing like: give me all character style related items from the list. See commonStyles() for more info.
 
static const int pType = QTreeWidgetItem::UserType + 1
 
static const int lType = QTreeWidgetItem::UserType + 2
 

Detailed Description

Import styles from outer sla document. User can choose what to import and what to do with the style names here.


The documentation for this class was generated from the following files: