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

List:       kde-commits
Subject:    kdesdk/kbabel/kbabeldict
From:       Stanislav Višňovský
Date:       2003-06-05 6:53:18
[Download RAW message or body]

CVS commit by nanulo: 

Allow wordwrap for original text found


  M +2 -2      kbabeldictbox.cpp   1.51


--- kdesdk/kbabel/kbabeldict/kbabeldictbox.cpp  #1.50:1.51
@@ -172,6 +172,5 @@ const SearchResult *ResultListItem::resu
  */
 KBabelDictBox::KBabelDictBox( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-    , DCOPObject("KBabelDict")
+    : DCOPObject("KBabelDict"), QWidget( parent, name, fl )
 {
    active=-1;
@@ -263,4 +262,5 @@ KBabelDictBox::KBabelDictBox( QWidget* p
    vbox->setResizeMode(QLayout::FreeResize);
    origView = new QTextView(viewContainer,"origView");
+   origView->setWordWrap( QTextEdit::WidgetWidth );
    origView->setMinimumSize(1,1);
    vbox->addWidget(origView);


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

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