ui->setupUi(this);
/* create the window without the title bar */
+#ifndef __i386__
Qt::WindowFlags flags = this->windowFlags();
flags |= Qt::FramelessWindowHint;
this->setWindowFlags(flags);
//cursor will be hidden
setCursor(QCursor(Qt::BlankCursor));
+#endif
//na zacatku nazname polohu
this->pos.positionIsActual=false;