Warning, /multimedia/subtitlecomposer/src/translate/googlecloudengine.ui is written in an unsupported language. File is not indexed.
0001 <?xml version="1.0" encoding="UTF-8"?> 0002 <ui version="4.0"> 0003 <class>GoogleCloudEngine</class> 0004 <widget class="QWidget" name="GoogleCloudEngine"> 0005 <property name="geometry"> 0006 <rect> 0007 <x>0</x> 0008 <y>0</y> 0009 <width>400</width> 0010 <height>408</height> 0011 </rect> 0012 </property> 0013 <layout class="QVBoxLayout" name="verticalLayout"> 0014 <item> 0015 <widget class="QGroupBox" name="grpAuth"> 0016 <property name="title"> 0017 <string>Authentication</string> 0018 </property> 0019 <layout class="QGridLayout" name="gridLayout_2"> 0020 <item row="2" column="0" colspan="2"> 0021 <widget class="QLabel" name="labelServiceJSON"> 0022 <property name="text"> 0023 <string>Service Account's Private Key JSON:</string> 0024 </property> 0025 <property name="buddy"> 0026 <cstring>serviceJSON</cstring> 0027 </property> 0028 </widget> 0029 </item> 0030 <item row="3" column="0" colspan="2"> 0031 <widget class="KUrlRequester" name="serviceJSON"/> 0032 </item> 0033 <item row="4" column="1"> 0034 <widget class="QPushButton" name="btnLogin"> 0035 <property name="text"> 0036 <string>Login</string> 0037 </property> 0038 </widget> 0039 </item> 0040 <item row="4" column="0"> 0041 <spacer name="horizontalSpacer"> 0042 <property name="orientation"> 0043 <enum>Qt::Horizontal</enum> 0044 </property> 0045 <property name="sizeHint" stdset="0"> 0046 <size> 0047 <width>40</width> 0048 <height>20</height> 0049 </size> 0050 </property> 0051 </spacer> 0052 </item> 0053 <item row="0" column="0" colspan="2"> 0054 <widget class="QLabel" name="labHelp"> 0055 <property name="minimumSize"> 0056 <size> 0057 <width>0</width> 0058 <height>102</height> 0059 </size> 0060 </property> 0061 <property name="text"> 0062 <string><p>You need to <a href="https://developers.google.com/identity/protocols/oauth2/service-account#creatinganaccount">create a Service Account</a> in Google Cloud Console and provide public/private key JSON file below.</p><p>The Service Account needs to be assigned <span style=" text-decoration: underline;">Cloud Translation API User</span> role on IAM page or must be granted access to the Google's Cloud Translation APIs in a different manner.</p></string> 0063 </property> 0064 <property name="textFormat"> 0065 <enum>Qt::RichText</enum> 0066 </property> 0067 <property name="wordWrap"> 0068 <bool>true</bool> 0069 </property> 0070 </widget> 0071 </item> 0072 <item row="1" column="0" colspan="2"> 0073 <widget class="Line" name="lineHelp"> 0074 <property name="sizePolicy"> 0075 <sizepolicy hsizetype="Minimum" vsizetype="MinimumExpanding"> 0076 <horstretch>0</horstretch> 0077 <verstretch>0</verstretch> 0078 </sizepolicy> 0079 </property> 0080 <property name="orientation"> 0081 <enum>Qt::Horizontal</enum> 0082 </property> 0083 </widget> 0084 </item> 0085 </layout> 0086 </widget> 0087 </item> 0088 <item> 0089 <widget class="QGroupBox" name="grpSettings"> 0090 <property name="title"> 0091 <string>Settings</string> 0092 </property> 0093 <layout class="QGridLayout" name="gridLayout_3"> 0094 <item row="0" column="0"> 0095 <widget class="QLabel" name="labSource"> 0096 <property name="text"> 0097 <string>Source language:</string> 0098 </property> 0099 <property name="buddy"> 0100 <cstring>langSource</cstring> 0101 </property> 0102 </widget> 0103 </item> 0104 <item row="0" column="1"> 0105 <widget class="QLabel" name="labTranslation"> 0106 <property name="text"> 0107 <string>Translate to:</string> 0108 </property> 0109 <property name="buddy"> 0110 <cstring>langTranslation</cstring> 0111 </property> 0112 </widget> 0113 </item> 0114 <item row="1" column="0"> 0115 <widget class="QComboBox" name="langSource"/> 0116 </item> 0117 <item row="1" column="1"> 0118 <widget class="QComboBox" name="langTranslation"/> 0119 </item> 0120 </layout> 0121 </widget> 0122 </item> 0123 </layout> 0124 </widget> 0125 <customwidgets> 0126 <customwidget> 0127 <class>KUrlRequester</class> 0128 <extends>QWidget</extends> 0129 <header>kurlrequester.h</header> 0130 </customwidget> 0131 </customwidgets> 0132 <resources/> 0133 <connections/> 0134 </ui>