<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>MateChooser</class>
 <widget class="QDialog" name="MateChooser">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>253</width>
    <height>234</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>Dialog</string>
  </property>
  <property name="styleSheet">
   <string notr="true">/*---------------------------------MateChooser[begin]---------------------------------*/
#MateChooser
{
    background-color: rgb(255, 255, 255);
    border: 1 solid rgb(230, 230, 230);
}
#mateTitle
{
    color: rgb(255, 255, 255);
    font-size: 11pt;
    background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(236, 174, 102), stop:0.5 rgba(236, 128, 69), stop:0.51 rgba(248, 105, 39), stop:1 rgba(238, 172, 102));
}

#scrollArea, #scrollArea QWidget {
   background: white;
}

#scrollArea QPushButton {
   background: rgb(255, 243, 239);
   border: 1 solid silver;
   color: rgb(80, 80, 80);
   min-height: 40; max-height: 40;
   min-width: 65; max-width: 65;
}

#scrollArea QPushButton:checked {
   background: rgb(248, 105, 41);
   color: white;
}

#scrollArea QScrollBar:vertical
{
    background: rgb(207, 208, 209);
    width: 10px;
    margin: 5 0;
}
#scrollArea QScrollBar::handle:vertical
{
    border-radius: 6px;
    background: rgb(247, 112, 42);
    min-height: 20px;
}
#scrollArea QScrollBar::add-line:vertical
{
    height: 0px;
    margin: 20px;
}
#scrollArea QScrollBar::sub-line:vertical
{
    height: 0px;
}
#scrollArea QScrollBar::add-page:vertical,QScrollBar::sub-page:vertical
{
    background: rgb(240, 220, 210);
}
/*
#mateList
{
   border: 0 solid silver;
   background-color: white;
   selection-background-color: white;
   margin: 10; margin-right: -20;
   font-size: 11pt;
   padding-top: 16px;
}

#mateList::item
{
   margin: 2;
   background: rgba(248, 105, 41, 25);
   border: 1 solid silver;
   color: rgb(80, 80, 80);
   min-height: 40; max-height: 40;
   min-width: 60; max-width: 60;
}

#mateList::item:selected
{
   background: rgba(248, 105, 41, 255);
   color: white;
}
*/

#mateCancel, #mateConfirm
{
    font-size: 9pt;
    color: rgb(255, 255, 255);
    background-color: rgb(248, 105, 41);
    border-radius: 5px;
}

#mateCancel:pressed,#mateConfirm:pressed
{
    font-size: 9pt;
    color: rgb(161, 161, 161);
    background-color: rgb(197, 83, 32);
}
/*---------------------------------MateChooser[ end ]---------------------------------*/

</string>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout">
   <property name="spacing">
    <number>0</number>
   </property>
   <property name="margin">
    <number>0</number>
   </property>
   <item>
    <widget class="QLabel" name="mateTitle">
     <property name="minimumSize">
      <size>
       <width>0</width>
       <height>34</height>
      </size>
     </property>
     <property name="text">
      <string/>
     </property>
     <property name="alignment">
      <set>Qt::AlignCenter</set>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QScrollArea" name="scrollArea">
     <property name="frameShape">
      <enum>QFrame::NoFrame</enum>
     </property>
     <property name="widgetResizable">
      <bool>true</bool>
     </property>
     <widget class="QWidget" name="scrollAreaWithContents">
      <property name="geometry">
       <rect>
        <x>0</x>
        <y>0</y>
        <width>253</width>
        <height>135</height>
       </rect>
      </property>
      <layout class="QGridLayout" name="mateList">
       <property name="margin">
        <number>16</number>
       </property>
      </layout>
     </widget>
    </widget>
   </item>
   <item>
    <layout class="QHBoxLayout" name="horizontalLayout">
     <property name="spacing">
      <number>0</number>
     </property>
     <property name="topMargin">
      <number>10</number>
     </property>
     <property name="bottomMargin">
      <number>15</number>
     </property>
     <item>
      <spacer name="horizontalSpacer_2">
       <property name="orientation">
        <enum>Qt::Horizontal</enum>
       </property>
       <property name="sizeHint" stdset="0">
        <size>
         <width>40</width>
         <height>20</height>
        </size>
       </property>
      </spacer>
     </item>
     <item>
      <widget class="QPushButton" name="mateConfirm">
       <property name="minimumSize">
        <size>
         <width>80</width>
         <height>40</height>
        </size>
       </property>
       <property name="maximumSize">
        <size>
         <width>80</width>
         <height>40</height>
        </size>
       </property>
       <property name="text">
        <string>确认</string>
       </property>
      </widget>
     </item>
     <item>
      <spacer name="horizontalSpacer">
       <property name="orientation">
        <enum>Qt::Horizontal</enum>
       </property>
       <property name="sizeHint" stdset="0">
        <size>
         <width>40</width>
         <height>20</height>
        </size>
       </property>
      </spacer>
     </item>
     <item>
      <widget class="QPushButton" name="mateCancel">
       <property name="minimumSize">
        <size>
         <width>80</width>
         <height>40</height>
        </size>
       </property>
       <property name="maximumSize">
        <size>
         <width>80</width>
         <height>40</height>
        </size>
       </property>
       <property name="text">
        <string>取消</string>
       </property>
      </widget>
     </item>
     <item>
      <spacer name="horizontalSpacer_3">
       <property name="orientation">
        <enum>Qt::Horizontal</enum>
       </property>
       <property name="sizeHint" stdset="0">
        <size>
         <width>40</width>
         <height>20</height>
        </size>
       </property>
      </spacer>
     </item>
    </layout>
   </item>
  </layout>
 </widget>
 <resources/>
 <connections/>
</ui>
