[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/pim/kblogger/src (silent)
From:       Antonio Aloisio <antonio.aloisio () gmail ! com>
Date:       2007-07-31 22:03:40
Message-ID: 1185919420.146408.9389.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 694843 by aloisio:

SVN_SILENT, Cleanup

 M  +3 -3      mainwidget.cpp  
 M  +12 -21    mainwidgetbase.ui  
 M  +2 -1      medialist.cpp  
 M  +3 -41     medialistbase.ui  
 M  +2 -2      postingslist.cpp  


--- trunk/playground/pim/kblogger/src/mainwidget.cpp #694842:694843
@@ -78,8 +78,8 @@
     kDebug() << "mainWidget::viewEntry" << endl;
     if (!mPosting) return;
     QString text;
-    text = i18n("<h3><i>Title: </i><b>") + mPosting->title() + "</b></h3>";
-    text += i18n("<h4><i>Categories:</i> ") + mPosting->categories().join(", ") + \
"</h4>"; +    text = "<H3><FONT COLOR=#a0b0ff>" + mPosting->title() + "</font></H3>";
+    text += "<i>" + mPosting->categories().join(", ") + "</i>" ;
 //  text+=i18n("<i>Creation Date<i>")+
     text += mPosting->content();
     previewBrowser->setText(text);
@@ -93,7 +93,7 @@
 }*/
 
 void mainWidget::reloadSettings()
-{ 
+{
     kDebug() << "mainWidget::reloadSettings()" << endl;
     populateAccountList();
 }
--- trunk/playground/pim/kblogger/src/mainwidgetbase.ui #694842:694843
@@ -5,8 +5,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>296</width>
-    <height>112</height>
+    <width>490</width>
+    <height>415</height>
    </rect>
   </property>
   <property name="minimumSize" >
@@ -24,34 +24,22 @@
      <property name="frameShape" >
       <enum>QFrame::NoFrame</enum>
      </property>
+     <property name="lineWidth" >
+      <number>0</number>
+     </property>
+     <property name="midLineWidth" >
+      <number>0</number>
+     </property>
      <property name="orientation" >
       <enum>Qt::Horizontal</enum>
      </property>
      <widget class="QTreeWidget" name="blogListTree" >
       <property name="sizePolicy" >
-       <sizepolicy vsizetype="Expanding" hsizetype="MinimumExpanding" >
+       <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
-      <property name="minimumSize" >
-       <size>
-        <width>100</width>
-        <height>0</height>
-       </size>
-      </property>
-      <property name="sizeIncrement" >
-       <size>
-        <width>10</width>
-        <height>0</height>
-       </size>
-      </property>
-      <property name="baseSize" >
-       <size>
-        <width>150</width>
-        <height>0</height>
-       </size>
-      </property>
       <property name="showDropIndicator" stdset="0" >
        <bool>false</bool>
       </property>
@@ -133,6 +121,9 @@
 &lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:9pt; \
font-weight:400; font-style:normal;">  &lt;p style="-qt-paragraph-type:empty; \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px;">&lt;/p>&lt;/body>&lt;/html></string>  \
</property> +          <property name="openLinks" >
+           <bool>false</bool>
+          </property>
          </widget>
         </item>
        </layout>
--- trunk/playground/pim/kblogger/src/medialist.cpp #694842:694843
@@ -67,7 +67,8 @@
     kDebug() << "mediaList::open" << endl;
 }
 
-void mediaList::updateKActions(){
+void mediaList::updateKActions()
+{
     kDebug() << "mediaList::updateKActions" << endl;
 }
 
--- trunk/playground/pim/kblogger/src/medialistbase.ui #694842:694843
@@ -14,16 +14,16 @@
   </property>
   <layout class="QGridLayout" >
    <property name="leftMargin" >
-    <number>1</number>
+    <number>0</number>
    </property>
    <property name="topMargin" >
     <number>0</number>
    </property>
    <property name="rightMargin" >
-    <number>1</number>
+    <number>0</number>
    </property>
    <property name="bottomMargin" >
-    <number>1</number>
+    <number>0</number>
    </property>
    <item row="0" column="0" >
     <widget class="QTreeWidget" name="treeWidget" >
@@ -76,44 +76,6 @@
      </column>
     </widget>
    </item>
-   <item row="1" column="0" >
-    <layout class="QHBoxLayout" >
-     <item>
-      <widget class="QPushButton" name="pushButton_2" >
-       <property name="text" >
-        <string>Delete</string>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QLineEdit" name="lineEdit" >
-       <property name="text" >
-        <string>Search in the name field...</string>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QPushButton" name="pushButton" >
-       <property name="text" >
-        <string>Search</string>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <spacer>
-       <property name="orientation" >
-        <enum>Qt::Horizontal</enum>
-       </property>
-       <property name="sizeHint" >
-        <size>
-         <width>40</width>
-         <height>20</height>
-        </size>
-       </property>
-      </spacer>
-     </item>
-    </layout>
-   </item>
   </layout>
  </widget>
  <resources/>
--- trunk/playground/pim/kblogger/src/postingslist.cpp #694842:694843
@@ -59,8 +59,8 @@
         mKblogger(kbloggerParent)
 {
     kDebug() << "setAttributelocalDraftPostingsList::localDraftPostingsList" << \
                endl;
-    
-     setupUi(this);
+
+    setupUi(this);
 //     setAttribute(Qt::WA_DeleteOnClose); //Destroy on close
     mMainWidget = dynamic_cast<mainWidget*> (parent);
     if ( !mMainWidget ) {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic