Mailinglist Archive: yast-commit (1339 mails)
| < Previous | Next > |
[yast-commit] r46407 - in /trunk/qt/src: QY2Styler.cc YQMenuButton.cc
- From: coolo@xxxxxxxxxxxxxxxx
- Date: Fri, 11 Apr 2008 12:38:58 -0000
- Message-id: <20080411123858.C964629644@xxxxxxxxxxxxxxxx>
Author: coolo
Date: Fri Apr 11 14:38:58 2008
New Revision: 46407
URL: http://svn.opensuse.org/viewcvs/yast?rev=46407&view=rev
Log:
give menubuttons a class of their own (bnc#367857)
Modified:
trunk/qt/src/QY2Styler.cc
trunk/qt/src/YQMenuButton.cc
Modified: trunk/qt/src/QY2Styler.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/QY2Styler.cc?rev=46407&r1=46406&r2=46407&view=diff
==============================================================================
--- trunk/qt/src/QY2Styler.cc (original)
+++ trunk/qt/src/QY2Styler.cc Fri Apr 11 14:38:58 2008
@@ -1,3 +1,6 @@
+#define YUILogComponent "qt-wizard"
+#include "YUILog.h"
+
#include "QY2Styler.h"
#include <QFile>
#include <QString>
@@ -28,7 +31,10 @@
{
_style = file.readAll();
processUrls( _style );
+ yuiMilestone() << "set stylesheet " << qPrintable(filename) << endl;
}
+ else
+ yuiMilestone() << "could not open " << qPrintable(filename) << endl;
}
void QY2Styler::processUrls(QString &text)
Modified: trunk/qt/src/YQMenuButton.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQMenuButton.cc?rev=46407&r1=46406&r2=46407&view=diff
==============================================================================
--- trunk/qt/src/YQMenuButton.cc (original)
+++ trunk/qt/src/YQMenuButton.cc Fri Apr 11 14:38:58 2008
@@ -78,6 +78,7 @@
QMenu * menu = new QMenu( _qt_button );
YUI_CHECK_NEW( menu );
_qt_button->setMenu( menu );
+ menu->setProperty( "class", "ymenubutton QMenu" );
connect( menu, SIGNAL( triggered ( QAction* ) ),
this, SLOT ( menuEntryActivated( QAction* ) ) );
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
Date: Fri Apr 11 14:38:58 2008
New Revision: 46407
URL: http://svn.opensuse.org/viewcvs/yast?rev=46407&view=rev
Log:
give menubuttons a class of their own (bnc#367857)
Modified:
trunk/qt/src/QY2Styler.cc
trunk/qt/src/YQMenuButton.cc
Modified: trunk/qt/src/QY2Styler.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/QY2Styler.cc?rev=46407&r1=46406&r2=46407&view=diff
==============================================================================
--- trunk/qt/src/QY2Styler.cc (original)
+++ trunk/qt/src/QY2Styler.cc Fri Apr 11 14:38:58 2008
@@ -1,3 +1,6 @@
+#define YUILogComponent "qt-wizard"
+#include "YUILog.h"
+
#include "QY2Styler.h"
#include <QFile>
#include <QString>
@@ -28,7 +31,10 @@
{
_style = file.readAll();
processUrls( _style );
+ yuiMilestone() << "set stylesheet " << qPrintable(filename) << endl;
}
+ else
+ yuiMilestone() << "could not open " << qPrintable(filename) << endl;
}
void QY2Styler::processUrls(QString &text)
Modified: trunk/qt/src/YQMenuButton.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQMenuButton.cc?rev=46407&r1=46406&r2=46407&view=diff
==============================================================================
--- trunk/qt/src/YQMenuButton.cc (original)
+++ trunk/qt/src/YQMenuButton.cc Fri Apr 11 14:38:58 2008
@@ -78,6 +78,7 @@
QMenu * menu = new QMenu( _qt_button );
YUI_CHECK_NEW( menu );
_qt_button->setMenu( menu );
+ menu->setProperty( "class", "ymenubutton QMenu" );
connect( menu, SIGNAL( triggered ( QAction* ) ),
this, SLOT ( menuEntryActivated( QAction* ) ) );
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
| < Previous | Next > |