Now slotModify(QListViewItem*) is called if someone presses enter.
authorMichael Andreen <harv@ruin.nu>
Sat, 2 Dec 2000 17:59:53 +0000 (17:59 +0000)
committerMichael Andreen <harv@ruin.nu>
Sat, 2 Dec 2000 17:59:53 +0000 (17:59 +0000)
ui/mainwindowbase.ui

index cfd266e..ac5c850 100644 (file)
@@ -18,7 +18,7 @@
     </property>
     <property stdset="1">
         <name>caption</name>
-        <string>Form1</string>
+        <string>Adresslistan</string>
     </property>
     <grid>
         <property stdset="1">
                 <name>frameShape</name>
                 <enum>StyledPanel</enum>
             </property>
+            <property stdset="1">
+                <name>cursor</name>
+                <cursor>13</cursor>
+            </property>
+            <property stdset="1">
+                <name>resizePolicy</name>
+                <enum>Manual</enum>
+            </property>
+            <property stdset="1">
+                <name>allColumnsShowFocus</name>
+                <bool>false</bool>
+            </property>
+            <property>
+                <name>toolTip</name>
+                <string>Dubbelklicka på en kontakt för att modifera den.</string>
+            </property>
         </widget>
         <widget row="1"  column="0"  rowspan="1"  colspan="2" >
             <class>QGroupBox</class>
         <receiver>unnamed</receiver>
         <slot>slotSearch()</slot>
     </connection>
+    <connection>
+        <sender>ModifyButton</sender>
+        <signal>clicked()</signal>
+        <receiver>unnamed</receiver>
+        <slot>slotModify()</slot>
+    </connection>
     <connection>
         <sender>ContactView</sender>
-        <signal>doubleClicked(QListViewItem*)</signal>
+        <signal>returnPressed(QListViewItem*)</signal>
         <receiver>unnamed</receiver>
         <slot>slotModify(QListViewItem*)</slot>
     </connection>
     <connection>
-        <sender>ModifyButton</sender>
-        <signal>clicked()</signal>
+        <sender>ContactView</sender>
+        <signal>doubleClicked(QListViewItem*)</signal>
         <receiver>unnamed</receiver>
-        <slot>slotModify()</slot>
+        <slot>slotModify(QListViewItem*)</slot>
     </connection>
     <slot access="public">slotModify()</slot>
     <slot access="public">slotAdd()</slot>