Commit Graph

134 Commits

Author SHA1 Message Date
Atul R
e3667c0bbd
Adds QSize and few more test cases for pixmap, qsize and qvariant (#194)
* Adds qsize, qvariant adn qpixmap testcases

* lint
2019-11-11 22:51:15 +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
Mikko Sairio
88cd9d430f Added echoMode to QLineEdit (#187) 2019-11-10 16:29:59 +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
95cdcb37be
Adds QObject exports (#184)
* Adds QObject wrapper

* disable source map in the dist since its of no use

* rename to nodeobject

* Adds qobject setProperty and auto conversion of napi to qvariant (mvp version)

* fix

* moved qobject methods to qobject from qwidget

* added qobject test cases
2019-11-10 01:04:37 +01:00
Atul R
6035b5d038
Re arrange folders to make more sense (#180)
* Re-arranged qtgui and core

* Re arranges qt widgets
2019-11-08 20:33:17 +01:00
Atul R
f56bf965ee
Fixes warnings in eslint (#179) 2019-11-08 20:03:50 +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
ca2977f3e3 Added a center method on QMainWindow (#175)
Closes #134
2019-11-03 20:11:04 +01:00
Atul R
20a23cb8ba Adds few methods to scroll area and qlabel 2019-11-03 20:06:42 +01:00
Dimitar Nestorov
242abf9079 Renaming children to nodeChildren
Renaming `parent` to `nodeParent`
2019-11-03 20:28:14 +02:00
Dimitar Nestorov
0c4fabfa85 Added isSeparator and setSeparator to QAction 2019-11-01 21:59:09 +02:00
Dimitar Nestorov
576ba1ace6 Implemented QAction checkable and checked (#159) 2019-10-27 10:41:16 +01:00
Dimitar Nestorov
bd1c334722 Added QIcon isMask and setIsMask (#157) 2019-10-26 23:55:37 +02:00
Atul R
a9a1535a12 Adds menubar, menu, systemtrayicon, shortcut and action docs 2019-10-26 22:21:17 +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
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 Gurin
4d617c9321 inherits (#125) 2019-09-30 21:33:30 +02:00
Sebastián Gurín
e29c0c1814 qpixmap save() 2019-09-29 02:03:48 -03:00
soonoo
c284558886 Changes QSystemTrayIcon to inherit EventWidget instead of NodeWidget 2019-09-25 12:18:57 +09:00
soonoo
22498953ba Adds basic support for QSystemTrayIcon 2019-09-25 01:09:09 +09:00
Atul R
15a48e6723 cleanup 2019-09-21 23:26:58 +02:00
Atul R
12b08baed9 Cleans up addon import 2019-09-21 00:05:46 +02:00
Atul R
5e6dd2ad46 rename qtnode to nodegui_core 2019-09-20 23:42:03 +02:00
Atul R
8350747af2
Merge branch 'feature/tab' into feature/QTabWidgetV2 2019-09-20 23:20:07 +02:00
Atul R
2bcbb38778 Adds documentation and exports 2019-09-20 23:18:02 +02:00
Balthild
ec82a760ed Converting QIcon ot QPixmap 2019-09-17 11:34:08 +08:00
Roy Sommer
0444c087e4 added support for QCheckBoxEvents.toggled 2019-09-12 11:47:40 +03:00
Atul R
e372f750bd updated annotations 2019-09-11 23:05:54 +02:00
Atul R
4cc0ab1eef Adds bootstrap example 2019-09-11 22:30:10 +02:00
Atul R
4499bf05a7 Adds take widget for scrollarea and adds geometry getter for widgets 2019-09-10 00:06:23 +02:00
soonoo
07a2da0278 add setPlaceholderText for QPlainTextEdit 2019-09-09 18:44:01 +09:00
Atul R
3b72f4d949 adds return type 2019-09-05 20:28:28 +02:00
Atul R
6120679bf1 Fixes weird way of exporting textoptions 2019-09-05 20:02:42 +02:00
Atul R
97f4fdca28 Adds QClipboard docs 2019-09-05 19:56:53 +02:00
Atul R
0ff2c8d2a9 Adds qclipboard 2019-09-05 19:56:53 +02:00
Atul R
6926bf940a Adds plain text edit methods and signals 2019-09-05 10:44:19 +02:00
Paweł Borecki
9363eb04b7 Added initial support for QTabWidget 2019-09-05 07:09:37 +02:00
Atul R
8703207b56 Adds gridlayout removeWidget 2019-09-03 23:39:47 +02:00
Atul R
22496e77a8 prevents double removal of a widget 2019-09-02 23:33:56 +02:00
Atul R
7c086fb9c7 Re orders and marks things which have been implemented in react aswell 2019-09-01 00:20:19 +02:00
Atul R
09f4d17dfa Marked all exiting widgets 2019-08-31 23:45:42 +02:00
Atul R
803833808d re-order methods to match that of react proptypes. Also add comments to show which ones have been exported already. 2019-08-31 23:06:52 +02:00
Paweł Borecki
fdc8d271d8 Added missing QWidget set methods and QCursor support 2019-08-31 18:42:17 +02:00
Paweł Borecki
9df9421baf Support for QDial and QAbstractSlider with docs 2019-08-30 21:48:01 +02:00
James Hibbard
28b0b6c90d Adds readOnly prop to QPlainTextEdit 2019-08-27 00:21:59 +02:00
Atul R
05c67d7882 adds checkbox check prop 2019-08-26 17:23:51 +02:00
Atul R
95a60496e6 Adds QAbstractScrollArea and QScrollArea 2019-08-24 12:10:20 +02:00
Atul R
dcb2aa5d8b Adds abstract scroll area 2019-08-24 11:14:17 +02:00