mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-24 02:21:26 +00:00
ByeBye Q3WhatsThis
svn path=/branches/work/kde4/kdegraphics/kdvi/; revision=424870
This commit is contained in:
parent
828d3b446e
commit
17694865f7
|
@ -16,7 +16,7 @@
|
|||
#include <qlayout.h>
|
||||
#include <qvariant.h>
|
||||
#include <qtooltip.h>
|
||||
#include <q3whatsthis.h>
|
||||
|
||||
|
||||
#include <q3vbox.h>
|
||||
|
||||
|
@ -42,20 +42,20 @@ fontProgressDialog::fontProgressDialog( QString helpIndex, QString label, QStrin
|
|||
|
||||
TextLabel1 = new QLabel( label, page, "TextLabel2" );
|
||||
TextLabel1->setAlignment( int( Qt::AlignCenter ) );
|
||||
Q3WhatsThis::add( TextLabel1, whatsThis );
|
||||
TextLabel1->setWhatsThis( whatsThis );
|
||||
QToolTip::add( TextLabel1, ttip );
|
||||
|
||||
if (progressbar) {
|
||||
ProgressBar1 = new KProgress( page, "ProgressBar1" );
|
||||
ProgressBar1->setFormat(i18n("%v of %m"));
|
||||
Q3WhatsThis::add( ProgressBar1, whatsThis );
|
||||
ProgressBar1->setWhatsThis( whatsThis );
|
||||
QToolTip::add( ProgressBar1, ttip );
|
||||
} else
|
||||
ProgressBar1 = NULL;
|
||||
|
||||
TextLabel2 = new QLabel( "", page, "TextLabel2" );
|
||||
TextLabel2->setAlignment( int( Qt::AlignCenter ) );
|
||||
Q3WhatsThis::add( TextLabel2, whatsThis );
|
||||
TextLabel2->setWhatsThis( whatsThis );
|
||||
QToolTip::add( TextLabel2, ttip );
|
||||
|
||||
progress = 0;
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include <q3textview.h>
|
||||
#include <qtooltip.h>
|
||||
#include <qvariant.h>
|
||||
#include <q3whatsthis.h>
|
||||
|
||||
//Added by qt3to4:
|
||||
#include <QVBoxLayout>
|
||||
#include <Q3Frame>
|
||||
|
@ -38,7 +38,7 @@ infoDialog::infoDialog( QWidget* parent )
|
|||
TextLabel2->setMinimumWidth(fontMetrics().maxWidth()*40);
|
||||
TextLabel2->setMinimumHeight(fontMetrics().height()*10);
|
||||
QToolTip::add( TextLabel2, i18n("Information on currently loaded fonts.") );
|
||||
Q3WhatsThis::add( TextLabel2, i18n("This text field shows detailed information about the currently loaded fonts. "
|
||||
TextLabel2->setWhatsThis( i18n("This text field shows detailed information about the currently loaded fonts. "
|
||||
"This is useful for experts who want to locate problems in the setup of TeX or KDVI.") );
|
||||
topLayout2->addWidget( TextLabel2 );
|
||||
|
||||
|
@ -47,7 +47,7 @@ infoDialog::infoDialog( QWidget* parent )
|
|||
TextLabel3 = new Q3TextView( page3, "TextLabel1" );
|
||||
TextLabel3->setText( i18n("No output from any external program received.") );
|
||||
QToolTip::add( TextLabel3, i18n("Output of external programs.") );
|
||||
Q3WhatsThis::add( TextLabel3, i18n("KDVI uses external programs, such as MetaFont, dvipdfm or dvips. "
|
||||
TextLabel3->setWhatsThis( i18n("KDVI uses external programs, such as MetaFont, dvipdfm or dvips. "
|
||||
"This text field shows the output of these programs. "
|
||||
"That is useful for experts who want to find problems in the setup of TeX or KDVI.") );
|
||||
topLayout3->addWidget( TextLabel3 );
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#include <q3buttongroup.h>
|
||||
#include <qcheckbox.h>
|
||||
#include <qtooltip.h>
|
||||
#include <q3whatsthis.h>
|
||||
|
||||
|
||||
#include "../config.h"
|
||||
#include "fontpool.h"
|
||||
|
@ -31,7 +31,7 @@ optionDialogFontsWidget::optionDialogFontsWidget( QWidget* parent, const char*
|
|||
kcfg_UseFontHints->setEnabled(false);
|
||||
kcfg_UseFontHints->setChecked(false);
|
||||
QToolTip::add(PFB_ButtonGroup, i18n("This version of KDVI does not support type 1 fonts."));
|
||||
Q3WhatsThis::add(PFB_ButtonGroup, i18n("KDVI needs the FreeType library to access type 1 fonts. This library "
|
||||
PFB_ButtonGroup->setWhatsThis( i18n("KDVI needs the FreeType library to access type 1 fonts. This library "
|
||||
"was not present when KDVI was compiled. If you want to use type 1 "
|
||||
"fonts, you must either install the FreeType library and recompile KDVI "
|
||||
"yourself, or find a precompiled software package for your operating "
|
||||
|
|
Loading…
Reference in a new issue