[Uml-devel] branches/KDE/3.5/kdesdk/umbrello/umbrello/dialogs
Oliver Kellogg
okellogg at users.sourceforge.net
Sun Mar 19 12:20:03 UTC 2006
SVN commit 520399 by okellogg:
setupGeneralPage(): Apply attachment id=15183 from Daniel Calviño Sánchez
(tooltip for autosave option.)
CCBUG:72019
M +9 -0 settingsdlg.cpp
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/dialogs/settingsdlg.cpp #520398:520399
@@ -17,6 +17,7 @@
// qt includes
#include <qlayout.h>
+#include <qtooltip.h>
#include <qvbox.h>
// kde includes
#include <kdebug.h>
@@ -144,6 +145,14 @@
Dialog_Utils::makeLabeledEditField( m_GeneralWidgets.autosaveGB, autosaveLayout, 2,
m_GeneralWidgets.autosaveSuffixL, i18n("Set autosave suffix:"),
m_GeneralWidgets.autosaveSuffixT, m_pOptionState->generalState.autosavesuffix );
+ QString autoSaveSuffixToolTip = i18n( "<qt><p>The autosave file will be saved to ~/autosave.xmi if the autosaving occurs "
+ "before you have manually saved the file.</p>"
+ "<p>If you've already saved it, the autosave file will be saved in the same folder as the file "
+ "and will be named like the file's name, followed by the suffix specified.</p>"
+ "<p>If the suffix is equal to the suffix of the file you've saved, "
+ "the autosave will overwrite your file automatically.</p></qt>" );
+ QToolTip::add( m_GeneralWidgets.autosaveSuffixL, autoSaveSuffixToolTip );
+ QToolTip::add( m_GeneralWidgets.autosaveSuffixT, autoSaveSuffixToolTip );
//setup startup settings
m_GeneralWidgets.startupGB = new QGroupBox( i18n("Startup"), page );
More information about the umbrello-devel
mailing list