[debian-edu-commits] debian-edu/ 55/183: Layout fix in filter panel

Alexander Alemayhu ccscanf-guest at moszumanska.debian.org
Wed Jun 11 16:48:33 UTC 2014


This is an automated email from the git hooks/post-receive script.

ccscanf-guest pushed a commit to branch master
in repository desktop-profiles.

commit 520ba04b35531f6a3607c5a97c924a2bf2379fcf
Author: Bart Cornelis <cobaco at linux.be>
Date:   Thu May 12 16:42:20 2005 +0000

    Layout fix in filter panel
---
 profile-manager.kmdr | 486 +++++++++++++++++++++++++--------------------------
 1 file changed, 235 insertions(+), 251 deletions(-)

diff --git a/profile-manager.kmdr b/profile-manager.kmdr
index fc56e3c..a896bca 100644
--- a/profile-manager.kmdr
+++ b/profile-manager.kmdr
@@ -554,9 +554,9 @@ fi
                     </widget>
                     <widget class="QLayoutWidget" row="0" column="1">
                         <property name="name">
-                            <cstring>Layout56</cstring>
+                            <cstring>Layout28</cstring>
                         </property>
-                        <vbox>
+                        <grid>
                             <property name="name">
                                 <cstring>unnamed</cstring>
                             </property>
@@ -566,11 +566,11 @@ fi
                             <property name="spacing">
                                 <number>6</number>
                             </property>
-                            <widget class="QLayoutWidget">
+                            <widget class="QLayoutWidget" row="0" column="1">
                                 <property name="name">
-                                    <cstring>Layout51</cstring>
+                                    <cstring>Layout49</cstring>
                                 </property>
-                                <hbox>
+                                <vbox>
                                     <property name="name">
                                         <cstring>unnamed</cstring>
                                     </property>
@@ -580,254 +580,48 @@ fi
                                     <property name="spacing">
                                         <number>6</number>
                                     </property>
-                                    <widget class="QLayoutWidget">
+                                    <widget class="LineEdit">
                                         <property name="name">
-                                            <cstring>Layout50</cstring>
+                                            <cstring>nameRegexp</cstring>
+                                        </property>
+                                        <property name="associations" stdset="0">
+                                            <stringlist>
+                                                <string>@widgetText</string>
+                                            </stringlist>
+                                        </property>
+                                        <property name="toolTip" stdset="0">
+                                            <string>Takes a regular expression</string>
                                         </property>
