Vadim Zeitlin
c74727c20f
Merge branch 'qt_more_event_loop_improvements' of https://github.com/GeoTeric/wxWidgets
...
Event loop and idle events improvements for wxQt
See https://github.com/wxWidgets/wxWidgets/pull/1171
2019-01-27 03:55:38 +01:00
ali kettab
84fc5c1714
Fix changing tooltip via wxToolTip::SetTip() in wxQt
...
Update the actual tool tip used by Qt and not just the internal variable
when SetTip() is called.
Also implement wxToolTip::SetWindow().
Closes https://github.com/wxWidgets/wxWidgets/pull/1175
2019-01-25 14:39:37 +01:00
Liam Treacy
83f23cec89
Added virtual and override specifiers to derived method in ListCtrl
2019-01-24 14:31:17 +00:00
Graham Dawes
9cd566789d
Added file missing from previous commit
2019-01-24 08:08:12 +00:00
phowstan
7cfb5b91a5
Implement wxStaticBox::Set/GetLabel() in wxQt
...
Closes https://github.com/wxWidgets/wxWidgets/pull/1167
2019-01-23 16:38:25 +01:00
Vadim Zeitlin
2753bb2f50
Merge branch 'qt_event_loop' of https://github.com/GeoTeric/wxWidgets
...
Use QEventLoop for wxEventLoop implementation in wxQt to fix several
issues with wxEventLoop, notably avoid "QApplication::exec is already
running" errors.
See https://github.com/wxWidgets/wxWidgets/pull/1165
2019-01-22 19:05:53 +01:00
Liam Treacy
31c2bd7aa3
Add default parameter to wxDialog::Show() in wxQt
...
Closes https://github.com/wxWidgets/wxWidgets/pull/1164
2019-01-22 15:49:44 +01:00
Vadim Zeitlin
6fbc7a7e16
Merge branch 'qt-region-fixes'
...
wxQt region-related fixes: fix bugs in clipping region handling and
add wxRegion::DoCombine().
See https://github.com/wxWidgets/wxWidgets/pull/1162
2019-01-22 15:46:19 +01:00
Vadim Zeitlin
8703f0c437
Merge branch 'qt-dropdown'
...
Make wxQt wxComboBox behave more consistently with the other ports. Also
includes related fixes to wxChoice and wxTextEntry.
See https://github.com/wxWidgets/wxWidgets/pull/1161
2019-01-22 15:45:03 +01:00
Graham Dawes
8a73f65285
Use QEventLoop to implement wxEventLoop for wxQT
2019-01-22 14:37:18 +00:00
Graham Dawes
7fa7fd1beb
Don't generate idle events when the event loop is not running
2019-01-22 08:11:30 +00:00
Graham Dawes
278f4fa1d6
Add wxOVERRIDE to overriden methods
2019-01-22 08:11:30 +00:00
Vadim Zeitlin
26c9fd0033
Merge branch 'qt_listbox_failing_tests'
...
Fixes for item selection and cleanup.
See https://github.com/wxWidgets/wxWidgets/pull/1159
2019-01-21 23:43:56 +01:00
Vadim Zeitlin
c8f427181e
Reuse code between wxListBox::Create() overloads
...
Add DoCreate() helper to actually create and initialize QListWidget.
2019-01-21 23:43:03 +01:00
Vadim Zeitlin
c28a8c9e7e
Implement wxRegion operations in terms of DoCombine()
2019-01-21 23:34:12 +01:00
Jay Nabonne
5b8b30d243
Don't use pointer for wxDC::m_clippingRegion in wxQt
...
An object can be used directly instead.
2019-01-21 23:34:12 +01:00
Richard Smith
3618356cf1
Fix wxComboBox implementation of wxTextEntry interface
...
Implement missing methods and send, or suppress, the expected events.
2019-01-21 23:08:42 +01:00
Vadim Zeitlin
cfdf80d586
Rename wxChoice::InitialiseSort() to QtInitSort()
...
Use the prefix to indicate that this function is unique to this port.
Also don't make unnecessarily make it virtual.
2019-01-21 23:08:07 +01:00
Richard Smith
b27971c501
Use case-insensitive comparison in Qt wxComboBox and wxChoice
...
Define LexicalSortProxyModel to use the same sort order in wxQt as in
the other ports.
2019-01-21 23:08:07 +01:00
Liam Treacy
eb6b660d27
Added setStyle method to wxListBox to allow for the proper setting of sorting and selection style of the QListWidget
2019-01-21 14:04:47 +00:00
Graham Dawes
9cfecad878
Generate wxDialogInit event for wxDialog under wxQT
2019-01-21 13:53:59 +00:00
Graham Dawes
edc315a62f
Add wxOVERRIDE to overriden wxDialog methods for wxQT
2019-01-21 12:49:06 +00:00
Liam Treacy
58df1ee13f
Added wxOVERRIDE specifiers to qt wxListBox methods
2019-01-21 11:00:25 +00:00
Artur Wieczorek
9ff9442226
Update column width in wxHeaderCtrlSimple while resizing the column
...
In EVT_HEADER_RESIZING event handler there is necessary to update actual
column width and redraw the control to show the column with new width.
Closes #18331 .
2019-01-20 13:22:50 +01:00
Vadim Zeitlin
704f03e70e
Don't use destroyed wxToolBar in wxFrame::SetToolBar() in wxQt
...
Store QToolBar pointer in wxFrame itself to avoid having to query the
already half-destroyed wxToolBar object when SetToolBar() is called from
its base class dtor.
This fixes crash when toggling the toolbar in the toolbar sample.
Closes https://github.com/wxWidgets/wxWidgets/pull/1140
2019-01-20 03:21:12 +01:00
Vadim Zeitlin
3fb84dfc0c
Make wxToolBar::GetQToolBar() non-virtual and mark it as private
...
This method has no reason to be virtual.
Also move it to the end of the class public section and document that
it's not part of the public API.
See https://github.com/wxWidgets/wxWidgets/pull/1140
2019-01-20 03:21:11 +01:00
Vadim Zeitlin
61b391da90
Make wxFrame ctors inline in wxQt
...
No real changes, just make trivial (and going to remain trivial)
functions inline.
2019-01-20 03:13:04 +01:00
Vadim Zeitlin
a0d2212bba
Merge branch 'qt_menuitem' of https://github.com/GeoTeric/wxWidgets
...
Add wxOVERRIDE specifiers to wxMEnu{,Item,Bar} methods.
Closes https://github.com/wxWidgets/wxWidgets/pull/1146
2019-01-19 23:05:28 +01:00
Liam Treacy
5044283b87
Adding wxOVERRIDE specifiers to wxMenu and wxMenuBar methods
2019-01-18 13:25:27 +00:00
Liam Treacy
139070b745
Removing unnecessary forward declaration
2019-01-18 13:19:08 +00:00
Liam Treacy
3cde8607ab
Adding wxOVERRIDE specifiers to menuitem methods
2019-01-18 13:17:47 +00:00
Liam Treacy
7b5cd77299
Removing unnecessary forward declaration from toolbar.h
2019-01-18 11:09:18 +00:00
Vadim Zeitlin
c575f595f5
Merge branch 'qt_fix_radiobox_layout' of https://github.com/GeoTeric/wxWidgets
...
Add support for grid layout for wxRadioBox under wxQt.
See https://github.com/wxWidgets/wxWidgets/pull/1136
2019-01-18 01:14:33 +01:00
Vadim Zeitlin
288d26598c
Merge branch 'dvc-var-height'
...
Optimize generic wxDataViewCtrl performance with variable line heights.
Closes https://github.com/wxWidgets/wxWidgets/pull/1053
2019-01-16 01:25:06 +01:00
chris2oph
dd306cac77
Various wxFont fixes in wxQt
...
Implement point/pixel size accessors correctly.
Implement support for strike-through fonts.
Also implement DoSetNativeFontInfo() for wxQt.
Make wxFont unit test pass by accounting for Qt-specific aspects.
Closes https://github.com/wxWidgets/wxWidgets/pull/1113
2019-01-14 23:39:02 +01:00
Chilau He
3aa6aec620
Add wxWebViewIE::MSWSetEmulationLevel()
...
This extends and replaces MSWSetModernEmulationLevel() by allowing a
more fine-grained choice of the emulation level used by wxWebViewIE.
Closes https://github.com/wxWidgets/wxWidgets/pull/1133
2019-01-14 23:25:14 +01:00
Artur Wieczorek
a005391413
Use wxEventType instead of int
...
This parameter identifies the type of the event so it should be of type wxEventType.
2019-01-11 19:22:50 +01:00
Artur Wieczorek
daf33b9b41
Use Boolean variable to store Boolean values
2019-01-11 19:22:49 +01:00
Artur Wieczorek
1f739e5f82
Get rid of unused member variable
2019-01-11 19:22:48 +01:00
Artur Wieczorek
d47413697b
Use wxVector<wxWindow*> instead of wxArrayPtrVoid
2019-01-11 19:22:48 +01:00
Artur Wieczorek
8f8955b2b9
Use wxVector<wxObject*> instead of wxArrayPGObject
2019-01-11 19:22:47 +01:00
Artur Wieczorek
eb40eb4b84
Fix horizontal scrolling of wxPropertyGrid header
...
wxPropertyGridHeader associated with wxPropertyGrid has to be notified about every horizontal scroll of the grid.
New position is sent with dedicated wxEVT_PG_HSCROLL event being handled by wxPropertyGridManager which in turn scrolls the header accordingly.
See #18313 .
2019-01-11 19:22:34 +01:00
Graham Dawes
4f32cfc5fb
Add support for grid layout in wxRadioBox under wxQT
2019-01-11 15:11:28 +00:00
Graham Dawes
aa422c6be2
Make scrollbar private to wxWindow under wxQt
...
Use QScrollbar directly instead of wxScrollbar for the window scrollbars
to ensure that wxWindow::GetChildren() doesn't return these scrollbars.
Closes https://github.com/wxWidgets/wxWidgets/pull/1124
2019-01-10 03:55:19 +01:00
Vadim Zeitlin
7935dab2e8
Merge branch 'qt_fix_missing_rtti' of https://github.com/GeoTeric/wxWidgets
...
Add missing wx RTTI macros to many classes in wxQt.
See https://github.com/wxWidgets/wxWidgets/pull/1095
2019-01-08 00:34:30 +01:00
Jens Göpfert
a8d89b9ced
fixed memory leak
2019-01-08 00:12:51 +01:00
ali kettab
36f6f8ad49
wxTextValidator improvements
...
Improve char inclusion/exclusion support; update the sample to show more
features of this class and add a unit test for it.
Closes https://github.com/wxWidgets/wxWidgets/pull/1093
2019-01-05 23:33:35 +01:00
Vadim Zeitlin
697125dc03
Merge branch 'clang-warnings'
...
Fix some harmless but annoying clang warnings.
See https://github.com/wxWidgets/wxWidgets/pull/1115
2019-01-05 23:12:58 +01:00
Vadim Zeitlin
fee0decbb0
Apply g++ 4.7 workaround in hash set macros to this compiler only
...
This workaround was already disabled for MSVC, as it resulted in a
warning there, but it also gives a similar warning with clang and it
seems better to restrict this workaround to gcc only rather than
excluding another compiler.
2019-01-04 23:51:31 +01:00
Artur Wieczorek
3cfec773c9
Replace wxArrayPtrVoid with wxVector<void*>
2019-01-04 21:37:27 +01:00