all new yolo label
This commit is contained in:
parent
065e0a68ad
commit
748109d661
@ -2,6 +2,8 @@
|
|||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
#include <QImageReader>
|
#include <QImageReader>
|
||||||
#include <math.h> /* fabs */
|
#include <math.h> /* fabs */
|
||||||
|
#include <algorithm>
|
||||||
|
//#include <omp.h>
|
||||||
|
|
||||||
using std::ifstream;
|
using std::ifstream;
|
||||||
|
|
||||||
@ -123,6 +125,7 @@ void label_img::openImage(const QString &qstrImg, bool &ret)
|
|||||||
|
|
||||||
m_inputImg = img.copy();
|
m_inputImg = img.copy();
|
||||||
m_inputImg = m_inputImg.convertToFormat(QImage::Format_RGB888);
|
m_inputImg = m_inputImg.convertToFormat(QImage::Format_RGB888);
|
||||||
|
m_resized_inputImg = m_inputImg.scaled(this->width(), this->height(),Qt::IgnoreAspectRatio,Qt::SmoothTransformation);
|
||||||
|
|
||||||
m_bLabelingStarted = false;
|
m_bLabelingStarted = false;
|
||||||
|
|
||||||
@ -143,10 +146,16 @@ void label_img::openImage(const QString &qstrImg, bool &ret)
|
|||||||
void label_img::showImage()
|
void label_img::showImage()
|
||||||
{
|
{
|
||||||
if(m_inputImg.isNull()) return;
|
if(m_inputImg.isNull()) return;
|
||||||
|
if(m_resized_inputImg.width() != this->width() or m_resized_inputImg.height() != this->height())
|
||||||
|
{
|
||||||
|
m_resized_inputImg = m_inputImg.scaled(this->width(), this->height(),Qt::IgnoreAspectRatio,Qt::SmoothTransformation);
|
||||||
|
}
|
||||||
|
|
||||||
QImage imageOnUi = m_inputImg.scaled(this->width(), this->height(),Qt::IgnoreAspectRatio,Qt::SmoothTransformation);
|
QImage img = m_resized_inputImg;
|
||||||
|
|
||||||
QPainter painter(&imageOnUi);
|
gammaTransform(img);
|
||||||
|
|
||||||
|
QPainter painter(&img);
|
||||||
|
|
||||||
int penThick = 3;
|
int penThick = 3;
|
||||||
|
|
||||||
@ -156,7 +165,7 @@ void label_img::showImage()
|
|||||||
drawFocusedObjectBox(painter, Qt::magenta, penThick);
|
drawFocusedObjectBox(painter, Qt::magenta, penThick);
|
||||||
drawObjectBoxes(painter, penThick);
|
drawObjectBoxes(painter, penThick);
|
||||||
|
|
||||||
this->setPixmap(QPixmap::fromImage(imageOnUi));
|
this->setPixmap(QPixmap::fromImage(img));
|
||||||
}
|
}
|
||||||
|
|
||||||
void label_img::loadLabelData(const QString& labelFilePath)
|
void label_img::loadLabelData(const QString& labelFilePath)
|
||||||
@ -270,6 +279,31 @@ void label_img::drawObjectBoxes(QPainter& painter, int thickWidth)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void label_img::gammaTransform(QImage &image)
|
||||||
|
{
|
||||||
|
uchar* bits = image.bits();
|
||||||
|
|
||||||
|
int h = image.height();
|
||||||
|
int w = image.width();
|
||||||
|
|
||||||
|
//#pragma omp parallel for collapse(2)
|
||||||
|
for(int y = 0 ; y < h; ++y)
|
||||||
|
{
|
||||||
|
for(int x = 0; x < w; ++x)
|
||||||
|
{
|
||||||
|
int index_pixel = (y*w+x)*3;
|
||||||
|
|
||||||
|
unsigned char r = bits[index_pixel + 0];
|
||||||
|
unsigned char g = bits[index_pixel + 1];
|
||||||
|
unsigned char b = bits[index_pixel + 2];
|
||||||
|
|
||||||
|
bits[index_pixel + 0] = m_gammatransform_lut[r];
|
||||||
|
bits[index_pixel + 1] = m_gammatransform_lut[g];
|
||||||
|
bits[index_pixel + 2] = m_gammatransform_lut[b];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void label_img::removeFocusedObjectBox(QPointF point)
|
void label_img::removeFocusedObjectBox(QPointF point)
|
||||||
{
|
{
|
||||||
int removeBoxIdx = -1;
|
int removeBoxIdx = -1;
|
||||||
@ -334,3 +368,14 @@ QPointF label_img::cvtAbsoluteToRelativePoint(QPoint p)
|
|||||||
{
|
{
|
||||||
return QPointF(static_cast<double>(p.x()) / this->width(), static_cast<double>(p.y()) / this->height());
|
return QPointF(static_cast<double>(p.x()) / this->width(), static_cast<double>(p.y()) / this->height());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void label_img::setContrastGamma(float gamma)
|
||||||
|
{
|
||||||
|
for(int i=0; i < 256; i++)
|
||||||
|
{
|
||||||
|
int s = (int)(pow((float)i/255., gamma) * 255.);
|
||||||
|
s = std::clamp(s, 0, 255);
|
||||||
|
m_gammatransform_lut[i] = (unsigned char)s;
|
||||||
|
}
|
||||||
|
showImage();
|
||||||
|
}
|
||||||
|
@ -46,7 +46,7 @@ public:
|
|||||||
|
|
||||||
void setFocusObjectLabel(int);
|
void setFocusObjectLabel(int);
|
||||||
void setFocusObjectName(QString);
|
void setFocusObjectName(QString);
|
||||||
|
void setContrastGamma(float);
|
||||||
|
|
||||||
bool isOpened();
|
bool isOpened();
|
||||||
QImage crop(QRect);
|
QImage crop(QRect);
|
||||||
@ -59,6 +59,7 @@ public:
|
|||||||
QPoint cvtRelativeToAbsolutePoint(QPointF);
|
QPoint cvtRelativeToAbsolutePoint(QPointF);
|
||||||
QPointF cvtAbsoluteToRelativePoint(QPoint);
|
QPointF cvtAbsoluteToRelativePoint(QPoint);
|
||||||
|
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void Mouse_Moved();
|
void Mouse_Moved();
|
||||||
void Mouse_Pressed();
|
void Mouse_Pressed();
|
||||||
@ -72,16 +73,20 @@ private:
|
|||||||
double m_aspectRatioHeight;
|
double m_aspectRatioHeight;
|
||||||
|
|
||||||
QImage m_inputImg;
|
QImage m_inputImg;
|
||||||
|
QImage m_resized_inputImg;
|
||||||
|
|
||||||
QPointF m_relative_mouse_pos_in_ui;
|
QPointF m_relative_mouse_pos_in_ui;
|
||||||
QPointF m_relatvie_mouse_pos_LBtnClicked_in_ui;
|
QPointF m_relatvie_mouse_pos_LBtnClicked_in_ui;
|
||||||
|
|
||||||
|
unsigned char m_gammatransform_lut[256];
|
||||||
|
QVector<QRgb> colorTable;
|
||||||
|
|
||||||
void setMousePosition(int , int);
|
void setMousePosition(int , int);
|
||||||
|
|
||||||
void drawCrossLine(QPainter& , QColor , int thickWidth = 3);
|
void drawCrossLine(QPainter& , QColor , int thickWidth = 3);
|
||||||
void drawFocusedObjectBox(QPainter& , Qt::GlobalColor , int thickWidth = 3);
|
void drawFocusedObjectBox(QPainter& , Qt::GlobalColor , int thickWidth = 3);
|
||||||
void drawObjectBoxes(QPainter& , int thickWidth = 3);
|
void drawObjectBoxes(QPainter& , int thickWidth = 3);
|
||||||
|
void gammaTransform(QImage& image);
|
||||||
void removeFocusedObjectBox(QPointF);
|
void removeFocusedObjectBox(QPointF);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -43,33 +43,36 @@ MainWindow::~MainWindow()
|
|||||||
void MainWindow::on_pushButton_open_files_clicked()
|
void MainWindow::on_pushButton_open_files_clicked()
|
||||||
{
|
{
|
||||||
bool bRetImgDir = false;
|
bool bRetImgDir = false;
|
||||||
bool bRetObjFile = false;
|
|
||||||
|
|
||||||
open_img_dir(bRetImgDir);
|
open_img_dir(bRetImgDir);
|
||||||
|
|
||||||
if (!bRetImgDir) return ;
|
if (!bRetImgDir) return ;
|
||||||
|
|
||||||
open_obj_file(bRetObjFile);
|
if (m_objList.empty())
|
||||||
|
{
|
||||||
if (!bRetObjFile) return ;
|
bool bRetObjFile = false;
|
||||||
|
open_obj_file(bRetObjFile);
|
||||||
|
if (!bRetObjFile) return ;
|
||||||
|
}
|
||||||
|
|
||||||
init();
|
init();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::on_pushButton_change_dir_clicked()
|
//void MainWindow::on_pushButton_change_dir_clicked()
|
||||||
{
|
//{
|
||||||
bool bRetImgDir = false;
|
// bool bRetImgDir = false;
|
||||||
|
|
||||||
open_img_dir(bRetImgDir);
|
// open_img_dir(bRetImgDir);
|
||||||
|
|
||||||
if (!bRetImgDir) return ;
|
// if (!bRetImgDir) return ;
|
||||||
|
|
||||||
init();
|
// init();
|
||||||
}
|
//}
|
||||||
|
|
||||||
|
|
||||||
void MainWindow::init()
|
void MainWindow::init()
|
||||||
{
|
{
|
||||||
|
m_lastLabeledImgIndex = -1;
|
||||||
|
|
||||||
ui->label_image->init();
|
ui->label_image->init();
|
||||||
|
|
||||||
init_button_event();
|
init_button_event();
|
||||||
@ -89,7 +92,17 @@ void MainWindow::set_label_progress(const int fileIndex)
|
|||||||
|
|
||||||
void MainWindow::set_focused_file(const int fileIndex)
|
void MainWindow::set_focused_file(const int fileIndex)
|
||||||
{
|
{
|
||||||
ui->label_file->setText("File: " + m_imgList.at(fileIndex));
|
QString str = "";
|
||||||
|
|
||||||
|
if(m_lastLabeledImgIndex >= 0)
|
||||||
|
{
|
||||||
|
str += "Last Labeled Image: " + m_imgList.at(m_lastLabeledImgIndex);
|
||||||
|
str += '\n';
|
||||||
|
}
|
||||||
|
|
||||||
|
str += "Current Image: " + m_imgList.at(fileIndex);
|
||||||
|
|
||||||
|
ui->textEdit_log->setText(str);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::goto_img(const int fileIndex)
|
void MainWindow::goto_img(const int fileIndex)
|
||||||
@ -126,7 +139,7 @@ void MainWindow::prev_img(bool bSavePrev)
|
|||||||
goto_img(m_imgIndex - 1);
|
goto_img(m_imgIndex - 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::save_label_data()const
|
void MainWindow::save_label_data()
|
||||||
{
|
{
|
||||||
if(m_imgList.size() == 0) return;
|
if(m_imgList.size() == 0) return;
|
||||||
|
|
||||||
@ -139,21 +152,6 @@ void MainWindow::save_label_data()const
|
|||||||
{
|
{
|
||||||
ObjectLabelingBox objBox = ui->label_image->m_objBoundingBoxes[i];
|
ObjectLabelingBox objBox = ui->label_image->m_objBoundingBoxes[i];
|
||||||
|
|
||||||
if(ui->checkBox_cropping->isChecked())
|
|
||||||
{
|
|
||||||
QImage cropped = ui->label_image->crop(ui->label_image->cvtRelativeToAbsoluteRectInImage(objBox.box));
|
|
||||||
|
|
||||||
if(!cropped.isNull())
|
|
||||||
{
|
|
||||||
string strImgFile = m_imgList.at(m_imgIndex).toStdString();
|
|
||||||
|
|
||||||
strImgFile = strImgFile.substr( strImgFile.find_last_of('/') + 1,
|
|
||||||
strImgFile.find_last_of('.') - strImgFile.find_last_of('/') - 1);
|
|
||||||
|
|
||||||
cropped.save(QString().fromStdString(strImgFile) + "_cropped_" + QString::number(i) + ".png");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
double midX = objBox.box.x() + objBox.box.width() / 2.;
|
double midX = objBox.box.x() + objBox.box.width() / 2.;
|
||||||
double midY = objBox.box.y() + objBox.box.height() / 2.;
|
double midY = objBox.box.y() + objBox.box.height() / 2.;
|
||||||
double width = objBox.box.width();
|
double width = objBox.box.width();
|
||||||
@ -169,10 +167,8 @@ void MainWindow::save_label_data()const
|
|||||||
fileOutputLabelData << " ";
|
fileOutputLabelData << " ";
|
||||||
fileOutputLabelData << std::fixed << std::setprecision(6) << height << std::endl;
|
fileOutputLabelData << std::fixed << std::setprecision(6) << height << std::endl;
|
||||||
}
|
}
|
||||||
|
m_lastLabeledImgIndex = m_imgIndex;
|
||||||
fileOutputLabelData.close();
|
fileOutputLabelData.close();
|
||||||
|
|
||||||
ui->textEdit_log->setText(qstrOutputLabelData + " saved.");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -408,15 +404,15 @@ void MainWindow::keyPressEvent(QKeyEvent * event)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::on_pushButton_save_clicked()
|
//void MainWindow::on_pushButton_save_clicked()
|
||||||
{
|
//{
|
||||||
save_label_data();
|
// save_label_data();
|
||||||
}
|
//}
|
||||||
|
|
||||||
void MainWindow::on_pushButton_remove_clicked()
|
//void MainWindow::on_pushButton_remove_clicked()
|
||||||
{
|
//{
|
||||||
remove_img();
|
// remove_img();
|
||||||
}
|
//}
|
||||||
|
|
||||||
void MainWindow::on_tableWidget_label_cellDoubleClicked(int row, int column)
|
void MainWindow::on_tableWidget_label_cellDoubleClicked(int row, int column)
|
||||||
{
|
{
|
||||||
@ -447,11 +443,7 @@ void MainWindow::on_horizontalSlider_images_sliderMoved(int position)
|
|||||||
|
|
||||||
void MainWindow::init_button_event()
|
void MainWindow::init_button_event()
|
||||||
{
|
{
|
||||||
ui->pushButton_change_dir->setEnabled(true);
|
// ui->pushButton_change_dir->setEnabled(true);
|
||||||
ui->pushButton_next->setEnabled(true);
|
|
||||||
ui->pushButton_prev->setEnabled(true);
|
|
||||||
ui->pushButton_save->setEnabled(true);
|
|
||||||
ui->pushButton_remove->setEnabled(true);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::init_horizontal_slider()
|
void MainWindow::init_horizontal_slider()
|
||||||
@ -461,6 +453,12 @@ void MainWindow::init_horizontal_slider()
|
|||||||
ui->horizontalSlider_images->blockSignals(true);
|
ui->horizontalSlider_images->blockSignals(true);
|
||||||
ui->horizontalSlider_images->setValue(0);
|
ui->horizontalSlider_images->setValue(0);
|
||||||
ui->horizontalSlider_images->blockSignals(false);
|
ui->horizontalSlider_images->blockSignals(false);
|
||||||
|
|
||||||
|
ui->horizontalSlider_contrast->setEnabled(true);
|
||||||
|
ui->horizontalSlider_contrast->setRange(0, 1000);
|
||||||
|
ui->horizontalSlider_contrast->setValue(ui->horizontalSlider_contrast->maximum()/2);
|
||||||
|
ui->label_image->setContrastGamma(1.0);
|
||||||
|
ui->label_contrast->setText(QString("Contrast(%) ") + QString::number(50));
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::init_table_widget()
|
void MainWindow::init_table_widget()
|
||||||
@ -471,3 +469,12 @@ void MainWindow::init_table_widget()
|
|||||||
|
|
||||||
disconnect(ui->tableWidget_label->horizontalHeader(), SIGNAL(sectionPressed(int)),ui->tableWidget_label, SLOT(selectColumn(int)));
|
disconnect(ui->tableWidget_label->horizontalHeader(), SIGNAL(sectionPressed(int)),ui->tableWidget_label, SLOT(selectColumn(int)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void MainWindow::on_horizontalSlider_contrast_sliderMoved(int value)
|
||||||
|
{
|
||||||
|
float valueToPercentage = float(value)/ui->horizontalSlider_contrast->maximum(); //[0, 1.0]
|
||||||
|
float percentageToGamma = pow(1/(valueToPercentage + 0.5), 7.);
|
||||||
|
|
||||||
|
ui->label_image->setContrastGamma(percentageToGamma);
|
||||||
|
ui->label_contrast->setText(QString("Contrast(%) ") + QString::number(int(valueToPercentage * 100.)));
|
||||||
|
}
|
||||||
|
12
mainwindow.h
12
mainwindow.h
@ -23,9 +23,9 @@ public:
|
|||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void on_pushButton_open_files_clicked();
|
void on_pushButton_open_files_clicked();
|
||||||
void on_pushButton_change_dir_clicked();
|
// void on_pushButton_change_dir_clicked();
|
||||||
void on_pushButton_save_clicked();
|
// void on_pushButton_save_clicked();
|
||||||
void on_pushButton_remove_clicked();
|
// void on_pushButton_remove_clicked();
|
||||||
|
|
||||||
void on_pushButton_prev_clicked();
|
void on_pushButton_prev_clicked();
|
||||||
void on_pushButton_next_clicked();
|
void on_pushButton_next_clicked();
|
||||||
@ -34,7 +34,7 @@ private slots:
|
|||||||
|
|
||||||
void next_img(bool bSavePrev = true);
|
void next_img(bool bSavePrev = true);
|
||||||
void prev_img(bool bSavePrev = true);
|
void prev_img(bool bSavePrev = true);
|
||||||
void save_label_data() const;
|
void save_label_data();
|
||||||
void clear_label_data();
|
void clear_label_data();
|
||||||
void remove_img();
|
void remove_img();
|
||||||
|
|
||||||
@ -46,6 +46,8 @@ private slots:
|
|||||||
|
|
||||||
void on_horizontalSlider_images_sliderMoved(int );
|
void on_horizontalSlider_images_sliderMoved(int );
|
||||||
|
|
||||||
|
void on_horizontalSlider_contrast_sliderMoved(int value);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void init();
|
void init();
|
||||||
void init_table_widget();
|
void init_table_widget();
|
||||||
@ -79,6 +81,8 @@ private:
|
|||||||
|
|
||||||
QStringList m_objList;
|
QStringList m_objList;
|
||||||
int m_objIndex;
|
int m_objIndex;
|
||||||
|
int m_lastDeletedImgIndex;
|
||||||
|
int m_lastLabeledImgIndex;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void wheelEvent(QWheelEvent *);
|
void wheelEvent(QWheelEvent *);
|
||||||
|
708
mainwindow.ui
708
mainwindow.ui
@ -6,20 +6,20 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>1528</width>
|
<width>1180</width>
|
||||||
<height>953</height>
|
<height>693</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
|
||||||
<horstretch>0</horstretch>
|
<horstretch>0</horstretch>
|
||||||
<verstretch>0</verstretch>
|
<verstretch>0</verstretch>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>1400</width>
|
<width>1180</width>
|
||||||
<height>920</height>
|
<height>640</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
@ -39,206 +39,205 @@
|
|||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="centralWidget">
|
<widget class="QWidget" name="centralWidget">
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||||
<horstretch>0</horstretch>
|
<horstretch>0</horstretch>
|
||||||
<verstretch>0</verstretch>
|
<verstretch>0</verstretch>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>1363</width>
|
<width>1180</width>
|
||||||
<height>867</height>
|
<height>610</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>16777215</width>
|
<width>165555</width>
|
||||||
<height>16777215</height>
|
<height>165555</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
<layout class="QGridLayout" name="gridLayout">
|
||||||
<item>
|
<item row="0" column="0">
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="label_file">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
<property name="minimumSize">
|
<item>
|
||||||
<size>
|
<widget class="label_img" name="label_image">
|
||||||
<width>1275</width>
|
<property name="sizePolicy">
|
||||||
<height>20</height>
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
|
||||||
</size>
|
<horstretch>0</horstretch>
|
||||||
</property>
|
<verstretch>0</verstretch>
|
||||||
<property name="maximumSize">
|
</sizepolicy>
|
||||||
<size>
|
</property>
|
||||||
<width>16777215</width>
|
<property name="minimumSize">
|
||||||
<height>20</height>
|
<size>
|
||||||
</size>
|
<width>540</width>
|
||||||
</property>
|
<height>360</height>
|
||||||
<property name="font">
|
</size>
|
||||||
<font>
|
</property>
|
||||||
<pointsize>13</pointsize>
|
<property name="font">
|
||||||
<weight>75</weight>
|
<font>
|
||||||
<bold>true</bold>
|
<pointsize>18</pointsize>
|
||||||
</font>
|
<weight>75</weight>
|
||||||
</property>
|
<bold>true</bold>
|
||||||
<property name="styleSheet">
|
</font>
|
||||||
<string notr="true">color : rgb(255, 187, 0);</string>
|
</property>
|
||||||
</property>
|
<property name="cursor">
|
||||||
<property name="text">
|
<cursorShape>CrossCursor</cursorShape>
|
||||||
<string>File:</string>
|
</property>
|
||||||
</property>
|
<property name="mouseTracking">
|
||||||
</widget>
|
<bool>true</bool>
|
||||||
</item>
|
</property>
|
||||||
<item>
|
<property name="styleSheet">
|
||||||
<widget class="label_img" name="label_image">
|
<string notr="true">QLabel { background-color : rgb(0, 0, 17); color : rgb(187, 255, 254);
|
||||||
<property name="sizePolicy">
|
|
||||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
||||||
<horstretch>0</horstretch>
|
|
||||||
<verstretch>0</verstretch>
|
|
||||||
</sizepolicy>
|
|
||||||
</property>
|
|
||||||
<property name="minimumSize">
|
|
||||||
<size>
|
|
||||||
<width>1280</width>
|
|
||||||
<height>720</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="font">
|
|
||||||
<font>
|
|
||||||
<pointsize>18</pointsize>
|
|
||||||
<weight>75</weight>
|
|
||||||
<bold>true</bold>
|
|
||||||
</font>
|
|
||||||
</property>
|
|
||||||
<property name="cursor">
|
|
||||||
<cursorShape>CrossCursor</cursorShape>
|
|
||||||
</property>
|
|
||||||
<property name="mouseTracking">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
<property name="styleSheet">
|
|
||||||
<string notr="true">QLabel { background-color : rgb(0, 0, 17); color : rgb(187, 255, 254);
|
|
||||||
border-style: outset;
|
border-style: outset;
|
||||||
border-width: 2px;
|
border-width: 2px;
|
||||||
border-color: rgb(0, 255, 255);}
|
border-color: rgb(0, 255, 255);}
|
||||||
|
|
||||||
</string>
|
</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="frameShape">
|
<property name="frameShape">
|
||||||
<enum>QFrame::StyledPanel</enum>
|
<enum>QFrame::StyledPanel</enum>
|
||||||
</property>
|
</property>
|
||||||
<property name="frameShadow">
|
<property name="frameShadow">
|
||||||
<enum>QFrame::Plain</enum>
|
<enum>QFrame::Plain</enum>
|
||||||
</property>
|
</property>
|
||||||
<property name="lineWidth">
|
<property name="lineWidth">
|
||||||
<number>3</number>
|
<number>3</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Open Data Set Directory...</string>
|
<string><html><head/><body><p>Open a Dataset Directory...</p><p>D: Next Image</p><p>A: Prev Image</p><p><br/>Ctrl + S: Save</p><p>Ctrl + D: Delete an Image<br/></p></body></html></string>
|
||||||
</property>
|
</property>
|
||||||
<property name="scaledContents">
|
<property name="scaledContents">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="alignment">
|
<property name="alignment">
|
||||||
<set>Qt::AlignCenter</set>
|
<set>Qt::AlignCenter</set>
|
||||||
</property>
|
</property>
|
||||||
<property name="margin">
|
<property name="margin">
|
||||||
<number>-1</number>
|
<number>-1</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="buddy">
|
<property name="buddy">
|
||||||
<cstring>label_image</cstring>
|
<cstring>label_image</cstring>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
<layout class="QHBoxLayout" name="horizontalLayout_3"/>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||||||
|
<item>
|
||||||
|
<widget class="QSlider" name="horizontalSlider_contrast">
|
||||||
|
<property name="enabled">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||||
|
<horstretch>1</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>560</width>
|
||||||
|
<height>22</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>16777215</width>
|
||||||
|
<height>42</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="focusPolicy">
|
||||||
|
<enum>Qt::NoFocus</enum>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">
|
||||||
|
QSlider::groove:horizontal {
|
||||||
|
border: 1px solid #999999;
|
||||||
|
height: 8px; /* the groove expands to the size of the slider by default. by giving it a height, it has a fixed size */
|
||||||
|
background: rgb(0, 255, 255);
|
||||||
|
margin: 2px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
QSlider::handle:horizontal {
|
||||||
|
background: rgb(255, 187, 0);
|
||||||
|
border: 1px solid #5c5c5c;
|
||||||
|
width: 18px;
|
||||||
|
margin: -10px 0; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */
|
||||||
|
border-radius: 3px;
|
||||||
|
}
|
||||||
|
</string>
|
||||||
|
</property>
|
||||||
|
<property name="maximum">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="pageStep">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="tracking">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="label_contrast">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>160</width>
|
||||||
|
<height>23</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>16777215</width>
|
||||||
|
<height>42</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<family>Arial</family>
|
||||||
|
<pointsize>12</pointsize>
|
||||||
|
<weight>75</weight>
|
||||||
|
<bold>true</bold>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">background-color : rgb(0, 0, 17);color : rgb(0, 255, 255);
|
||||||
|
border-style: outset;
|
||||||
|
border-width: 2px;
|
||||||
|
border-color: rgb(0, 255, 255);</string>
|
||||||
|
</property>
|
||||||
|
<property name="frameShape">
|
||||||
|
<enum>QFrame::StyledPanel</enum>
|
||||||
|
</property>
|
||||||
|
<property name="lineWidth">
|
||||||
|
<number>2</number>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Contrast</string>
|
||||||
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignCenter</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||||
<item>
|
|
||||||
<widget class="QPushButton" name="pushButton_prev">
|
|
||||||
<property name="enabled">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<property name="minimumSize">
|
|
||||||
<size>
|
|
||||||
<width>75</width>
|
|
||||||
<height>23</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="font">
|
|
||||||
<font>
|
|
||||||
<weight>75</weight>
|
|
||||||
<bold>true</bold>
|
|
||||||
</font>
|
|
||||||
</property>
|
|
||||||
<property name="focusPolicy">
|
|
||||||
<enum>Qt::NoFocus</enum>
|
|
||||||
</property>
|
|
||||||
<property name="styleSheet">
|
|
||||||
<string notr="true">background-color : rgb(0, 0, 17);color : rgb(0, 255, 255);
|
|
||||||
border-style: outset;
|
|
||||||
border-width: 2px;
|
|
||||||
border-color: rgb(0, 255, 255);</string>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>Prev</string>
|
|
||||||
</property>
|
|
||||||
<property name="shortcut">
|
|
||||||
<string/>
|
|
||||||
</property>
|
|
||||||
<property name="autoDefault">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<property name="default">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<property name="flat">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QPushButton" name="pushButton_next">
|
|
||||||
<property name="enabled">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<property name="minimumSize">
|
|
||||||
<size>
|
|
||||||
<width>75</width>
|
|
||||||
<height>23</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="font">
|
|
||||||
<font>
|
|
||||||
<weight>75</weight>
|
|
||||||
<bold>true</bold>
|
|
||||||
</font>
|
|
||||||
</property>
|
|
||||||
<property name="focusPolicy">
|
|
||||||
<enum>Qt::NoFocus</enum>
|
|
||||||
</property>
|
|
||||||
<property name="styleSheet">
|
|
||||||
<string notr="true">background-color : rgb(0, 0, 17);color : rgb(0, 255, 255);
|
|
||||||
border-style: outset;
|
|
||||||
border-width: 2px;
|
|
||||||
border-color: rgb(0, 255, 255);</string>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>Next</string>
|
|
||||||
</property>
|
|
||||||
<property name="shortcut">
|
|
||||||
<string>Del</string>
|
|
||||||
</property>
|
|
||||||
<property name="autoDefault">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<property name="default">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<property name="flat">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<widget class="QSlider" name="horizontalSlider_images">
|
<widget class="QSlider" name="horizontalSlider_images">
|
||||||
<property name="enabled">
|
<property name="enabled">
|
||||||
@ -252,12 +251,18 @@ border-color: rgb(0, 255, 255);</string>
|
|||||||
</property>
|
</property>
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>881</width>
|
<width>560</width>
|
||||||
<height>22</height>
|
<height>22</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>16777215</width>
|
||||||
|
<height>42</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
<property name="focusPolicy">
|
<property name="focusPolicy">
|
||||||
<enum>Qt::ClickFocus</enum>
|
<enum>Qt::NoFocus</enum>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">
|
<string notr="true">
|
||||||
@ -302,12 +307,20 @@ QSlider::handle:horizontal {
|
|||||||
</property>
|
</property>
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>211</width>
|
<width>160</width>
|
||||||
<height>21</height>
|
<height>23</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>16777215</width>
|
||||||
|
<height>42</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
|
<family>Arial</family>
|
||||||
|
<pointsize>12</pointsize>
|
||||||
<weight>75</weight>
|
<weight>75</weight>
|
||||||
<bold>true</bold>
|
<bold>true</bold>
|
||||||
</font>
|
</font>
|
||||||
@ -335,23 +348,37 @@ border-color: rgb(0, 255, 255);</string>
|
|||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="pushButton_open_files">
|
<widget class="QPushButton" name="pushButton_open_files">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>200</width>
|
<width>160</width>
|
||||||
<height>91</height>
|
<height>25</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>16777215</width>
|
<width>200</width>
|
||||||
<height>91</height>
|
<height>60</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="baseSize">
|
||||||
|
<size>
|
||||||
|
<width>0</width>
|
||||||
|
<height>0</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
|
<family>Arial</family>
|
||||||
|
<pointsize>12</pointsize>
|
||||||
<weight>75</weight>
|
<weight>75</weight>
|
||||||
<bold>true</bold>
|
<bold>true</bold>
|
||||||
<kerning>true</kerning>
|
<kerning>true</kerning>
|
||||||
@ -378,112 +405,29 @@ border-color: rgb(0, 255, 255);</string>
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="pushButton_change_dir">
|
<widget class="QTextEdit" name="textEdit_log">
|
||||||
<property name="enabled">
|
<property name="sizePolicy">
|
||||||
<bool>false</bool>
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>200</width>
|
<width>560</width>
|
||||||
<height>91</height>
|
<height>25</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>16777215</width>
|
<width>16777215</width>
|
||||||
<height>91</height>
|
<height>60</height>
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="font">
|
|
||||||
<font>
|
|
||||||
<weight>75</weight>
|
|
||||||
<bold>true</bold>
|
|
||||||
<kerning>true</kerning>
|
|
||||||
</font>
|
|
||||||
</property>
|
|
||||||
<property name="focusPolicy">
|
|
||||||
<enum>Qt::NoFocus</enum>
|
|
||||||
</property>
|
|
||||||
<property name="styleSheet">
|
|
||||||
<string notr="true">background-color : rgb(0, 0, 17);color : rgb(0, 255, 255);
|
|
||||||
border-style: outset;
|
|
||||||
border-width: 2px;
|
|
||||||
border-color: rgb(0, 255, 255);</string>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>Change Directory</string>
|
|
||||||
</property>
|
|
||||||
<property name="autoDefault">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<property name="default">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QPushButton" name="pushButton_save">
|
|
||||||
<property name="enabled">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<property name="minimumSize">
|
|
||||||
<size>
|
|
||||||
<width>200</width>
|
|
||||||
<height>91</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="maximumSize">
|
|
||||||
<size>
|
|
||||||
<width>16777215</width>
|
|
||||||
<height>91</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="font">
|
|
||||||
<font>
|
|
||||||
<weight>75</weight>
|
|
||||||
<bold>true</bold>
|
|
||||||
<kerning>true</kerning>
|
|
||||||
</font>
|
|
||||||
</property>
|
|
||||||
<property name="focusPolicy">
|
|
||||||
<enum>Qt::NoFocus</enum>
|
|
||||||
</property>
|
|
||||||
<property name="styleSheet">
|
|
||||||
<string notr="true">background-color : rgb(0, 0, 17);color : rgb(0, 255, 255);
|
|
||||||
border-style: outset;
|
|
||||||
border-width: 2px;
|
|
||||||
border-color: rgb(0, 255, 255);</string>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>Save</string>
|
|
||||||
</property>
|
|
||||||
<property name="shortcut">
|
|
||||||
<string/>
|
|
||||||
</property>
|
|
||||||
<property name="autoDefault">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<property name="default">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<property name="flat">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QPushButton" name="pushButton_remove">
|
|
||||||
<property name="enabled">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<property name="minimumSize">
|
|
||||||
<size>
|
|
||||||
<width>200</width>
|
|
||||||
<height>91</height>
|
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
|
<family>Arial</family>
|
||||||
|
<pointsize>12</pointsize>
|
||||||
<weight>75</weight>
|
<weight>75</weight>
|
||||||
<bold>true</bold>
|
<bold>true</bold>
|
||||||
</font>
|
</font>
|
||||||
@ -497,177 +441,29 @@ border-style: outset;
|
|||||||
border-width: 2px;
|
border-width: 2px;
|
||||||
border-color: rgb(0, 255, 255);</string>
|
border-color: rgb(0, 255, 255);</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="tabChangesFocus">
|
||||||
<string>Remove</string>
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="readOnly">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
<property name="html">
|
||||||
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||||
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||||
|
p, li { white-space: pre-wrap; }
|
||||||
|
</style></head><body style=" font-family:'Arial'; font-size:12pt; font-weight:600; font-style:normal;">
|
||||||
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Gulim'; font-size:9pt;">Last Labeled Image:<br />Current Image:</span></p></body></html></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<widget class="QCheckBox" name="checkBox_cropping">
|
|
||||||
<property name="minimumSize">
|
|
||||||
<size>
|
|
||||||
<width>100</width>
|
|
||||||
<height>21</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="maximumSize">
|
|
||||||
<size>
|
|
||||||
<width>100</width>
|
|
||||||
<height>16777215</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="font">
|
|
||||||
<font>
|
|
||||||
<weight>75</weight>
|
|
||||||
<bold>true</bold>
|
|
||||||
</font>
|
|
||||||
</property>
|
|
||||||
<property name="cursor">
|
|
||||||
<cursorShape>ArrowCursor</cursorShape>
|
|
||||||
</property>
|
|
||||||
<property name="focusPolicy">
|
|
||||||
<enum>Qt::NoFocus</enum>
|
|
||||||
</property>
|
|
||||||
<property name="styleSheet">
|
|
||||||
<string notr="true">background-color : rgb(0, 0, 17);color : rgb(0, 255, 255);
|
|
||||||
border-style: outset;
|
|
||||||
border-width: 2px;
|
|
||||||
border-color: rgb(0, 255, 255);</string>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>with crop</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
|
||||||
<item>
|
|
||||||
<widget class="QLabel" name="label_log">
|
|
||||||
<property name="enabled">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
<property name="sizePolicy">
|
|
||||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
||||||
<horstretch>0</horstretch>
|
|
||||||
<verstretch>0</verstretch>
|
|
||||||
</sizepolicy>
|
|
||||||
</property>
|
|
||||||
<property name="minimumSize">
|
|
||||||
<size>
|
|
||||||
<width>41</width>
|
|
||||||
<height>15</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="maximumSize">
|
|
||||||
<size>
|
|
||||||
<width>16777215</width>
|
|
||||||
<height>15</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="font">
|
|
||||||
<font>
|
|
||||||
<weight>75</weight>
|
|
||||||
<italic>false</italic>
|
|
||||||
<bold>true</bold>
|
|
||||||
</font>
|
|
||||||
</property>
|
|
||||||
<property name="styleSheet">
|
|
||||||
<string notr="true">color : rgb(0, 255, 255);</string>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>Log</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QTextEdit" name="textEdit_log">
|
|
||||||
<property name="sizePolicy">
|
|
||||||
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
|
||||||
<horstretch>0</horstretch>
|
|
||||||
<verstretch>0</verstretch>
|
|
||||||
</sizepolicy>
|
|
||||||
</property>
|
|
||||||
<property name="minimumSize">
|
|
||||||
<size>
|
|
||||||
<width>545</width>
|
|
||||||
<height>70</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="maximumSize">
|
|
||||||
<size>
|
|
||||||
<width>16777215</width>
|
|
||||||
<height>70</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="font">
|
|
||||||
<font>
|
|
||||||
<weight>75</weight>
|
|
||||||
<bold>true</bold>
|
|
||||||
</font>
|
|
||||||
</property>
|
|
||||||
<property name="focusPolicy">
|
|
||||||
<enum>Qt::NoFocus</enum>
|
|
||||||
</property>
|
|
||||||
<property name="styleSheet">
|
|
||||||
<string notr="true">background-color : rgb(0, 0, 17);color : rgb(0, 255, 255);
|
|
||||||
border-style: outset;
|
|
||||||
border-width: 2px;
|
|
||||||
border-color: rgb(0, 255, 255);</string>
|
|
||||||
</property>
|
|
||||||
<property name="tabChangesFocus">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<property name="readOnly">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</item>
|
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
||||||
<item>
|
|
||||||
<widget class="QLabel" name="label_table_widget_padding">
|
|
||||||
<property name="sizePolicy">
|
|
||||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
||||||
<horstretch>0</horstretch>
|
|
||||||
<verstretch>0</verstretch>
|
|
||||||
</sizepolicy>
|
|
||||||
</property>
|
|
||||||
<property name="minimumSize">
|
|
||||||
<size>
|
|
||||||
<width>220</width>
|
|
||||||
<height>20</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="maximumSize">
|
|
||||||
<size>
|
|
||||||
<width>220</width>
|
|
||||||
<height>20</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="font">
|
|
||||||
<font>
|
|
||||||
<pointsize>13</pointsize>
|
|
||||||
<weight>75</weight>
|
|
||||||
<bold>true</bold>
|
|
||||||
</font>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string/>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<widget class="QTableWidget" name="tableWidget_label">
|
<widget class="QTableWidget" name="tableWidget_label">
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
|
||||||
<horstretch>0</horstretch>
|
<horstretch>0</horstretch>
|
||||||
<verstretch>0</verstretch>
|
<verstretch>0</verstretch>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
@ -675,12 +471,12 @@ border-color: rgb(0, 255, 255);</string>
|
|||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>220</width>
|
<width>220</width>
|
||||||
<height>851</height>
|
<height>360</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>220</width>
|
<width>330</width>
|
||||||
<height>16777215</height>
|
<height>16777215</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
@ -744,12 +540,12 @@ QTableView {
|
|||||||
<attribute name="horizontalHeaderVisible">
|
<attribute name="horizontalHeaderVisible">
|
||||||
<bool>false</bool>
|
<bool>false</bool>
|
||||||
</attribute>
|
</attribute>
|
||||||
<attribute name="horizontalHeaderHighlightSections">
|
|
||||||
<bool>false</bool>
|
|
||||||
</attribute>
|
|
||||||
<attribute name="horizontalHeaderMinimumSectionSize">
|
<attribute name="horizontalHeaderMinimumSectionSize">
|
||||||
<number>40</number>
|
<number>40</number>
|
||||||
</attribute>
|
</attribute>
|
||||||
|
<attribute name="horizontalHeaderHighlightSections">
|
||||||
|
<bool>false</bool>
|
||||||
|
</attribute>
|
||||||
<attribute name="horizontalHeaderShowSortIndicator" stdset="0">
|
<attribute name="horizontalHeaderShowSortIndicator" stdset="0">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</attribute>
|
</attribute>
|
||||||
@ -786,8 +582,8 @@ QTableView {
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>1528</width>
|
<width>1180</width>
|
||||||
<height>23</height>
|
<height>21</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
|
Loading…
Reference in New Issue
Block a user