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
786f0eae
Kaydet (Commit)
786f0eae
authored
Agu 07, 2013
tarafından
Olivier Hallot
Kaydeden (comit)
Caolán McNamara
Agu 08, 2013
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use new widget UI dialogs in line style ctor
Change-Id: I2b646d71fe4ab28137d88ebf638b28674eab3c91
üst
4dfb3378
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
52 additions
and
15 deletions
+52
-15
UIConfig_cui.mk
cui/UIConfig_cui.mk
+1
-0
cuires.hrc
cui/source/inc/cuires.hrc
+1
-1
strings.src
cui/source/tabpages/strings.src
+0
-4
tpgradnt.cxx
cui/source/tabpages/tpgradnt.cxx
+1
-1
tplnedef.cxx
cui/source/tabpages/tplnedef.cxx
+16
-7
tplneend.cxx
cui/source/tabpages/tplneend.cxx
+0
-2
querydeletelinestyledialog.ui
cui/uiconfig/ui/querydeletelinestyledialog.ui
+33
-0
No files found.
cui/UIConfig_cui.mk
Dosyayı görüntüle @
786f0eae
...
@@ -92,6 +92,7 @@ $(eval $(call gb_UIConfig_add_uifiles,cui,\
...
@@ -92,6 +92,7 @@ $(eval $(call gb_UIConfig_add_uifiles,cui,\
cui/uiconfig/ui/querydeletechartcolordialog \
cui/uiconfig/ui/querydeletechartcolordialog \
cui/uiconfig/ui/querydeletedictionarydialog \
cui/uiconfig/ui/querydeletedictionarydialog \
cui/uiconfig/ui/querydeletelineenddialog \
cui/uiconfig/ui/querydeletelineenddialog \
cui/uiconfig/ui/querydeletelinestyledialog \
cui/uiconfig/ui/queryduplicatedialog \
cui/uiconfig/ui/queryduplicatedialog \
cui/uiconfig/ui/querynoloadedfiledialog \
cui/uiconfig/ui/querynoloadedfiledialog \
cui/uiconfig/ui/querysavelistdialog \
cui/uiconfig/ui/querysavelistdialog \
...
...
cui/source/inc/cuires.hrc
Dosyayı görüntüle @
786f0eae
...
@@ -85,7 +85,7 @@
...
@@ -85,7 +85,7 @@
#define RID_SVXSTR_DESC_NEW_BITMAP (RID_SVX_START + 168)
#define RID_SVXSTR_DESC_NEW_BITMAP (RID_SVX_START + 168)
#define RID_SVXSTR_DESC_EXT_BITMAP (RID_SVX_START + 169)
#define RID_SVXSTR_DESC_EXT_BITMAP (RID_SVX_START + 169)
#define RID_SVXSTR_DESC_LINESTYLE (RID_SVX_START + 174)
#define RID_SVXSTR_DESC_LINESTYLE (RID_SVX_START + 174)
#define RID_SVXSTR_ASK_DEL_LINESTYLE (RID_SVX_START + 176)
#define RID_SVXSTR_ASK_CHANGE_LINESTYLE (RID_SVX_START + 177)
#define RID_SVXSTR_ASK_CHANGE_LINESTYLE (RID_SVX_START + 177)
#define RID_SVXSTR_DESC_HATCH (RID_SVX_START + 232)
#define RID_SVXSTR_DESC_HATCH (RID_SVX_START + 232)
#define RID_SVXSTR_ASK_DEL_HATCH (RID_SVX_START + 234)
#define RID_SVXSTR_ASK_DEL_HATCH (RID_SVX_START + 234)
...
...
cui/source/tabpages/strings.src
Dosyayı görüntüle @
786f0eae
...
@@ -51,10 +51,6 @@ String RID_SVXSTR_DESC_LINESTYLE
...
@@ -51,10 +51,6 @@ String RID_SVXSTR_DESC_LINESTYLE
{
{
Text [ en-US ] = "Please enter a name for the line style:" ;
Text [ en-US ] = "Please enter a name for the line style:" ;
};
};
String RID_SVXSTR_ASK_DEL_LINESTYLE
{
Text [ en-US ] = "Do you want to delete the line style?" ;
};
String RID_SVXSTR_ASK_CHANGE_LINESTYLE
String RID_SVXSTR_ASK_CHANGE_LINESTYLE
{
{
Text [ en-US ] = "The line style was modified without saving. \nModify the selected line style or add a new line style." ;
Text [ en-US ] = "The line style was modified without saving. \nModify the selected line style or add a new line style." ;
...
...
cui/source/tabpages/tpgradnt.cxx
Dosyayı görüntüle @
786f0eae
...
@@ -419,7 +419,7 @@ IMPL_LINK_NOARG(SvxGradientTabPage, ClickAddHdl_Impl)
...
@@ -419,7 +419,7 @@ IMPL_LINK_NOARG(SvxGradientTabPage, ClickAddHdl_Impl)
{
{
aName
=
aNewName
;
aName
=
aNewName
;
aName
+=
sal_Unicode
(
' '
);
aName
+=
sal_Unicode
(
' '
);
aName
+=
OUString
::
valueOf
(
j
++
);
aName
+=
OUString
::
number
(
j
++
);
bDifferent
=
sal_True
;
bDifferent
=
sal_True
;
for
(
long
i
=
0
;
i
<
nCount
&&
bDifferent
;
i
++
)
for
(
long
i
=
0
;
i
<
nCount
&&
bDifferent
;
i
++
)
...
...
cui/source/tabpages/tplnedef.cxx
Dosyayı görüntüle @
786f0eae
...
@@ -589,8 +589,10 @@ IMPL_LINK_NOARG(SvxLineDefTabPage, ClickAddHdl_Impl)
...
@@ -589,8 +589,10 @@ IMPL_LINK_NOARG(SvxLineDefTabPage, ClickAddHdl_Impl)
}
}
else
else
{
{
WarningBox
aBox
(
GetParentDialog
(),
WinBits
(
WB_OK
),
OUString
(
ResId
(
RID_SVXSTR_WARN_NAME_DUPLICATE
,
rMgr
)
)
);
aBox
.
SetHelpId
(
HID_WARN_NAME_DUPLICATE
);
MessageDialog
aBox
(
GetParentDialog
()
,
"DuplicateNameDialog"
,
"cui/ui/queryduplicatedialog.ui"
);
aBox
.
Execute
();
aBox
.
Execute
();
}
}
}
}
...
@@ -667,8 +669,9 @@ IMPL_LINK_NOARG(SvxLineDefTabPage, ClickModifyHdl_Impl)
...
@@ -667,8 +669,9 @@ IMPL_LINK_NOARG(SvxLineDefTabPage, ClickModifyHdl_Impl)
}
}
else
else
{
{
WarningBox
aBox
(
GetParentDialog
(),
WinBits
(
WB_OK
),
OUString
(
ResId
(
RID_SVXSTR_WARN_NAME_DUPLICATE
,
rMgr
)
)
);
MessageDialog
aBox
(
GetParentDialog
()
aBox
.
SetHelpId
(
HID_WARN_NAME_DUPLICATE
);
,
"DuplicateNameDialog"
,
"cui/ui/queryduplicatedialog.ui"
);
aBox
.
Execute
();
aBox
.
Execute
();
}
}
}
}
...
@@ -685,7 +688,9 @@ IMPL_LINK_NOARG(SvxLineDefTabPage, ClickDeleteHdl_Impl)
...
@@ -685,7 +688,9 @@ IMPL_LINK_NOARG(SvxLineDefTabPage, ClickDeleteHdl_Impl)
if
(
nPos
!=
LISTBOX_ENTRY_NOTFOUND
)
if
(
nPos
!=
LISTBOX_ENTRY_NOTFOUND
)
{
{
QueryBox
aQueryBox
(
GetParentDialog
(),
WinBits
(
WB_YES_NO
|
WB_DEF_NO
),
OUString
(
CUI_RES
(
RID_SVXSTR_ASK_DEL_LINESTYLE
)
)
);
MessageDialog
aQueryBox
(
GetParentDialog
()
,
"AskDelLineStyleDialog"
,
"cui/ui/querydeletelinestyledialog.ui"
);
if
(
aQueryBox
.
Execute
()
==
RET_YES
)
if
(
aQueryBox
.
Execute
()
==
RET_YES
)
{
{
...
@@ -721,7 +726,9 @@ IMPL_LINK_NOARG(SvxLineDefTabPage, ClickLoadHdl_Impl)
...
@@ -721,7 +726,9 @@ IMPL_LINK_NOARG(SvxLineDefTabPage, ClickLoadHdl_Impl)
if
(
*
pnDashListState
&
CT_MODIFIED
)
if
(
*
pnDashListState
&
CT_MODIFIED
)
{
{
nReturn
=
WarningBox
(
GetParentDialog
(),
WinBits
(
WB_YES_NO_CANCEL
),
OUString
(
ResId
(
RID_SVXSTR_WARN_TABLE_OVERWRITE
,
rMgr
)
)
).
Execute
();
nReturn
=
MessageDialog
(
GetParentDialog
()
,
"AskSaveList"
,
"cui/ui/querysavelistdialog.ui"
).
Execute
();
if
(
nReturn
==
RET_YES
)
if
(
nReturn
==
RET_YES
)
pDashList
->
Save
();
pDashList
->
Save
();
...
@@ -762,7 +769,9 @@ IMPL_LINK_NOARG(SvxLineDefTabPage, ClickLoadHdl_Impl)
...
@@ -762,7 +769,9 @@ IMPL_LINK_NOARG(SvxLineDefTabPage, ClickLoadHdl_Impl)
}
}
else
else
//aIStream.Close();
//aIStream.Close();
ErrorBox
(
GetParentDialog
(),
WinBits
(
WB_OK
),
OUString
(
ResId
(
RID_SVXSTR_READ_DATA_ERROR
,
rMgr
)
)
).
Execute
();
MessageDialog
(
GetParentDialog
()
,
"NoLoadedFileDialog"
,
"cui/ui/querynoloadedfiledialog.ui"
).
Execute
();
}
}
}
}
...
...
cui/source/tabpages/tplneend.cxx
Dosyayı görüntüle @
786f0eae
...
@@ -328,7 +328,6 @@ IMPL_LINK_NOARG(SvxLineEndDefTabPage, ClickModifyHdl_Impl)
...
@@ -328,7 +328,6 @@ IMPL_LINK_NOARG(SvxLineEndDefTabPage, ClickModifyHdl_Impl)
MessageDialog
aWarningBox
(
GetParentDialog
()
MessageDialog
aWarningBox
(
GetParentDialog
()
,
"DuplicateNameDialog"
,
"DuplicateNameDialog"
,
"cui/ui/queryduplicatedialog.ui"
);
,
"cui/ui/queryduplicatedialog.ui"
);
// aWarningBox.SetHelpId( HID_WARN_NAME_DUPLICATE );
aWarningBox
.
Execute
();
aWarningBox
.
Execute
();
SvxAbstractDialogFactory
*
pFact
=
SvxAbstractDialogFactory
::
Create
();
SvxAbstractDialogFactory
*
pFact
=
SvxAbstractDialogFactory
::
Create
();
...
@@ -474,7 +473,6 @@ IMPL_LINK_NOARG(SvxLineEndDefTabPage, ClickAddHdl_Impl)
...
@@ -474,7 +473,6 @@ IMPL_LINK_NOARG(SvxLineEndDefTabPage, ClickAddHdl_Impl)
MessageDialog
aBox
(
GetParentDialog
()
MessageDialog
aBox
(
GetParentDialog
()
,
"DuplicateNameDialog"
,
"DuplicateNameDialog"
,
"cui/ui/queryduplicatedialog.ui"
);
,
"cui/ui/queryduplicatedialog.ui"
);
//aBox.SetHelpId( HID_WARN_NAME_DUPLICATE );
aBox
.
Execute
();
aBox
.
Execute
();
}
}
}
}
...
...
cui/uiconfig/ui/querydeletelinestyledialog.ui
0 → 100644
Dosyayı görüntüle @
786f0eae
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.6 -->
<object
class=
"GtkMessageDialog"
id=
"AskDelLineStyleDialog"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"border_width"
>
12
</property>
<property
name=
"title"
translatable=
"yes"
>
Delete line style?
</property>
<property
name=
"type_hint"
>
dialog
</property>
<property
name=
"skip_taskbar_hint"
>
True
</property>
<property
name=
"message_type"
>
question
</property>
<property
name=
"buttons"
>
yes-no
</property>
<property
name=
"text"
translatable=
"yes"
>
Do you want to delete the line style?
</property>
<child
internal-child=
"vbox"
>
<object
class=
"GtkBox"
id=
"messagedialog-vbox"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"orientation"
>
vertical
</property>
<property
name=
"spacing"
>
24
</property>
<child
internal-child=
"action_area"
>
<object
class=
"GtkButtonBox"
id=
"messagedialog-action_area"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"layout_style"
>
end
</property>
</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>
</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