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
c97424f8
Kaydet (Commit)
c97424f8
authored
Haz 22, 2014
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove now unused dialog
Change-Id: I42c340a6aee016e37ee558d46a8eab101837e9c5
üst
77cec206
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
257 deletions
+0
-257
Library_chartcontroller.mk
chart2/Library_chartcontroller.mk
+0
-1
UIConfig_chart2.mk
chart2/UIConfig_chart2.mk
+0
-1
dlg_PropertyMapping.cxx
chart2/source/controller/dialogs/dlg_PropertyMapping.cxx
+0
-73
dlg_PropertyMapping.hxx
chart2/source/controller/dialogs/dlg_PropertyMapping.hxx
+0
-46
dlg_PropertyMapping.ui
chart2/uiconfig/ui/dlg_PropertyMapping.ui
+0
-136
No files found.
chart2/Library_chartcontroller.mk
Dosyayı görüntüle @
c97424f8
...
@@ -105,7 +105,6 @@ $(eval $(call gb_Library_add_exception_objects,chartcontroller,\
...
@@ -105,7 +105,6 @@ $(eval $(call gb_Library_add_exception_objects,chartcontroller,\
chart2/source/controller/dialogs/dlg_InsertTitle \
chart2/source/controller/dialogs/dlg_InsertTitle \
chart2/source/controller/dialogs/dlg_NumberFormat \
chart2/source/controller/dialogs/dlg_NumberFormat \
chart2/source/controller/dialogs/dlg_ObjectProperties \
chart2/source/controller/dialogs/dlg_ObjectProperties \
chart2/source/controller/dialogs/dlg_PropertyMapping \
chart2/source/controller/dialogs/dlg_ShapeFont \
chart2/source/controller/dialogs/dlg_ShapeFont \
chart2/source/controller/dialogs/dlg_ShapeParagraph \
chart2/source/controller/dialogs/dlg_ShapeParagraph \
chart2/source/controller/dialogs/dlg_View3D \
chart2/source/controller/dialogs/dlg_View3D \
...
...
chart2/UIConfig_chart2.mk
Dosyayı görüntüle @
c97424f8
...
@@ -38,7 +38,6 @@ $(eval $(call gb_UIConfig_add_uifiles,modules/schart,\
...
@@ -38,7 +38,6 @@ $(eval $(call gb_UIConfig_add_uifiles,modules/schart,\
chart2/uiconfig/ui/datarangedialog \
chart2/uiconfig/ui/datarangedialog \
chart2/uiconfig/ui/dlg_DataLabel \
chart2/uiconfig/ui/dlg_DataLabel \
chart2/uiconfig/ui/dlg_InsertErrorBars \
chart2/uiconfig/ui/dlg_InsertErrorBars \
chart2/uiconfig/ui/dlg_PropertyMapping \
chart2/uiconfig/ui/insertaxisdlg \
chart2/uiconfig/ui/insertaxisdlg \
chart2/uiconfig/ui/insertgriddlg \
chart2/uiconfig/ui/insertgriddlg \
chart2/uiconfig/ui/inserttitledlg \
chart2/uiconfig/ui/inserttitledlg \
...
...
chart2/source/controller/dialogs/dlg_PropertyMapping.cxx
deleted
100644 → 0
Dosyayı görüntüle @
77cec206
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include "dlg_PropertyMapping.hxx"
#include "DialogModel.hxx"
using
namespace
com
::
sun
::
star
;
namespace
chart
{
namespace
{
long
pListBoxTabs
[]
=
{
3
,
0
,
75
,
150
};
}
PropertyMappingDlg
::
PropertyMappingDlg
(
Window
*
pParent
,
uno
::
Reference
<
chart2
::
XChartType
>
xChartType
)
:
ModalDialog
(
pParent
,
"PropertyMappingDialog"
,
"modules/schart/ui/dlg_PropertyMapping.ui"
)
{
get
(
mpMappingTable
,
"LST_PROPERTY_MAPPING"
);
get
(
mpBtnOk
,
"ok"
);
get
(
mpBtnCancel
,
"cancel"
);
mpMappingTable
->
SetTabs
(
pListBoxTabs
,
MAP_APPFONT
);
uno
::
Sequence
<
OUString
>
aPropRoles
=
xChartType
->
getSupportedPropertyRoles
();
for
(
sal_Int32
i
=
0
,
n
=
aPropRoles
.
getLength
();
i
<
n
;
++
i
)
{
OUString
aUIString
=
DialogModel
::
ConvertRoleFromInternalToUI
(
aPropRoles
[
i
]);
mpMappingTable
->
InsertEntry
(
aUIString
);
}
mpBtnOk
->
SetClickHdl
(
LINK
(
this
,
PropertyMappingDlg
,
OkBtnHdl
)
);
mpBtnCancel
->
SetClickHdl
(
LINK
(
this
,
PropertyMappingDlg
,
CancelBtnHdl
)
);
}
OUString
PropertyMappingDlg
::
getSelectedEntry
()
{
if
(
mpMappingTable
->
GetSelectionCount
())
{
SvTreeListEntry
*
pEntry
=
mpMappingTable
->
FirstSelected
();
OUString
aText
=
mpMappingTable
->
GetEntryText
(
pEntry
,
0
);
return
aText
;
}
return
OUString
();
}
IMPL_LINK_NOARG
(
PropertyMappingDlg
,
OkBtnHdl
)
{
EndDialog
(
RET_OK
);
return
0
;
}
IMPL_LINK_NOARG
(
PropertyMappingDlg
,
CancelBtnHdl
)
{
EndDialog
(
RET_CANCEL
);
return
0
;
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
chart2/source/controller/dialogs/dlg_PropertyMapping.hxx
deleted
100644 → 0
Dosyayı görüntüle @
77cec206
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_DIALOGS_DLG_PROPERTYMAPPING_HXX
#define INCLUDED_CHART2_SOURCE_CONTROLLER_DIALOGS_DLG_PROPERTYMAPPING_HXX
#include <vcl/dialog.hxx>
#include <vcl/button.hxx>
#include <svtools/svtabbx.hxx>
#include <com/sun/star/chart2/XChartType.hpp>
namespace
chart
{
class
DialogModel
;
class
PropertyMappingDlg
:
public
ModalDialog
{
public
:
PropertyMappingDlg
(
Window
*
pParent
,
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
chart2
::
XChartType
>
xChartType
);
OUString
getSelectedEntry
();
private
:
DECL_LINK
(
OkBtnHdl
,
void
*
);
DECL_LINK
(
CancelBtnHdl
,
void
*
);
SvTabListBox
*
mpMappingTable
;
Button
*
mpBtnOk
;
Button
*
mpBtnCancel
;
};
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
chart2/uiconfig/ui/dlg_PropertyMapping.ui
deleted
100644 → 0
Dosyayı görüntüle @
77cec206
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.16.1 -->
<interface>
<requires
lib=
"gtk+"
version=
"3.10"
/>
<!-- interface-requires LibreOffice 1.0 -->
<object
class=
"GtkDialog"
id=
"PropertyMappingDialog"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"border_width"
>
6
</property>
<property
name=
"title"
translatable=
"yes"
>
Add Property Mapping
</property>
<property
name=
"type_hint"
>
dialog
</property>
<child
internal-child=
"vbox"
>
<object
class=
"GtkBox"
id=
"dialog-vbox1"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"orientation"
>
vertical
</property>
<property
name=
"spacing"
>
2
</property>
<child
internal-child=
"action_area"
>
<object
class=
"GtkButtonBox"
id=
"dialog-action_area1"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"layout_style"
>
end
</property>
<child>
<object
class=
"GtkButton"
id=
"ok"
>
<property
name=
"label"
translatable=
"yes"
>
Ok
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkButton"
id=
"cancel"
>
<property
name=
"label"
translatable=
"yes"
>
Cancel
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"pack_type"
>
end
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkBox"
id=
"box1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"orientation"
>
vertical
</property>
<property
name=
"spacing"
>
6
</property>
<child>
<object
class=
"GtkLabel"
id=
"LB_TITLE"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"label"
translatable=
"yes"
>
Select property mapping:
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"mnemonic_widget"
>
LST_PROPERTY_MAPPING:border
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"svtlo-SvTabListBox"
id=
"LST_PROPERTY_MAPPING:border"
>
<property
name=
"width_request"
>
110
</property>
<property
name=
"height_request"
>
110
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"hexpand"
>
True
</property>
<property
name=
"vexpand"
>
True
</property>
<child
internal-child=
"selection"
>
<object
class=
"GtkTreeSelection"
id=
"Tab List-selection"
/>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkLabel"
id=
"LB_COLOR"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
Color
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
2
</property>
</packing>
</child>
<child>
<object
class=
"GtkLabel"
id=
"LB_FILLCOLOR"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
FillColor
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
3
</property>
</packing>
</child>
<child>
<object
class=
"GtkLabel"
id=
"LB_BORDERCOLOR"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
BorderColor
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
4
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
</object>
</child>
</object>
</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