Take use of existing theme file

This commit is contained in:
Debao Zhang
2013-11-04 10:51:59 +08:00
parent 076b759825
commit 7e3e463983
6 changed files with 199 additions and 5 deletions
+7
View File
@@ -43,6 +43,7 @@ WorkbookPrivate::WorkbookPrivate(Workbook *q) :
{
sharedStrings = QSharedPointer<SharedStrings> (new SharedStrings);
styles = QSharedPointer<Styles>(new Styles);
theme = QSharedPointer<Theme>(new Theme);
x_window = 240;
y_window = 15;
@@ -247,6 +248,12 @@ Styles *Workbook::styles()
return d->styles.data();
}
Theme *Workbook::theme()
{
Q_D(Workbook);
return d->theme.data();
}
QList<QImage> Workbook::images()
{
Q_D(Workbook);