primewindow.ui 10.2 KB
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>PrimeWindow</class>
 <widget class="QMainWindow" name="PrimeWindow">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>900</width>
    <height>1600</height>
   </rect>
  </property>
  <property name="styleSheet">
   <string notr="true">#centralwidget { background-image: url(:/images/background/etc.png); }
#bottomBar { background-image: url(:/images/bottom_bar/background.png); }
QScrollArea { background: transparent; }
QScrollArea &gt; QWidget &gt; QWidget { background: transparent; }

QPushButton[style=&quot;mode&quot;] {
background-repeat: no-repeat;
background-position: center;
background-clip: border;
background-origin: border;
margin-bottom: 50px;

border-top: 130px;
border-bottom: -50px;
border-style: hidden;
color: white;
font-size: 30px;
}

QPushButton[style=&quot;mode&quot;]:checked {
image: url(:/images/cook_mode/indicator.png);
image-position: bottom;
}

QScrollBar:vertical {
border: none;
background: transparent;
width: 35px;
margin: 30px 15px 30px 0px;
}
QScrollBar::handle:vertical {
background: #B7B7B7;
border-radius: 10px;
min-height: 100px;
}
QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical {
border: none;
background: none;
height: 0px;
}
QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical {
border: none;
}
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
background: none;
}</string>
  </property>
  <widget class="QWidget" name="centralwidget">
   <widget class="QWidget" name="bottomBar" native="true">
    <property name="geometry">
     <rect>
      <x>0</x>
      <y>1450</y>
      <width>900</width>
      <height>150</height>
     </rect>
    </property>
    <widget class="QPushButton" name="backButton">
     <property name="geometry">
      <rect>
       <x>232</x>
       <y>26</y>
       <width>97</width>
       <height>97</height>
      </rect>
     </property>
     <property name="styleSheet">
      <string notr="true">QPushButton { border-image: url(:/images/bottom_bar/back.png); }
QPushButton:pressed, QPushButton:focus { border-image: url(:/images/bottom_bar/back_ov.png); }</string>
     </property>
    </widget>
    <widget class="QPushButton" name="washButton">
     <property name="geometry">
      <rect>
       <x>458</x>
       <y>26</y>
       <width>97</width>
       <height>97</height>
      </rect>
     </property>
     <property name="styleSheet">
      <string notr="true">QPushButton { border-image: url(:/images/bottom_bar/wash.png); }
QPushButton:pressed, QPushButton:focus { border-image: url(:/images/bottom_bar/wash_ov.png); }</string>
     </property>
    </widget>
    <widget class="QPushButton" name="helpButton">
     <property name="geometry">
      <rect>
       <x>571</x>
       <y>26</y>
       <width>97</width>
       <height>97</height>
      </rect>
     </property>
     <property name="styleSheet">
      <string notr="true">QPushButton { border-image: url(:/images/bottom_bar/help.png); }
QPushButton:pressed, QPushButton:focus { border-image: url(:/images/bottom_bar/help_ov.png); }</string>
     </property>
    </widget>
    <widget class="QPushButton" name="configButton">
     <property name="geometry">
      <rect>
       <x>345</x>
       <y>26</y>
       <width>97</width>
       <height>97</height>
      </rect>
     </property>
     <property name="sizePolicy">
      <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
     </property>
     <property name="styleSheet">
      <string notr="true">QPushButton { border-image: url(:/images/bottom_bar/config.png); }
