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
82b4dbf2
Kaydet (Commit)
82b4dbf2
authored
Tem 17, 2013
tarafından
Jan Holesovsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
startcenter: The window & strings are initialized in .ui, remove from .src.
Change-Id: I951e4bc12696a2cb5b1b93f28de25cd4783b9387
üst
019cec3e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
62 deletions
+11
-62
framework.hrc
framework/inc/framework.hrc
+0
-10
backingwindow.cxx
framework/source/services/backingwindow.cxx
+3
-11
backingwindow.hxx
framework/source/services/backingwindow.hxx
+0
-4
fwk_services.src
framework/source/services/fwk_services.src
+0
-32
startcenter.ui
framework/uiconfig/startmodule/ui/startcenter.ui
+8
-5
No files found.
framework/inc/framework.hrc
Dosyayı görüntüle @
82b4dbf2
...
@@ -31,16 +31,6 @@
...
@@ -31,16 +31,6 @@
#define DLG_FILTER_SELECT (RID_FWK_DIALOG_START_CORRECT + 0)
#define DLG_FILTER_SELECT (RID_FWK_DIALOG_START_CORRECT + 0)
// ResIds for BackingWindow
#define DLG_BACKING (RID_FWK_DIALOG_START_CORRECT+100)
#define STR_BACKING_CREATE 1
#define STR_BACKING_TEMPLATE 2
#define STR_BACKING_FILE 3
#define STR_BACKING_EXTHELP 4
#define STR_BACKING_INFOHELP 5
#define STR_BACKING_TPLREP 6
// Ids of TabWindow
// Ids of TabWindow
#define WIN_TABWINDOW (RID_FWK_DIALOG_START_CORRECT+101)
#define WIN_TABWINDOW (RID_FWK_DIALOG_START_CORRECT+101)
#define TC_TABCONTROL 1
#define TC_TABCONTROL 1
...
...
framework/source/services/backingwindow.cxx
Dosyayı görüntüle @
82b4dbf2
...
@@ -18,9 +18,6 @@
...
@@ -18,9 +18,6 @@
*/
*/
#include "backingwindow.hxx"
#include "backingwindow.hxx"
#include "classes/resource.hrc"
#include "framework.hrc"
#include "classes/fwkresid.hxx"
#include <services.h>
#include <services.h>
#include <sal/macros.h>
#include <sal/macros.h>
...
@@ -36,7 +33,6 @@
...
@@ -36,7 +33,6 @@
#include "unotools/dynamicmenuoptions.hxx"
#include "unotools/dynamicmenuoptions.hxx"
#include "unotools/historyoptions.hxx"
#include "unotools/historyoptions.hxx"
#include "svtools/imagemgr.hxx"
#include "svtools/imagemgr.hxx"
#include "svtools/svtools.hrc"
#include "svtools/langhelp.hxx"
#include "svtools/langhelp.hxx"
#include "svtools/colorcfg.hxx"
#include "svtools/colorcfg.hxx"
...
@@ -81,9 +77,7 @@ using namespace framework;
...
@@ -81,9 +77,7 @@ using namespace framework;
#define OPEN_URL ".uno:Open"
#define OPEN_URL ".uno:Open"
BackingWindow
::
BackingWindow
(
Window
*
i_pParent
)
:
BackingWindow
::
BackingWindow
(
Window
*
i_pParent
)
:
Window
(
i_pParent
,
FwkResId
(
DLG_BACKING
)
),
Window
(
i_pParent
),
maOpenString
(
FwkResId
(
STR_BACKING_FILE
)
),
maTemplateString
(
FwkResId
(
STR_BACKING_TEMPLATE
)
),
mbInitControls
(
false
),
mbInitControls
(
false
),
mnHideExternalLinks
(
0
),
mnHideExternalLinks
(
0
),
mpAccExec
(
NULL
)
mpAccExec
(
NULL
)
...
@@ -330,8 +324,6 @@ void BackingWindow::initControls()
...
@@ -330,8 +324,6 @@ void BackingWindow::initControls()
// create mnemonics on the fly, preregister the mnemonics of the menu
// create mnemonics on the fly, preregister the mnemonics of the menu
MnemonicGenerator
aMnemns
;
MnemonicGenerator
aMnemns
;
maTemplateString
=
MnemonicGenerator
::
EraseAllMnemonicChars
(
maTemplateString
);
maOpenString
=
MnemonicGenerator
::
EraseAllMnemonicChars
(
maOpenString
);
SystemWindow
*
pSysWin
=
GetSystemWindow
();
SystemWindow
*
pSysWin
=
GetSystemWindow
();
if
(
pSysWin
)
if
(
pSysWin
)
...
@@ -372,10 +364,10 @@ void BackingWindow::initControls()
...
@@ -372,10 +364,10 @@ void BackingWindow::initControls()
layoutButton
(
NULL
,
aFileNewAppsAvailable
,
layoutButton
(
NULL
,
aFileNewAppsAvailable
,
aModuleOptions
,
SvtModuleOptions
::
E_SWRITER
,
aModuleOptions
,
SvtModuleOptions
::
E_SWRITER
,
*
mpOpenButton
,
aMnemns
,
maOpenString
);
*
mpOpenButton
,
aMnemns
);
layoutButton
(
NULL
,
aFileNewAppsAvailable
,
layoutButton
(
NULL
,
aFileNewAppsAvailable
,
aModuleOptions
,
SvtModuleOptions
::
E_SWRITER
,
aModuleOptions
,
SvtModuleOptions
::
E_SWRITER
,
*
mpTemplateButton
,
aMnemns
,
maTemplateString
);
*
mpTemplateButton
,
aMnemns
);
layoutExternalLink
(
*
mpExtensionsButton
);
layoutExternalLink
(
*
mpExtensionsButton
);
layoutExternalLink
(
*
mpInfoButton
);
layoutExternalLink
(
*
mpInfoButton
);
...
...
framework/source/services/backingwindow.hxx
Dosyayı görüntüle @
82b4dbf2
...
@@ -86,10 +86,6 @@ namespace framework
...
@@ -86,10 +86,6 @@ namespace framework
BitmapEx
maBackgroundMiddle
;
BitmapEx
maBackgroundMiddle
;
BitmapEx
maBackgroundRight
;
BitmapEx
maBackgroundRight
;
String
maCreateString
;
String
maOpenString
;
String
maTemplateString
;
Font
maTextFont
;
Font
maTextFont
;
Rectangle
maControlRect
;
Rectangle
maControlRect
;
...
...
framework/source/services/fwk_services.src
Dosyayı görüntüle @
82b4dbf2
...
@@ -19,38 +19,6 @@
...
@@ -19,38 +19,6 @@
#include "framework.hrc"
#include "framework.hrc"
Window DLG_BACKING
{
OutputSize = TRUE ;
SVLook = TRUE ;
Border = FALSE;
String STR_BACKING_CREATE
{
Text [ en-US ] = "Create a new document";
};
String STR_BACKING_TEMPLATE
{
Text [ en-US ] = "~Templates...";
};
String STR_BACKING_FILE
{
Text [ en-US ] = "~Open...";
};
String STR_BACKING_EXTHELP
{
Text [ en-US ] = "Add new features to %PRODUCTNAME";
};
String STR_BACKING_INFOHELP
{
Text [ en-US ] = "Get more information about %PRODUCTNAME";
};
String STR_BACKING_TPLREP
{
Text [ en-US ] = "Get more templates for %PRODUCTNAME";
};
};
Window WIN_TABWINDOW
Window WIN_TABWINDOW
{
{
OutputSize = TRUE ;
OutputSize = TRUE ;
...
...
framework/uiconfig/startmodule/ui/startcenter.ui
Dosyayı görüntüle @
82b4dbf2
...
@@ -46,6 +46,11 @@
...
@@ -46,6 +46,11 @@
<property
name=
"can_focus"
>
False
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"pixbuf"
>
framework/res/folder_32.png
</property>
<property
name=
"pixbuf"
>
framework/res/folder_32.png
</property>
</object>
</object>
<object
class=
"GtkImage"
id=
"templates_image"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"pixbuf"
>
framework/res/templates_32.png
</property>
</object>
<object
class=
"GtkImage"
id=
"writer_image"
>
<object
class=
"GtkImage"
id=
"writer_image"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"can_focus"
>
False
</property>
...
@@ -236,6 +241,7 @@
...
@@ -236,6 +241,7 @@
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"tooltip_text"
translatable=
"yes"
>
Add new features to %PRODUCTNAME
</property>
<property
name=
"image"
>
extension_image
</property>
<property
name=
"image"
>
extension_image
</property>
<property
name=
"relief"
>
none
</property>
<property
name=
"relief"
>
none
</property>
<property
name=
"always_show_image"
>
True
</property>
<property
name=
"always_show_image"
>
True
</property>
...
@@ -252,6 +258,7 @@
...
@@ -252,6 +258,7 @@
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"tooltip_text"
translatable=
"yes"
>
Get more information about %PRODUCTNAME
</property>
<property
name=
"image"
>
info_image
</property>
<property
name=
"image"
>
info_image
</property>
<property
name=
"relief"
>
none
</property>
<property
name=
"relief"
>
none
</property>
<property
name=
"always_show_image"
>
True
</property>
<property
name=
"always_show_image"
>
True
</property>
...
@@ -268,6 +275,7 @@
...
@@ -268,6 +275,7 @@
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"tooltip_text"
translatable=
"yes"
>
Get more templates for %PRODUCTNAME
</property>
<property
name=
"image"
>
add_temp_image
</property>
<property
name=
"image"
>
add_temp_image
</property>
<property
name=
"relief"
>
none
</property>
<property
name=
"relief"
>
none
</property>
<property
name=
"always_show_image"
>
True
</property>
<property
name=
"always_show_image"
>
True
</property>
...
@@ -295,9 +303,4 @@
...
@@ -295,9 +303,4 @@
</packing>
</packing>
</child>
</child>
</object>
</object>
<object
class=
"GtkImage"
id=
"templates_image"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"pixbuf"
>
framework/res/templates_32.png
</property>
</object>
</interface>
</interface>
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