57 #ifndef PROPERTYVISPLUGIN_HH 58 #define PROPERTYVISPLUGIN_HH 67 #include <QTextStream> 80 #include "PropertyVisToolbar.hh" 81 #include "ObjectListItemModel.hh" 83 #include "PropertyModel.hh" 99 #if QT_VERSION >= 0x050000 100 Q_PLUGIN_METADATA(IID
"org.OpenFlipper.Plugins.Plugin-PropertyVis")
111 void addToolbox( QString _name , QWidget* _widget ,QIcon* _icon);
114 void addHiddenPickMode(
const std::string& _mode );
117 void slotVisualizeProperty(
int _id,
const QString& _propname );
122 void slotObjectUpdated(
int _identifier,
const UpdateType& _type );
123 void slotAllCleared();
126 void objectDeleted(
int _id );
129 void initializePlugin();
130 void pluginsInitialized();
133 void slotMeshChanged(
int _index = -1);
134 void slotVisualize();
137 void slotMouseEvent( QMouseEvent* _event );
140 void slotPickModeChanged(
const std::string& _mode);
155 void slotLog(QString _message){ emit log(_message); }
163 QString
name() {
return (QString(
"Property Visualization")); }
164 QString
description( ) {
return (QString(
"Computes the PropertyVis of the the active Mesh")); }
183 #if defined(INCLUDE_TEMPLATES) && !defined(PROPERTYVISPLUGIN_CC) 184 #define PROPERTYVISPLUGIN_TEMPLATES 185 #include "PropertyVisPluginT.cc" 188 #endif // PROPERTYVISPLUGIN_HH defined void setNewPropertyModel(int id)
Exchanges the PropertyModel after the user selected a different object.
Interface class for receiving mouse events.
void propertySelectionChanged()
Called when user selects a property.
Logtype
Log types for Message Window.
Keyboard Event Interface.
Interface for all Plugins which provide scriptable Functions.
Interface class from which all plugins have to be created.
void slotDuplicateProperty()
Duplicates the selected properties.
Plugins can add its own toolbox to the main widget's toolbox area by using this interface.
Interface for all Plugins which do logging to the logging window of the framework.
QString name()
Return a name for the plugin.
void slotRemoveProperty()
Removes the selected properties.
void slotLog(Logtype _type, QString _message)
Receives log messages from PropertyModels and emits them.
Interface for all plugins which want to Load or Save files and create Objects.
QString description()
Return a description of what the plugin is doing.
Allow access to picking functions.