1 /****************************************************************************
2 ** ui.h extension file, included from the uic-generated form implementation.
4 ** If you wish to add, delete or rename slots use Qt Designer which will
5 ** update this file, preserving your code. Create an init() slot in place of
6 ** a constructor, and a destroy() slot in place of a destructor.
7 *****************************************************************************/
18 void MainForm::resizeEvent( QResizeEvent *)
20 View->setGeometry(0,15,size().width(),size().height()-15);
23 void MainForm::SetShapeRect(QRect rect)
26 View->SetShapeRect(m_shapeRect);
29 void MainForm::SetProperties(char shape, char color)
31 View->SetShape(shape);
32 View->SetShapeColor(color);
42 return View->height();
46 void MainForm::closeEvent( QCloseEvent * e )
48 if(m_wantClose==1) e->accept();
56 void MainForm::WantClose()
61 int MainForm::getClose()