Warning, /libraries/polkit-qt-1/examples/PkExample.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>PkExample</class>
0004  <widget class="QMainWindow" name="PkExample">
0005   <property name="geometry">
0006    <rect>
0007     <x>0</x>
0008     <y>0</y>
0009     <width>800</width>
0010     <height>600</height>
0011    </rect>
0012   </property>
0013   <property name="windowTitle">
0014    <string>PolicyKit-qt example</string>
0015   </property>
0016   <widget class="QWidget" name="centralwidget">
0017    <layout class="QHBoxLayout" name="horizontalLayout">
0018     <item>
0019      <layout class="QGridLayout" name="gridLayout" columnstretch="3,1">
0020       <item row="0" column="0">
0021        <widget class="QLabel" name="kickL">
0022         <property name="text">
0023          <string>Making the helper &lt;b&gt;Kick&lt;/b&gt; is not allowed. Action cannot be triggered.</string>
0024         </property>
0025         <property name="wordWrap">
0026          <bool>true</bool>
0027         </property>
0028        </widget>
0029       </item>
0030       <item row="0" column="1">
0031        <widget class="QPushButton" name="kickPB">
0032         <property name="text">
0033          <string>Kick!</string>
0034         </property>
0035        </widget>
0036       </item>
0037       <item row="1" column="0">
0038        <widget class="QLabel" name="cryL">
0039         <property name="text">
0040          <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
0041 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
0042 p, li { white-space: pre-wrap; }
0043 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
0044 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Making the helper &lt;span style=&quot; font-weight:600;&quot;&gt;Cry&lt;/span&gt; is always allowed. Action can be triggered without authentication.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
0045         </property>
0046         <property name="wordWrap">
0047          <bool>true</bool>
0048         </property>
0049        </widget>
0050       </item>
0051       <item row="1" column="1">
0052        <widget class="QPushButton" name="cryPB">
0053         <property name="text">
0054          <string>Cry!</string>
0055         </property>
0056        </widget>
0057       </item>
0058       <item row="2" column="0">
0059        <widget class="QLabel" name="bleedL">
0060         <property name="text">
0061          <string>Making the helper &lt;b&gt;Bleed&lt;/b&gt; requires the user to authenticate. This is a one-shot authorization.</string>
0062         </property>
0063         <property name="wordWrap">
0064          <bool>true</bool>
0065         </property>
0066        </widget>
0067       </item>
0068       <item row="2" column="1">
0069        <widget class="QPushButton" name="bleedPB">
0070         <property name="text">
0071          <string>Bleed!</string>
0072         </property>
0073        </widget>
0074       </item>
0075       <item row="3" column="0">
0076        <widget class="QLabel" name="playL">
0077         <property name="text">
0078          <string>Making the helper &lt;b&gt;Play&lt;/b&gt; requires a system administrator to authenticate. This is a one-shot authorization.</string>
0079         </property>
0080         <property name="wordWrap">
0081          <bool>true</bool>
0082         </property>
0083        </widget>
0084       </item>
0085       <item row="3" column="1">
0086        <widget class="QPushButton" name="playPB">
0087         <property name="text">
0088          <string>Play!</string>
0089         </property>
0090        </widget>
0091       </item>
0092       <item row="4" column="0">
0093        <widget class="QLabel" name="listenL">
0094         <property name="text">
0095          <string>Making the helper &lt;b&gt;Listen&lt;/b&gt; requires the user to authenticate. The authorization will be kept for a brief period.</string>
0096         </property>
0097         <property name="wordWrap">
0098          <bool>true</bool>
0099         </property>
0100        </widget>
0101       </item>
0102       <item row="4" column="1">
0103        <widget class="QPushButton" name="listenPB">
0104         <property name="text">
0105          <string>Listen!</string>
0106         </property>
0107        </widget>
0108       </item>
0109       <item row="5" column="0">
0110        <widget class="QLabel" name="deleteL">
0111         <property name="text">
0112          <string>Making the helper &lt;b&gt;Delete&lt;/b&gt; requires a system administrator to authenticate. The authorization will be kept for a brief period.</string>
0113         </property>
0114         <property name="wordWrap">
0115          <bool>true</bool>
0116         </property>
0117        </widget>
0118       </item>
0119       <item row="5" column="1">
0120        <widget class="QPushButton" name="deletePB">
0121         <property name="text">
0122          <string>Delete!</string>
0123         </property>
0124        </widget>
0125       </item>
0126       <item row="6" column="0" rowspan="2">
0127        <widget class="QLabel" name="deleteL_2">
0128         <property name="text">
0129          <string>&lt;b&gt;Set&lt;/b&gt; is special action. It sets the permissions for the &lt;b&gt;Shout&lt;/b&gt; action by actually using the helper application to change the implicit authorization.</string>
0130         </property>
0131         <property name="wordWrap">
0132          <bool>true</bool>
0133         </property>
0134        </widget>
0135       </item>
0136       <item row="6" column="1">
0137        <widget class="QComboBox" name="setCB">
0138         <item>
0139          <property name="text">
0140           <string>no</string>
0141          </property>
0142         </item>
0143         <item>
0144          <property name="text">
0145           <string>yes</string>
0146          </property>
0147         </item>
0148         <item>
0149          <property name="text">
0150           <string>auth_self</string>
0151          </property>
0152         </item>
0153         <item>
0154          <property name="text">
0155           <string>auth_admin</string>
0156          </property>
0157         </item>
0158         <item>
0159          <property name="text">
0160           <string>auth_self_keep</string>
0161          </property>
0162         </item>
0163         <item>
0164          <property name="text">
0165           <string>auth_admin_keep</string>
0166          </property>
0167         </item>
0168        </widget>
0169       </item>
0170       <item row="7" column="1">
0171        <widget class="QPushButton" name="setPB">
0172         <property name="text">
0173          <string>Set!</string>
0174         </property>
0175        </widget>
0176       </item>
0177       <item row="8" column="0">
0178        <widget class="QLabel" name="deleteL_3">
0179         <property name="text">
0180          <string>The implicit authorization for the &lt;b&gt;Shout&lt;/b&gt; action is set by the &lt;b&gt;Set&lt;/b&gt; action. You can watch how different options can change behaviour of this action.</string>
0181         </property>
0182         <property name="wordWrap">
0183          <bool>true</bool>
0184         </property>
0185        </widget>
0186       </item>
0187       <item row="8" column="1">
0188        <widget class="QPushButton" name="shoutPB">
0189         <property name="text">
0190          <string>Shout!</string>
0191         </property>
0192        </widget>
0193       </item>
0194      </layout>
0195     </item>
0196     <item>
0197      <widget class="QListWidget" name="actionList"/>
0198     </item>
0199    </layout>
0200   </widget>
0201   <widget class="QMenuBar" name="menubar">
0202    <property name="geometry">
0203     <rect>
0204      <x>0</x>
0205      <y>0</y>
0206      <width>800</width>
0207      <height>22</height>
0208     </rect>
0209    </property>
0210    <widget class="QMenu" name="menuActions">
0211     <property name="title">
0212      <string>Actions</string>
0213     </property>
0214    </widget>
0215    <addaction name="menuActions"/>
0216   </widget>
0217   <widget class="QToolBar" name="toolBar">
0218    <property name="windowTitle">
0219     <string>toolBar</string>
0220    </property>
0221    <property name="toolButtonStyle">
0222     <enum>Qt::ToolButtonTextUnderIcon</enum>
0223    </property>
0224    <attribute name="toolBarArea">
0225     <enum>TopToolBarArea</enum>
0226    </attribute>
0227    <attribute name="toolBarBreak">
0228     <bool>false</bool>
0229    </attribute>
0230   </widget>
0231  </widget>
0232  <resources/>
0233  <connections/>
0234 </ui>