diff options
Diffstat (limited to 'examples/PkExample.ui')
-rw-r--r-- | examples/PkExample.ui | 234 |
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 <b>Kick</b> 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><!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:'Sans Serif'; font-size:9pt; 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;">Making the helper <span style=" font-weight:600;">Cry</span> is always allowed. Action can be triggered without authentication.</p></body></html></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 <b>Bleed</b> 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 <b>Play</b> 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 <b>Listen</b> 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 <b>Delete</b> 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><b>Set</b> is special action. It sets the permissions for the <b>Shout</b> 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 <b>Shout</b> action is set by the <b>Set</b> 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> |