comparison framework/MainWindowBase.h @ 145:937456ffe33e

* Much more sensible pane layouts, etc., when loading RDF; also offer choice of adding to current session or starting new session if RDF references audio (needs some refinement)
author Chris Cannam
date Fri, 28 Nov 2008 15:45:20 +0000
parents 9a8c73ffdce0
children f90dcec6dd9a
comparison
equal deleted inserted replaced
144:675443abbc05 145:937456ffe33e
248 248
249 virtual void contextHelpChanged(const QString &); 249 virtual void contextHelpChanged(const QString &);
250 virtual void inProgressSelectionChanged(); 250 virtual void inProgressSelectionChanged();
251 251
252 virtual FileOpenStatus openSessionFromRDF(FileSource source); 252 virtual FileOpenStatus openSessionFromRDF(FileSource source);
253 virtual FileOpenStatus openLayersFromRDF(FileSource source);
253 254
254 virtual void closeSession() = 0; 255 virtual void closeSession() = 0;
255 256
256 protected: 257 protected:
257 QString m_sessionFile; 258 QString m_sessionFile;
373 virtual void openHelpUrl(QString url); 374 virtual void openHelpUrl(QString url);
374 375
375 virtual void setupMenus() = 0; 376 virtual void setupMenus() = 0;
376 virtual void updateVisibleRangeDisplay(Pane *p) const = 0; 377 virtual void updateVisibleRangeDisplay(Pane *p) const = 0;
377 378
379 virtual bool shouldCreateNewSessionForRDFAudio() { return true; }
380
378 virtual void connectLayerEditDialog(ModelDataTableDialog *dialog); 381 virtual void connectLayerEditDialog(ModelDataTableDialog *dialog);
379 382
380 virtual void toXml(QTextStream &stream); 383 virtual void toXml(QTextStream &stream);
381 }; 384 };
382 385