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
35376f92
Kaydet (Commit)
35376f92
authored
Agu 25, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert QUERY_BRW_SAVEMODIFIED with custom buttons to .ui
Change-Id: I248e7b14fdd89c3efca60dfce0b9b8dfd2693fa8
üst
58a7a9bf
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
86 additions
and
13 deletions
+86
-13
UIConfig_dbaccess.mk
dbaccess/UIConfig_dbaccess.mk
+1
-0
indexdialog.cxx
dbaccess/source/ui/dlg/indexdialog.cxx
+2
-2
indexdialog.src
dbaccess/source/ui/dlg/indexdialog.src
+0
-10
dbu_resource.hrc
dbaccess/source/ui/inc/dbu_resource.hrc
+0
-1
saveindexdialog.ui
dbaccess/uiconfig/ui/saveindexdialog.ui
+83
-0
No files found.
dbaccess/UIConfig_dbaccess.mk
Dosyayı görüntüle @
35376f92
...
...
@@ -54,6 +54,7 @@ $(eval $(call gb_UIConfig_add_uifiles,dbaccess, \
dbaccess/uiconfig/ui/relationdialog \
dbaccess/uiconfig/ui/rowheightdialog \
dbaccess/uiconfig/ui/rtfcopytabledialog \
dbaccess/uiconfig/ui/saveindexdialog \
dbaccess/uiconfig/ui/savedialog \
dbaccess/uiconfig/ui/savemodifieddialog \
dbaccess/uiconfig/ui/specialjdbcconnectionpage \
...
...
dbaccess/source/ui/dlg/indexdialog.cxx
Dosyayı görüntüle @
35376f92
...
...
@@ -27,7 +27,6 @@
#include "indexfieldscontrol.hxx"
#include "indexcollection.hxx"
#include <vcl/layout.hxx>
#include <vcl/msgbox.hxx>
#include <vcl/settings.hxx>
#include <com/sun/star/sdb/SQLContext.hpp>
#include "UITools.hxx"
...
...
@@ -573,7 +572,8 @@ namespace dbaui
if
(
aSelected
->
isModified
()
||
aSelected
->
isNew
())
{
QueryBox
aQuestion
(
this
,
ModuleRes
(
QUERY_SAVE_CURRENT_INDEX
));
MessageDialog
aQuestion
(
this
,
"SaveIndexDialog"
,
"dbaccess/ui/saveindexdialog.ui"
);
nResponse
=
aQuestion
.
Execute
();
}
}
...
...
dbaccess/source/ui/dlg/indexdialog.src
Dosyayı görüntüle @
35376f92
...
...
@@ -63,16 +63,6 @@ String STR_NEED_INDEX_FIELDS
Text [ en-US ] = "The index must contain at least one field.";
};
QueryBox QUERY_SAVE_CURRENT_INDEX
{
Title [ en-US ] = "Exit Index Design";
Message [ en-US ] = "Do you want to save the changes made to the current index?";
Buttons = WB_YES_NO_CANCEL;
DefButton = WB_DEF_YES;
};
String STR_INDEX_NAME_ALREADY_USED
{
Text [ en-US ] = "There is already another index named \"$name$\".";
...
...
dbaccess/source/ui/inc/dbu_resource.hrc
Dosyayı görüntüle @
35376f92
...
...
@@ -101,7 +101,6 @@
// query boxes
#define TABLE_DESIGN_SAVEMODIFIED RID_QUERYBOX_START + 5
#define QUERY_SAVE_CURRENT_INDEX RID_QUERYBOX_START + 7
#define RELATION_DESIGN_SAVEMODIFIED RID_QUERYBOX_START + 9
#define TABLE_DESIGN_ALL_ROWS_DELETED RID_QUERYBOX_START + 13
...
...
dbaccess/uiconfig/ui/saveindexdialog.ui
0 → 100644
Dosyayı görüntüle @
35376f92
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.16.1 -->
<interface>
<requires
lib=
"gtk+"
version=
"3.0"
/>
<object
class=
"GtkMessageDialog"
id=
"SaveIndexDialog"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"border_width"
>
12
</property>
<property
name=
"title"
translatable=
"yes"
>
Exit Index Design
</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"
>
Do you want to save the changes made to the current index?
</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_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_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