diff options
Diffstat (limited to 'smglobals.h')
-rw-r--r-- | smglobals.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/smglobals.h b/smglobals.h index c396f76..5621fc4 100644 --- a/smglobals.h +++ b/smglobals.h @@ -15,6 +15,7 @@ class QAbstractItemModel; class PictureViewer2; class QPixmap; +class SeriesTreeWidget; class SmGlobals : public QObject { Q_OBJECT @@ -48,6 +49,8 @@ class SmGlobals : public QObject { QAbstractItemModel *model(const QString &which); PictureViewer2 *pictureViewer(); FrameCache *frameCache(); + void setSeriesTreeWidget(SeriesTreeWidget *stree) { mSeriesTreeWidget = stree; } + SeriesTreeWidget *seriesTreeWidget(); QSize cursorSize(); const QSize minPVSize() const { return QSize(640, 480); } const QHash<QString, QString> & icons() const { return mIcons; } @@ -60,6 +63,7 @@ class SmGlobals : public QObject { static SmGlobals *mInstance; QHash<QString, QAbstractItemModel*> mModels; PictureViewer2 *mPictureViewer; + SeriesTreeWidget *mSeriesTreeWidget; SmGlobals::FrameCache *mFrameCache; QSize mCursorSize; QHash<QString, QString> mIcons; |