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
d61f5db2
Kaydet (Commit)
d61f5db2
authored
Haz 07, 2018
tarafından
Katarina Behrens
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Show LibO's custom checkboxes in native fpicker
Change-Id: I9cd6b0b393024957c3dec1bd7e381db62f711a24
üst
611346f3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
14 deletions
+11
-14
KDE5FilePicker.cxx
vcl/unx/kde5/KDE5FilePicker.cxx
+0
-14
KDE5FilePicker2.cxx
vcl/unx/kde5/KDE5FilePicker2.cxx
+11
-0
No files found.
vcl/unx/kde5/KDE5FilePicker.cxx
Dosyayı görüntüle @
d61f5db2
...
@@ -153,20 +153,6 @@ QString KDE5FilePicker::getLabel(sal_Int16 controlId) const
...
@@ -153,20 +153,6 @@ QString KDE5FilePicker::getLabel(sal_Int16 controlId) const
return label;
return label;
}*/
}*/
/*void KDE5FilePicker::addCheckBox(sal_Int16 controlId, const QString& label, bool hidden)
{
auto resString = label;
resString.replace('~', '&');
auto widget = new QCheckBox(resString, _extraControls);
widget->setHidden(hidden);
if (!hidden)
{
_layout->addWidget(widget);
}
_customWidgets.insert(controlId, widget);
}*/
/*void KDE5FilePicker::initialize(bool saveDialog)
/*void KDE5FilePicker::initialize(bool saveDialog)
{
{
//default is opening
//default is opening
...
...
vcl/unx/kde5/KDE5FilePicker2.cxx
Dosyayı görüntüle @
d61f5db2
...
@@ -303,6 +303,17 @@ void KDE5FilePicker::addCustomControl(sal_Int16 controlId)
...
@@ -303,6 +303,17 @@ void KDE5FilePicker::addCustomControl(sal_Int16 controlId)
// the checkbox is created even for CHECKBOX_AUTOEXTENSION to simplify
// the checkbox is created even for CHECKBOX_AUTOEXTENSION to simplify
// code, but the checkbox is hidden and ignored
// code, but the checkbox is hidden and ignored
bool
hidden
=
controlId
==
CHECKBOX_AUTOEXTENSION
;
bool
hidden
=
controlId
==
CHECKBOX_AUTOEXTENSION
;
auto
resString
=
toQString
(
VclResId
(
resId
));
resString
.
replace
(
'~'
,
'&'
);
auto
widget
=
new
QCheckBox
(
resString
,
_extraControls
);
widget
->
setHidden
(
hidden
);
if
(
!
hidden
)
{
_layout
->
addWidget
(
widget
);
}
_customWidgets
.
insert
(
controlId
,
widget
);
break
;
break
;
}
}
case
PUSHBUTTON_PLAY
:
case
PUSHBUTTON_PLAY
:
...
...
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