diff --git a/IMSProg_programmer/mainwindow.cpp b/IMSProg_programmer/mainwindow.cpp index 631761b..75a28e9 100644 --- a/IMSProg_programmer/mainwindow.cpp +++ b/IMSProg_programmer/mainwindow.cpp @@ -1470,6 +1470,12 @@ void MainWindow::progInit() ui->comboBox_type->setCurrentIndex(0); } +void MainWindow::resizeEvent(QResizeEvent* event) +{ + QMainWindow::resizeEvent(event); + // Your code here. + hexEdit->setGeometry(0,0,ui->frame->width(),ui->frame->height()); +} //***************************************************** // HEX ULTLITY by Mikhail Medvedev //***************************************************** diff --git a/IMSProg_programmer/mainwindow.h b/IMSProg_programmer/mainwindow.h index a7eba09..661e78e 100644 --- a/IMSProg_programmer/mainwindow.h +++ b/IMSProg_programmer/mainwindow.h @@ -98,7 +98,7 @@ private slots: void on_actionExport_to_Intel_HEX_triggered(); void on_actionImport_from_Intel_HEX_triggered(); void on_actionExtract_from_ASUS_CAP_triggered(); - + void resizeEvent(QResizeEvent* event); private: Ui::MainWindow *ui; QColor defaultTextColor; diff --git a/IMSProg_programmer/mainwindow.ui b/IMSProg_programmer/mainwindow.ui index 2e87690..d114b25 100644 --- a/IMSProg_programmer/mainwindow.ui +++ b/IMSProg_programmer/mainwindow.ui @@ -692,6 +692,12 @@ QPushButton::pressed{background-color: rgb(115, 210, 22);} 11 + + + 16777215 + 20 + + 75 @@ -714,7 +720,7 @@ QPushButton::pressed{background-color: rgb(115, 210, 22);} 16777215 - 700 + 16777215 @@ -850,19 +856,6 @@ QPushButton::pressed{background-color: rgb(115, 210, 22);} - - - - Qt::Vertical - - - - 127 - 6 - - - -