QPushButton:pressed, QPushButton:focus { border-image: url(:/images/bottom_bar/config_ov.png); }</string>
     </property>
    </widget>
   </widget>
   <widget class="QStackedWidget" name="upperStack">
    <property name="geometry">
     <rect>
      <x>0</x>
      <y>0</y>
      <width>900</width>
      <height>426</height>
     </rect>
    </property>
    <widget class="QWidget" name="clockContainer">
     <property name="styleSheet">
      <string notr="true">#clockContainer { background-image: url(:/images/clock/background.png); }</string>
     </property>
     <widget class="Clock" name="clock" native="true">
      <property name="geometry">
       <rect>
        <x>272</x>
        <y>36</y>
        <width>356</width>
        <height>355</height>
       </rect>
      </property>
     </widget>
     <widget class="WashWarnIcon" name="label">
      <property name="geometry">
       <rect>
        <x>800</x>
        <y>320</y>
        <width>80</width>
        <height>84</height>
       </rect>
      </property>
     </widget>
     <widget class="DemoIcon" name="label_2">
      <property name="geometry">
       <rect>
        <x>780</x>
        <y>230</y>
        <width>101</width>
        <height>90</height>
       </rect>
      </property>
     </widget>
     <widget class="HalfEnergyIcon" name="label_3">
      <property name="geometry">
       <rect>
        <x>780</x>
        <y>160</y>
        <width>108</width>
        <height>67</height>
       </rect>
      </property>
     </widget>
     <widget class="DigitalClock" name="label_4">
      <property name="geometry">
       <rect>
        <x>20</x>
        <y>310</y>
        <width>300</width>
        <height>100</height>
       </rect>
      </property>
      <property name="alignment">
       <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
      </property>
     </widget>
    </widget>
    <widget class="QWidget" name="page_2"/>
   </widget>
   <widget class="QScrollArea" name="scrollArea">
    <property name="geometry">
     <rect>
      <x>0</x>
      <y>647</y>
      <width>900</width>
      <height>803</height>
     </rect>
    </property>
    <property name="focusPolicy">
     <enum>Qt::NoFocus</enum>
    </property>
    <property name="widgetResizable">
     <bool>true</bool>
    </property>
    <widget class="QWidget" name="scrollAreaWidgetContents">
     <property name="geometry">
      <rect>
       <x>0</x>
       <y>0</y>
       <width>898</width>
       <height>801</height>
      </rect>
     </property>
     <layout class="QVBoxLayout" name="verticalScrollLayout">
      <property name="spacing">
       <number>10</number>
      </property>
      <property name="leftMargin">
       <number>20</number>
      </property>
      <property name="topMargin">
       <number>28</number>
      </property>
      <property name="bottomMargin">
       <number>28</number>
      </property>
     </layout>
    </widget>
   </widget>
   <widget class="QPushButton" name="mostCookedButton">
    <property name="geometry">
     <rect>
      <x>1</x>
      <y>427</y>
      <width>299</width>
      <height>219</height>
     </rect>
    </property>
    <property name="sizePolicy">
     <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
      <horstretch>0</horstretch>
      <verstretch>0</verstretch>
     </sizepolicy>
    </property>
    <property name="styleSheet">
     <string notr="true">QPushButton { background-image: url(:/images/etc/main_btn_04.png); }
QPushButton:pressed, QPushButton:focus { background-image: url(:/images/etc/main_btn_04_ov.png); }</string>
    </property>
    <property name="text">
     <string>선호 요리</string>
    </property>
    <property name="checkable">
     <bool>true</bool>
    </property>
    <property name="style" stdset="0">
     <string notr="true">mode</string>
    </property>
   </widget>
   <widget class="QPushButton" name="favoritesButton">
    <property name="geometry">
     <rect>
      <x>600</x>
      <y>427</y>
      <width>299</width>
      <height>219</height>
     </rect>
    </property>
    <property name="sizePolicy">
     <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
      <horstretch>0</horstretch>
      <verstretch>0</verstretch>
     </sizepolicy>
    </property>
    <property name="styleSheet">
     <string notr="true">QPushButton { background-image: url(:/images/etc/main_btn_05.png); }
QPushButton:pressed, QPushButton:focus { background-image: url(:/images/etc/main_btn_05_ov.png); }</string>
    </property>
    <property name="text">
     <string>즐겨찾기</string>
    </property>
    <property name="checkable">
     <bool>true</bool>
    </property>
    <property name="style" stdset="0">
     <string notr="true">mode</string>
    </property>
   </widget>
   <widget class="QPushButton" name="recentsButton">
    <property name="geometry">
     <rect>
      <x>300</x>
      <y>427</y>
      <width>299</width>
      <height>219</height>
     </rect>
    </property>
    <property name="sizePolicy">
     <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
      <horstretch>0</horstretch>
      <verstretch>0</verstretch>
     </sizepolicy>
    </property>
    <property name="styleSheet">
     <string notr="true">QPushButton { background-image: url(:/images/etc/main_btn_03.png); }
QPushButton:pressed, QPushButton:focus { background-image: url(:/images/etc/main_btn_03_ov.png); }</string>
    </property>
    <property name="text">
     <string>최근 요리</string>
    </property>
    <property name="checkable">
     <bool>true</bool>
    </property>
    <property name="style" stdset="0">
     <string notr="true">mode</string>
    </property>
   </widget>
  </widget>
 </widget>
 <customwidgets>
  <customwidget>
   <class>Clock</class>
   <extends>QWidget</extends>
   <header>clock.h</header>
   <container>1</container>
  </customwidget>
  <customwidget>
   <class>WashWarnIcon</class>
   <extends>QLabel</extends>
   <header>washwarnicon.h</header>
  </customwidget>
  <customwidget>
   <class>DemoIcon</class>
   <extends>QLabel</extends>
   <header>demoicon.h</header>
  </customwidget>
  <customwidget>
   <class>HalfEnergyIcon</class>
   <extends>QLabel</extends>
   <header>halfenergyicon.h</header>
  </customwidget>
  <customwidget>
   <class>DigitalClock</class>
   <extends>QLabel</extends>
   <header>digitalclock.h</header>
  </customwidget>
 </customwidgets>
 <tabstops>
  <tabstop>mostCookedButton</tabstop>
  <tabstop>recentsButton</tabstop>
  <tabstop>favoritesButton</tabstop>
  <tabstop>backButton</tabstop>
  <tabstop>configButton</tabstop>
  <tabstop>washButton</tabstop>
  <tabstop>helpButton</tabstop>
 </tabstops>
 <resources/>
 <connections/>
</ui>