You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdenetwork/filesharing/advanced/kcm_sambaconf/userselectdlg.ui

281 lines
10 KiB

<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
<class>UserSelectDlg</class>
<widget class="TQDialog">
<property name="name">
<cstring>UserSelectDlg</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>485</width>
<height>269</height>
</rect>
</property>
<property name="caption">
<string>Select Users</string>
</property>
<property name="sizeGripEnabled">
<bool>true</bool>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQGroupBox" row="0" column="0" rowspan="2" colspan="1">
<property name="name">
<cstring>groupBox87</cstring>
</property>
<property name="title">
<string>Select &amp;Users</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQListView">
<column>
<property name="text">
<string>Name</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizeable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>UID</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizeable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>GID</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizeable">
<bool>true</bool>
</property>
</column>
<property name="name">
<cstring>userListView</cstring>
</property>
<property name="selectionMode">
<enum>Extended</enum>
</property>
</widget>
</vbox>
</widget>
<widget class="TQButtonGroup" row="0" column="1">
<property name="name">
<cstring>accessBtnGrp</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Acc&amp;ess</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQRadioButton">
<property name="name">
<cstring>defaultRadio</cstring>
</property>
<property name="text">
<string>&amp;Default</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>readRadio</cstring>
</property>
<property name="text">
<string>&amp;Read access</string>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>writeRadio</cstring>
</property>
<property name="text">
<string>&amp;Write access</string>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>adminRadio</cstring>
</property>
<property name="text">
<string>&amp;Admin access</string>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>noAccessRadio</cstring>
</property>
<property name="text">
<string>&amp;No access at all</string>
</property>
</widget>
</vbox>
</widget>
<spacer row="1" column="1">
<property name="name">
<cstring>spacer90</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>50</height>
</size>
</property>
</spacer>
<widget class="TQFrame" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>frame16</cstring>
</property>
<property name="frameShape">
<enum>HLine</enum>
</property>
<property name="frameShadow">
<enum>Raised</enum>
</property>
</widget>
<widget class="TQLayoutWidget" row="3" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>Layout1</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<spacer>
<property name="name">
<cstring>Horizontal Spacing2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>285</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQPushButton">
<property name="name">
<cstring>buttonOk</cstring>
</property>
<property name="text">
<string>&amp;OK</string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
<widget class="TQPushButton">
<property name="name">
<cstring>buttonCancel</cstring>
</property>
<property name="text">
<string>&amp;Cancel</string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
</widget>
</hbox>
</widget>
</grid>
</widget>
<connections>
<connection>
<sender>buttonOk</sender>
<signal>clicked()</signal>
<receiver>UserSelectDlg</receiver>
<slot>accept()</slot>
</connection>
<connection>
<sender>buttonCancel</sender>
<signal>clicked()</signal>
<receiver>UserSelectDlg</receiver>
<slot>reject()</slot>
</connection>
</connections>
<includes>
<include location="local" impldecl="in declaration">sambashare.h</include>
<include location="local" impldecl="in implementation">smbpasswdfile.h</include>
<include location="local" impldecl="in implementation">kurl.h</include>
<include location="local" impldecl="in implementation">userselectdlg.ui.h</include>
</includes>
<variables>
<variable>TQStringList selectedUsers;</variable>
<variable>int access;</variable>
</variables>
<slots>
<slot>init( const TQStringList &amp; specifiedUsers, SambaShare * share )</slot>
<slot access="protected">accept()</slot>
<slot specifier="non virtual" returnType="TQStringList">getSelectedUsers()</slot>
<slot specifier="non virtual" returnType="int">getAccess()</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>