diff options
author | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2013-02-04 15:21:33 +0100 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2013-02-25 20:04:03 +0000 |
commit | 9a471b8cd85d1c08d53ed2675e580ca9466ca433 (patch) | |
tree | 2796af7c686d69a186e326446586c74a2ab42723 /dbaccess/uiconfig | |
parent | b57cb5326713da9e926bb2ad5a56dce90ac00a87 (diff) |
Database: Add Limit in Query Desing View
Levels of implementation
- Add a new toolbar item to ui (designobjectbar.xml)
- Make a control for this element( LimitBox: derived from NumericBox)
- Make an own controller for this control (LimitBoxController) and
register it
- Add new feature to the general\central controller (OQueryController)
and construct a communication channel between the two controller
- Modify the view switching (SQL<->Design) methods to use\set limit
value (QueryDesignView.cxx)
Conflicts:
dbaccess/source/ui/querydesign/QueryDesignView.cxx
Change-Id: I0eb09d1d40cfdb9b8a2a57ab8911faca91d5e690
Reviewed-on: https://gerrit.libreoffice.org/1994
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
Diffstat (limited to 'dbaccess/uiconfig')
-rw-r--r-- | dbaccess/uiconfig/dbquery/toolbar/designobjectbar.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dbaccess/uiconfig/dbquery/toolbar/designobjectbar.xml b/dbaccess/uiconfig/dbquery/toolbar/designobjectbar.xml index 64cc4bf6fdad..a25548ff6898 100644 --- a/dbaccess/uiconfig/dbquery/toolbar/designobjectbar.xml +++ b/dbaccess/uiconfig/dbquery/toolbar/designobjectbar.xml @@ -24,4 +24,5 @@ <toolbar:toolbaritem xlink:href=".uno:DBViewTableNames" toolbar:helpid="helpid:12298" toolbar:text="" toolbar:style="" /> <toolbar:toolbaritem xlink:href=".uno:DBViewAliases" toolbar:helpid="helpid:12299" toolbar:text="" toolbar:style="" /> <toolbar:toolbaritem xlink:href=".uno:DBDistinctValues" toolbar:helpid="helpid:12300" toolbar:text="" toolbar:style="" /> -</toolbar:toolbar>
\ No newline at end of file + <toolbar:toolbaritem xlink:href=".uno:DBLimit" /> +</toolbar:toolbar> |