comparison framework/MainWindowBase.h @ 222:ed5804224121 templating

Store default template name in MainWindowBase
author Chris Cannam
date Mon, 09 May 2011 11:56:24 +0100
parents e06a0124c662
children 46213a34900f
comparison
equal deleted inserted replaced
221:e06a0124c662 222:ed5804224121
279 279
280 protected: 280 protected:
281 QString m_sessionFile; 281 QString m_sessionFile;
282 QString m_audioFile; 282 QString m_audioFile;
283 Document *m_document; 283 Document *m_document;
284 QString m_defaultSessionTemplate;
284 285
285 QLabel *m_descriptionLabel; 286 QLabel *m_descriptionLabel;
286 PaneStack *m_paneStack; 287 PaneStack *m_paneStack;
287 ViewManager *m_viewManager; 288 ViewManager *m_viewManager;
288 Layer *m_timeRulerLayer; 289 Layer *m_timeRulerLayer;
393 394
394 virtual QString getOpenFileName(FileFinder::FileType type); 395 virtual QString getOpenFileName(FileFinder::FileType type);
395 virtual QString getSaveFileName(FileFinder::FileType type); 396 virtual QString getSaveFileName(FileFinder::FileType type);
396 virtual void registerLastOpenedFilePath(FileFinder::FileType type, QString path); 397 virtual void registerLastOpenedFilePath(FileFinder::FileType type, QString path);
397 398
399 virtual void setDefaultSessionTemplate(QString name);
400 virtual QString getDefaultSessionTemplate() const;
401
398 virtual void createPlayTarget(); 402 virtual void createPlayTarget();
399 virtual void openHelpUrl(QString url); 403 virtual void openHelpUrl(QString url);
400 404
401 virtual void setupMenus() = 0; 405 virtual void setupMenus() = 0;
402 virtual void updateVisibleRangeDisplay(Pane *p) const = 0; 406 virtual void updateVisibleRangeDisplay(Pane *p) const = 0;