/* For general Scribus (>=1.3.2) copyright and licensing information please refer to the COPYING file provided with the program. Following this notice may exist a copyright and/or license notice that predates the release of Scribus 1.3.2 for which a new license (GPL+exception) is in place. */ #ifndef MULTILINE_H #define MULTILINE_H #include #include #include #include #include #include #include #include #include #include #include #include #include #include "scribusapi.h" #include "scribusstructs.h" #include "linecombo.h" #include "mspinbox.h" class ScribusDoc; class SCRIBUS_API MultiLine : public QDialog { Q_OBJECT public: MultiLine( QWidget* parent, ScribusDoc* doc, multiLine ml, QString nam, QMap *Sty); void updatePreview(); QColor calcFarbe(const QString& name, int shade); void updateSList(); void reSort(); void RebuildList(); ~MultiLine() {}; QLineEdit* SName; QLabel* Preview; QPushButton* AddStyle; QPushButton* RemoveStyle; QListBox* Styles; QGroupBox* Properties; LineCombo* Dashes; QComboBox* LineEnds; QComboBox* LineJoin; QLabel* WidthText; MSpinBox* LWidth; QComboBox* Color; QSpinBox* Shade; QPushButton* OK; QPushButton* Cancel; multiLine TempVorl; int CurLin; ScribusDoc* Docu; QMap *TempStyles; QString GivenName; public slots: void NewName(); void DelSubLine(); void NewSubLine(); void NewLJoin(); void NewLEnd(); void NewLSty(); void NewLColor(); void NewLWidth(); void NewLShade(); void slotEditStyle( int i); protected: QVBoxLayout* MultiLineLayout; QHBoxLayout* layout2; QVBoxLayout* PropertiesLayout; QHBoxLayout* layout1; QHBoxLayout* layout3; QHBoxLayout* layout4; }; #endif // MULTILINE_H