Commit Graph

90 Commits

Author SHA1 Message Date
slidinghotdog
3c36226b71 Add QBoxLayout 2019-12-03 02:02:51 -03: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
0ed44e458e
Adds fix for Qt bug where Qt fails to recognise a default font. In that case set the default font to Sans serif (#229) 2019-11-27 09:48:16 +01:00
Atul R
22c7acd74e
Methods and exports needed for Webview support (#217)
* Adds basic qurl support

* allows building with custom qt installation using the env variable

* cleans up

* cleanup
2019-11-24 23:05:53 +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
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
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
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
bd65329641
Adds linters, code formatters for both js and c++ and adds prepush hook (#178) 2019-11-08 19:30:01 +01: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
soonoo
22498953ba Adds basic support for QSystemTrayIcon 2019-09-25 01:09:09 +09:00
Atul R
a287d9ca59 separates include headers and implementation 2019-09-21 22:53:25 +02:00
Atul R
8350747af2
Merge branch 'feature/tab' into feature/QTabWidgetV2 2019-09-20 23:20:07 +02:00
Atul R
0ff2c8d2a9 Adds qclipboard 2019-09-05 19:56:53 +02:00
Paweł Borecki
9363eb04b7 Added initial support for QTabWidget 2019-09-05 07:09:37 +02:00
Paweł Borecki
fdc8d271d8 Added missing QWidget set methods and QCursor support 2019-08-31 18:42:17 +02:00
Atul
c68554c26d fix naming issues 2019-08-31 16:32:17 +02:00
Paweł Borecki
9df9421baf Support for QDial and QAbstractSlider with docs 2019-08-30 21:48:01 +02:00
Atul R
95a60496e6 Adds QAbstractScrollArea and QScrollArea 2019-08-24 12:10:20 +02:00
Paweł Borecki
0e730afbaf Added support for spinBox widget with docs 2019-08-23 23:41:27 +02:00
Atul R
ed3085f88f
Merge pull request #26 from nodegui/feature/QTextEdit
Basic usability of QPlainTextEdit component
2019-08-18 20:23:50 +02:00
Kakul Gupta
432b7701f4 Added setIcon to PushButton and IconWrap 2019-08-18 20:06:32 +02:00
rgabs
b9c3224aaf Basic usability of QPlainTextEdit component 2019-08-18 23:34:25 +05:30
Atul R
12207d3bea Fixes directory for QWidget 2019-08-12 23:10:13 +02:00
Atul R
e6eccd06a9 Added Image rendering support via qlabel and qpixmap 2019-08-03 23:35:11 +02:00
Atul R
789d28ed99 added enabled prop to widgets 2019-07-13 13:38:16 +02:00
Atul R
93608e2e75 Renamed to QKeyEvent 2019-06-23 17:56:46 +02:00
Atul R
e15d6b14ac Adds custom keyevent handler. And remove dependency on napi-thread-safe-callback 2019-06-23 17:34:54 +02:00
Atul R
c651775eca Convert flexNode to Napi::External. 2019-06-22 21:26:26 +02:00
Atul R
2aeda4a556 Adds supprt for getting flex nodes from c++ side 2019-06-06 08:20:47 +02:00
Kakul Gupta
539b343007 QLineEdit 2019-06-03 19:02:31 +02:00
Kakul Gupta
3e9a230404 Radio button 2019-06-03 18:46:46 +02:00
Kakul Gupta
f14111bc96 yolo 2019-06-03 18:22:29 +02:00
Kakul Gupta
cb0bdfa08d Added QCheckBox 2019-06-01 16:19:52 +02:00
Atul R
84a314f80c convert to absolute paths for better understanding 2019-05-27 23:10:32 +02:00
Atul R
6f8db2db1c Adds basic push button 2019-05-21 18:46:34 +02:00
Atul R
9c322da9f2 Added few basic widgets and a working kickass demo 2019-05-19 23:14:28 +02:00
Atul R
3e17864ec5 basic qt wrap 2019-05-15 18:49:12 +02:00
Atul R
13a6db4162 boilerplate 2019-05-14 20:47:30 +02:00