diff options
Diffstat (limited to 'filesharing/advanced/kcm_sambaconf/groupselectdlg.ui')
| -rw-r--r-- | filesharing/advanced/kcm_sambaconf/groupselectdlg.ui | 445 | 
1 files changed, 445 insertions, 0 deletions
diff --git a/filesharing/advanced/kcm_sambaconf/groupselectdlg.ui b/filesharing/advanced/kcm_sambaconf/groupselectdlg.ui new file mode 100644 index 00000000..1722dd18 --- /dev/null +++ b/filesharing/advanced/kcm_sambaconf/groupselectdlg.ui @@ -0,0 +1,445 @@ +<!DOCTYPE UI><UI version="3.0" stdsetdef="1"> +<class>GroupSelectDlg</class> +<widget class="QDialog"> +    <property name="name"> +        <cstring>GroupSelectDlg</cstring> +    </property> +    <property name="geometry"> +        <rect> +            <x>0</x> +            <y>0</y> +            <width>406</width> +            <height>370</height> +        </rect> +    </property> +    <property name="caption"> +        <string>Select Groups</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="QLayoutWidget" row="4" 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="QPushButton"> +                    <property name="name"> +                        <cstring>buttonOk</cstring> +                    </property> +                    <property name="text"> +                        <string>&OK</string> +                    </property> +                    <property name="accel"> +                        <number>0</number> +                    </property> +                    <property name="autoDefault"> +                        <bool>true</bool> +                    </property> +                    <property name="default"> +                        <bool>true</bool> +                    </property> +                </widget> +                <widget class="QPushButton"> +                    <property name="name"> +                        <cstring>buttonCancel</cstring> +                    </property> +                    <property name="text"> +                        <string>&Cancel</string> +                    </property> +                    <property name="accel"> +                        <number>0</number> +                    </property> +                    <property name="autoDefault"> +                        <bool>true</bool> +                    </property> +                </widget> +            </hbox> +        </widget> +        <widget class="QFrame" row="3" 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> +        <spacer row="2" 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>20</height> +                </size> +            </property> +        </spacer> +        <widget class="QGroupBox" row="0" column="0" rowspan="3" colspan="1"> +            <property name="name"> +                <cstring>groupBox87</cstring> +            </property> +            <property name="sizePolicy"> +                <sizepolicy> +                    <hsizetype>7</hsizetype> +                    <vsizetype>5</vsizetype> +                    <horstretch>100</horstretch> +                    <verstretch>0</verstretch> +                </sizepolicy> +            </property> +            <property name="title"> +                <string>Selec&t Groups</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="QListView"> +                    <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>GID</string> +                        </property> +                        <property name="clickable"> +                            <bool>true</bool> +                        </property> +                        <property name="resizeable"> +                            <bool>true</bool> +                        </property> +                    </column> +                    <property name="name"> +                        <cstring>groupListView</cstring> +                    </property> +                    <property name="sizePolicy"> +                        <sizepolicy> +                            <hsizetype>7</hsizetype> +                            <vsizetype>7</vsizetype> +                            <horstretch>100</horstretch> +                            <verstretch>0</verstretch> +                        </sizepolicy> +                    </property> +                    <property name="selectionMode"> +                        <enum>Extended</enum> +                    </property> +                </widget> +            </vbox> +        </widget> +        <widget class="QButtonGroup" row="0" column="1"> +            <property name="name"> +                <cstring>accessBtnGrp</cstring> +            </property> +            <property name="sizePolicy"> +                <sizepolicy> +                    <hsizetype>1</hsizetype> +                    <vsizetype>5</vsizetype> +                    <horstretch>0</horstretch> +                    <verstretch>0</verstretch> +                </sizepolicy> +            </property> +            <property name="title"> +                <string>Acc&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="QRadioButton"> +                    <property name="name"> +                        <cstring>defaultRadio</cstring> +                    </property> +                    <property name="sizePolicy"> +                        <sizepolicy> +                            <hsizetype>0</hsizetype> +                            <vsizetype>0</vsizetype> +                            <horstretch>0</horstretch> +                            <verstretch>0</verstretch> +                        </sizepolicy> +                    </property> +                    <property name="text"> +                        <string>&Default</string> +                    </property> +                    <property name="accel"> +                        <number>8388676</number> +                    </property> +                    <property name="checked"> +                        <bool>true</bool> +                    </property> +                </widget> +                <widget class="QRadioButton"> +                    <property name="name"> +                        <cstring>readRadio</cstring> +                    </property> +                    <property name="sizePolicy"> +                        <sizepolicy> +                            <hsizetype>0</hsizetype> +                            <vsizetype>0</vsizetype> +                            <horstretch>0</horstretch> +                            <verstretch>0</verstretch> +                        </sizepolicy> +                    </property> +                    <property name="text"> +                        <string>&Read access</string> +                    </property> +                    <property name="accel"> +                        <number>8388690</number> +                    </property> +                </widget> +                <widget class="QRadioButton"> +                    <property name="name"> +                        <cstring>writeRadio</cstring> +                    </property> +                    <property name="sizePolicy"> +                        <sizepolicy> +                            <hsizetype>0</hsizetype> +                            <vsizetype>0</vsizetype> +                            <horstretch>0</horstretch> +                            <verstretch>0</verstretch> +                        </sizepolicy> +                    </property> +                    <property name="text"> +                        <string>&Write access</string> +                    </property> +                    <property name="accel"> +                        <number>8388695</number> +                    </property> +                </widget> +                <widget class="QRadioButton"> +                    <property name="name"> +                        <cstring>adminRadio</cstring> +                    </property> +                    <property name="sizePolicy"> +                        <sizepolicy> +                            <hsizetype>0</hsizetype> +                            <vsizetype>0</vsizetype> +                            <horstretch>0</horstretch> +                            <verstretch>0</verstretch> +                        </sizepolicy> +                    </property> +                    <property name="text"> +                        <string>&Admin access</string> +                    </property> +                    <property name="accel"> +                        <number>8388673</number> +                    </property> +                </widget> +                <widget class="QRadioButton"> +                    <property name="name"> +                        <cstring>noAccessRadio</cstring> +                    </property> +                    <property name="sizePolicy"> +                        <sizepolicy> +                            <hsizetype>0</hsizetype> +                            <vsizetype>0</vsizetype> +                            <horstretch>0</horstretch> +                            <verstretch>0</verstretch> +                        </sizepolicy> +                    </property> +                    <property name="text"> +                        <string>&No access at all</string> +                    </property> +                    <property name="accel"> +                        <number>8388686</number> +                    </property> +                </widget> +            </vbox> +        </widget> +        <widget class="QButtonGroup" row="1" column="1"> +            <property name="name"> +                <cstring>kindBtnGrp</cstring> +            </property> +            <property name="title"> +                <string>&Kind of Group</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="QRadioButton"> +                    <property name="name"> +                        <cstring>unixRadio</cstring> +                    </property> +                    <property name="sizePolicy"> +                        <sizepolicy> +                            <hsizetype>0</hsizetype> +                            <vsizetype>0</vsizetype> +                            <horstretch>0</horstretch> +                            <verstretch>0</verstretch> +                        </sizepolicy> +                    </property> +                    <property name="text"> +                        <string>&UNIX group</string> +                    </property> +                    <property name="accel"> +                        <number>8388693</number> +                    </property> +                    <property name="checked"> +                        <bool>false</bool> +                    </property> +                    <property name="buttonGroupId"> +                        <number>0</number> +                    </property> +                </widget> +                <widget class="QRadioButton"> +                    <property name="name"> +                        <cstring>nisRadio</cstring> +                    </property> +                    <property name="sizePolicy"> +                        <sizepolicy> +                            <hsizetype>0</hsizetype> +                            <vsizetype>0</vsizetype> +                            <horstretch>0</horstretch> +                            <verstretch>0</verstretch> +                        </sizepolicy> +                    </property> +                    <property name="text"> +                        <string>NI&S group</string> +                    </property> +                    <property name="accel"> +                        <number>8388691</number> +                    </property> +                    <property name="checked"> +                        <bool>false</bool> +                    </property> +                    <property name="buttonGroupId"> +                        <number>1</number> +                    </property> +                </widget> +                <widget class="QRadioButton"> +                    <property name="name"> +                        <cstring>bothRadio</cstring> +                    </property> +                    <property name="sizePolicy"> +                        <sizepolicy> +                            <hsizetype>0</hsizetype> +                            <vsizetype>0</vsizetype> +                            <horstretch>0</horstretch> +                            <verstretch>0</verstretch> +                        </sizepolicy> +                    </property> +                    <property name="text"> +                        <string>UNIX and NIS gr&oup</string> +                    </property> +                    <property name="accel"> +                        <number>8388687</number> +                    </property> +                    <property name="checked"> +                        <bool>true</bool> +                    </property> +                </widget> +            </vbox> +        </widget> +    </grid> +</widget> +<connections> +    <connection> +        <sender>buttonOk</sender> +        <signal>clicked()</signal> +        <receiver>GroupSelectDlg</receiver> +        <slot>accept()</slot> +    </connection> +    <connection> +        <sender>buttonCancel</sender> +        <signal>clicked()</signal> +        <receiver>GroupSelectDlg</receiver> +        <slot>reject()</slot> +    </connection> +</connections> +<tabstops> +    <tabstop>groupListView</tabstop> +    <tabstop>defaultRadio</tabstop> +    <tabstop>bothRadio</tabstop> +    <tabstop>buttonOk</tabstop> +    <tabstop>buttonCancel</tabstop> +</tabstops> +<includes> +    <include location="local" impldecl="in declaration">qstringlist.h</include> +    <include location="local" impldecl="in implementation">passwd.h</include> +    <include location="local" impldecl="in implementation">groupselectdlg.ui.h</include> +</includes> +<variables> +    <variable>QString groupKind;</variable> +    <variable>int access;</variable> +    <variable>QStringList selectedGroups;</variable> +</variables> +<slots> +    <slot>init( const QStringList & specifiedGroups )</slot> +    <slot access="protected">accept()</slot> +    <slot returnType="QStringList">getSelectedGroups()</slot> +    <slot returnType="int">getAccess()</slot> +    <slot returnType="QString">getGroupKind()</slot> +</slots> +<layoutdefaults spacing="6" margin="11"/> +</UI>  | 
