diff --git a/app/gui/oven_control/basicsettingwindow.cpp b/app/gui/oven_control/basicsettingwindow.cpp deleted file mode 100644 index 02f11ed..0000000 --- a/app/gui/oven_control/basicsettingwindow.cpp +++ /dev/null @@ -1,46 +0,0 @@ -#include "basicsettingwindow.h" -#include "ui_basicsettingwindow.h" - -#include "soundplayer.h" - -BasicSettingWindow::BasicSettingWindow(QWidget *parent) : - QMainWindow(parent), - ui(new Ui::BasicSettingWindow) -{ - ui->setupUi(this); - - foreach (QPushButton *button, findChildren<QPushButton *>()) - connect(button, &QPushButton::pressed, SoundPlayer::playClick); -} - -BasicSettingWindow::~BasicSettingWindow() -{ - delete ui; -} - -void BasicSettingWindow::keyPressEvent(QKeyEvent *event) -{ - -} - -void BasicSettingWindow::keyReleaseEvent(QKeyEvent *event) -{ - -} - -void BasicSettingWindow::onEncoderLeft() -{ - focusPreviousChild(); -} - -void BasicSettingWindow::onEncoderRight() -{ - focusNextChild(); -} - -void BasicSettingWindow::onEncoderClicked(QWidget *clicked) -{ - QPushButton *b = qobject_cast<QPushButton *>(clicked); - if (b) - b->click(); -} diff --git a/app/gui/oven_control/basicsettingwindow.h b/app/gui/oven_control/basicsettingwindow.h deleted file mode 100644 index eb62454..0000000 --- a/app/gui/oven_control/basicsettingwindow.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef BASICSETTINGWINDOW_H -#define BASICSETTINGWINDOW_H - -#include <QMainWindow> - -namespace Ui { -class BasicSettingWindow; -} - -class BasicSettingWindow : public QMainWindow -{ - Q_OBJECT - -public: - explicit BasicSettingWindow(QWidget *parent = 0); - ~BasicSettingWindow(); - -protected: - void keyPressEvent(QKeyEvent *event); - void keyReleaseEvent(QKeyEvent *event); - -private: - Ui::BasicSettingWindow *ui; - - QWidget *pushed = NULL; - - void onEncoderLeft(); - void onEncoderRight(); - void onEncoderClicked(QWidget *clicked); -}; - -#endif // BASICSETTINGWINDOW_H diff --git a/app/gui/oven_control/basicsettingwindow.ui b/app/gui/oven_control/basicsettingwindow.ui deleted file mode 100644 index 6ef2a14..0000000 --- a/app/gui/oven_control/basicsettingwindow.ui +++ /dev/null @@ -1,470 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ui version="4.0"> - <class>BasicSettingWindow</class> - <widget class="QMainWindow" name="BasicSettingWindow"> - <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/config_service.png); } -#bottomBar { background-image: url(:/images/bottom_bar/background.png); } -#midWidget { background-image: url(:/images/config/service/basic_setting_bgnd.png); }</string> - </property> - <widget class="QWidget" name="centralwidget"> - <property name="styleSheet"> - <string notr="true"/> - </property> - <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="QLabel" name="label_15"> - <property name="geometry"> - <rect> - <x>55</x> - <y>426</y> - <width>900</width> - <height>84</height> - </rect> - </property> - <property name="font"> - <font> - <family>Malgun Gothic</family> - <pointsize>11</pointsize> - </font> - </property> - <property name="styleSheet"> - <string notr="true">color: rgb(255, 255, 255);</string> - </property> - <property name="text"> - <string>서비스단계(엔지니어모드) > 기본설정</string> - </property> - </widget> - <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>401</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/back.png); } -QPushButton:pressed, QPushButton:focus { border-image: url(:/images/bottom_bar/back_ov.png); }</string> - </property> - <property name="text"> - <string/> - </property> - </widget> - </widget> - <widget class="QWidget" name="gridLayoutWidget"> - <property name="geometry"> - <rect> - <x>40</x> - <y>545</y> - <width>821</width> - <height>66</height> - </rect> - </property> - <layout class="QGridLayout" name="gridLayout" columnstretch="67,33"> - <property name="spacing"> - <number>0</number> - </property> - <item row="0" column="0" colspan="2"> - <widget class="QPushButton" name="button"> - <property name="enabled"> - <bool>false</bool> - </property> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="font"> - <font> - <family>Roboto</family> - <pointsize>10</pointsize> - <weight>75</weight> - <bold>true</bold> - <underline>false</underline> - </font> - </property> - <property name="styleSheet"> - <string notr="true">QPushButton { border-image: url(:/images/config/pannel.png);color: rgb(255, 255, 255); } -QPushButton:pressed { border-image: url(:/images/config/pannel_ov.png); } -QPushButton { text-align: left;} -</string> - </property> - <property name="text"> - <string> 기본설정</string> - </property> - </widget> - </item> - <item row="0" column="1"> - <widget class="QLabel" name="label_17"> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="font"> - <font> - <family>Malgun Gothic</family> - <pointsize>11</pointsize> - <weight>75</weight> - <bold>true</bold> - </font> - </property> - <property name="styleSheet"> - <string notr="true">color: rgb(255, 255, 255);</string> - </property> - <property name="text"> - <string>EM-2</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - <property name="margin"> - <number>0</number> - </property> - </widget> - </item> - </layout> - </widget> - <widget class="QWidget" name="midWidget" native="true"> - <property name="geometry"> - <rect> - <x>43</x> - <y>627</y> - <width>813</width> - <height>647</height> - </rect> - </property> - <property name="styleSheet"> - <string notr="true">QLabel{ - color : white; -}</string> - </property> - <widget class="QLabel" name="ctrlLbList_1_1"> - <property name="geometry"> - <rect> - <x>0</x> - <y>70</y> - <width>460</width> - <height>94</height> - </rect> - </property> - <property name="font"> - <font> - <family>나눔고딕</family> - <pointsize>10</pointsize> - </font> - </property> - <property name="text"> - <string>스팀발생기 수동 스케일 제거 후 물의 양</string> - </property> - <property name="margin"> - <number>7</number> - </property> - </widget> - <widget class="QLabel" name="ctrlLbList_1_2"> - <property name="geometry"> - <rect> - <x>0</x> - <y>166</y> - <width>460</width> - <height>94</height> - </rect> - </property> - <property name="font"> - <font> - <family>나눔고딕</family> - <pointsize>10</pointsize> - </font> - </property> - <property name="text"> - <string>소형펌프모터 모드</string> - </property> - <property name="margin"> - <number>7</number> - </property> - </widget> - <widget class="QLabel" name="ctrlLbList_1_3"> - <property name="geometry"> - <rect> - <x>0</x> - <y>263</y> - <width>460</width> - <height>94</height> - </rect> - </property> - <property name="font"> - <font> - <family>나눔고딕</family> - <pointsize>10</pointsize> - </font> - </property> - <property name="text"> - <string>소형펌프모터 인터벌시간 설정</string> - </property> - <property name="margin"> - <number>7</number> - </property> - </widget> - <widget class="QLabel" name="ctrlLbList_1_4"> - <property name="geometry"> - <rect> - <x>0</x> - <y>360</y> - <width>460</width> - <height>94</height> - </rect> - </property> - <property name="font"> - <font> - <family>나눔고딕</family> - <pointsize>10</pointsize> - </font> - </property> - <property name="text"> - <string>건열퀀칭 작동 온도</string> - </property> - <property name="margin"> - <number>7</number> - </property> - </widget> - <widget class="QLabel" name="ctrlLbList_1_5"> - <property name="geometry"> - <rect> - <x>0</x> - <y>458</y> - <width>460</width> - <height>94</height> - </rect> - </property> - <property name="font"> - <font> - <family>나눔고딕</family> - <pointsize>10</pointsize> - </font> - </property> - <property name="text"> - <string>스팀퀀칭 작동 온도</string> - </property> - <property name="margin"> - <number>7</number> - </property> - </widget> - <widget class="QLabel" name="ctrlLbList_1_6"> - <property name="geometry"> - <rect> - <x>0</x> - <y>553</y> - <width>460</width> - <height>94</height> - </rect> - </property> - <property name="font"> - <font> - <family>나눔고딕</family> - <pointsize>10</pointsize> - </font> - </property> - <property name="text"> - <string>드레인볼밸브 </string> - </property> - <property name="margin"> - <number>7</number> - </property> - </widget> - <widget class="QLabel" name="ctrlLbCol_1"> - <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>460</width> - <height>69</height> - </rect> - </property> - <property name="font"> - <font> - <family>나눔고딕</family> - <pointsize>10</pointsize> - </font> - </property> - <property name="text"> - <string>설정구분</string> - </property> - <property name="margin"> - <number>7</number> - </property> - </widget> - <widget class="QLabel" name="ctrlLbCol_2"> - <property name="geometry"> - <rect> - <x>460</x> - <y>0</y> - <width>201</width> - <height>69</height> - </rect> - </property> - <property name="font"> - <font> - <family>나눔고딕</family> - <pointsize>10</pointsize> - </font> - </property> - <property name="text"> - <string>설 정</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - <property name="margin"> - <number>7</number> - </property> - </widget> - <widget class="QLabel" name="ctrlLbCol_3"> - <property name="geometry"> - <rect> - <x>660</x> - <y>0</y> - <width>151</width> - <height>69</height> - </rect> - </property> - <property name="font"> - <font> - <family>나눔고딕</family> - <pointsize>10</pointsize> - </font> - </property> - <property name="text"> - <string>상태</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - <property name="margin"> - <number>7</number> - </property> - </widget> - </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> - <resources/> - <connections/> -</ui> diff --git a/app/gui/oven_control/oven_control.pro b/app/gui/oven_control/oven_control.pro index 283a3dd..8de850b 100644 --- a/app/gui/oven_control/oven_control.pro +++ b/app/gui/oven_control/oven_control.pro @@ -65,7 +65,6 @@ SOURCES += main.cpp\ yesnopopupdlg.cpp \ configpanelbutton.cpp \ config.cpp \ -#basicsettingwindow.cpp \ programmingwindow.cpp \ primewindow.cpp \ cookpanelbutton.cpp \ @@ -122,7 +121,6 @@ SOURCES += main.cpp\ autocookselectionpopup.cpp \ autocookcheckwindow.cpp \ autocookcheckconfigwindow.cpp \ - #programmedcookpanelbutton.cpp \ configdemomodedlg.cpp \ demoicon.cpp \ halfenergyicon.cpp \ @@ -199,7 +197,6 @@ HEADERS += mainwindow.h \ yesnopopupdlg.h \ configpanelbutton.h \ config.h \ - #basicsettingwindow.h \ programmingwindow.h \ primewindow.h \ cookpanelbutton.h \ @@ -256,7 +253,6 @@ HEADERS += mainwindow.h \ autocookselectionpopup.h \ autocookcheckwindow.h \ autocookcheckconfigwindow.h \ - #programmedcookpanelbutton.h \ configdemomodedlg.h \ demoicon.h \ halfenergyicon.h \ @@ -310,7 +306,6 @@ FORMS += mainwindow.ui \ adjustmentwindow.ui \ yesnopopupdlg.ui \ configpanelbutton.ui \ - #basicsettingwindow.ui \ programmingwindow.ui \ primewindow.ui \ cookpanelbutton.ui \ @@ -355,7 +350,6 @@ FORMS += mainwindow.ui \ autocookselectionpopup.ui \ autocookcheckwindow.ui \ autocookcheckconfigwindow.ui \ - #programmedcookpanelbutton.ui \ configdemomodedlg.ui \ notipopupdlg.ui \ configsteamwashdlg.ui \ diff --git a/app/gui/oven_control/programmedcookpanelbutton.cpp b/app/gui/oven_control/programmedcookpanelbutton.cpp deleted file mode 100644 index aa27573..0000000 --- a/app/gui/oven_control/programmedcookpanelbutton.cpp +++ /dev/null @@ -1,175 +0,0 @@ -#include "programmedcookpanelbutton.h" -#include "ui_programmedcookpanelbutton.h" - -#include <QKeyEvent> - -#include "soundplayer.h" - -ProgrammedCookPanelButton::ProgrammedCookPanelButton(CookRecord record, QWidget *parent) : - QWidget(parent), - record(record), - ui(new Ui::ProgrammedCookPanelButton), - rendered(false), - longPressEnabled(false) -{ - ui->setupUi(this); - - setText(record.name); - - foreach (QPushButton *button, findChildren<QPushButton *>()) - connect(button, &QPushButton::pressed, SoundPlayer::playClick); - - longPressedTimer.setSingleShot(true); - longPressedTimer.setInterval(3000); - connect(&longPressedTimer, SIGNAL(timeout()), SLOT(emitLongPressed())); -} - -ProgrammedCookPanelButton::~ProgrammedCookPanelButton() -{ - delete ui; -} - -void ProgrammedCookPanelButton::setText(QString text) -{ - ui->pushButton->setText(text); -} - -void ProgrammedCookPanelButton::showInfo() -{ - if (!rendered) - { - QPixmap p = CookHistory::render(record); - - label = new QLabel(this); - label->setPixmap(p); - label->setGeometry((width() - p.width()) / 2, 65, p.width(), p.height()); - } - - label->show(); - setMinimumHeight(ui->pushButton->height() + label->height()); -} - -void ProgrammedCookPanelButton::hideInfo() -{ - label->hide(); - setMinimumHeight(ui->pushButton->height()); -} - -void ProgrammedCookPanelButton::setLongPressEnabled(bool enabled) -{ - longPressEnabled = enabled; -} - -QPushButton *ProgrammedCookPanelButton::bar() -{ - return ui->pushButton; -} - -QPushButton *ProgrammedCookPanelButton::infoButton() -{ - return ui->showInfoButton; -} - -QPushButton *ProgrammedCookPanelButton::deleteButton() -{ - return ui->deleteButton; -} - -void ProgrammedCookPanelButton::setEnabled(bool enabled) -{ - ui->pushButton->setEnabled(enabled); - ui->showInfoButton->setEnabled(enabled); - ui->deleteButton->setEnabled(enabled); -} - -void ProgrammedCookPanelButton::keyPressEvent(QKeyEvent *event) -{ - switch (event->key()) - { - case 0x01000032: // Turn left - event->ignore(); - break; - case 0x01000031: // Push - pushed = focusWidget(); - if (pushed == ui->pushButton) - on_pushButton_pressed(); - break; - case 0x01000030: // Turn right - event->ignore(); - break; - } -} - -void ProgrammedCookPanelButton::keyReleaseEvent(QKeyEvent *event) -{ - switch (event->key()) - { - case 0x01000032: // Turn left - event->ignore(); - break; - case 0x01000031: // Push - if (pushed == ui->pushButton) - on_pushButton_released(); - - if (focusWidget() == pushed) - onEncoderClicked(pushed); - - pushed = NULL; - break; - case 0x01000030: // Turn right - event->ignore(); - break; - } -} - -void ProgrammedCookPanelButton::onEncoderLeft() -{ - -} - -void ProgrammedCookPanelButton::onEncoderRight() -{ - -} - -void ProgrammedCookPanelButton::onEncoderClicked(QWidget *clicked) -{ - QPushButton *b = qobject_cast<QPushButton *>(clicked); - if (b) - b->click(); -} - -void ProgrammedCookPanelButton::emitLongPressed() -{ - emitted = true; - emit longPressed(this); -} - -void ProgrammedCookPanelButton::on_pushButton_pressed() -{ - longPressedTimer.start(); - emitted = false; -} - -void ProgrammedCookPanelButton::on_pushButton_released() -{ - longPressedTimer.stop(); -} - -void ProgrammedCookPanelButton::on_pushButton_clicked() -{ - if (longPressEnabled && emitted) - return; - - emit clicked(this); -} - -void ProgrammedCookPanelButton::on_showInfoButton_clicked() -{ - emit infoClicked(this); -} - -void ProgrammedCookPanelButton::on_deleteButton_clicked() -{ - emit deleteClicked(this); -} diff --git a/app/gui/oven_control/programmedcookpanelbutton.h b/app/gui/oven_control/programmedcookpanelbutton.h deleted file mode 100644 index 4027338..0000000 --- a/app/gui/oven_control/programmedcookpanelbutton.h +++ /dev/null @@ -1,74 +0,0 @@ -#ifndef PROGRAMMEDCOOKPANELBUTTON_H -#define PROGRAMMEDCOOKPANELBUTTON_H - -#include <QWidget> -#include <QLabel> -#include <QButtonGroup> -#include <QTimer> -#include <QPushButton> - -#include "cookhistory.h" - -namespace Ui { -class ProgrammedCookPanelButton; -} - -class ProgrammedCookPanelButton : public QWidget -{ - Q_OBJECT - -public: - explicit ProgrammedCookPanelButton(CookRecord record, QWidget *parent = 0); - ~ProgrammedCookPanelButton(); - - void setText(QString text); - void showInfo(); - void hideInfo(); - - void setLongPressEnabled(bool enabled); - - QPushButton *bar(); - QPushButton *infoButton(); - QPushButton *deleteButton(); - - CookRecord record; - -public slots: - void setEnabled(bool enabled = true); - -protected: - void keyPressEvent(QKeyEvent *event); - void keyReleaseEvent(QKeyEvent *event); - -private: - Ui::ProgrammedCookPanelButton *ui; - - QTimer longPressedTimer; - bool rendered; - QLabel *label; - bool emitted; - bool longPressEnabled; - - QWidget *pushed = NULL; - - void onEncoderLeft(); - void onEncoderRight(); - void onEncoderClicked(QWidget *clicked); - -private slots: - void emitLongPressed(); - - void on_pushButton_pressed(); - void on_pushButton_released(); - void on_pushButton_clicked(); - void on_showInfoButton_clicked(); - void on_deleteButton_clicked(); - -signals: - void clicked(ProgrammedCookPanelButton *); - void infoClicked(ProgrammedCookPanelButton *); - void deleteClicked(ProgrammedCookPanelButton *); - void longPressed(ProgrammedCookPanelButton *); -}; - -#endif // PROGRAMMEDCOOKPANELBUTTON_H diff --git a/app/gui/oven_control/programmedcookpanelbutton.ui b/app/gui/oven_control/programmedcookpanelbutton.ui deleted file mode 100644 index fd5408f..0000000 --- a/app/gui/oven_control/programmedcookpanelbutton.ui +++ /dev/null @@ -1,118 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ui version="4.0"> - <class>ProgrammedCookPanelButton</class> - <widget class="QWidget" name="ProgrammedCookPanelButton"> - <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>821</width> - <height>65</height> - </rect> - </property> - <property name="windowTitle"> - <string>Form</string> - </property> - <property name="styleSheet"> - <string notr="true">QPushButton { -background-position: center; -background-repeat: no-repeat; -border: none; -}</string> - </property> - <widget class="QPushButton" name="showInfoButton"> - <property name="geometry"> - <rect> - <x>670</x> - <y>0</y> - <width>70</width> - <height>65</height> - </rect> - </property> - <property name="styleSheet"> - <string notr="true">QPushButton { background-image: url(:/images/etc/bar_icon_01.png); } -QPushButton:pressed { background-image: url(:/images/etc/bar_icon_01_ov.png); } -QPushButton:focus { background-image: url(:/images/etc/bar_icon_01_ov.png); }</string> - </property> - <property name="text"> - <string/> - </property> - <property name="checkable"> - <bool>true</bool> - </property> - <property name="autoExclusive"> - <bool>true</bool> - </property> - </widget> - <widget class="QPushButton" name="deleteButton"> - <property name="geometry"> - <rect> - <x>750</x> - <y>0</y> - <width>60</width> - <height>65</height> - </rect> - </property> - <property name="styleSheet"> - <string notr="true">QPushButton { background-image: url(:/images/etc/bar_icon_02.png); } -QPushButton:pressed { background-image: url(:/images/etc/bar_icon_02_ov.png); } -QPushButton:focus { background-image: url(:/images/etc/bar_icon_02_ov.png); }</string> - </property> - <property name="text"> - <string/> - </property> - </widget> - <widget class="QPushButton" name="pushButton"> - <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>821</width> - <height>65</height> - </rect> - </property> - <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="minimumSize"> - <size> - <width>821</width> - <height>65</height> - </size> - </property> - <property name="maximumSize"> - <size> - <width>821</width> - <height>65</height> - </size> - </property> - <property name="font"> - <font> - <family>Roboto</family> - <pointsize>11</pointsize> - </font> - </property> - <property name="styleSheet"> - <string notr="true">QPushButton { -background-image: url(:/images/etc/bar_03.png); -color: white; -text-align: left; -padding: 0px 40px; -} -QPushButton:pressed { background-image: url(:/images/etc/bar_02.png); } -QPushButton:focus { background-image: url(:/images/etc/bar_02.png); }</string> - </property> - <property name="text"> - <string/> - </property> - </widget> - <zorder>pushButton</zorder> - <zorder>showInfoButton</zorder> - <zorder>deleteButton</zorder> - </widget> - <resources/> - <connections/> -</ui>