1 /** @file displaywidget.cpp
2 @package snark14Display
3 @author Bruno M. Carvalho and Deniz Sarioz
4 licensed under (open-source) QPL v1.0
5 which accompanies this distribution in the file QPL
8 #include "displaywidget.hpp"
13 * Constructs a displaywidget which is a child of 'parent', with the
14 * name 'name' and widget flags set to 'f'
16 * The dialog will by default be modeless, unless you set 'modal' to
17 * TRUE to construct a modal dialog.
19 displayWidget::displayWidget( QWidget* parent, const char* name, WFlags fl )
20 : QWidget( parent, name, fl )
26 * Destroys the object and frees any allocated resources
28 displayWidget::~displayWidget()
30 // no need to delete child widgets, Qt does it all for us
33 void displayWidget::mousePressEvent(QMouseEvent* e)
35 emit clicked(e->x(), e->y());