You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdegraphics/kdvi/optionDialogFontsWidget.cpp

48 lines
1.4 KiB

// optionDiologWidget.cpp
//
// Part of KDVI - A DVI previewer for the KDE desktop environemt
//
// (C) 2003 Stefan Kebekus
// Distributed under the GPL
// Add header files alphabetically
#include <config.h>
#include <kcombobox.h>
#include <kdebug.h>
#include <klocale.h>
#include <tqbuttongroup.h>
#include <tqcheckbox.h>
#include <tqtooltip.h>
#include <tqwhatsthis.h>
#include "fontpool.h"
#include "optionDialogFontsWidget.h"
// Constructs a optionDialogWidget_base which is a child of 'parent', with
// the name 'name' and widget flags set to 'f'.
optionDialogFontsWidget::optionDialogFontsWidget( TQWidget* parent, const char* name, WFlags fl )
: optionDialogFontsWidget_base( parent, name, fl )
{
#ifndef HAVE_FREETYPE
kcfg_UseType1Fonts->setChecked(false);
kcfg_UseType1Fonts->setEnabled(false);
kcfg_UseFontHints->setEnabled(false);
kcfg_UseFontHints->setChecked(false);
TQToolTip::add(PFB_ButtonGroup, i18n("This version of KDVI does not support type 1 fonts."));
TQWhatsThis::add(PFB_ButtonGroup, 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 "
"system."));
#endif
}
optionDialogFontsWidget::~optionDialogFontsWidget()
{
}
#include "optionDialogFontsWidget.moc"