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
07561068
Kaydet (Commit)
07561068
authored
Haz 03, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
rather than use pixel widths, use appfont units
Change-Id: If9551f63ac59ffedd0bd614e4f4fe05c9047e1dc
üst
d1f2e4d7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
linkdlg.cxx
cui/source/dialogs/linkdlg.cxx
+9
-7
helpid.hrc
cui/source/inc/helpid.hrc
+0
-1
linkdlg.hxx
cui/source/inc/linkdlg.hxx
+0
-1
baselinksdialog.ui
cui/uiconfig/ui/baselinksdialog.ui
+0
-0
No files found.
cui/source/dialogs/linkdlg.cxx
Dosyayı görüntüle @
07561068
...
...
@@ -90,8 +90,10 @@ SvBaseLinksDlg::SvBaseLinksDlg( Window * pParent, LinkManager* pMgr, bool bHtml
pLinkMgr
(
NULL
),
bHtmlMode
(
bHtml
)
{
get
(
m_pFtFiles
,
"FILES"
);
get
(
m_pTbLinks
,
"TB_LINKS"
);
Size
aSize
(
LogicToPixel
(
Size
(
257
,
87
),
MAP_APPFONT
));
m_pTbLinks
->
set_width_request
(
aSize
.
Width
());
m_pTbLinks
->
set_height_request
(
aSize
.
Height
());
get
(
m_pFtFullFileName
,
"FULL_FILE_NAME"
);
get
(
m_pFtFullSourceName
,
"FULL_SOURCE_NAME"
);
get
(
m_pFtFullTypeName
,
"FULL_TYPE_NAME"
);
...
...
@@ -102,20 +104,20 @@ SvBaseLinksDlg::SvBaseLinksDlg( Window * pParent, LinkManager* pMgr, bool bHtml
get
(
m_pPbChangeSource
,
"CHANGE_SOURCE"
);
get
(
m_pPbBreakLink
,
"BREAK_LINK"
);
m_pTbLinks
->
SetHelpId
(
HID_LINKDLG_TABLB
);
m_pTbLinks
->
SetSelectionMode
(
MULTIPLE_SELECTION
);
m_pTbLinks
->
SetTabs
(
&
nTabs
[
0
],
MAP_APPFONT
);
FixedText
*
pFtFiles
=
get
<
FixedText
>
(
"FILES"
);
pFtFiles
->
set_width_request
(
LogicToPixel
(
Size
(
nTabs
[
2
]
-
nTabs
[
1
]
-
2
,
0
),
MAP_APPFONT
).
Width
());
FixedText
*
pFtLinks
=
get
<
FixedText
>
(
"LINKS"
);
pFtLinks
->
set_width_request
(
LogicToPixel
(
Size
(
nTabs
[
3
]
-
nTabs
[
2
]
-
2
,
0
),
MAP_APPFONT
).
Width
());
FixedText
*
pFtTypes
=
get
<
FixedText
>
(
"TYPE"
);
pFtTypes
->
set_width_request
(
LogicToPixel
(
Size
(
nTabs
[
4
]
-
nTabs
[
3
]
-
2
,
0
),
MAP_APPFONT
).
Width
());
m_pTbLinks
->
Resize
();
// OS: hack for correct selection
// UpdateTimer for DDE-/Grf-links, which are waited for
aUpdateTimer
.
SetTimeoutHdl
(
LINK
(
this
,
SvBaseLinksDlg
,
UpdateWaitingHdl
)
);
aUpdateTimer
.
SetTimeout
(
1000
);
// Set the ZOrder, and accessible name to the dialog's title
m_pTbLinks
->
SetZOrder
(
0
,
WINDOW_ZORDER_FIRST
);
m_pTbLinks
->
SetAccessibleName
(
this
->
GetText
());
m_pTbLinks
->
SetAccessibleRelationLabeledBy
(
m_pFtFiles
);
m_pPbOpenSource
->
Hide
();
m_pTbLinks
->
SetSelectHdl
(
LINK
(
this
,
SvBaseLinksDlg
,
LinksSelectHdl
)
);
...
...
cui/source/inc/helpid.hrc
Dosyayı görüntüle @
07561068
...
...
@@ -75,7 +75,6 @@
#define HID_HYPERLINK_MARKWND_APPLY "CUI_HID_HYPERLINK_MARKWND_APPLY"
#define HID_HYPERLINK_MARKWND_CLOSE "CUI_HID_HYPERLINK_MARKWND_CLOSE"
#define HID_HYPERLINK_MARKWND_TREE "CUI_HID_HYPERLINK_MARKWND_TREE"
#define HID_LINKDLG_TABLB "CUI_HID_LINKDLG_TABLB"
#define HID_MACRO_HEADERTABLISTBOX "CUI_HID_MACRO_HEADERTABLISTBOX"
#define HID_HYPERLINK_DIALOG "CUI_HID_HYPERLINK_DIALOG"
...
...
cui/source/inc/linkdlg.hxx
Dosyayı görüntüle @
07561068
...
...
@@ -41,7 +41,6 @@ class SvBaseLinksDlg : public ModalDialog
{
using
Window
::
SetType
;
FixedText
*
m_pFtFiles
;
SvTabListBox
*
m_pTbLinks
;
FixedText
*
m_pFtFullFileName
;
FixedText
*
m_pFtFullSourceName
;
...
...
cui/uiconfig/ui/baselinksdialog.ui
Dosyayı görüntüle @
07561068
This diff is collapsed.
Click to expand it.
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