<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>ImgurSettingsDialog</class> <widget class="QDialog" name="ImgurSettingsDialog"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>287</width> <height>367</height> </rect> </property> <property name="windowTitle"> <string>Imgur auth</string> </property> <layout class="QGridLayout" name="gridLayout_2"> <item row="1" column="1"> <widget class="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="standardButtons"> <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> </property> </widget> </item> <item row="0" column="0" colspan="2"> <widget class="QGroupBox" name="groupBox"> <property name="title"> <string>OAuth2</string> </property> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0" colspan="2"> <widget class="QLabel" name="label"> <property name="text"> <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:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Create a new application:</p></body></html></string> </property> </widget> </item> <item row="1" column="0" colspan="2"> <widget class="QPushButton" name="addApp"> <property name="text"> <string>Open imgur</string> </property> </widget> </item> <item row="2" column="0" colspan="2"> <widget class="QLabel" name="label_2"> <property name="text"> <string>Insert Client ID and secret:</string> </property> </widget> </item> <item row="3" column="0"> <widget class="QLineEdit" name="clientId"> <property name="placeholderText"> <string>Client ID</string> </property> </widget> </item> <item row="3" column="1"> <widget class="QLineEdit" name="clientSecret"> <property name="placeholderText"> <string>Client Secret</string> </property> </widget> </item> <item row="4" column="0" colspan="2"> <widget class="QPushButton" name="getPin"> <property name="text"> <string>Get the pin</string> </property> </widget> </item> <item row="5" column="0" colspan="2"> <widget class="QLabel" name="label_3"> <property name="text"> <string>Insert the pin below:</string> </property> </widget> </item> <item row="6" column="0" colspan="2"> <widget class="QLineEdit" name="pin"> <property name="placeholderText"> <string>PIN</string> </property> </widget> </item> <item row="7" column="0" colspan="2"> <widget class="QPushButton" name="authorize"> <property name="text"> <string>Authorize</string> </property> </widget> </item> <item row="8" column="0" colspan="2"> <widget class="QLabel" name="status"> <property name="styleSheet"> <string notr="true">* { color: red; }</string> </property> <property name="text"> <string>Not working</string> </property> </widget> </item> </layout> </widget> </item> </layout> </widget> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>ImgurSettingsDialog</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel"> <x>248</x> <y>254</y> </hint> <hint type="destinationlabel"> <x>157</x> <y>274</y> </hint> </hints> </connection> <connection> <sender>buttonBox</sender> <signal>rejected()</signal> <receiver>ImgurSettingsDialog</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel"> <x>316</x> <y>260</y> </hint> <hint type="destinationlabel"> <x>286</x> <y>274</y> </hint> </hints> </connection> </connections> </ui>