Sergio Martins
ee0272e036
Merge pull request #129 from mateoconlechuga/master
...
Add support for setting toggle action icon
2021-01-07 16:09:34 +00:00
Sergio Martins
4aa87c1758
Merge branch '1.2'
2021-01-07 11:15:29 +00:00
Sergio Martins
3b1158b82f
Fix potential crash uncovered by UBSAN
...
m_inCtor might be read before being initialized since when
the earlier members are initialized they can call back into
Frame.
2021-01-07 11:13:56 +00:00
Sergio Martins
1aee98bebd
README-WASM: Minor correction, library is static
2021-01-07 11:13:56 +00:00
Allen Winter
b5a6433950
Merge branch '1.2'
2021-01-06 10:55:54 -05:00
Allen Winter
077264fd54
CopyrightAssignmentForm.docx - update email address
2021-01-06 10:55:26 -05:00
Kevin Funk
bee653cf80
Streamline README.md a bit
2021-01-06 16:04:14 +01:00
Sergio Martins
e1363aadaa
Remove inclusion of moc from .cpp file
...
doesn't play nice with cmake unity build on older cmake
2021-01-06 14:40:40 +00:00
Sergio Martins
43877ca712
README: Added url of our WASM demo
2021-01-06 14:35:46 +00:00
Sergio Martins
f7cc54ad38
Merge branch '1.2'
2021-01-06 12:00:13 +00:00
Sergio Martins
538f318fac
README-WASM: Minor correction, library is static
2021-01-06 11:07:52 +00:00
Sergio Martins
f0376fa7a2
Disable unity build on the stable branch
...
Fixes a build failure on ubuntu.
Will probably only enabled for development.
2021-01-06 10:59:13 +00:00
Sergio Martins
0d2bccc15e
Deprecate AddingOption
...
Will probably be removed in v1.5
2021-01-05 20:32:14 +00:00
Sergio Martins
842b89c36d
Restore source-compat with 1.2
...
It's not very hard. Just added the old enum and an implicit ctor.
2021-01-05 19:09:11 +00:00
Sergio Martins
1d74c67bd4
Merge pull request #130 from dangelog/more-build-fixups
...
More build fixups
2021-01-04 15:23:55 +00:00
Sergio Martins
ea0dd04bd9
Fix build with installed KDDW
2021-01-04 14:48:26 +00:00
Giuseppe D'Angelo
a5dbab096b
More build fixups
2021-01-04 15:17:47 +01:00
mateoconlechuga
f1f555d5ab
Add support for setting toggle action icon
...
This adds support for a custom icon to be displayed in a QMenu.
2021-01-03 19:36:56 -07:00
Sergio Martins
5b60a929ab
Merge branch '1.2'
2021-01-04 00:20:56 +00:00
Sergio Martins
f4404dcbe0
qt6: disable -Wconversion
...
the long long int to int conversions due to the Qt6 containers
are harmless
2021-01-04 00:12:55 +00:00
Sergio Martins
dd81e02d94
Fix Qt6 build
2021-01-03 22:17:25 +00:00
Sergio Martins
f4643aeefd
Merge branch '1.2'
2021-01-03 22:15:33 +00:00
Sergio Martins
e563ffb673
Add presets for Qt6 dev build
2021-01-03 22:12:56 +00:00
Sergio Martins
4cceec82ac
Remove unused variable
...
Should fix MingW build with -Werror
2021-01-03 21:24:21 +00:00
Sergio Martins
4b868e2078
README: Mention that Qt6 is supported and MSVC 2013 won't be
2021-01-03 21:22:41 +00:00
Allen Winter
875544a449
Merge branch '1.2'
2021-01-02 09:32:20 -05:00
Allen Winter
a2f4c972a6
update copyright year
2021-01-02 09:27:50 -05:00
Sergio Martins
2b0a6e5d06
README: Mention VS 2013 isn't supported anymore
...
We're getting an ICE
2020-12-28 22:42:24 +00:00
Sergio Martins
5f7e645ed6
Merge branch '1.2'
2020-12-28 22:28:15 +00:00
Sergio Martins
59c90c01f9
README: Mention that Qt6 is supported and MSVC 2013 won't be
2020-12-28 22:27:38 +00:00
Sergio Martins
92063ab61b
Remove some duplicate code, Qt does the same already
...
Recently Qt implemented something similar. Since we only support
aero snap with Qt 5.15 we dont need KDDW's native win32 code anymore
cc issue #121
2020-12-28 13:06:37 -08:00
Sergio Martins
003ec5aa5b
Probably fix namespaced build
2020-12-28 19:35:03 +00:00
Sergio Martins
02bf43b468
Add InternalFlag_DontShowWhenUnfloatingHiddenWindow
...
It's an internal knob you can turn so that setFloating(false)
doesn't show the dockwidget. Only adding this flag in case you need
to support both KDDW and QDW at the same time, or during porting/evaluation.
Fixes #125
2020-12-28 19:19:46 +00:00
Sergio Martins
50e1285839
Move more internal enumerators into the internal enum
...
the public enum is now clean
2020-12-28 14:36:42 +00:00
Sergio Martins
3fb6574322
Move Flag_internal_NoAeroSnap into its own enum
...
Enumerators not intended for the public shouldn't be in the
public enum. Move it to a private enum.
2020-12-28 14:01:16 +00:00
Sergio Martins
fa2501d5e4
Merge branch '1.2'
2020-12-28 12:35:04 +00:00
Jacob Young
0fe58fd160
Fix filename case so that it will build on a case-sensitive filesystem.
2020-12-28 12:34:03 +00:00
Sergio Martins
01f3042f48
Merge pull request #127 from CE-Programming/fix/case
...
Fix filename case so that it will build on a case-sensitive filesystem.
2020-12-28 12:24:23 +00:00
Sergio Martins
6719dd2b9e
Allow to pass a preferred initial size to MainWindow::addDockWidget()
...
fixes #95
2020-12-28 11:59:09 +00:00
Sergio Martins
08c058b214
Remove unimplemented DefaultSizeMode::SizePolicy
...
It's public API so don't expose enumerators that don't work
2020-12-28 10:58:37 +00:00
Jacob Young
e4502d4f64
Fix filename case so that it will build on a case-sensitive filesystem.
2020-12-28 03:07:30 -05:00
Sergio Martins
db928a0fca
refactor: Move the DefaultSizingMode enum into InitialSizingOption
...
It's another enum that affects the initial sizing.
No behaviour was change in this commit.
Needed for issue #95
2020-12-28 00:17:13 +00:00
Sergio Martins
5582f37a18
Introduce InitialOption struct
...
addDockWidget() received a AddingOption enumerator. But that
enum isn't enough, as we also want to be able to specify an initial
QSize.
So, instead of adding yet another parameter to addDockWidget(), we
create a struct to old those "initial settings".
Implies a minor source break, but trivial to fix in user code,
just rename the enumerator.
Honouring preferredSize will be a followup.
Needed for issue #95
2020-12-27 20:22:02 +00:00
Sergio Martins
a28e152a37
Remove duplicate DefaultSizeMode enum
...
It's already in Item_p.h
2020-12-27 13:56:58 +00:00
Sergio Martins
d6dea6f426
TabWidget: Remove paint event hack
...
Origin unknown, came from "initial commit".
Can't notice any difference without it. Users can do such hacks
by overriding it
2020-12-27 12:58:12 +00:00
Sergio Martins
d29f9fdd0d
Fix install location of TabWidget_p.h
...
It moved location in the repo recently
2020-12-27 12:39:08 +00:00
Sergio Martins
a2a80df5df
Add static function DockWidgetBase::byName()
...
So users don't have to use private API.
Fixes issue #126
2020-12-27 11:41:16 +00:00
Sergio Martins
48ce3a972f
DockWidget: Move some clutter to the end of the file
...
So users not using doxygen can quickly see the API
2020-12-27 11:34:44 +00:00
Sergio Martins
9fae250897
DockWidget: Make the serialization methods private
...
They are not for the public
2020-12-27 11:32:38 +00:00
Sergio Martins
4dd703dcb2
Remove another unneeded qWait
2020-12-24 11:57:18 +00:00