Scribus
Open source desktop publishing at your fingertips
smcellstylewidget.h
1 /*
2 Copyright (C) 2011 Elvis Stansvik <elvstone@gmail.com>
3 
4 For general Scribus (>=1.3.2) copyright and licensing information please refer
5 to the COPYING file provided with the program. Following this notice may exist
6 a copyright and/or license notice that predates the release of Scribus 1.3.2
7 for which a new license (GPL+exception) is in place.
8 */
9 
10 #ifndef SMCELLSTYLEWIDGET_H
11 #define SMCELLSTYLEWIDGET_H
12 
13 #include <QWidget>
14 
15 #include "ui_smcellstylewidget.h"
16 #include "styles/cellstyle.h"
17 
23 class SMCellStyleWidget : public QWidget, public Ui::SMCellStyleWidget
24 {
25  Q_OBJECT
26 public:
28  SMCellStyleWidget(QWidget *parent = 0);
31  virtual void changeEvent(QEvent *e);
32 
41  void show(CellStyle *cellStyle, QList<CellStyle> &cellStyles, const QString &defaultLanguage, int unitIndex);
42 
53  void show(QList<CellStyle*> &cellStyles, QList<CellStyle> &cellStylesAll, const QString &defaultLanguage, int unitIndex);
54 
58  void languageChange();
59 
65  void fillFillColorCombo(ColorList &colors);
66  void showColors(const QList<CellStyle*> &cellStyles);
67 };
68 
69 #endif // SMCELLSTYLEWIDGET_H
SMCellStyleWidget(QWidget *parent=0)
Constructor.
Definition: smcellstylewidget.cpp:13
Definition: sccolor.h:155
Definition: cellstyle.h:32
~SMCellStyleWidget()
Destructor.
Definition: smcellstylewidget.cpp:23
void fillFillColorCombo(ColorList &colors)
Definition: smcellstylewidget.cpp:139
void languageChange()
Definition: smcellstylewidget.cpp:134
void show(CellStyle *cellStyle, QList< CellStyle > &cellStyles, const QString &defaultLanguage, int unitIndex)