[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/krecipes/src
From: Jason Kivlighn <confederacy2 () excite ! com>
Date: 2004-05-16 22:21:06
Message-ID: 20040516222106.CAB008EA6 () office ! kde ! org
[Download RAW message or body]
CVS commit by jkivlighn:
-When showing the context help, also raise() it to keep the active recipe menu button \
from showing over it.
-Generate the recipe view so that there is no horizontal slider
M +1 -0 krecipesview.cpp 1.143
M +3 -1 dialogs/recipeviewdialog.cpp 1.62
--- kdenonbeta/krecipes/src/krecipesview.cpp #1.142:1.143
@@ -216,4 +216,5 @@ KrecipesView::KrecipesView(QWidget *pare
connect( contextButton, SIGNAL(clicked()),contextHelp, SLOT(show()) );
+ connect( contextButton, SIGNAL(clicked()),contextHelp, SLOT(raise()) );
connect( contextClose, SIGNAL(clicked()),contextHelp, SLOT(close()) );
connect( leftPanel, SIGNAL(clicked(int)),this, SLOT(setContextHelp(int)) );
--- kdenonbeta/krecipes/src/dialogs/recipeviewdialog.cpp #1.61:1.62
@@ -15,4 +15,5 @@
#include <qpushbutton.h>
#include <qlayout.h>
+#include <qstyle.h>
#include <kapplication.h>
@@ -91,5 +92,6 @@ if ( ids.count() > 1 ) //we don't want a
}
-HTMLExporter html_generator( database, tmp_filename+".html", "html", \
parentWidget()->width() ); +int sb_width = recipeView->view()->style().pixelMetric( \
QStyle::PM_ScrollBarExtent ) + 4; +HTMLExporter html_generator( database, \
tmp_filename+".html", "html", parentWidget()->width() - sb_width );
RecipeList recipe_list; database->loadRecipes( &recipe_list, ids );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic