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
36245c84
Kaydet (Commit)
36245c84
authored
Nis 16, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Resolves: fdo#48723 add a (hidden) CancelButton so ESC closes about dialog
üst
f73d2688
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
1 deletion
+13
-1
about.cxx
cui/source/dialogs/about.cxx
+4
-0
about.hrc
cui/source/dialogs/about.hrc
+1
-0
about.src
cui/source/dialogs/about.src
+7
-0
about.hxx
cui/source/inc/about.hxx
+1
-0
unusedcode.easy
unusedcode.easy
+0
-1
No files found.
cui/source/dialogs/about.cxx
Dosyayı görüntüle @
36245c84
...
@@ -77,6 +77,7 @@ AboutDialog::AboutDialog( Window* pParent, const ResId& rId) :
...
@@ -77,6 +77,7 @@ AboutDialog::AboutDialog( Window* pParent, const ResId& rId) :
aCreditsButton
(
this
,
ResId
(
ABOUT_BTN_CREDITS
,
*
rId
.
GetResMgr
()
)
),
aCreditsButton
(
this
,
ResId
(
ABOUT_BTN_CREDITS
,
*
rId
.
GetResMgr
()
)
),
aWebsiteButton
(
this
,
ResId
(
ABOUT_BTN_WEBSITE
,
*
rId
.
GetResMgr
()
)
),
aWebsiteButton
(
this
,
ResId
(
ABOUT_BTN_WEBSITE
,
*
rId
.
GetResMgr
()
)
),
aLicenseButton
(
this
,
ResId
(
ABOUT_BTN_LICENSE
,
*
rId
.
GetResMgr
()
)
),
aLicenseButton
(
this
,
ResId
(
ABOUT_BTN_LICENSE
,
*
rId
.
GetResMgr
()
)
),
aCancelButton
(
this
,
ResId
(
ABOUT_BTN_CANCEL
,
*
rId
.
GetResMgr
()
)
),
aVersionTextStr
(
ResId
(
ABOUT_STR_VERSION
,
*
rId
.
GetResMgr
())),
aVersionTextStr
(
ResId
(
ABOUT_STR_VERSION
,
*
rId
.
GetResMgr
())),
m_aVendorTextStr
(
ResId
(
ABOUT_STR_VENDOR
,
*
rId
.
GetResMgr
())),
m_aVendorTextStr
(
ResId
(
ABOUT_STR_VENDOR
,
*
rId
.
GetResMgr
())),
m_aCopyrightTextStr
(
ResId
(
ABOUT_STR_COPYRIGHT
,
*
rId
.
GetResMgr
())),
m_aCopyrightTextStr
(
ResId
(
ABOUT_STR_COPYRIGHT
,
*
rId
.
GetResMgr
())),
...
@@ -110,6 +111,9 @@ AboutDialog::AboutDialog( Window* pParent, const ResId& rId) :
...
@@ -110,6 +111,9 @@ AboutDialog::AboutDialog( Window* pParent, const ResId& rId) :
aWebsiteButton
.
SetClickHdl
(
LINK
(
this
,
AboutDialog
,
HandleClick
)
);
aWebsiteButton
.
SetClickHdl
(
LINK
(
this
,
AboutDialog
,
HandleClick
)
);
aLicenseButton
.
SetClickHdl
(
LINK
(
this
,
AboutDialog
,
HandleClick
)
);
aLicenseButton
.
SetClickHdl
(
LINK
(
this
,
AboutDialog
,
HandleClick
)
);
aCancelButton
.
SetClickHdl
(
LINK
(
this
,
AboutDialog
,
CancelHdl
)
);
aCancelButton
.
Hide
();
FreeResource
();
FreeResource
();
// explicit Help-Id
// explicit Help-Id
...
...
cui/source/dialogs/about.hrc
Dosyayı görüntüle @
36245c84
...
@@ -45,3 +45,4 @@
...
@@ -45,3 +45,4 @@
#define ABOUT_BTN_LICENSE 16
#define ABOUT_BTN_LICENSE 16
#define ABOUT_VERSION_TEXT 17
#define ABOUT_VERSION_TEXT 17
#define ABOUT_STR_DESCRIPTION 18
#define ABOUT_STR_DESCRIPTION 18
#define ABOUT_BTN_CANCEL 19
cui/source/dialogs/about.src
Dosyayı görüntüle @
36245c84
...
@@ -122,6 +122,13 @@ ModalDialog RID_DEFAULTABOUT
...
@@ -122,6 +122,13 @@ ModalDialog RID_DEFAULTABOUT
Text [ en-US ] = "libreoffice.org";
Text [ en-US ] = "libreoffice.org";
DefButton = TRUE ;
DefButton = TRUE ;
};
};
CancelButton ABOUT_BTN_CANCEL
{
DefButton = TRUE ;
Pos = MAP_APPFONT ( 174 , 6 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
Text [ en-US ] = "~Close";
};
FixedImage ABOUT_IMAGE_LOGO
FixedImage ABOUT_IMAGE_LOGO
{
{
};
};
...
...
cui/source/inc/about.hxx
Dosyayı görüntüle @
36245c84
...
@@ -56,6 +56,7 @@ private:
...
@@ -56,6 +56,7 @@ private:
PushButton
aCreditsButton
;
PushButton
aCreditsButton
;
PushButton
aWebsiteButton
;
PushButton
aWebsiteButton
;
PushButton
aLicenseButton
;
PushButton
aLicenseButton
;
CancelButton
aCancelButton
;
String
aVersionData
;
String
aVersionData
;
String
aVersionTextStr
;
String
aVersionTextStr
;
...
...
unusedcode.easy
Dosyayı görüntüle @
36245c84
AboutDialog::LinkStubCancelHdl(void*, void*)
CertificateExtension_XmlSecImpl::setCertExtn(com::sun::star::uno::Sequence<signed char>, com::sun::star::uno::Sequence<signed char>, unsigned char)
CertificateExtension_XmlSecImpl::setCertExtn(com::sun::star::uno::Sequence<signed char>, com::sun::star::uno::Sequence<signed char>, unsigned char)
CharAttribList::Clear()
CharAttribList::Clear()
Dialog::Dialog(Window*, ResId const&)
Dialog::Dialog(Window*, ResId const&)
...
...
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