r20292 by craig - #12821: Add tooltips for hyphenation window

scribus-commit scribus-commit at lists.scribus.net
Wed Jul 29 20:50:24 UTC 2015


Author: craig
Date: Wed Jul 29 20:50:24 2015
New Revision: 20292

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20292
Log:
#12821: Add tooltips for hyphenation window

Modified:
    trunk/Scribus/scribus/ui/hyask.cpp

Modified: trunk/Scribus/scribus/ui/hyask.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20292&path=/trunk/Scribus/scribus/ui/hyask.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/hyask.cpp (original)
+++ trunk/Scribus/scribus/ui/hyask.cpp Wed Jul 29 20:50:24 2015
@@ -66,12 +66,14 @@
 	vboxLayout1->setMargin(0);
 	OK = new QPushButton(this);
 	OK->setText( tr("Accept"));
+	OK->setToolTip(tr("Accept the proposed hyphenation"));
 	OK->setDefault(true);
 	vboxLayout1->addWidget(OK);
 	hboxLayout1 = new QHBoxLayout();
 	hboxLayout1->setSpacing(0);
 	hboxLayout1->setMargin(0);
 	addToExceptionList = new QCheckBox(this);
+	addToExceptionList->setToolTip(tr("Add edited hyphen to local hyphenation dictionary list"));
 	hboxLayout1->addWidget(addToExceptionList);
 	addToExceptionListText = new QLabel(this);
 	addToExceptionListText->setText( tr("Add to the\nException List"));
@@ -92,6 +94,7 @@
 	hboxLayout2->setSpacing(0);
 	hboxLayout2->setMargin(0);
 	addToIgnoreList = new QCheckBox(this);
+	addToIgnoreList->setToolTip(tr("Add edited word to words that should not be hyphenated"));
 	hboxLayout2->addWidget(addToIgnoreList);
 	addToIgnoreListText = new QLabel(this);
 	addToIgnoreListText->setText( tr("Add to the\nIgnore List"));
@@ -105,6 +108,7 @@
 	vboxLayout3->setMargin(0);
 	Cancel = new QPushButton(this);
 	Cancel->setText( tr("Cancel"));
+	Cancel->setToolTip(tr("Do not apply the proposed hyphenation"));
 	vboxLayout3->addWidget(Cancel);
 	QSpacerItem* spacer = new QSpacerItem(2, 2, QSizePolicy::Minimum, QSizePolicy::Expanding);
 	vboxLayout3->addItem(spacer);




More information about the scribus-commit mailing list