Yolo_Label/mainwindow.ui

651 lines
20 KiB
Plaintext
Raw Normal View History

2018-10-29 07:26:06 +03:00
<?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>
2021-11-29 18:04:33 +03:00
<width>1180</width>
<height>693</height>
2018-10-29 07:26:06 +03:00
</rect>
</property>
<property name="sizePolicy">
2021-11-29 18:04:33 +03:00
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
2018-10-29 07:26:06 +03:00
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
2021-11-29 18:04:33 +03:00
<width>1180</width>
<height>640</height>
2018-10-29 07:26:06 +03:00
</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">
2018-10-30 06:28:13 +03:00
<string>YoloLabel</string>
2018-10-29 07:26:06 +03:00
</property>
<property name="styleSheet">
<string notr="true">background-color : rgb(0, 0, 17);</string>
</property>
<widget class="QWidget" name="centralWidget">
<property name="sizePolicy">
2021-11-29 18:04:33 +03:00
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
2018-10-29 07:26:06 +03:00
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
2021-11-29 18:04:33 +03:00
<width>1180</width>
<height>610</height>
2018-10-29 07:26:06 +03:00
</size>
</property>
<property name="maximumSize">
<size>
2021-11-29 18:04:33 +03:00
<width>165555</width>
<height>165555</height>
2018-10-29 07:26:06 +03:00
</size>
</property>
2021-11-29 18:04:33 +03:00
<layout class="QGridLayout" name="gridLayout">
2023-01-10 14:54:53 +03:00
<item row="3" column="0">
2021-11-29 18:04:33 +03:00
<layout class="QHBoxLayout" name="horizontalLayout_5">
2018-10-29 07:26:06 +03:00
<item>
2021-11-29 18:04:33 +03:00
<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>
2023-01-10 14:54:53 +03:00
<family>Arial</family>
2021-11-29 18:04:33 +03:00
<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);
2018-10-29 07:26:06 +03:00
border-style: outset;
border-width: 2px;
border-color: rgb(0, 255, 255);}
</string>
2021-11-29 18:04:33 +03:00
</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>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Open a Dataset Directory...&lt;/p&gt;&lt;p&gt;D: Next Image&lt;/p&gt;&lt;p&gt;A: Prev Image&lt;/p&gt;&lt;p&gt;S: Next Class&lt;/p&gt;&lt;p&gt;W: Prev Class&lt;/p&gt;&lt;p&gt;V: Visualize Class Name&lt;/p&gt;&lt;p&gt;O: Open Files&lt;br/&gt;Ctrl + S: Save&lt;/p&gt;&lt;p&gt;Ctrl + D: Delete an Image&lt;br/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
2021-11-29 18:04:33 +03:00
</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>
2018-10-29 07:26:06 +03:00
<item>
2021-11-29 18:04:33 +03:00
<layout class="QHBoxLayout" name="horizontalLayout_3"/>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
2018-10-29 07:26:06 +03:00
<item>
2021-11-29 18:04:33 +03:00
<widget class="QSlider" name="horizontalSlider_contrast">
2018-11-07 09:55:10 +03:00
<property name="enabled">
<bool>false</bool>
</property>
2021-11-29 18:04:33 +03:00
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2018-11-07 09:55:10 +03:00
<property name="minimumSize">
<size>
2021-11-29 18:04:33 +03:00
<width>560</width>
<height>22</height>
2018-11-07 09:55:10 +03:00
</size>
</property>
2021-11-29 18:04:33 +03:00
<property name="maximumSize">
<size>
<width>16777215</width>
<height>42</height>
</size>
2018-11-07 09:55:10 +03:00
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="styleSheet">
2021-11-29 18:04:33 +03:00
<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>
2018-11-07 09:55:10 +03:00
</property>
2021-11-29 18:04:33 +03:00
<property name="maximum">
<number>0</number>
2018-11-07 09:55:10 +03:00
</property>
2021-11-29 18:04:33 +03:00
<property name="pageStep">
<number>0</number>
2018-11-07 09:55:10 +03:00
</property>
2021-11-29 18:04:33 +03:00
<property name="tracking">
<bool>true</bool>
2018-11-07 09:55:10 +03:00
</property>
2021-11-29 18:04:33 +03:00
<property name="orientation">
<enum>Qt::Horizontal</enum>
2018-11-07 09:55:10 +03:00
</property>
</widget>
</item>
<item>
2021-11-29 18:04:33 +03:00
<widget class="QLabel" name="label_contrast">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
2018-11-07 09:55:10 +03:00
</property>
<property name="minimumSize">
<size>
2021-11-29 18:04:33 +03:00
<width>160</width>
2018-11-07 09:55:10 +03:00
<height>23</height>
</size>
</property>
2021-11-29 18:04:33 +03:00
<property name="maximumSize">
<size>
<width>16777215</width>
<height>42</height>
</size>
</property>
2018-11-07 09:55:10 +03:00
<property name="font">
<font>
2021-11-29 18:04:33 +03:00
<family>Arial</family>
<pointsize>12</pointsize>
2018-11-07 09:55:10 +03:00
<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);
2018-10-29 07:26:06 +03:00
border-style: outset;
border-width: 2px;
border-color: rgb(0, 255, 255);</string>
2018-11-07 09:55:10 +03:00
</property>
2021-11-29 18:04:33 +03:00
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
2018-11-07 09:55:10 +03:00
</property>
2021-11-29 18:04:33 +03:00
<property name="lineWidth">
<number>2</number>
2018-11-07 09:55:10 +03:00
</property>
2021-11-29 18:04:33 +03:00
<property name="text">
<string>Contrast</string>
2018-11-07 09:55:10 +03:00
</property>
2021-11-29 18:04:33 +03:00
<property name="alignment">
<set>Qt::AlignCenter</set>
2018-11-07 09:55:10 +03:00
</property>
</widget>
</item>
2021-11-29 18:04:33 +03:00
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
2018-11-07 09:55:10 +03:00
<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>
2021-11-29 18:04:33 +03:00
<width>560</width>
2018-11-07 09:55:10 +03:00
<height>22</height>
</size>
</property>
2021-11-29 18:04:33 +03:00
<property name="maximumSize">
<size>
<width>16777215</width>
<height>42</height>
</size>
</property>
2018-11-07 09:55:10 +03:00
<property name="focusPolicy">
2021-11-29 18:04:33 +03:00
<enum>Qt::NoFocus</enum>
2018-11-07 09:55:10 +03:00
</property>
<property name="styleSheet">
<string notr="true">
2018-10-29 07:26:06 +03:00
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>
2018-11-07 09:55:10 +03:00
</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>
2021-11-29 18:04:33 +03:00
<width>160</width>
<height>23</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>42</height>
2018-11-07 09:55:10 +03:00
</size>
</property>
<property name="font">
<font>
2021-11-29 18:04:33 +03:00
<family>Arial</family>
<pointsize>12</pointsize>
2018-11-07 09:55:10 +03:00
<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>
2021-11-29 18:04:33 +03:00
<layout class="QHBoxLayout" name="horizontalLayout_4">
2018-11-07 09:55:10 +03:00
<item>
<widget class="QPushButton" name="pushButton_open_files">
2021-11-29 18:04:33 +03:00
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2018-11-07 09:55:10 +03:00
<property name="minimumSize">
<size>
2021-11-29 18:04:33 +03:00
<width>160</width>
<height>25</height>
2018-11-07 09:55:10 +03:00
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
2021-11-29 18:04:33 +03:00
<height>60</height>
</size>
</property>
2021-11-29 18:04:33 +03:00
<property name="baseSize">
<size>
2021-11-29 18:04:33 +03:00
<width>0</width>
<height>0</height>
</size>
</property>
<property name="font">
<font>
2021-11-29 18:04:33 +03:00
<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">
2021-11-29 18:04:33 +03:00
<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>
2018-11-07 09:55:10 +03:00
<item>
2021-11-29 18:04:33 +03:00
<widget class="QTextEdit" name="textEdit_log">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
2018-11-07 09:55:10 +03:00
</property>
<property name="minimumSize">
<size>
2021-11-29 18:04:33 +03:00
<width>560</width>
<height>25</height>
2018-11-07 09:55:10 +03:00
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
2021-11-29 18:04:33 +03:00
<height>60</height>
2018-11-07 09:55:10 +03:00
</size>
</property>
<property name="font">
<font>
2021-11-29 18:04:33 +03:00
<family>Arial</family>
<pointsize>12</pointsize>
2018-11-07 09:55:10 +03:00
<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>
2021-11-29 18:04:33 +03:00
<property name="tabChangesFocus">
2018-12-14 07:44:18 +03:00
<bool>false</bool>
</property>
2021-11-29 18:04:33 +03:00
<property name="readOnly">
<bool>true</bool>
2018-11-07 09:55:10 +03:00
</property>
2021-11-29 18:04:33 +03:00
<property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Arial'; font-size:12pt; font-weight:600; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Gulim'; font-size:9pt;&quot;&gt;Last Labeled Image:&lt;br /&gt;Current Image:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
2018-11-07 09:55:10 +03:00
</property>
</widget>
</item>
2018-10-29 07:26:06 +03:00
</layout>
</item>
</layout>
</item>
2018-11-07 09:55:10 +03:00
<item>
<widget class="QTableWidget" name="tableWidget_label">
<property name="sizePolicy">
2021-11-29 18:04:33 +03:00
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
2018-11-07 09:55:10 +03:00
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>220</width>
2021-11-29 18:04:33 +03:00
<height>360</height>
2018-11-07 09:55:10 +03:00
</size>
</property>
<property name="maximumSize">
<size>
2021-11-29 18:04:33 +03:00
<width>330</width>
2018-11-07 09:55:10 +03:00
<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 {
2018-10-29 07:26:06 +03:00
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>
2018-11-07 09:55:10 +03:00
</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">
2018-12-14 07:44:18 +03:00
<bool>false</bool>
2018-11-07 09:55:10 +03:00
</attribute>
<attribute name="horizontalHeaderMinimumSectionSize">
<number>40</number>
</attribute>
2021-11-29 18:04:33 +03:00
<attribute name="horizontalHeaderHighlightSections">
<bool>false</bool>
</attribute>
2018-11-07 09:55:10 +03:00
<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>
2018-10-29 07:26:06 +03:00
</item>
2023-01-10 14:54:53 +03:00
</layout>
</item>
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_6">
<item>
<widget class="QCheckBox" name="checkBox_visualize_class_name">
2023-01-10 14:54:53 +03:00
<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>
2023-01-10 14:54:53 +03:00
</property>
<property name="shortcut">
<string>V</string>
</property>
</widget>
</item>
2018-10-29 07:26:06 +03:00
</layout>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
2021-11-29 18:04:33 +03:00
<width>1180</width>
<height>21</height>
2018-10-29 07:26:06 +03:00
</rect>
</property>
</widget>
<widget class="QToolBar" name="mainToolBar">
2018-12-14 05:01:40 +03:00
<property name="enabled">
<bool>true</bool>
</property>
<property name="movable">
<bool>false</bool>
</property>
<property name="floatable">
<bool>false</bool>
</property>
2018-10-29 07:26:06 +03:00
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
2018-10-31 13:30:27 +03:00
<addaction name="separator"/>
2018-10-29 07:26:06 +03:00
</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>