Commit Graph

20 Commits

Author SHA1 Message Date
slidinghotdog
a59e8b5e2e Qtablewidget rebase (#264)
* sync upstream

* Initial tablewidget

* methods from tableview and signals

* remove comment in CMakeLists

* inherits from QAbstractScrollArea

* revert demo
2019-12-14 09:27:34 +05:30
feng8848
19f786a0f1 Add font support (#261)
* Add font support

* Update qfontdatabase_wrap.h

* Update qfontdatabase_wrap.cpp

* Update QFontDatabase.ts

* make static method
2019-12-12 19:16:49 +05:30
slidinghotdog
ed84031fbb Add QComboBox (#250)
* Add QComboBox

* clean ts file
2019-12-07 11:37:55 +01:00
Bundyo (Kamen Bundev)
a8cc7d9441 Add style() getter in QApplication (#249)
Add minimal QStyle implementation with just pixelMetric getter
 (allow getting the scrollbars width)
2019-12-05 23:08:54 +01:00
Atul R
6e6495f948
Load image from buffer, QMovie and QRect (#232)
* Adds qpixmap load from data

* Adds basic qrect and qmovie

* Adds more methods to QMovie and QLabel

* Adds QMovie, QRect and qlabel methods

* Adds custom method load from data to load from buffer easily

* Adds loading from buffer for qmovie
2019-11-29 00:39:35 +01:00
Atul R
0b68f8586c
remove spdlog as a dependency (#226)
* cleans up spdlog everywhere except

* removes all usage of spdlog

* removed spdlog dependency
2019-11-26 19:39:52 +01:00
Atul R
97c67219e2
Adds Abstract button - QPushbutton, checkbox and radiobutton methods and tests (#206)
* Adds QAbstract button and related methods to QPushbutton, checkbox and radiobutton
Also adds QIcon to QVariant

* Adds iconSize to abstract button
2019-11-19 01:27:26 +01:00
Atul R
edcdbb510e
Adds dynamic content support for flex layout. (#199)
* layout performance fix

* adjust size, webdefaults

* Add flexlayout owner to the context

* revert

* reorders setlayout and setflexnode

* add defaults

* fix mainwindow rootNode

* properties to methods

* Adds defaultsAdds flexutils  measurewidget

* introduce configure for all types of nodes.

* lint fix

* Revams flexlayout to handle dynamic content

* Adds dynamic layout support for flex layout.

* lint fix

* fix few code updates
2019-11-18 00:52:29 +01:00
Pepijn
b9ca846835 QMouseEvent() wrapper (#197)
* ADDS initial support for wrapping native events in  QMouseEvent()

only x, y and button are wrapped

* ADDS global coordinates

Cleanup
2019-11-17 08:26:46 +01:00
Mikko Sairio
cd7906710a Feature/key events (#188)
* Added key property to QKeyEvent

* Custom handling for KeyPress and KeyRelease events

* Added modifiers, count, isAutoRepeat to QKeyEvent

* Fixed typings

* Revereted eventwidget.cpp redundant changes
2019-11-10 21:20:35 +01:00
Atul R
ece01d3803
Add qvariant object translation (#189)
* working - translation of any wrapped object

* clang format

* Adds QVariant and Qbject property. Also adds QPixmap fromQVariant

* fixes breaking test cases

* Adds build to prepush hook aswell
2019-11-10 20:48:41 +01:00
Atul R
21e5e78876
Add qvariant object translation (#185)
* working - translation of any wrapped object

* clang format
2019-11-10 12:30:26 +01:00
Atul R
382f2d7da6
Changes unique_ptr to qpointer for qobjects since they can be managed by other parent objects. This fixes double memory free. (#182) 2019-11-09 00:05:25 +01:00
Atul R
bd65329641
Adds linters, code formatters for both js and c++ and adds prepush hook (#178) 2019-11-08 19:30:01 +01:00
Dimitar Nestorov
bd1c334722 Added QIcon isMask and setIsMask (#157) 2019-10-26 23:55:37 +02:00
Atul R
cb535e33e7
Adds support for keyboard shortcuts, systray menu and systray actions (now run nodegui apps as a service). (#156)
* Added actions and tooltips to qmenu

* Adds support for nested submenu creation

* Added supported for onclick handlers in actions

* Adds support for keyboard shortcuts

* adds enabled and shortcut context

* Adds support for shortcuts and menus

* Added support for keyboard shortcuts
2019-10-26 15:31:02 +02:00
Atul R
2541feebe7
fixes the crash on keyevent (#155) 2019-10-24 19:34:27 +02:00
Atul R
36329a44b3
Experimental menu and tests (#139)
* Adds basic tests for window and label

* Adds few test cases for QWidget

* Adds working tests setup

* Adds inital code for menus
2019-10-07 19:24:17 +02:00
Sebastián Gurín
e29c0c1814 qpixmap save() 2019-09-29 02:03:48 -03:00
Atul R
a287d9ca59 separates include headers and implementation 2019-09-21 22:53:25 +02:00