mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-08 10:51:03 +00:00
Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29812 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
666bf1a261
commit
950522d95a
@ -786,11 +786,11 @@ PrefScreenFonts::PrefScreenFonts(GuiPreferences * form)
|
||||
setupUi(this);
|
||||
|
||||
connect(screenRomanCO, SIGNAL(activated(QString)),
|
||||
this, SLOT(select_roman(QString)));
|
||||
this, SLOT(selectRoman(QString)));
|
||||
connect(screenSansCO, SIGNAL(activated(QString)),
|
||||
this, SLOT(select_sans(QString)));
|
||||
this, SLOT(selectSans(QString)));
|
||||
connect(screenTypewriterCO, SIGNAL(activated(QString)),
|
||||
this, SLOT(select_typewriter(QString)));
|
||||
this, SLOT(selectTypewriter(QString)));
|
||||
|
||||
QFontDatabase fontdb;
|
||||
QStringList families(fontdb.families());
|
||||
@ -894,9 +894,9 @@ void PrefScreenFonts::update(LyXRC const & rc)
|
||||
setComboxFont(screenTypewriterCO, rc.typewriter_font_name,
|
||||
rc.typewriter_font_foundry);
|
||||
|
||||
select_roman(screenRomanCO->currentText());
|
||||
select_sans(screenSansCO->currentText());
|
||||
select_typewriter(screenTypewriterCO->currentText());
|
||||
selectRoman(screenRomanCO->currentText());
|
||||
selectSans(screenSansCO->currentText());
|
||||
selectTypewriter(screenTypewriterCO->currentText());
|
||||
|
||||
screenZoomSB->setValue(rc.zoom);
|
||||
screenDpiSB->setValue(rc.dpi);
|
||||
@ -919,19 +919,19 @@ void PrefScreenFonts::update(LyXRC const & rc)
|
||||
}
|
||||
|
||||
|
||||
void PrefScreenFonts::select_roman(const QString & name)
|
||||
void PrefScreenFonts::selectRoman(const QString & name)
|
||||
{
|
||||
screenRomanFE->set(QFont(name), name);
|
||||
}
|
||||
|
||||
|
||||
void PrefScreenFonts::select_sans(const QString & name)
|
||||
void PrefScreenFonts::selectSans(const QString & name)
|
||||
{
|
||||
screenSansFE->set(QFont(name), name);
|
||||
}
|
||||
|
||||
|
||||
void PrefScreenFonts::select_typewriter(const QString & name)
|
||||
void PrefScreenFonts::selectTypewriter(const QString & name)
|
||||
{
|
||||
screenTypewriterFE->set(QFont(name), name);
|
||||
}
|
||||
|
@ -248,9 +248,9 @@ public:
|
||||
virtual void update(LyXRC const & rc);
|
||||
|
||||
private Q_SLOTS:
|
||||
void select_roman(const QString&);
|
||||
void select_sans(const QString&);
|
||||
void select_typewriter(const QString&);
|
||||
void selectRoman(const QString&);
|
||||
void selectSans(const QString&);
|
||||
void selectTypewriter(const QString&);
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user