Commit Graph

10 Commits

Author SHA1 Message Date
Stephan Bergmann
e8f8f24c84 vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-21 12:53:51 +01:00
Caolán McNamara
1b7a5c634a disentangle CalcSize
Change-Id: I42248ff611dbe7c109076da5d548717898341be3
2014-01-13 09:50:11 +00:00
Michael Stahl
03eb15938e vcl, sw: fix the inheritance of SwComboBox from ComboBox a bit
Remove the silly overloading, and introduce virtual methods.

Change-Id: If54a6a3fb7464283f80d3387ae23db234690f8a3
2013-08-08 23:25:28 +02:00
Caolán McNamara
7a61efe422 add missing VclBuilder::stringmap argument to some builder functions
Change-Id: I57e13920b4707ebe5b6a7149dbdbfc45593c0d9d
2013-06-27 16:45:11 +01:00
Zolnai Tamás
00eafaa949 fix limit bug: selecting "All" has no effect to sql
LimitBox set its value to -1 if the current
text is "All" but just when it loses its focus
so dispatching its value to the controller
 must be after this setting.
(see limitboxcontroller.cxx)

Plus some clean up in LimitBox.cxx

Change-Id: Ic1d314a5a67c2b261b2e9c50973f51de2bfb8db8
2013-06-14 09:45:38 +02:00
Zolnai Tamás
6c6adf5b46 fdo#61794 Set maximum of LimitBox to SAL_MAX_INT64
Change-Id: I1744c7f8f1d6d27d3e62feb0cade1280fea331f1
2013-03-27 14:29:11 +01:00
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