23#include "kptcontext.h"
25#include <tqsplitter.h>
40class PertView : public TQWidget
47 PertView( View *view, TQWidget *parent, TQLayout *layout );
51 void setZoom( double ) {}
54 View *mainView() const { return m_mainview; }
56 void print(KPrinter &printer);
60 virtual bool setContext(Context::Pertview &context);
61 virtual void getContext(Context::Pertview &context) const;
64 void slotRMBPressed(Node *node, const TQPoint & point);
65 void slotAddRelation(Node *par, Node *child);
66 void slotModifyRelation(Relation *rel);
69 void addRelation(Node *par, Node *child);
70 void modifyRelation(Relation *rel);
73 void init(TQLayout *layout);
75 PertCanvas *m_canvasview;
77 int m_defaultFontSize;
|