-                                        <vbox>
-                                            <property name="name">
-                                                <cstring>unnamed</cstring>
-                                            </property>
-                                            <property name="margin">
-                                                <number>0</number>
-                                            </property>
-                                            <property name="spacing">
-                                                <number>6</number>
-                                            </property>
-                                            <widget class="QLayoutWidget">
-                                                <property name="name">
-                                                    <cstring>Layout45</cstring>
-                                                </property>
-                                                <hbox>
-                                                    <property name="name">
-                                                        <cstring>unnamed</cstring>
-                                                    </property>
-                                                    <property name="margin">
-                                                        <number>0</number>
-                                                    </property>
-                                                    <property name="spacing">
-                                                        <number>6</number>
-                                                    </property>
-                                                    <widget class="CheckBox">
-                                                        <property name="name">
-                                                            <cstring>nameFilter</cstring>
-                                                        </property>
-                                                        <property name="sizePolicy">
-                                                            <sizepolicy>
-                                                                <hsizetype>0</hsizetype>
-                                                                <vsizetype>0</vsizetype>
-                                                                <horstretch>0</horstretch>
-                                                                <verstretch>0</verstretch>
-                                                            </sizepolicy>
-                                                        </property>
-                                                        <property name="focusPolicy">
-                                                            <enum>TabFocus</enum>
-                                                        </property>
-                                                        <property name="text">
-                                                            <string>name matches</string>
-                                                        </property>
-                                                        <property name="associations" stdset="0">
-                                                            <stringlist>
-                                                                <string>@null</string>
-                                                                <string></string>
-                                                                <string>@execBegin
-
-if(@String.isEmpty(@nameRegexp)); then
-  echo "@null";
-else
-  echo "--name '@nameRegexp'";
-fi
-
- at execEnd</string>
-                                                            </stringlist>
-                                                        </property>
-                                                        <property name="toolTip" stdset="0">
-                                                            <string>When checked only profiles whose 1st (=name) field matches the given regular expression are shown</string>
-                                                        </property>
-                                                    </widget>
-                                                    <spacer>
-                                                        <property name="name">
-                                                            <cstring>Spacer4</cstring>
-                                                        </property>
-                                                        <property name="orientation">
-                                                            <enum>Horizontal</enum>
-                                                        </property>
-                                                        <property name="sizeType">
-                                                            <enum>Fixed</enum>
-                                                        </property>
-                                                        <property name="sizeHint">
-                                                            <size>
-                                                                <width>25</width>
-                                                                <height>20</height>
-                                                            </size>
-                                                        </property>
-                                                    </spacer>
-                                                </hbox>
-                                            </widget>
-                                            <widget class="CheckBox">
-                                                <property name="name">
-                                                    <cstring>descriptionFilter</cstring>
-                                                </property>
-                                                <property name="sizePolicy">
-                                                    <sizepolicy>
-                                                        <hsizetype>0</hsizetype>
-                                                        <vsizetype>0</vsizetype>
-                                                        <horstretch>0</horstretch>
-                                                        <verstretch>0</verstretch>
-                                                    </sizepolicy>
-                                                </property>
-                                                <property name="text">
-                                                    <string>description matches</string>
-                                                </property>
-                                                <property name="associations" stdset="0">
-                                                    <stringlist>
-                                                        <string>@null</string>
-                                                        <string></string>
-                                                        <string>@execBegin
-
-if(@String.isEmpty(@descriptionRegexp)); then
-  echo @null;
-else
-  echo "--description '@descriptionRegexp'";
-fi
-
- at execEnd</string>
-                                                    </stringlist>
-                                                </property>
-                                                <property name="toolTip" stdset="0">
-                                                    <string>When checked only profiles whose 6th (=description) field matches the given regular expression are shown</string>
-                                                </property>
-                                            </widget>
-                                            <widget class="QLayoutWidget">
-                                                <property name="name">
-                                                    <cstring>Layout47</cstring>
-                                                </property>
-                                                <hbox>
-                                                    <property name="name">
-                                                        <cstring>unnamed</cstring>
-                                                    </property>
-                                                    <property name="margin">
-                                                        <number>0</number>
-                                                    </property>
-                                                    <property name="spacing">
-                                                        <number>6</number>
-                                                    </property>
-                                                    <widget class="CheckBox">
-                                                        <property name="name">
-                                                            <cstring>locationFilter</cstring>
-                                                        </property>
-                                                        <property name="sizePolicy">
-                                                            <sizepolicy>
-                                                                <hsizetype>0</hsizetype>
-                                                                <vsizetype>0</vsizetype>
-                                                                <horstretch>0</horstretch>
-                                                                <verstretch>0</verstretch>
-                                                            </sizepolicy>
-                                                        </property>
-                                                        <property name="focusPolicy">
-                                                            <enum>TabFocus</enum>
-                                                        </property>
-                                                        <property name="text">
-                                                            <string>location matches</string>
-                                                        </property>
-                                                        <property name="associations" stdset="0">
-                                                            <stringlist>
-                                                                <string>@null</string>
-                                                                <string></string>
-                                                                <string>@execBegin
-
-if(@String.isEmpty(@locationRegexp)); then
-  echo "@null";
-else
-  echo "--location '@locationRegexp'";
-fi
-
- at execEnd</string>
-                                                            </stringlist>
-                                                        </property>
-                                                        <property name="toolTip" stdset="0">
-                                                            <string>When checked only profiles whose 3th (=location) field matches the given regular expression are shown</string>
-                                                        </property>
-                                                    </widget>
-                                                    <spacer>
-                                                        <property name="name">
-                                                            <cstring>Spacer5</cstring>
-                                                        </property>
-                                                        <property name="orientation">
-                                                            <enum>Horizontal</enum>
-                                                        </property>
-                                                        <property name="sizeType">
-                                                            <enum>Fixed</enum>
-                                                        </property>
-                                                        <property name="sizeHint">
-                                                            <size>
-                                                                <width>15</width>
-                                                                <height>20</height>
-                                                            </size>
-                                                        </property>
-                                                    </spacer>
-                                                </hbox>
-                                            </widget>
-                                        </vbox>
                                     </widget>
