From 7488ad52d7aa0941ec09757240acc3f542b3832a Mon Sep 17 00:00:00 2001 From: Zolnai Tamás Date: Thu, 28 Feb 2013 20:07:03 +0100 Subject: 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 --- officecfg/registry/data/org/openoffice/Office/UI/DbuCommands.xcu | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'officecfg') 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 @@ Limit + + + Query Properties + + Paste ~Special... -- cgit