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
5652d862
Kaydet (Commit)
5652d862
authored
Tem 19, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
add a callback mechanism for post-expansion mode change
Change-Id: I9219706bcc54c846b846550d88fef1e29f7cb63a
üst
11b8aaf2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
layout.hxx
include/vcl/layout.hxx
+3
-0
layout.cxx
vcl/source/window/layout.cxx
+1
-0
No files found.
include/vcl/layout.hxx
Dosyayı görüntüle @
5652d862
...
@@ -525,12 +525,15 @@ public:
...
@@ -525,12 +525,15 @@ public:
m_aDisclosureButton
.
Check
(
bExpanded
);
m_aDisclosureButton
.
Check
(
bExpanded
);
}
}
virtual
void
StateChanged
(
StateChangedType
nType
);
virtual
void
StateChanged
(
StateChangedType
nType
);
void
SetExpandedHdl
(
const
Link
&
rLink
)
{
maExpandedHdl
=
rLink
;
}
const
Link
&
GetExpandedHdl
()
const
{
return
maExpandedHdl
;
}
protected
:
protected
:
virtual
Size
calculateRequisition
()
const
;
virtual
Size
calculateRequisition
()
const
;
virtual
void
setAllocation
(
const
Size
&
rAllocation
);
virtual
void
setAllocation
(
const
Size
&
rAllocation
);
private
:
private
:
bool
m_bResizeTopLevel
;
bool
m_bResizeTopLevel
;
DisclosureButton
m_aDisclosureButton
;
DisclosureButton
m_aDisclosureButton
;
Link
maExpandedHdl
;
DECL_DLLPRIVATE_LINK
(
ClickHdl
,
DisclosureButton
*
pBtn
);
DECL_DLLPRIVATE_LINK
(
ClickHdl
,
DisclosureButton
*
pBtn
);
};
};
...
...
vcl/source/window/layout.cxx
Dosyayı görüntüle @
5652d862
...
@@ -1501,6 +1501,7 @@ IMPL_LINK( VclExpander, ClickHdl, DisclosureButton*, pBtn )
...
@@ -1501,6 +1501,7 @@ IMPL_LINK( VclExpander, ClickHdl, DisclosureButton*, pBtn )
if
(
pResizeDialog
)
if
(
pResizeDialog
)
pResizeDialog
->
setOptimalLayoutSize
();
pResizeDialog
->
setOptimalLayoutSize
();
}
}
maExpandedHdl
.
Call
(
this
);
return
0
;
return
0
;
}
}
...
...
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