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
e99d4307
Kaydet (Commit)
e99d4307
authored
Tem 06, 2015
tarafından
Szymon Kłos
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
RemoteFilesDialog: handlers for file name editing
Change-Id: I623beb2c9d8e4ed81a9c492a046bfffbd317cff6
üst
1f47d8ad
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
+24
-0
RemoteFilesDialog.hxx
include/svtools/RemoteFilesDialog.hxx
+3
-0
RemoteFilesDialog.cxx
svtools/source/dialogs/RemoteFilesDialog.cxx
+21
-0
No files found.
include/svtools/RemoteFilesDialog.hxx
Dosyayı görüntüle @
e99d4307
...
@@ -160,6 +160,9 @@ private:
...
@@ -160,6 +160,9 @@ private:
DECL_LINK
(
DoubleClickHdl
,
void
*
);
DECL_LINK
(
DoubleClickHdl
,
void
*
);
DECL_LINK
(
SelectHdl
,
void
*
);
DECL_LINK
(
SelectHdl
,
void
*
);
DECL_LINK
(
FileNameGetFocusHdl
,
void
*
);
DECL_LINK
(
FileNameModifyHdl
,
void
*
);
DECL_LINK
(
SplitHdl
,
void
*
);
DECL_LINK
(
SplitHdl
,
void
*
);
DECL_LINK
(
SelectFilterHdl
,
void
*
);
DECL_LINK
(
SelectFilterHdl
,
void
*
);
...
...
svtools/source/dialogs/RemoteFilesDialog.cxx
Dosyayı görüntüle @
e99d4307
...
@@ -317,6 +317,9 @@ RemoteFilesDialog::RemoteFilesDialog( vcl::Window* pParent, WinBits nBits )
...
@@ -317,6 +317,9 @@ RemoteFilesDialog::RemoteFilesDialog( vcl::Window* pParent, WinBits nBits )
m_pContainer
->
Show
();
m_pContainer
->
Show
();
m_pContainer
->
Enable
(
false
);
m_pContainer
->
Enable
(
false
);
m_pName_ed
->
SetGetFocusHdl
(
LINK
(
this
,
RemoteFilesDialog
,
FileNameGetFocusHdl
)
);
m_pName_ed
->
SetModifyHdl
(
LINK
(
this
,
RemoteFilesDialog
,
FileNameModifyHdl
)
);
m_pAddService_btn
->
SetMenuMode
(
MENUBUTTON_MENUMODE_TIMED
);
m_pAddService_btn
->
SetMenuMode
(
MENUBUTTON_MENUMODE_TIMED
);
m_pAddService_btn
->
SetClickHdl
(
LINK
(
this
,
RemoteFilesDialog
,
AddServiceHdl
)
);
m_pAddService_btn
->
SetClickHdl
(
LINK
(
this
,
RemoteFilesDialog
,
AddServiceHdl
)
);
m_pAddService_btn
->
SetSelectHdl
(
LINK
(
this
,
RemoteFilesDialog
,
EditServiceMenuHdl
)
);
m_pAddService_btn
->
SetSelectHdl
(
LINK
(
this
,
RemoteFilesDialog
,
EditServiceMenuHdl
)
);
...
@@ -679,6 +682,24 @@ IMPL_LINK_NOARG ( RemoteFilesDialog, SelectHdl )
...
@@ -679,6 +682,24 @@ IMPL_LINK_NOARG ( RemoteFilesDialog, SelectHdl )
return
1
;
return
1
;
}
}
IMPL_LINK_NOARG
(
RemoteFilesDialog
,
FileNameGetFocusHdl
)
{
m_pFileView
->
SetNoSelection
();
return
1
;
}
IMPL_LINK_NOARG
(
RemoteFilesDialog
,
FileNameModifyHdl
)
{
m_pFileView
->
SetNoSelection
();
if
(
!
m_pName_ed
->
GetText
().
isEmpty
()
)
m_pOpen_btn
->
Enable
(
true
);
else
m_pOpen_btn
->
Enable
(
false
);
return
1
;
}
IMPL_LINK_NOARG
(
RemoteFilesDialog
,
SplitHdl
)
IMPL_LINK_NOARG
(
RemoteFilesDialog
,
SplitHdl
)
{
{
sal_Int32
nSplitPos
=
m_pSplitter
->
GetSplitPosPixel
();
sal_Int32
nSplitPos
=
m_pSplitter
->
GetSplitPosPixel
();
...
...
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