summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorZolnai Tamás <zolnaitamas2000@gmail.com>2013-02-28 20:07:03 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2013-03-04 19:33:16 +0100
commit7488ad52d7aa0941ec09757240acc3f542b3832a (patch)
tree2da251ad36765987bba0f480352432401697ff48 /extras
parentfdo#38838, change String to OUString (diff)
downloadcore-7488ad52d7aa0941ec09757240acc3f542b3832a.tar.gz
core-7488ad52d7aa0941ec09757240acc3f542b3832a.zip
Add new dialog to Query Design View
In Query Properties Dialog can be set properties like distinct values and limit. To open choose Edit\Query Properties. Steps of implementation: - Add new slot to Edit menu (menubar.xml): delete the slot of distinct values, because it can set in this dialog too - Separate LimitBox class from limitboxcontroller.cxx (LimitBox.hxx\cxx) With it only LimitBox header is included in the dialog source. - Extend LimitBox class to work with new layout widget (make... and GetOptimalSize()) and add it to the galde catalog - Make a class for the new dialog (QueryPropertiesDialog.hxx\cxx) and write the .ui file. (querypropertiesdialog.ui) - Syncronize the two LimitBox (querycontroller.cxx) Change-Id: Ib84bef5a2ed55030333d6151342b99ff27766538
Diffstat (limited to 'extras')
-rw-r--r--extras/source/glade/libreoffice-catalog.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/extras/source/glade/libreoffice-catalog.xml b/extras/source/glade/libreoffice-catalog.xml
index 225a1944f94a..e3a00b1597bf 100644
--- a/extras/source/glade/libreoffice-catalog.xml
+++ b/extras/source/glade/libreoffice-catalog.xml
@@ -48,6 +48,9 @@
<glade-widget-class title="Text Encoding ListBox" name="svxlo-SvxTextEncodingBox"
generic-name="TextEncodingBox" parent="GtkComboBox"
icon-name="widget-gtk-combobox"/>
+ <glade-widget-class title="Limit ListBox" name="dbulo-LimitBox"
+ generic-name="LimitBox" parent="GtkComboBox"
+ icon-name="widget-gtk-combobox"/>
<glade-widget-class title="Font Preview" name="svxlo-SvxFontPrevWindow"
generic-name="Font Preview Window" parent="GtkDrawingArea"
icon-name="widget-gtk-drawingarea"/>