Sometimes the extra CSS properties produced by postcss are applied to the
normal QWidgets which are not subclassed with the Yoga stuff included.
This produces nasty warnings, regardless of whether you are using Yoga/flex
or not.
Qt's memory management is built around trees of objects where deleting the root object also deletes the whole tree. Objects with a parent are owned by that parent.
* Add `clearFocus()` to `QWidget`
* Add `Alignment` param to `QBoxLayout.addWidget()`
* Add `setViewportMargins()` & `viewportMargins()` to `QScrollArea`
* Add `QEvent` methods to all event related subclasses
* Tell C++ that our 0 is zero and not a null pointer
* Add `QPaintEvent`
* Add `setStyleName()` to `QFont`
* Add `isFixedPitch()` and `styles()` to `QFontDatabase`
* Add `drawImage()` to `QPainter`
* Add `setFocusPolicy()` to `QWidget`
* Added QWheelEvent
* removed x y
* Added QNativeGestureEvent
* Changed wrong type of QNativeGestureEventWrap value
* Added QTabletEvent
* Fixing build error for QTabletEvent
* adding dropaction
* fix typos
* Added more functions to QPainterPath
* Added more functions to QPainterPath
* Fixed multiple typos
* Fixed multiple typos
* Got QPainterPath additions working.
* Modified QPainterPath to use qreal instead
* Added QPointF, added a few missing methods to QPoint
* Added QRectF
* implemented QRectF
* Added acceptDrops and setAcceptDrops to QWidget, will be useful for addon implementation of Drag and Drop
Co-authored-by: Switt Kongdachalert <switt1995@yahoo.com>
* menu and menubar changes so far
* attempting to add a simpler way to create menubars
* menu and menubar changes so far
* attempting to add a simpler way to create menubars
* attempting to add a simpler way to create menubars
* rebased from master
* rebased from master
* Move qaction creation to qwidget macro
* removed addMenuWithName
* exec, and popup working
Co-authored-by: Atul R <atulanand94@gmail.com>
* add setFont() and font() to QWidget and font() to QAction
* fix QAction constructor weight type
* Fix for native element constructor QFont
Co-authored-by: Atul R <atulanand94@gmail.com>