~ubuntu-branches/ubuntu/maverick/freecad/maverick

« back to all changes in this revision

Viewing changes to src/Mod/Drawing/Gui/DrawingView.h

  • Committer: Bazaar Package Importer
  • Author(s): Adam C. Powell, IV
  • Date: 2010-01-11 08:48:33 UTC
  • mfrom: (3.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100111084833-4g9vgdqbkw8u34zb
Tags: 0.9.2646.5-1
* New upstream version (closes: #561696).
* Added swig to Build-Depends (closes: #563523, #563772).
* Removed python-opencv from Build-Depends and Recommends (closes: #560768).

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
class QActionGroup;
32
32
class QPopupMenu;
33
33
class QToolBar;
 
34
class QSvgWidget;
 
35
class QScrollArea;
34
36
 
35
37
namespace DrawingGui
36
38
{
43
45
    DrawingView(QWidget* parent = 0);
44
46
    virtual ~DrawingView();
45
47
 
46
 
    void load (const QString & file);
 
48
    bool load (const QString & file);
47
49
    const char *getName(void) const {return "DrawingView";}
48
50
    void onUpdate(void){};
49
51
 
70
72
    //virtual int setColorMapBlueValue(int index, float value);
71
73
    //virtual int setColorMapAlphaValue(int index, float value);
72
74
 
73
 
public slots:
 
75
public Q_SLOTS:
74
76
    virtual void fitDrawing();
75
77
    virtual void oneToOneDrawing();
76
78
 
77
 
protected slots:
 
79
protected Q_SLOTS:
78
80
    virtual void handleColorAct( QAction* act);
79
81
    virtual void sliderValueAdjusted(int NewValue);
80
82
    virtual void drawGraphics();