OSDN Git Service

change widgets.
authorikemo <ikemo@56b19765-1e22-0410-a548-a0f45d66c51a>
Mon, 8 Nov 2004 16:04:12 +0000 (16:04 +0000)
committerikemo <ikemo@56b19765-1e22-0410-a548-a0f45d66c51a>
Mon, 8 Nov 2004 16:04:12 +0000 (16:04 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/kita/kita/trunk@1507 56b19765-1e22-0410-a548-a0f45d66c51a

kita/src/part/kitawritedialogbase.ui
kita/src/part/kitawriteview.cpp

index 25227f8..9f87081 100644 (file)
@@ -9,7 +9,7 @@
             <x>0</x>
             <y>0</y>
             <width>534</width>
-            <height>378</height>
+            <height>380</height>
         </rect>
     </property>
     <property name="caption">
         </widget>
         <widget class="QLayoutWidget">
             <property name="name">
-                <cstring>layout5</cstring>
+                <cstring>layout4</cstring>
             </property>
             <hbox>
                 <property name="name">
                     <cstring>unnamed</cstring>
                 </property>
-                <widget class="QPushButton">
-                    <property name="name">
-                        <cstring>buttonHelp</cstring>
-                    </property>
-                    <property name="text">
-                        <string>&amp;Help</string>
-                    </property>
-                    <property name="accel">
-                        <string>F1</string>
-                    </property>
-                    <property name="autoDefault">
-                        <bool>true</bool>
-                    </property>
-                </widget>
                 <widget class="QComboBox">
                     <property name="name">
                         <cstring>faceCombo</cstring>
                     </property>
                     <property name="sizeHint">
                         <size>
-                            <width>263</width>
+                            <width>90</width>
                             <height>20</height>
                         </size>
                     </property>
                 </spacer>
+                <widget class="QLabel">
+                    <property name="name">
+                        <cstring>lengthLabel</cstring>
+                    </property>
+                    <property name="text">
+                        <string>XX/XX | XXXX/XXXX</string>
+                    </property>
+                </widget>
                 <widget class="QPushButton">
                     <property name="name">
                         <cstring>buttonOk</cstring>
index bbe6954..61cc200 100644 (file)
@@ -432,7 +432,7 @@ bool KitaWriteView::slotBodyTextChanged()
     QString str;
     str = QString().setNum( lines ) + "/" + ( maxLines != 0 ? QString().setNum( maxLines ) : "--" );
     str += " | " + QString().setNum( length ) + "/" + ( maxLength != 0 ? QString().setNum( maxLength ) : "--" );    
-    boardNameLabel->setText( str );
+    lengthLabel->setText( str );
 
     if( maxLines != 0 && lines > maxLines ) return FALSE;
     if( maxLength != 0 && length > maxLength ) return FALSE;