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
f50a3677
Kaydet (Commit)
f50a3677
authored
Agu 25, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert MSG_COMCORE_ASKSEARCH with custom buttons to .ui
Change-Id: I5066c850a22a9dcf0778878a160bbedee6fba81d
üst
9a114917
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
88 additions
and
10 deletions
+88
-10
UIConfig_swriter.mk
sw/UIConfig_swriter.mk
+1
-0
comcore.hrc
sw/inc/comcore.hrc
+0
-1
viscrs.cxx
sw/source/core/crsr/viscrs.cxx
+3
-2
app.src
sw/source/ui/app/app.src
+0
-7
asksearchdialog.ui
sw/uiconfig/swriter/ui/asksearchdialog.ui
+84
-0
No files found.
sw/UIConfig_swriter.mk
Dosyayı görüntüle @
f50a3677
...
@@ -65,6 +65,7 @@ $(eval $(call gb_UIConfig_add_uifiles,modules/swriter,\
...
@@ -65,6 +65,7 @@ $(eval $(call gb_UIConfig_add_uifiles,modules/swriter,\
sw/uiconfig/swriter/ui/addressblockdialog \
sw/uiconfig/swriter/ui/addressblockdialog \
sw/uiconfig/swriter/ui/alreadyexistsdialog \
sw/uiconfig/swriter/ui/alreadyexistsdialog \
sw/uiconfig/swriter/ui/asciifilterdialog \
sw/uiconfig/swriter/ui/asciifilterdialog \
sw/uiconfig/swriter/ui/asksearchdialog \
sw/uiconfig/swriter/ui/assignfieldsdialog \
sw/uiconfig/swriter/ui/assignfieldsdialog \
sw/uiconfig/swriter/ui/assignstylesdialog \
sw/uiconfig/swriter/ui/assignstylesdialog \
sw/uiconfig/swriter/ui/attachnamedialog \
sw/uiconfig/swriter/ui/attachnamedialog \
...
...
sw/inc/comcore.hrc
Dosyayı görüntüle @
f50a3677
...
@@ -24,7 +24,6 @@
...
@@ -24,7 +24,6 @@
// Strings
// Strings
#define STR_COMCORE_READERROR (RC_COMCORE_BEGIN + 0)
#define STR_COMCORE_READERROR (RC_COMCORE_BEGIN + 0)
#define MSG_COMCORE_ASKSEARCH (RC_COMCORE_BEGIN + 1)
#define STR_TABLE_DEFNAME (RC_COMCORE_BEGIN + 2)
#define STR_TABLE_DEFNAME (RC_COMCORE_BEGIN + 2)
#define STR_GRAPHIC_DEFNAME (RC_COMCORE_BEGIN + 3)
#define STR_GRAPHIC_DEFNAME (RC_COMCORE_BEGIN + 3)
#define STR_OBJECT_DEFNAME (RC_COMCORE_BEGIN + 4)
#define STR_OBJECT_DEFNAME (RC_COMCORE_BEGIN + 4)
...
...
sw/source/core/crsr/viscrs.cxx
Dosyayı görüntüle @
f50a3677
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
#include <config_features.h>
#include <config_features.h>
#include <vcl/dialog.hxx>
#include <vcl/dialog.hxx>
#include <vcl/
msgbox
.hxx>
#include <vcl/
layout
.hxx>
#include <vcl/wrkwin.hxx>
#include <vcl/wrkwin.hxx>
#include <vcl/settings.hxx>
#include <vcl/settings.hxx>
#include <viewopt.hxx>
#include <viewopt.hxx>
...
@@ -601,7 +601,8 @@ short SwShellCrsr::MaxReplaceArived()
...
@@ -601,7 +601,8 @@ short SwShellCrsr::MaxReplaceArived()
}
while
(
pShell
!=
(
pSh
=
(
SwViewShell
*
)
pSh
->
GetNext
()
)
);
}
while
(
pShell
!=
(
pSh
=
(
SwViewShell
*
)
pSh
->
GetNext
()
)
);
{
{
nRet
=
QueryBox
(
pDlg
,
SW_RES
(
MSG_COMCORE_ASKSEARCH
)).
Execute
();
nRet
=
MessageDialog
(
pDlg
,
"AskSearchDialog"
,
"modules/swriter/ui/asksearchdialog.ui"
).
Execute
();
}
}
for
(
sal_uInt16
n
=
0
;
n
<
aArr
.
size
();
++
n
)
for
(
sal_uInt16
n
=
0
;
n
<
aArr
.
size
();
++
n
)
...
...
sw/source/ui/app/app.src
Dosyayı görüntüle @
f50a3677
...
@@ -371,13 +371,6 @@ String STR_STATSTR_SWGPRTOLENOTIFY
...
@@ -371,13 +371,6 @@ String STR_STATSTR_SWGPRTOLENOTIFY
Text [ en-US ] = "Adapt Objects...";
Text [ en-US ] = "Adapt Objects...";
};
};
QueryBox MSG_COMCORE_ASKSEARCH
{
Buttons = WB_YES_NO_CANCEL ;
DefButton = WB_DEF_YES ;
Message [ en-US ] = "To proceed with this action, you must first turn off the \"undo\" function. Do you want to turn off the \"undo\" function?" ;
};
Bitmap RID_GRAPHIC_REPLACEBMP
Bitmap RID_GRAPHIC_REPLACEBMP
{
{
File = "grafikei.bmp" ;
File = "grafikei.bmp" ;
...
...
sw/uiconfig/swriter/ui/asksearchdialog.ui
0 → 100644
Dosyayı görüntüle @
f50a3677
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.16.1 -->
<interface>
<requires
lib=
"gtk+"
version=
"3.0"
/>
<object
class=
"GtkMessageDialog"
id=
"AskSearchDialog"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"border_width"
>
12
</property>
<property
name=
"resizable"
>
False
</property>
<property
name=
"type_hint"
>
dialog
</property>
<property
name=
"skip_taskbar_hint"
>
True
</property>
<property
name=
"message_type"
>
question
</property>
<property
name=
"text"
translatable=
"yes"
>
To proceed with this action, you must first turn off the "undo" function. Do you want to turn off the "undo" function?
</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>
<child>
<object
class=
"GtkButton"
id=
"no"
>
<property
name=
"label"
>
gtk-no
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"use_stock"
>
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=
"yes"
>
<property
name=
"label"
>
gtk-yes
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"can_default"
>
True
</property>
<property
name=
"has_default"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"use_stock"
>
True
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkButton"
id=
"cancel"
>
<property
name=
"label"
>
gtk-cancel
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"use_stock"
>
True
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
2
</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>
</object>
</child>
<action-widgets>
<action-widget
response=
"3"
>
no
</action-widget>
<action-widget
response=
"2"
>
yes
</action-widget>
<action-widget
response=
"0"
>
cancel
</action-widget>
</action-widgets>
</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