-                                    <widget class="QLayoutWidget">
+                                    <widget class="LineEdit">
                                         <property name="name">
-                                            <cstring>Layout49</cstring>
+                                            <cstring>descriptionRegexp</cstring>
+                                        </property>
+                                        <property name="associations" stdset="0">
+                                            <stringlist>
+                                                <string>@widgetText</string>
+                                            </stringlist>
+                                        </property>
+                                        <property name="toolTip" stdset="0">
+                                            <string>Takes a regular expression</string>
                                         </property>
-                                        <vbox>
-                                            <property name="name">
-                                                <cstring>unnamed</cstring>
-                                            </property>
-                                            <property name="margin">
-                                                <number>0</number>
-                                            </property>
-                                            <property name="spacing">
-                                                <number>6</number>
-                                            </property>
-                                            <widget class="LineEdit">
-                                                <property name="name">
-                                                    <cstring>nameRegexp</cstring>
-                                                </property>
-                                                <property name="associations" stdset="0">
-                                                    <stringlist>
-                                                        <string>@widgetText</string>
-                                                    </stringlist>
-                                                </property>
-                                                <property name="toolTip" stdset="0">
-                                                    <string>Takes a regular expression</string>
-                                                </property>
-                                            </widget>
-                                            <widget class="LineEdit">
-                                                <property name="name">
-                                                    <cstring>descriptionRegexp</cstring>
-                                                </property>
-                                                <property name="associations" stdset="0">
-                                                    <stringlist>
-                                                        <string>@widgetText</string>
-                                                    </stringlist>
-                                                </property>
-                                                <property name="toolTip" stdset="0">
-                                                    <string>Takes a regular expression</string>
-                                                </property>
-                                            </widget>
-                                            <widget class="LineEdit">
-                                                <property name="name">
-                                                    <cstring>locationRegexp</cstring>
-                                                </property>
-                                                <property name="associations" stdset="0">
-                                                    <stringlist>
-                                                        <string>@widgetText</string>
-                                                    </stringlist>
-                                                </property>
-                                                <property name="toolTip" stdset="0">
-                                                    <string>Takes a regular expression</string>
-                                                </property>
-                                            </widget>
-                                        </vbox>
                                     </widget>
-                                </hbox>
+                                    <widget class="LineEdit">
+                                        <property name="name">
+                                            <cstring>locationRegexp</cstring>
+                                        </property>
+                                        <property name="associations" stdset="0">
+                                            <stringlist>
+                                                <string>@widgetText</string>
+                                            </stringlist>
+                                        </property>
+                                        <property name="toolTip" stdset="0">
+                                            <string>Takes a regular expression</string>
+                                        </property>
+                                    </widget>
+                                </vbox>
                             </widget>
-                            <widget class="QLayoutWidget">
+                            <widget class="QLayoutWidget" row="1" column="0" rowspan="1" colspan="2">
                                 <property name="name">
                                     <cstring>Layout22</cstring>
                                 </property>
