[rkward-cvs] SF.net SVN: rkward:[3836] trunk/rkward/rkward/dialogs/rkloadlibsdialog.cpp

tfry at users.sourceforge.net tfry at users.sourceforge.net
Mon Sep 26 08:21:07 UTC 2011


Revision: 3836
          http://rkward.svn.sourceforge.net/rkward/?rev=3836&view=rev
Author:   tfry
Date:     2011-09-26 08:21:07 +0000 (Mon, 26 Sep 2011)
Log Message:
-----------
Using markup makes Qt format the tooltips better.

Modified Paths:
--------------
    trunk/rkward/rkward/dialogs/rkloadlibsdialog.cpp

Modified: trunk/rkward/rkward/dialogs/rkloadlibsdialog.cpp
===================================================================
--- trunk/rkward/rkward/dialogs/rkloadlibsdialog.cpp	2011-09-26 08:18:40 UTC (rev 3835)
+++ trunk/rkward/rkward/dialogs/rkloadlibsdialog.cpp	2011-09-26 08:21:07 UTC (rev 3836)
@@ -939,12 +939,12 @@
 		if (section == Location) return QVariant (i18n ("Location"));
 	}
 	if ((role == Qt::ToolTipRole) || (role == Qt::WhatsThisRole)) {
-		if (section == EnhancesRKWard) return QVariant (i18n ("Packages marked with an RKWard icon in this column provide enhancements to RKWard, typically in the form of additional graphical dialogs."));
-		if (section == InstallationStatus) return QVariant (i18n ("You can select packages for installation / removal by checking / unchecking the corresponding boxes in this column."));
-		if (section == PackageName) return QVariant (i18n ("The name of the package."));
-		if (section == PackageTitle) return QVariant (i18n ("A descriptive title for the package. Currently this is not available for packages in non-local repositories."));
-		if (section == Version) return QVariant (i18n ("Installed and / or available version of the package"));
-		if (section == Location) return QVariant (i18n ("Location where the package is installed / available"));
+		if (section == EnhancesRKWard) return QVariant (i18n ("<p>Packages marked with an RKWard icon in this column provide enhancements to RKWard, typically in the form of additional graphical dialogs.</p>"));
+		if (section == InstallationStatus) return QVariant (i18n ("<p>You can select packages for installation / removal by checking / unchecking the corresponding boxes in this column.</p>"));
+		if (section == PackageName) return QVariant (i18n ("<p>The name of the package.</p>"));
+		if (section == PackageTitle) return QVariant (i18n ("<p>A descriptive title for the package. Currently this is not available for packages in non-local repositories.</p>"));
+		if (section == Version) return QVariant (i18n ("<p>Installed and / or available version of the package</p>"));
+		if (section == Location) return QVariant (i18n ("<p>Location where the package is installed / available</p>"));
 	}
 	return QVariant ();
 }

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.





More information about the rkward-tracker mailing list