summaryrefslogtreecommitdiffstats
path: root/examples/PkExample.ui
diff options
context:
space:
mode:
Diffstat (limited to 'examples/PkExample.ui')
-rw-r--r--examples/PkExample.ui234
1 files changed, 0 insertions, 234 deletions
diff --git a/examples/PkExample.ui b/examples/PkExample.ui
deleted file mode 100644
index 8b49cf205..000000000
--- a/examples/PkExample.ui
+++ /dev/null
@@ -1,234 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>PkExample</class>
- <widget class="TQMainWindow" name="PkExample">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>800</width>
- <height>600</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>PolicyKit-qt example</string>
- </property>
- <widget class="TQWidget" name="centralwidget">
- <layout class="TQHBoxLayout" name="horizontalLayout">
- <item>
- <layout class="TQGridLayout" name="gridLayout" columnstretch="3,1">
- <item row="0" column="0">
- <widget class="TQLabel" name="kickL">
- <property name="text">
- <string>Making the helper &lt;b&gt;Kick&lt;/b&gt; is not allowed. Action cannot be triggered.</string>
- </property>
- <property name="wordWrap">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="TQPushButton" name="kickPB">
- <property name="text">
- <string>Kick!</string>
- </property>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="TQLabel" name="cryL">
- <property name="text">
- <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;
-&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;
-p, li { white-space: pre-wrap; }
-&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;
-&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>
- </property>
- <property name="wordWrap">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="TQPushButton" name="cryPB">
- <property name="text">
- <string>Cry!</string>
- </property>
- </widget>
- </item>
- <item row="2" column="0">
- <widget class="TQLabel" name="bleedL">
- <property name="text">
- <string>Making the helper &lt;b&gt;Bleed&lt;/b&gt; requires the user to authenticate. This is a one-shot authorization.</string>
- </property>
- <property name="wordWrap">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item row="2" column="1">
- <widget class="TQPushButton" name="bleedPB">
- <property name="text">
- <string>Bleed!</string>
- </property>
- </widget>
- </item>
- <item row="3" column="0">
- <widget class="TQLabel" name="playL">
- <property name="text">
- <string>Making the helper &lt;b&gt;Play&lt;/b&gt; requires a system administrator to authenticate. This is a one-shot authorization.</string>
- </property>
- <property name="wordWrap">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item row="3" column="1">
- <widget class="TQPushButton" name="playPB">
- <property name="text">
- <string>Play!</string>
- </property>
- </widget>
- </item>
- <item row="4" column="0">
- <widget class="TQLabel" name="listenL">
- <property name="text">
- <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>
- </property>
- <property name="wordWrap">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item row="4" column="1">
- <widget class="TQPushButton" name="listenPB">
- <property name="text">
- <string>Listen!</string>
- </property>
- </widget>
- </item>
- <item row="5" column="0">
- <widget class="TQLabel" name="deleteL">
- <property name="text">
- <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>
- </property>
- <property name="wordWrap">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item row="5" column="1">
- <widget class="TQPushButton" name="deletePB">
- <property name="text">
- <string>Delete!</string>
- </property>
- </widget>
- </item>
- <item row="6" column="0" rowspan="2">
- <widget class="TQLabel" name="deleteL_2">
- <property name="text">
- <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>
- </property>
- <property name="wordWrap">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item row="6" column="1">
- <widget class="TQComboBox" name="setCB">
- <item>
- <property name="text">
- <string>no</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>yes</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>auth_self</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>auth_admin</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>auth_self_keep</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>auth_admin_keep</string>
- </property>
- </item>
- </widget>
- </item>
- <item row="7" column="1">
- <widget class="TQPushButton" name="setPB">
- <property name="text">
- <string>Set!</string>
- </property>
- </widget>
- </item>
- <item row="8" column="0">
- <widget class="TQLabel" name="deleteL_3">
- <property name="text">
- <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>
- </property>
- <property name="wordWrap">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item row="8" column="1">
- <widget class="TQPushButton" name="shoutPB">
- <property name="text">
- <string>Shout!</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <widget class="TQListWidget" name="actionList"/>
- </item>
- </layout>
- </widget>
- <widget class="TQMenuBar" name="menubar">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>800</width>
- <height>22</height>
- </rect>
- </property>
- <widget class="TQMenu" name="menuActions">
- <property name="title">
- <string>Actions</string>
- </property>
- </widget>
- <addaction name="menuActions"/>
- </widget>
- <widget class="TQToolBar" name="toolBar">
- <property name="windowTitle">
- <string>toolBar</string>
- </property>
- <property name="toolButtonStyle">
- <enum>TQt::ToolButtonTextUnderIcon</enum>
- </property>
- <attribute name="toolBarArea">
- <enum>TopToolBarArea</enum>
- </attribute>
- <attribute name="toolBarBreak">
- <bool>false</bool>
- </attribute>
- </widget>
- </widget>
- <resources/>
- <connections/>
-</ui>