@@ -941,7 +735,197 @@ fi
                                     </widget>
                                 </hbox>
                             </widget>
-                        </vbox>
+                            <widget class="QLayoutWidget" row="0" column="0">
+                                <property name="name">
+                                    <cstring>Layout50</cstring>
+                                </property>
+                                <vbox>
+                                    <property name="name">
+                                        <cstring>unnamed</cstring>
+                                    </property>
+                                    <property name="margin">
+                                        <number>0</number>
+                                    </property>
+                                    <property name="spacing">
+                                        <number>6</number>
+                                    </property>
+                                    <widget class="QLayoutWidget">
+                                        <property name="name">
+                                            <cstring>Layout45</cstring>
+                                        </property>
+                                        <hbox>
+                                            <property name="name">
+                                                <cstring>unnamed</cstring>
+                                            </property>
+                                            <property name="margin">
+                                                <number>0</number>
+                                            </property>
+                                            <property name="spacing">
+                                                <number>6</number>
+                                            </property>
+                                            <widget class="CheckBox">
+                                                <property name="name">
+                                                    <cstring>nameFilter</cstring>
+                                                </property>
+                                                <property name="sizePolicy">
+                                                    <sizepolicy>
+                                                        <hsizetype>0</hsizetype>
+                                                        <vsizetype>0</vsizetype>
+                                                        <horstretch>0</horstretch>
+                                                        <verstretch>0</verstretch>
+                                                    </sizepolicy>
+                                                </property>
+                                                <property name="focusPolicy">
+                                                    <enum>TabFocus</enum>
+                                                </property>
+                                                <property name="text">
+                                                    <string>name matches</string>
+                                                </property>
+                                                <property name="associations" stdset="0">
+                                                    <stringlist>
+                                                        <string>@null</string>
+                                                        <string></string>
+                                                        <string>@execBegin
+
+if(@String.isEmpty(@nameRegexp)); then
+  echo "@null";
+else
+  echo "--name '@nameRegexp'";
+fi
+
+ at execEnd</string>
+                                                    </stringlist>
+                                                </property>
+                                                <property name="toolTip" stdset="0">
+                                                    <string>When checked only profiles whose 1st (=name) field matches the given regular expression are shown</string>
+                                                </property>
+                                            </widget>
+                                            <spacer>
+                                                <property name="name">
+                                                    <cstring>Spacer4</cstring>
+                                                </property>
+                                                <property name="orientation">
+                                                    <enum>Horizontal</enum>
+                                                </property>
+                                                <property name="sizeType">
+                                                    <enum>Preferred</enum>
+                                                </property>
+                                                <property name="sizeHint">
+                                                    <size>
+                                                        <width>25</width>
+                                                        <height>20</height>
+                                                    </size>
+                                                </property>
+                                            </spacer>
+                                        </hbox>
+                                    </widget>
+                                    <widget class="CheckBox">
+                                        <property name="name">
+                                            <cstring>descriptionFilter</cstring>
+                                        </property>
+                                        <property name="sizePolicy">
+                                            <sizepolicy>
+                                                <hsizetype>0</hsizetype>
+                                                <vsizetype>0</vsizetype>
+                                                <horstretch>0</horstretch>
+                                                <verstretch>0</verstretch>
+                                            </sizepolicy>
+                                        </property>
+                                        <property name="text">
+                                            <string>description matches</string>
+                                        </property>
+                                        <property name="associations" stdset="0">
+                                            <stringlist>
+                                                <string>@null</string>
+                                                <string></string>
+                                                <string>@execBegin
+
+if(@String.isEmpty(@descriptionRegexp)); then
+  echo @null;
+else
+  echo "--description '@descriptionRegexp'";
+fi
+
+ at execEnd</string>
+                                            </stringlist>
+                                        </property>
+                                        <property name="toolTip" stdset="0">
+                                            <string>When checked only profiles whose 6th (=description) field matches the given regular expression are shown</string>
+                                        </property>
+                                    </widget>
+                                    <widget class="QLayoutWidget">
+                                        <property name="name">
+                                            <cstring>Layout47</cstring>
+                                        </property>
+                                        <hbox>
+                                            <property name="name">
+                                                <cstring>unnamed</cstring>
+                                            </property>
+                                            <property name="margin">
+                                                <number>0</number>
+                                            </property>
+                                            <property name="spacing">
+                                                <number>6</number>
+                                            </property>
+                                            <widget class="CheckBox">
+                                                <property name="name">
+                                                    <cstring>locationFilter</cstring>
+                                                </property>
+                                                <property name="sizePolicy">
+                                                    <sizepolicy>
+                                                        <hsizetype>0</hsizetype>
+                                                        <vsizetype>0</vsizetype>
+                                                        <horstretch>0</horstretch>
+                                                        <verstretch>0</verstretch>
+                                                    </sizepolicy>
+                                                </property>
+                                                <property name="focusPolicy">
+                                                    <enum>TabFocus</enum>
+                                                </property>
+                                                <property name="text">
+                                                    <string>location matches</string>
+                                                </property>
+                                                <property name="associations" stdset="0">
+                                                    <stringlist>
+                                                        <string>@null</string>
+                                                        <string></string>
+                                                        <string>@execBegin
+
+if(@String.isEmpty(@locationRegexp)); then
+  echo "@null";
+else
+  echo "--location '@locationRegexp'";
+fi
+
+ at execEnd</string>
+                                                    </stringlist>
+                                                </property>
+                                                <property name="toolTip" stdset="0">
+                                                    <string>When checked only profiles whose 3th (=location) field matches the given regular expression are shown</string>
+                                                </property>
+                                            </widget>
+                                            <spacer>
+                                                <property name="name">
+                                                    <cstring>Spacer5</cstring>
+                                                </property>
+                                                <property name="orientation">
+                                                    <enum>Horizontal</enum>
+                                                </property>
+                                                <property name="sizeType">
+                                                    <enum>Preferred</enum>
+                                                </property>
+                                                <property name="sizeHint">
+                                                    <size>
+                                                        <width>15</width>
+                                                        <height>20</height>
+                                                    </size>
+                                                </property>
+                                            </spacer>
+                                        </hbox>
+                                    </widget>
+                                </vbox>
+                            </widget>
+                        </grid>
                     </widget>
                 </grid>
             </widget>
