[yast-commit] r43965 - in /trunk/qt/src: YQDialog.cc YQDialog.h
Author: sh-sh-sh Date: Tue Jan 29 13:31:36 2008 New Revision: 43965 URL: http://svn.opensuse.org/viewcvs/yast?rev=43965&view=rev Log: warnColor that doesn't bite with the new installation theme Modified: trunk/qt/src/YQDialog.cc trunk/qt/src/YQDialog.h Modified: trunk/qt/src/YQDialog.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQDialog.cc?rev=43965&r1=43964&r2=43965&view=diff ============================================================================== --- trunk/qt/src/YQDialog.cc (original) +++ trunk/qt/src/YQDialog.cc Tue Jan 29 13:31:36 2008 @@ -41,7 +41,6 @@ #include <X11/Xlib.h> #define YQMainDialogWFlags Qt::Widget - #define YQPopupDialogWFlags Qt::Dialog @@ -53,17 +52,17 @@ { setWidgetRep( this ); - _userResized = false; - _focusButton = 0; - _defaultButton = 0; + _userResized = false; + _focusButton = 0; + _defaultButton = 0; setWindowTitle( "YaST2" ); setFocusPolicy( Qt::StrongFocus ); if ( colorMode != YDialogNormalColor ) { - QColor normalBackground ( 0, 128, 0 ); - QColor inputFieldBackground ( 0xbb, 0xff, 0xbb ); + QColor normalBackground ( 240, 100, 36 ); + QColor inputFieldBackground ( 0xbb, 0xff, 0xbb ); QColor text = Qt::white; if ( colorMode == YDialogInfoColor ) Modified: trunk/qt/src/YQDialog.h URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQDialog.h?rev=43965&r1=43964&r2=43965&view=diff ============================================================================== --- trunk/qt/src/YQDialog.h (original) +++ trunk/qt/src/YQDialog.h Tue Jan 29 13:31:36 2008 @@ -56,7 +56,7 @@ public: /** - * Makes this dialog active or inactive + * Makes this dialog active or inactive. **/ void activate( bool active ); @@ -145,7 +145,7 @@ void ensureOnlyOneDefaultButton(); /** - * Activate ( i.e. click ) this dialog's default button, if there is any. + * Activate (i.e. click) this dialog's default button, if there is any. * Issue a warning to the log file if 'warn' is true. **/ bool activateDefaultButton( bool warn = true ); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
sh-sh-sh@svn.opensuse.org