Author: dmacvicar
Date: Fri Nov 30 12:03:21 2007
New Revision: 42538
URL: http://svn.opensuse.org/viewcvs/yast?rev=42538&view=rev
Log:
QCheckBox ported partially
Modified:
branches/tmp/coolo/qt4-port/src/YQCheckBox.cc
Modified: branches/tmp/coolo/qt4-port/src/YQCheckBox.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/coolo/qt4-port/src/YQCheckBox.cc?rev=42538&r1=42537&r2=42538&view=diff
==============================================================================
--- branches/tmp/coolo/qt4-port/src/YQCheckBox.cc (original)
+++ branches/tmp/coolo/qt4-port/src/YQCheckBox.cc Fri Nov 30 12:03:21 2007
@@ -18,7 +18,7 @@
#include
-#include
+#include <QBoxLayout>
#define y2log_component "qt-ui"
#include
@@ -41,7 +41,7 @@
setWidgetRep( this );
setFrameStyle( NoFrame );
- QBoxLayout * layout = new QBoxLayout( this, QBoxLayout::LeftToRight );
+ QBoxLayout * layout = new QBoxLayout( QBoxLayout::LeftToRight, this );
_qt_checkBox = new QCheckBox( fromUTF8( label ), this );
YUI_CHECK_NEW( _qt_checkBox );
@@ -94,7 +94,7 @@
case YCheckBox_dont_care:
_qt_checkBox->setTristate( true );
- _qt_checkBox->setNoChange();
+ _qt_checkBox->setCheckState(Qt::PartiallyChecked);
break;
}
}
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org