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
c93aaf9a
Kaydet (Commit)
c93aaf9a
authored
Nis 04, 2011
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Switch to the LibreOffice about dialog instead
üst
a2c8d5f2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
23 deletions
+44
-23
about.cxx
cui/source/dialogs/about.cxx
+0
-0
about.src
cui/source/dialogs/about.src
+29
-11
about.hxx
cui/source/inc/about.hxx
+15
-12
No files found.
cui/source/dialogs/about.cxx
Dosyayı görüntüle @
c93aaf9a
This diff is collapsed.
Click to expand it.
cui/source/dialogs/about.src
Dosyayı görüntüle @
c93aaf9a
...
@@ -29,39 +29,57 @@
...
@@ -29,39 +29,57 @@
ModalDialog RID_DEFAULTABOUT
ModalDialog RID_DEFAULTABOUT
{
{
HelpID = "cui:ModalDialog:RID_DEFAULTABOUT";
OutputSize = TRUE ;
OutputSize = TRUE ;
Size = MAP_APPFONT ( 245 , 2
6
0 ) ;
Size = MAP_APPFONT ( 245 , 2
8
0 ) ;
Moveable = TRUE ;
Moveable = TRUE ;
SVLook = TRUE ;
SVLook = TRUE ;
Text [ x-comment ] = "PB: ; PB: only %PRODUCTNAME";
// TEXT_DEFAULTABOUT
Text [ en-US ] = "About %PRODUCTNAME" ;
OKButton ABOUT_BTN_OK
OKButton ABOUT_BTN_OK
{
{
DefButton = TRUE ;
DefButton = TRUE ;
Pos = MAP_APPFONT ( 174 , 6 ) ;
Pos = MAP_APPFONT ( 174 , 6 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
};
};
FixedTex
t ABOUT_FTXT_VERSION
MultiLineEdi
t ABOUT_FTXT_VERSION
{
{
Border = FALSE ;
Pos = MAP_APPFONT ( 54 , 6 ) ;
Pos = MAP_APPFONT ( 54 , 6 ) ;
Size = MAP_APPFONT ( 118 , 16 ) ;
Size = MAP_APPFONT ( 118 , 16 ) ;
WordBreak = TRUE ;
IgnoreTab = TRUE ;
Text = "%PRODUCTNAME %ABOUTBOXPRODUCTVERSION %PRODUCTEXTENSION" ;
ReadOnly = TRUE ;
AutoVScroll = TRUE ;
};
};
MultiLineEdit ABOUT_FTXT_COPYRIGHT
MultiLineEdit ABOUT_FTXT_COPYRIGHT
{
{
HelpID = "cui:MultiLineEdit:RID_DEFAULTABOUT:ABOUT_FTXT_COPYRIGHT";
Border = FALSE ;
Border = TRUE ;
Pos = MAP_APPFONT ( 54 , 25 ) ;
Pos = MAP_APPFONT ( 54 , 25 ) ;
Size = MAP_APPFONT ( 168 ,
5
1 ) ;
Size = MAP_APPFONT ( 168 ,
7
1 ) ;
IgnoreTab = TRUE ;
IgnoreTab = TRUE ;
ReadOnly = TRUE ;
ReadOnly = TRUE ;
AutoVScroll = TRUE ;
AutoVScroll = TRUE ;
};
};
FixedText ABOUT_FTXT_LINK
{
NoLabel = TRUE;
TabStop = TRUE;
Text [ en-US ] = "Contributor credits";
Pos = MAP_APPFONT ( 54 , 100 ) ;
Size = MAP_APPFONT ( 168 , 10 ) ;
};
String ABOUT_STR_VERSION
{
Text[ en-US ] = "%PRODUCTNAME %ABOUTBOXPRODUCTVERSION %PRODUCTEXTENSION";
};
String ABOUT_STR_COPYRIGHT
{
Text[ en-US ] = "Copyright © 2000, 2010 LibreOffice contributors and/or their affiliates. All rights reserved.\nThis product was created by %OOOVENDOR, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.\n%OOOVENDOR acknowledges all community members, please find more info at the link below:";
};
String ABOUT_STR_LINK
{
Text[ en-US ] = "http://www.libreoffice.org/credits.html";
};
String ABOUT_STR_ACCEL
String ABOUT_STR_ACCEL
{
{
Text = "SDT" ;
Text = "SDT" ;
};
};
};
};
cui/source/inc/about.hxx
Dosyayı görüntüle @
c93aaf9a
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
/*************************************************************************
*
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
...
@@ -33,11 +34,12 @@
...
@@ -33,11 +34,12 @@
#include <vcl/button.hxx>
#include <vcl/button.hxx>
#include <vcl/accel.hxx>
#include <vcl/accel.hxx>
#include <svtools/svmedit.hxx>
#include <svtools/svmedit.hxx>
#include <tools/list.hxx>
#include <svtools/stdctrl.hxx>
#include <svtools/stdctrl.hxx>
#include "svtools/fixedhyper.hxx"
#include <sfx2/basedlgs.hxx> // SfxModalDialog
#include <sfx2/basedlgs.hxx> // SfxModalDialog
#include <vector>
DECLARE_LIST
(
AccelList
,
Accelerator
*
)
typedef
::
std
::
vector
<
Accelerator
*
>
AccelList
;
// class AboutDialog -----------------------------------------------------
// class AboutDialog -----------------------------------------------------
...
@@ -47,15 +49,16 @@ private:
...
@@ -47,15 +49,16 @@ private:
OKButton
aOKButton
;
OKButton
aOKButton
;
Image
aAppLogo
;
Image
aAppLogo
;
FixedInfo
aVersionText
;
MultiLineEdit
aVersionText
;
MultiLineEdit
aCopyrightText
;
MultiLineEdit
aCopyrightText
;
FixedInfo
aBuildData
;
svt
::
FixedHyperlink
aInfoLink
;
ResStringArray
*
pDeveloperAry
;
// ResStringArray aDeveloperAry; // RIP ...
String
aDevVersionStr
;
String
aAccelStr
;
String
aAccelStr
;
String
aVersionData
;
String
aVersionData
;
String
aVersionTextStr
;
String
aCopyrightTextStr
;
String
aCopyrightTextStr
;
String
aLinkStr
;
AccelList
aAccelList
;
AccelList
aAccelList
;
...
@@ -64,20 +67,20 @@ private:
...
@@ -64,20 +67,20 @@ private:
long
m_nDeltaWidth
;
long
m_nDeltaWidth
;
int
m_nPendingScrolls
;
int
m_nPendingScrolls
;
sal_Bool
bNormal
;
protected
:
protected
:
virtual
sal_Bool
Close
();
virtual
sal_Bool
Close
();
virtual
void
Paint
(
const
Rectangle
&
);
virtual
void
Paint
(
const
Rectangle
&
rRect
);
public
:
public
:
AboutDialog
(
Window
*
pParent
,
const
ResId
&
nId
);
AboutDialog
(
Window
*
pParent
,
const
ResId
&
rId
);
~
AboutDialog
();
~
AboutDialog
();
DECL_LINK
(
TimerHdl
,
Timer
*
);
DECL_LINK
(
TimerHdl
,
Timer
*
);
DECL_LINK
(
AccelSelectHdl
,
Accelerator
*
);
DECL_LINK
(
AccelSelectHdl
,
Accelerator
*
);
DECL_LINK
(
HandleHyperlink
,
svt
::
FixedHyperlink
*
);
};
};
#endif // #ifndef _ABOUT_HXX
#endif // #ifndef _ABOUT_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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