diff --git a/mainwindow.cpp b/mainwindow.cpp index eae3f25..6ac43b5 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -276,7 +276,9 @@ void MainWindow::pjreddie_style_msgBox(QMessageBox::Icon icon, QString title, QS void MainWindow::open_img_dir(bool& ret) { - pjreddie_style_msgBox(QMessageBox::Information,"Help", "Step 1. Open Your Data Set Directory"); + if(ui->checkBox_showhelp->isChecked()) { + pjreddie_style_msgBox(QMessageBox::Information,"Help", "Step 1. Open Your Data Set Directory"); + } QString imgDir = QFileDialog::getExistingDirectory( nullptr, @@ -307,7 +309,9 @@ void MainWindow::open_img_dir(bool& ret) void MainWindow::open_obj_file(bool& ret) { - pjreddie_style_msgBox(QMessageBox::Information,"Help", "Step 2. Open Your Label List File(*.txt or *.names)"); + if(ui->checkBox_showhelp->isChecked()) { + pjreddie_style_msgBox(QMessageBox::Information,"Help", "Step 2. Open Your Label List File(*.txt or *.names)"); + } QString fileLabelList = QFileDialog::getOpenFileName( nullptr, diff --git a/mainwindow.ui b/mainwindow.ui index 841610a..6183fcd 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -503,40 +503,83 @@ border-color: rgb(0, 255, 255); - - - - 100 - 21 - - - - - 100 - 16777215 - - - - - 75 - true - - - - ArrowCursor - - - Qt::NoFocus - - - background-color : rgb(0, 0, 17);color : rgb(0, 255, 255); + + + + + + + 105 + 21 + + + + + 100 + 16777215 + + + + + 75 + true + + + + ArrowCursor + + + Qt::NoFocus + + + background-color : rgb(0, 0, 17);color : rgb(0, 255, 255); border-style: outset; border-width: 2px; border-color: rgb(0, 255, 255); - - - with crop - + + + show help + + + + + + + + 105 + 21 + + + + + 100 + 16777215 + + + + + 75 + true + + + + ArrowCursor + + + Qt::NoFocus + + + background-color : rgb(0, 0, 17);color : rgb(0, 255, 255); +border-style: outset; +border-width: 2px; +border-color: rgb(0, 255, 255); + + + save crop + + + + @@ -744,12 +787,12 @@ QTableView { false - - false - 40 + + false + true @@ -787,7 +830,7 @@ QTableView { 0 0 1528 - 23 + 27