651 lines
20 KiB
XML
651 lines
20 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>MainWindow</class>
|
|
<widget class="QMainWindow" name="MainWindow">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>1180</width>
|
|
<height>693</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>1180</width>
|
|
<height>640</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="focusPolicy">
|
|
<enum>Qt::StrongFocus</enum>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>YoloLabel</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">background-color : rgb(0, 0, 17);</string>
|
|
</property>
|
|
<widget class="QWidget" name="centralWidget">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>1180</width>
|
|
<height>610</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>165555</width>
|
|
<height>165555</height>
|
|
</size>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="3" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="label_img" name="label_image">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>540</width>
|
|
<height>360</height>
|
|
</size>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Arial</family>
|
|
<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-width: 2px;
|
|
border-color: rgb(0, 255, 255);}
|
|
|
|
</string>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::StyledPanel</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Plain</enum>
|
|
</property>
|
|
<property name="lineWidth">
|
|
<number>3</number>
|
|
</property>
|
|
<property name="text">
|
|
<string><html><head/><body><p>Open a Dataset Directory...</p><p>D: Next Image</p><p>A: Prev Image</p><p>S: Next Class</p><p>W: Prev Class</p><p>V: Visualize Class Name</p><p>O: Open Files<br/>Ctrl + S: Save</p><p>Ctrl + D: Delete an Image<br/></p></body></html></string>
|
|
</property>
|
|
<property name="scaledContents">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
<property name="margin">
|
|
<number>-1</number>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>label_image</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<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>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QSlider" name="horizontalSlider_images">
|
|
<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_progress">
|
|
<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>0 / 0</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
<item>
|
|
<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">
|
|
<size>
|
|
<width>160</width>
|
|
<height>25</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>200</width>
|
|
<height>60</height>
|
|
</size>
|
|
</property>
|
|
<property name="baseSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Arial</family>
|
|
<pointsize>12</pointsize>
|
|
<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>Open Files</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>O</string>
|
|
</property>
|
|
<property name="autoDefault">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="default">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QTextEdit" name="textEdit_log">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>560</width>
|
|
<height>25</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>60</height>
|
|
</size>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Arial</family>
|
|
<pointsize>12</pointsize>
|
|
<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>
|
|
<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>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QTableWidget" name="tableWidget_label">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>220</width>
|
|
<height>360</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>330</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>10</pointsize>
|
|
<weight>75</weight>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="focusPolicy">
|
|
<enum>Qt::NoFocus</enum>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QHeaderView::section {
|
|
background-color: rgb(0, 0, 17);
|
|
color: rgb(255, 187, 0);
|
|
padding-left: 4px;
|
|
border: 2px solid rgb(0, 255, 255);
|
|
font-weight: bold;
|
|
}
|
|
QTableWidget
|
|
{
|
|
border-style: outset;
|
|
border-width: 2px;
|
|
border-color: rgb(0, 255, 255);
|
|
color:rgb(187, 255, 254);
|
|
gridline-width:2px;
|
|
gridline-color: rgb(0, 255, 255);
|
|
}
|
|
|
|
QTableView {
|
|
selection-background-color: qlineargradient(x1: 0, y1: 0, x2: 1.0, y2: 1.0, stop: 0 rgb(34, 0, 85), stop: 1 white);
|
|
selection-color: rgb(0, 255, 0);
|
|
}</string>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::WinPanel</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Plain</enum>
|
|
</property>
|
|
<property name="lineWidth">
|
|
<number>5</number>
|
|
</property>
|
|
<property name="showGrid">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="sortingEnabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="cornerButtonEnabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="columnCount">
|
|
<number>2</number>
|
|
</property>
|
|
<attribute name="horizontalHeaderVisible">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<attribute name="horizontalHeaderMinimumSectionSize">
|
|
<number>40</number>
|
|
</attribute>
|
|
<attribute name="horizontalHeaderHighlightSections">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<attribute name="horizontalHeaderShowSortIndicator" stdset="0">
|
|
<bool>true</bool>
|
|
</attribute>
|
|
<attribute name="horizontalHeaderStretchLastSection">
|
|
<bool>true</bool>
|
|
</attribute>
|
|
<attribute name="verticalHeaderVisible">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<attribute name="verticalHeaderHighlightSections">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<attribute name="verticalHeaderShowSortIndicator" stdset="0">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<column>
|
|
<property name="text">
|
|
<string>Name</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Color</string>
|
|
</property>
|
|
</column>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
|
<item>
|
|
<widget class="QCheckBox" name="checkBox_visualize_class_name">
|
|
<property name="font">
|
|
<font>
|
|
<family>Arial</family>
|
|
<pointsize>12</pointsize>
|
|
<underline>false</underline>
|
|
<strikeout>false</strikeout>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">background-color : rgb(0, 0, 17);color : rgb(0, 255, 255);
|
|
</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Visualize Class Name</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>V</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menuBar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>1180</width>
|
|
<height>21</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QToolBar" name="mainToolBar">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="movable">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="floatable">
|
|
<bool>false</bool>
|
|
</property>
|
|
<attribute name="toolBarArea">
|
|
<enum>TopToolBarArea</enum>
|
|
</attribute>
|
|
<attribute name="toolBarBreak">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<addaction name="separator"/>
|
|
</widget>
|
|
<widget class="QStatusBar" name="statusBar"/>
|
|
</widget>
|
|
<layoutdefault spacing="6" margin="11"/>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>label_img</class>
|
|
<extends>QLabel</extends>
|
|
<header location="global">label_img.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|