mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-20 21:53:52 +00:00
700d55f1fb
Implemented updating editor application from preferences menu, loading settings when editor loads, adding Record Status Display prefernce. Fixed multiple bugs, made changes to CSM(V)Settings classes to make implementing new prefrences easier. Rewrote CSMSettings::UserSettings to retain last-loaded settings. Adjusted icon position in Record Status column Capitalized status text Added delegate to referenceables table
46 lines
876 B
C++
46 lines
876 B
C++
#ifndef CSV_DOC_SUBVIEW_H
|
|
#define CSV_DOC_SUBVIEW_H
|
|
|
|
#include "../../model/doc/document.hpp"
|
|
|
|
#include "../../model/world/universalid.hpp"
|
|
|
|
#include "subviewfactory.hpp"
|
|
|
|
#include <QDockWidget>
|
|
|
|
class QUndoStack;
|
|
|
|
namespace CSMWorld
|
|
{
|
|
class Data;
|
|
}
|
|
|
|
namespace CSVDoc
|
|
{
|
|
class SubView : public QDockWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
CSMWorld::UniversalId mUniversalId;
|
|
|
|
// not implemented
|
|
SubView (const SubView&);
|
|
SubView& operator= (SubView&);
|
|
|
|
public:
|
|
|
|
SubView (const CSMWorld::UniversalId& id);
|
|
|
|
CSMWorld::UniversalId getUniversalId() const;
|
|
|
|
virtual void setEditLock (bool locked) = 0;
|
|
virtual void updateEditorSetting (const QString &, const QString &);
|
|
|
|
signals:
|
|
|
|
void focusId (const CSMWorld::UniversalId& universalId);
|
|
};
|
|
}
|
|
|
|
#endif
|