Commit Graph

4 Commits

Author SHA1 Message Date
Zolnai Tamás
4e38ea8670 LimitBox.cxx: Delete useless comment block
Change-Id: I3a75c7de783913385188680119f2baf8a726676d
2013-03-09 12:03:49 +01:00
Zolnai Tamás
4c52c8bd73 fdo#61794 Allow greater value in LimitBox
Increase the width of LimitBox
*on toolbar: 6 digits
*in dialog: 10 digits
Set maximum value of LimitBox to the max value of Int32

Change-Id: I6fcf0270b474eb46a29ff98ade9cd7ee8ba637f5
2013-03-09 11:59:21 +01:00
Zolnai Tamás
33933867b0 fdo#61797 ESCape abort changes and grab focus
Handling of hitting enter or escape are only
usefull for toolbar element.
In a dialog these keys have other meanings
(close the dialog with/without saving)

Change-Id: Ifbe5d36daab9c0702b888a58403dc170082fc32d
2013-03-09 08:20:51 +01:00
Zolnai Tamás
7488ad52d7 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
2013-03-04 19:33:16 +01:00