{
    ui->setupUi(this);
    frame2 = new QFrame(this);
    frame2->setFrameStyle(QFrame::Box);
    cu = new QCursor();
    frame2->setMouseTracking(true);
    QRect fg = QApplication::desktop()->screenGeometry();
    QRect d = fg;
    fg.setWidth(static_cast<int>(fg.width()*0.3));
    fg.setHeight(static_cast<int>(fg.height()*0.25));
    this->move(d.width()/2-fg.width()/2, d.height()/2-fg.height()/2);
    this->setFixedSize(fg.width(),fg.height());
    frame2->setGeometry(static_cast<int>(width()/2-width()*0.8/2),static_cast<int>(height()/2-height()*0.8/2),static_cast<int>(width()*0.8),static_cast<int>(height()*0.8));
    setWindowIcon(QIcon("C://Users//web.png"));
    setWindowTitle("Laba");
    button = new QPushButton("Button", this);
    button->setGeometry(width()/2-button->width()/2, height()/2-button->height()/2,button->width(),button->height());
    button-> show();
    setMouseTracking(true);
    button2 = new QPushButton("Options", this);
    button2 -> move(0,0);
    button2 -> show();
    p = this->palette();
    /*lble = new QLabel("1");
    lble->setGeometry(100, 100,60,30);
    lble->show();
    lble2 = new QLabel("2");
    lble2->setGeometry(200, 100,60,30);
    lble2->show();
    lble3 = new QLabel("3");
    lble3->setGeometry(300, 100,60,30);
    lble3->show();*/
    show();
}