Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
83ef257f
Kaydet (Commit)
83ef257f
authored
Eyl 18, 2014
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use vcl::Font
Change-Id: I3ffc8beea76e6df00607330203d567e152b13611
üst
ac24f3fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
salnativewidgets-kde.cxx
vcl/unx/kde/salnativewidgets-kde.cxx
+4
-4
No files found.
vcl/unx/kde/salnativewidgets-kde.cxx
Dosyayı görüntüle @
83ef257f
...
...
@@ -1755,7 +1755,7 @@ static Color readColor( KConfig *pConfig, const char *pKey )
Mostly grabbed from the Gtk+ vclplug (salnativewidgets-gtk.cxx).
*/
static
Font
toFont
(
const
QFont
&
rQFont
,
const
::
com
::
sun
::
star
::
lang
::
Locale
&
rLocale
)
static
vcl
::
Font
toFont
(
const
QFont
&
rQFont
,
const
::
com
::
sun
::
star
::
lang
::
Locale
&
rLocale
)
{
psp
::
FastPrintFontInfo
aInfo
;
QFontInfo
qFontInfo
(
rQFont
);
...
...
@@ -1815,7 +1815,7 @@ static Font toFont( const QFont &rQFont, const ::com::sun::star::lang::Locale& r
nPointHeight
=
rQFont
.
pointSize
();
// Create the font
Font
aFont
(
aInfo
.
m_aFamilyName
,
Size
(
0
,
nPointHeight
)
);
vcl
::
Font
aFont
(
aInfo
.
m_aFamilyName
,
Size
(
0
,
nPointHeight
)
);
if
(
aInfo
.
m_eWeight
!=
WEIGHT_DONTKNOW
)
aFont
.
SetWeight
(
aInfo
.
m_eWeight
);
if
(
aInfo
.
m_eWidth
!=
WIDTH_DONTKNOW
)
...
...
@@ -1871,7 +1871,7 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings )
pKey
=
"titleFont"
;
if
(
pConfig
->
hasKey
(
pKey
)
)
{
Font
aFont
=
toFont
(
pConfig
->
readFontEntry
(
pKey
),
rSettings
.
GetUILanguageTag
().
getLocale
()
);
vcl
::
Font
aFont
=
toFont
(
pConfig
->
readFontEntry
(
pKey
),
rSettings
.
GetUILanguageTag
().
getLocale
()
);
aStyleSettings
.
SetTitleFont
(
aFont
);
bSetTitleFont
=
true
;
}
...
...
@@ -1932,7 +1932,7 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings )
aStyleSettings
.
SetHighlightTextColor
(
toColor
(
qColorGroup
.
highlightedText
()
)
);
// Font
Font
aFont
=
toFont
(
QApplication
::
font
(),
rSettings
.
GetUILanguageTag
().
getLocale
()
);
vcl
::
Font
aFont
=
toFont
(
QApplication
::
font
(),
rSettings
.
GetUILanguageTag
().
getLocale
()
);
aStyleSettings
.
SetAppFont
(
aFont
);
aStyleSettings
.
SetHelpFont
(
aFont
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment