27 #ifndef LIGHTAPP_MODULE_H
28 #define LIGHTAPP_MODULE_H
55 #pragma warning ( disable:4251 )
72 virtual void windows( QMap<int, int>& )
const;
73 virtual void viewManagers( QStringList& )
const;
77 virtual void createPreferences();
81 virtual void update(
const int );
89 virtual void selectionChanged();
90 virtual void preferencesChanged(
const QString&,
const QString& );
91 virtual void message(
const QString& );
98 virtual bool canCopy()
const;
99 virtual bool canPaste()
const;
103 const int, Qt::DropAction );
105 virtual void paste();
106 virtual bool renameAllowed(
const QString& )
const;
107 virtual bool renameObject(
const QString&,
const QString& );
116 void onOBDestroyed();
121 virtual void onModelSaved();
122 virtual void onModelOpened();
123 virtual void onModelClosed();
126 virtual void onOperationDestroyed();
127 virtual void onShowHide();
137 virtual bool reusableOperation(
const int id );
139 int addPreference(
const QString& label );
140 int addPreference(
const QString& label,
const int pId,
142 const QString& section = QString(),
143 const QString& param = QString() );
144 QVariant preferenceProperty(
const int,
const QString& )
const;
145 void setPreferenceProperty(
const int,
const QString&,
const QVariant& );
151 void startOperation(
const int );
157 virtual void updateControls();
177 #pragma warning ( default:4251 )