Commit Graph

44 Commits

Author SHA1 Message Date
feng8848
32a1b97012 Add QGroupBox (#251) 2019-12-07 18:29:17 +01:00
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
Bundyo (Kamen Bundev)
98be88f8ae Add QStackedWidget (for page style navigation) (#245)
* Add possibility to set row, col, rowSpan, colSpan in QGridLayout's addWidget
Add QStackedWidget

* Add .idea to .gitignore

* Lint fixes

* Update Yoga configuration
2019-12-04 18:57:59 +01:00
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
06a787bedf
export abstract button (#230)
* export abstract button

* bump version
2019-11-27 23:49:27 +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
Mikko Sairio
88cd9d430f Added echoMode to QLineEdit (#187) 2019-11-10 16:29:59 +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
Sebastián Gurín
e29c0c1814 qpixmap save() 2019-09-29 02:03:48 -03:00
soonoo
22498953ba Adds basic support for QSystemTrayIcon 2019-09-25 01:09:09 +09:00
Atul R
1acb9e722e Adds exports and removed automoc script as we no longer need it (as cmake handles it for us) 2019-09-21 00:11:24 +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
Atul R
4cc0ab1eef Adds bootstrap example 2019-09-11 22:30:10 +02:00
Atul R
6120679bf1 Fixes weird way of exporting textoptions 2019-09-05 20:02:42 +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
7c086fb9c7 Re orders and marks things which have been implemented in react aswell 2019-09-01 00:20:19 +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
Atul R
dcb2aa5d8b Adds abstract scroll area 2019-08-24 11:14:17 +02:00
Paweł Borecki
0e730afbaf Added support for spinBox widget with docs 2019-08-23 23:41:27 +02:00
Paweł Borecki
f8190395e3 Added all enums from QT after 'Qt Namespace' 2019-08-22 21:01:24 +02:00
Atul R
65becffd52 Adds plaintext c++ functions 2019-08-18 23:55:17 +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
49873c01e1 Moves examples to a separate repo and removes dependency on bindings node module 2019-08-17 19:28:26 +02:00
Kakul Gupta
f14111bc96 yolo 2019-06-03 18:22:29 +02:00
Atul R
6f8db2db1c Adds basic push button 2019-05-21 18:46:34 +02:00
Atul R
2eb95d7c05 Working app without issue of gc. 2019-05-21 00:31:08 +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