equal
deleted
inserted
replaced
106 void optimize(); |
106 void optimize(); |
107 void setErasing(bool erasing); |
107 void setErasing(bool erasing); |
108 void save(const QString & fileName); |
108 void save(const QString & fileName); |
109 void load(const QString & fileName); |
109 void load(const QString & fileName); |
110 void setPathType(DrawMapScene::PathType pathType); |
110 void setPathType(DrawMapScene::PathType pathType); |
|
111 void setBrushSize(int brushSize); |
|
112 |
|
113 signals: |
|
114 void brushSizeChanged(int brushSize); |
111 |
115 |
112 protected: |
116 protected: |
113 void changeEvent(QEvent *e); |
117 void changeEvent(QEvent *e); |
114 virtual void resizeEvent(QResizeEvent * event); |
118 virtual void resizeEvent(QResizeEvent * event); |
115 virtual void showEvent(QShowEvent * event); |
119 virtual void showEvent(QShowEvent * event); |
119 |
123 |
120 DrawMapScene * m_scene; |
124 DrawMapScene * m_scene; |
121 |
125 |
122 private slots: |
126 private slots: |
123 void pathChanged(); |
127 void pathChanged(); |
|
128 void brushSizeChanged_slot(int brushSize); |
124 }; |
129 }; |
125 |
130 |
126 #endif // DRAWMAPWIDGET_H |
131 #endif // DRAWMAPWIDGET_H |