#include "cadtoolbar.h"
#include "qg_actionhandler.h"
+#include "rs_debug.h"
CadToolBarLines::CadToolBarLines(QWidget * parent/*= 0*/, Qt::WindowFlags flags/*= 0*/):
QWidget(parent, flags), actionHandler(NULL), cadToolBar(NULL)
{
}
-/*void CadToolBarLines::mousePressEvent(QMouseEvent* e) {
- if (e->button()==RightButton && cadToolBar != NULL) {
- cadToolBar->back();
- e->accept();
- }
-}*/
-
void CadToolBarLines::contextMenuEvent(QContextMenuEvent * e)
{
e->accept();