@@ -1926,7 +1910,7 @@ if (test "$IS_NEW" = "false"); then
 # adding new profile
 else
   if (test -w "$FILE") || \
-     ( (! test -e "$FILE") && (test -w "$(dirname $FILE)") ); then
+     ( (! test -e "$FILE")  (test -w "$(dirname $FILE)") ); then
     echo "$NEW" >> "$FILE";
   elif "$NAME"x != x; then
     kdialog  --error "It appears you don't have permission to write $FILE" || true;
@@ -2197,19 +2181,19 @@ fi;</string>
     </connection>
     <connection>
         <sender>test</sender>
-        <signal>widgetTextChanged(const QString&)</signal>
+        <signal>widgetTextChanged(const QString)</signal>
         <receiver>refreshList</receiver>
         <slot>execute()</slot>
     </connection>
     <connection>
         <sender>userList</sender>
-        <signal>widgetTextChanged(const QString&)</signal>
+        <signal>widgetTextChanged(const QString)</signal>
         <receiver>refreshList</receiver>
         <slot>execute()</slot>
     </connection>
     <connection>
         <sender>sortField</sender>
-        <signal>widgetTextChanged(const QString&)</signal>
+        <signal>widgetTextChanged(const QString)</signal>
         <receiver>refreshList</receiver>
         <slot>execute()</slot>
     </connection>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/desktop-profiles.git



More information about the debian-edu-commits mailing list