[uim-commit] r738 - trunk/qt

kzk at freedesktop.org kzk at freedesktop.org
Tue Mar 1 22:11:42 PST 2005


Author: kzk
Date: 2005-03-01 22:11:38 -0800 (Tue, 01 Mar 2005)
New Revision: 738

Modified:
   trunk/qt/chardict-qt.cpp
   trunk/qt/chardict-qt.h
   trunk/qt/switcher-qt.cpp
   trunk/qt/switcher-qt.h
Log:
* qt/chardict-qt.cpp
* qt/switcher-qt.h
* qt/chardict-qt.h
* qt/switcher-qt.cpp
  - replace QToolButton with QPushButton for better Look&Fee;



Modified: trunk/qt/chardict-qt.cpp
===================================================================
--- trunk/qt/chardict-qt.cpp	2005-03-02 05:38:39 UTC (rev 737)
+++ trunk/qt/chardict-qt.cpp	2005-03-02 06:11:38 UTC (rev 738)
@@ -110,7 +110,7 @@
                       this, SLOT( changeMode( int ) ) );
     modeLabel->setBuddy( m_modeCombo );
 
-    m_fontselButton = new QToolButton( upperHWidget );
+    m_fontselButton = new QPushButton( upperHWidget );
     m_fontselButton->setText( _( "Select Font" ) );
     QObject::connect( m_fontselButton, SIGNAL( clicked() ),
                       this, SLOT( slotSelectFont() ) );

Modified: trunk/qt/chardict-qt.h
===================================================================
--- trunk/qt/chardict-qt.h	2005-03-02 05:38:39 UTC (rev 737)
+++ trunk/qt/chardict-qt.h	2005-03-02 06:11:38 UTC (rev 738)
@@ -41,7 +41,7 @@
 #include <qscrollview.h>
 #include <qgridview.h>
 #include <qstringlist.h>
-#include <qtoolbutton.h>
+#include <qpushbutton.h>
 
 class BushuViewWidget;
 class UnicodeViewWidget;
@@ -78,7 +78,7 @@
 
 protected:
     QComboBox *m_modeCombo;
-    QToolButton *m_fontselButton;
+    QPushButton *m_fontselButton;
     QLineEdit *m_charLineEdit;
 
     QWidgetStack *m_widgetStack;

Modified: trunk/qt/switcher-qt.cpp
===================================================================
--- trunk/qt/switcher-qt.cpp	2005-03-02 05:38:39 UTC (rev 737)
+++ trunk/qt/switcher-qt.cpp	2005-03-02 06:11:38 UTC (rev 738)
@@ -37,7 +37,7 @@
 #include <qvbuttongroup.h>
 #include <qradiobutton.h>
 #include <qsocketnotifier.h>
-#include <qtoolbutton.h>
+#include <qpushbutton.h>
 #include <qtextcodec.h>
 #include <qevent.h>
 #include <qlayout.h>
@@ -112,12 +112,12 @@
     vbGroup->insert( button, ID_CHANGE_THIS_TEXT_AREA_ONLY );
 
     /* cancel & ok button */
-    okButton = new QToolButton( this );
+    okButton = new QPushButton( this );
     okButton->setText( _( "OK" ) );
     okButton->setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Fixed );
     QObject::connect( okButton, SIGNAL( clicked() ),
                       this, SLOT( slotChangeInputMethod() ) );
-    cancelButton = new QToolButton( this );
+    cancelButton = new QPushButton( this );
     cancelButton->setText( _( "Cancel" ) );
     cancelButton->setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Fixed );
     QObject::connect( cancelButton, SIGNAL( clicked() ),

Modified: trunk/qt/switcher-qt.h
===================================================================
--- trunk/qt/switcher-qt.h	2005-03-02 05:38:39 UTC (rev 737)
+++ trunk/qt/switcher-qt.h	2005-03-02 06:11:38 UTC (rev 738)
@@ -39,7 +39,7 @@
 #include <qdialog.h>
 
 class QListView;
-class QToolButton;
+class QPushButton;
 class QButtonGroup;
 class QFocusEvent;
 
@@ -78,8 +78,8 @@
 protected:
     QListView *listview;
     QButtonGroup *vbGroup;
-    QToolButton *okButton;
-    QToolButton *cancelButton;
+    QPushButton *okButton;
+    QPushButton *cancelButton;
 };
 
 #endif /* Not def: _IM_SWITCHER_QT_H_ */



More information about the Uim-commit mailing list