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
3a393557
Kaydet (Commit)
3a393557
authored
Tem 08, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
allow SfxTabDialog ok button to have custom text
Change-Id: Ia38a982b37568c9225c03197a085db3164602f85
üst
0c68a386
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
numpages.cxx
cui/source/tabpages/numpages.cxx
+4
-4
tabdlg.hxx
include/sfx2/tabdlg.hxx
+3
-3
tabdlg.cxx
sfx2/source/dialog/tabdlg.cxx
+1
-1
No files found.
cui/source/tabpages/numpages.cxx
Dosyayı görüntüle @
3a393557
...
@@ -363,7 +363,7 @@ IMPL_LINK_NOARG(SvxSingleNumPickTabPage, NumSelectHdl_Impl)
...
@@ -363,7 +363,7 @@ IMPL_LINK_NOARG(SvxSingleNumPickTabPage, NumSelectHdl_Impl)
IMPL_LINK_NOARG
(
SvxSingleNumPickTabPage
,
DoubleClickHdl_Impl
)
IMPL_LINK_NOARG
(
SvxSingleNumPickTabPage
,
DoubleClickHdl_Impl
)
{
{
NumSelectHdl_Impl
(
m_pExamplesVS
);
NumSelectHdl_Impl
(
m_pExamplesVS
);
OK
Button
&
rOk
=
GetTabDialog
()
->
GetOKButton
();
Push
Button
&
rOk
=
GetTabDialog
()
->
GetOKButton
();
rOk
.
GetClickHdl
().
Call
(
&
rOk
);
rOk
.
GetClickHdl
().
Call
(
&
rOk
);
return
0
;
return
0
;
}
}
...
@@ -514,7 +514,7 @@ IMPL_LINK_NOARG(SvxBulletPickTabPage, NumSelectHdl_Impl)
...
@@ -514,7 +514,7 @@ IMPL_LINK_NOARG(SvxBulletPickTabPage, NumSelectHdl_Impl)
IMPL_LINK_NOARG
(
SvxBulletPickTabPage
,
DoubleClickHdl_Impl
)
IMPL_LINK_NOARG
(
SvxBulletPickTabPage
,
DoubleClickHdl_Impl
)
{
{
NumSelectHdl_Impl
(
m_pExamplesVS
);
NumSelectHdl_Impl
(
m_pExamplesVS
);
OK
Button
&
rOk
=
GetTabDialog
()
->
GetOKButton
();
Push
Button
&
rOk
=
GetTabDialog
()
->
GetOKButton
();
rOk
.
GetClickHdl
().
Call
(
&
rOk
);
rOk
.
GetClickHdl
().
Call
(
&
rOk
);
return
0
;
return
0
;
}
}
...
@@ -765,7 +765,7 @@ IMPL_LINK_NOARG(SvxNumPickTabPage, NumSelectHdl_Impl)
...
@@ -765,7 +765,7 @@ IMPL_LINK_NOARG(SvxNumPickTabPage, NumSelectHdl_Impl)
IMPL_LINK_NOARG
(
SvxNumPickTabPage
,
DoubleClickHdl_Impl
)
IMPL_LINK_NOARG
(
SvxNumPickTabPage
,
DoubleClickHdl_Impl
)
{
{
NumSelectHdl_Impl
(
m_pExamplesVS
);
NumSelectHdl_Impl
(
m_pExamplesVS
);
OK
Button
&
rOk
=
GetTabDialog
()
->
GetOKButton
();
Push
Button
&
rOk
=
GetTabDialog
()
->
GetOKButton
();
rOk
.
GetClickHdl
().
Call
(
&
rOk
);
rOk
.
GetClickHdl
().
Call
(
&
rOk
);
return
0
;
return
0
;
}
}
...
@@ -979,7 +979,7 @@ IMPL_LINK_NOARG(SvxBitmapPickTabPage, NumSelectHdl_Impl)
...
@@ -979,7 +979,7 @@ IMPL_LINK_NOARG(SvxBitmapPickTabPage, NumSelectHdl_Impl)
IMPL_LINK_NOARG
(
SvxBitmapPickTabPage
,
DoubleClickHdl_Impl
)
IMPL_LINK_NOARG
(
SvxBitmapPickTabPage
,
DoubleClickHdl_Impl
)
{
{
NumSelectHdl_Impl
(
m_pExamplesVS
);
NumSelectHdl_Impl
(
m_pExamplesVS
);
OK
Button
&
rOk
=
GetTabDialog
()
->
GetOKButton
();
Push
Button
&
rOk
=
GetTabDialog
()
->
GetOKButton
();
rOk
.
GetClickHdl
().
Call
(
&
rOk
);
rOk
.
GetClickHdl
().
Call
(
&
rOk
);
return
0
;
return
0
;
}
}
...
...
include/sfx2/tabdlg.hxx
Dosyayı görüntüle @
3a393557
...
@@ -68,7 +68,7 @@ friend class SfxTabDialogController;
...
@@ -68,7 +68,7 @@ friend class SfxTabDialogController;
VclBox
*
m_pBox
;
VclBox
*
m_pBox
;
TabControl
*
m_pTabCtrl
;
TabControl
*
m_pTabCtrl
;
OKButton
*
m_pOKBtn
;
PushButton
*
m_pOKBtn
;
PushButton
*
m_pApplyBtn
;
PushButton
*
m_pApplyBtn
;
PushButton
*
m_pUserBtn
;
PushButton
*
m_pUserBtn
;
CancelButton
*
m_pCancelBtn
;
CancelButton
*
m_pCancelBtn
;
...
@@ -205,8 +205,8 @@ public:
...
@@ -205,8 +205,8 @@ public:
const
SfxItemSet
*
GetOutputItemSet
()
const
{
return
pOutSet
;
}
const
SfxItemSet
*
GetOutputItemSet
()
const
{
return
pOutSet
;
}
sal_Bool
IsFormat
()
const
{
return
bFmt
;
}
sal_Bool
IsFormat
()
const
{
return
bFmt
;
}
const
OKButton
&
GetOKButton
()
const
{
return
*
m_pOKBtn
;
}
const
PushButton
&
GetOKButton
()
const
{
return
*
m_pOKBtn
;
}
OKButton
&
GetOKButton
()
{
return
*
m_pOKBtn
;
}
PushButton
&
GetOKButton
()
{
return
*
m_pOKBtn
;
}
const
CancelButton
&
GetCancelButton
()
const
{
return
*
m_pCancelBtn
;
}
const
CancelButton
&
GetCancelButton
()
const
{
return
*
m_pCancelBtn
;
}
CancelButton
&
GetCancelButton
()
{
return
*
m_pCancelBtn
;
}
CancelButton
&
GetCancelButton
()
{
return
*
m_pCancelBtn
;
}
const
HelpButton
&
GetHelpButton
()
const
{
return
*
m_pHelpBtn
;
}
const
HelpButton
&
GetHelpButton
()
const
{
return
*
m_pHelpBtn
;
}
...
...
sfx2/source/dialog/tabdlg.cxx
Dosyayı görüntüle @
3a393557
...
@@ -594,7 +594,7 @@ void SfxTabDialog::Init_Impl( sal_Bool bFmtFlag, const String* pUserButtonText,
...
@@ -594,7 +594,7 @@ void SfxTabDialog::Init_Impl( sal_Bool bFmtFlag, const String* pUserButtonText,
set_action_area
(
m_pActionArea
);
set_action_area
(
m_pActionArea
);
}
}
m_pOKBtn
=
m_pUIBuilder
?
m_pUIBuilder
->
get
<
OK
Button
>
(
"ok"
)
:
NULL
;
m_pOKBtn
=
m_pUIBuilder
?
m_pUIBuilder
->
get
<
Push
Button
>
(
"ok"
)
:
NULL
;
m_bOwnsOKBtn
=
m_pOKBtn
==
NULL
;
m_bOwnsOKBtn
=
m_pOKBtn
==
NULL
;
if
(
m_bOwnsOKBtn
)
if
(
m_bOwnsOKBtn
)
m_pOKBtn
=
new
OKButton
(
m_pActionArea
);
m_pOKBtn
=
new
OKButton
(
m_pActionArea
);
...
...
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