summaryrefslogtreecommitdiff
path: root/officecfg/registry
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 /officecfg/registry
parent30e14d7d3a70f0b5f5a6163d122e501cc5edc334 (diff)
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 'officecfg/registry')
-rw-r--r--officecfg/registry/data/org/openoffice/Office/UI/DbuCommands.xcu5
1 files changed, 5 insertions, 0 deletions
diff --git a/officecfg/registry/data/org/openoffice/Office/UI/DbuCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/DbuCommands.xcu
index 44f2d42aefbc..4445a4c64efb 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/DbuCommands.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/DbuCommands.xcu
@@ -77,6 +77,11 @@
<value xml:lang="en-US">Limit</value>
</prop>
</node>
+ <node oor:name=".uno:DBQueryPropertiesDialog" oor:op="replace">
+ <prop oor:name="Label" oor:type="xs:string">
+ <value xml:lang="en-US">Query Properties</value>
+ </prop>
+ </node>
<node oor:name=".uno:PasteSpecial" oor:op="replace">
<prop oor:name="Label" oor:type="xs:string">
<value xml:lang="en-US">Paste ~Special...</value>