/usr/share/qtcreator/templates/tlpinteractor/interactor.h is in libtulip-dev 4.4.0dfsg2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | #ifndef %ProjectName:u%_H
#define %ProjectName:u%_H
#include <QIcon>
@if "%BaseInteractor%" == "GLInteractor"
#include <tulip/GLInteractor.h>
@endif
@if "%BaseInteractor%" == "Interactor"
#include <tulip/InteractorComposite.h>
@endif
class %ProjectName:c%Composite: public tlp::%BaseInteractor%Composite {
Q_OBJECT
public:
PLUGININFORMATION("%PluginName%", "%Author%", "%Date%", "%Informations%", "%Version%", "%Group%")
%ProjectName:c%Composite(const tlp::PluginContext*);
virtual ~%ProjectName:c%Composite();
virtual void construct();
virtual bool isCompatible(const std::string& viewName);
virtual QWidget* configurationWidget() const;
virtual unsigned int priority() const;
virtual QCursor cursor() const;
public slots:
virtual void undoIsDone();
signals:
};
class %ProjectName:c%Component: public tlp::%BaseInteractor%Component {
Q_OBJECT
public:
virtual void init();
virtual void clear();
virtual void viewChanged(tlp::View *);
virtual bool eventFilter(QObject*, QEvent*);
@if "%BaseInteractor%" == "GLInteractor"
virtual bool draw(tlp::GlMainWidget*);
virtual bool compute(tlp::GlMainWidget*);
@endif
public slots:
signals:
};
#endif // %ProjectName:u%_H
|