slidinghotdog
609e243866
Add QFont and change QAction.setFont() to accept QFont ( #309 )
...
* Add QFont and change QAction.setFont() to accept QFont
* fix constructor
* fix .fromQVariant()
2019-12-29 09:55:33 +05:30
Atul R
20cf4cc080
Cleans up (fixes build errors) ( #310 )
2019-12-29 09:37:05 +05:30
Atul R
392aa3cd4c
Adds automatic docs for now ( #308 )
...
* adds basic typedoc
* backup
* Adds all docs to source code
* Adds autogenerated docs
* Fixes doc links
* Updates docs
2019-12-29 00:42:06 +05:30
slidinghotdog
96e7799988
add font to QAction ( #307 )
...
* add font to QAction
* lint
2019-12-29 00:04:10 +05:30
Atul R
649db6688a
Changes to QOBJECT from eventwidget ( #304 )
2019-12-26 19:43:26 +05:30
Atul R
d1e5d499fb
Inherit implemented Qt signals from base classes ( #290 )
...
* Adds abstract signals
* basic layout and filedialogs
* Adds all remaining signal heirarchies
* fix lint
2019-12-23 01:26:02 +05:30
Atul R
42e92ecbff
Adds Signals inheritance ( #288 )
...
* Inherit signals
* export signals
* Fix Qvariant build
* Adds Abstract button signals
* added more test cases
2019-12-20 23:48:53 +05:30
Atul R
01a6476f9c
Separate events and signals ( #287 )
...
* Wip
* Improve constructor typings
* Fixes types for Gui and Core
* QtGui
* Remove unnecessary imports and fix types on abstract classes
* Adds half of qwidgets
* Add all widgets
* cleans up
* fix failing test
* lint fix
* fix demo
2019-12-20 18:33:05 +05:30
slidinghotdog
d238f4f3e8
Add insertWidget to QBoxLayout and stretch arg ( #286 )
...
* sync upstream
* Add insertWidget to QBoxLayout and stretch arg
2019-12-20 18:20:32 +05:30
Atul R
8793f172e3
Cleanup and bump version ( #285 )
...
* Cleans up and bumps version
* Change to npm blacklist
* geometry now returns QRect
2019-12-19 23:10:32 +05:30
Atul R
4f41d3b12f
Cleanup and adds QColor, QPoint methods and test cases ( #284 )
...
* add more methods to qcolor, qpoint and add test cases and lint
* fix lint
2019-12-19 22:01:50 +05:30
mspencer92
43d4ad7218
QPainter ( #279 )
...
* QPainter
* QPainter
* QPoint
drawConvexPolygon for QPainter
* QPoint
drawConvexPolygon for QPainter
* Added in QColor and expanded on the demo.
* Added some functions to QPainter and expanded on the demo.
* Expanded on the demo.
* Update package.json
* Update qcolor_wrap.h
2019-12-19 20:05:26 +05:30
Atul R
80209ba155
Adds automatic alpha release for master branch ( #281 )
...
Adds auto alpha release on master commit
2019-12-19 03:06:54 +05:30
Atul R
4a88933eb2
wip ( #280 )
2019-12-18 20:01:28 +05:30
Atul R
c90b2cb3ce
QTreeWidget PR ( #277 )
...
* Added the beginning of QTreeWidget and QTreeWidgetItem
* Fixed garbage collection
* Fixed garbage collection
* Rewrote the constructor for QTreeWidgetItem
* Code cleanup
* Fixed up the QTreeWidgetItem constructor to accept only a string list of columns. Code cleanup
* Add setHeaderHidden to QTreeWidget
* Started adding signals to QTreeWidget
* Started adding signals to QTreeWidget
* Started adding signals to QTreeWidget
* Added TreeWidget back to main.cpp
* Added more functions to QTreeWidgetItem and QPlainTextEdit
* linting and cleanup
* parenting fix
* Fixes garbage collection for treewidget items
2019-12-18 17:36:44 +05:30
Atul R
7d33f25040
Adds itemData and icon and bulk clear to combobox ( #276 )
2019-12-17 23:59:28 +05:30
Maksim Karelov
47ea1861da
Pass transformationMode to scaled method ( #269 )
2019-12-16 20:53:18 +05:30
Atul R
a593c53116
Throttle flex layout calculation calls to improve performance ( #268 )
...
* Throttling multiple calls to setGeometry
* Lint
2019-12-15 23:36:04 +05:30
feng8848
6c92f02edd
Add QToolButton Mainly ( #265 )
2019-12-15 21:19:01 +05:30
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
Atul R
9aa53ea118
cleanup demo.ts
2019-12-12 19:38:42 +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
Maksim Karelov
9cb47c7d8a
Add stack-related methods to QWidget ( #262 )
...
- `activateWindow`
- `raise`
- `lower`
2019-12-12 14:27:21 +05:30
Maksim Karelov
16b9bc5585
Add signals to QSystemTrayIcon ( #258 )
...
* Add signals to QSystemTrayIcon
- `activated(QSystemTrayIcon::ActivationReason reason)`
- `messageClicked()`
* Fix `QSystemTrayIconActivationReason` export
2019-12-11 13:12:04 +05:30
slidinghotdog
4703dd4d27
Add QFileDialog ( #256 )
...
* Add QFileDialog
* fix missing return types
2019-12-09 20:11:00 +01:00
Atul R
d79ba0620d
bugifx: layout insertion and qvariant ( #255 )
2019-12-08 22:33:27 +01:00
Atul R
f8c9557166
Feature/bug fixes ( #254 )
...
* cleanup
* Check for preventing double addition due to the way reconciler works
* set scrollarea as resizeable by default
2019-12-08 20:55:13 +01:00
slidinghotdog
a3aa6ea44a
add addItems() and insertItems() to QComboBox ( #253 )
2019-12-08 19:25:59 +01:00
Atul R
14ea41b1d9
fix lint
2019-12-07 18:51:07 +01:00
Atul R
8039e6b09a
cleans up demo file and fixes qgroupbox
2019-12-07 18:49:42 +01:00
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
Atul R
b0c9bca53a
bumps nodegui to 0.8.0 and fix tabwidget layout issue ( #248 )
...
* bumps nodegui to 0.8.0
* Fixes a size issue with tabWidgets
* Fixes tabwidget not stretching
* change to nodewidget
2019-12-04 20:19:39 +01:00
Atul R
352e0ee84a
Bugfix/layout ( #247 )
...
* Adds a bit more performance fix for qlayout
* remove linter warning
2019-12-04 19:58:17 +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
Atul R
8cf93ec241
Add QBoxLayout ( #239 )
...
* Add QBoxLayout
* remove unused imports from demo
* add layout prop to QBoxLayout
2019-12-04 10:54:30 +01:00
slidinghotdog
164e54c608
change layout prop to childLayout
2019-12-03 21:28:30 -03:00
Atul R
c691d6a8d5
reverting demo ( #242 )
2019-12-04 00:30:36 +01:00
Atul R
bae4776747
Fixes dynamic layout sizes after widget show ( #241 )
...
* handles most cases
* Works with every edge case
Works similar to QGridLayout
* performance fix
* Adds calculate to sizehint
2019-12-04 00:21:47 +01:00
slidinghotdog
f94f418947
add layout prop to QBoxLayout
2019-12-03 13:38:00 -03:00
slidinghotdog
b33345bc92
remove unused imports from demo
2019-12-03 02:05:01 -03: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
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
3a404d24a1
Bugfix: inline stylesheet ( #228 )
...
* Bugfix: inline stylesheet
* bump version
2019-11-26 20:29:23 +01:00
Atul R
6d13aa448f
remove unnecessary debug logs ( #227 )
2019-11-26 19:54:48 +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
2b2d83d0a6
Mainwindow takeCentralWidget ( #225 )
...
* Adds takeCentralWidget to qmainwindow
* lint fix
* bump version to 0.6.7
2019-11-26 01:00:53 +01:00
Atul R
1a02ded4be
Fixes flexlayout calculations ( #223 )
2019-11-25 23:25:47 +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
Atul R
6ac7303e16
Adds automatic test and linting on pull requests for nodegui ( #215 )
...
* adds test action
* make c++11 mandatory
* fix
* fix
* fix broken tests in windows
* upgrade qode to 1.0.6
* Fixes recursive hell for layouts
* adds cross env for windows
* change to pull request
2019-11-22 23:43:54 +01:00
Atul R
1132d5f0a7
remove defaulting to web config ( #213 )
2019-11-22 19:34:38 +01:00
Atul R
cce917681f
Bug fixes: Flexlayout. Fixes layout issues ( #211 )
...
* bump version
* Fixes size control for the flex layout
* Bumps version
2019-11-22 00:02:49 +01:00
Atul R
ab9b080fbd
quick fix for layout ( #209 )
2019-11-19 02:30:03 +01:00
Atul R
dfdb1907c7
Adds size test for radiobutton and checkbox ( #207 )
2019-11-19 01:31:22 +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
11ff1be321
Fixes sizepolicies for FlexLayout. ( #205 )
...
* update package.lock
* Fixes the flexlayout to follow sizehints by yoga.
* fix lint
2019-11-19 00:07:18 +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
Atul R
9e667c7a86
Adds qobject props to all layouts ( #196 )
2019-11-12 20:49:35 +01:00
Atul R
68c910d107
Fixes critical memory leak ( #195 )
2019-11-12 00:43:45 +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
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
87886aeec9
fix clang-format warning ( #183 )
2019-11-09 00:07:55 +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
3c57b550df
Bump yoga to 1.18.0 and typescript to 3.7.2 ( #181 )
...
* Updates yoga to v1.18.0
* Testing the flex layout a bit
2019-11-08 21:10:02 +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
282875d4f7
fix link
2019-11-03 20:08:10 +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
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 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
bc05bce077
Changes tray icon to white colored nodegui logo
2019-09-25 12:20:49 +09: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
e87485441e
Adds include and linkings for plugins
2019-09-22 14:24:46 +02:00
Atul R
15a48e6723
cleanup
2019-09-21 23:26:58 +02:00
Atul R
a287d9ca59
separates include headers and implementation
2019-09-21 22:53:25 +02: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
12b08baed9
Cleans up addon import
2019-09-21 00:05:46 +02:00
Atul R
495071089a
move ntabwidget over to cmake
2019-09-20 23:45:11 +02:00
Atul R
5e6dd2ad46
rename qtnode to nodegui_core
2019-09-20 23:42:03 +02:00
Atul R
f593a34cf1
Working automatic moc
2019-09-20 23:42:03 +02:00
Atul R
c8d957ef5f
cleanup demo.ts a tiny bit
2019-09-20 23:33:57 +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
fbb2b12d85
Fix mode arg
2019-09-17 14:58:16 +08:00
Balthild
ec5c560ca1
Fix code format
2019-09-17 11:37:36 +08:00
Balthild
ec82a760ed
Converting QIcon ot QPixmap
2019-09-17 11:34:08 +08:00
Roy Sommer
34753e7c80
updated imports in demo
2019-09-12 11:51:40 +03: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
317bca6c2e
cleanup
2019-09-07 19:12:17 +02:00
Atul R
e5a5425f0b
brings back nwidget
2019-09-07 11:28:44 +02:00
Atul R
bf1aecfa8b
fixes all flex layout issues
2019-09-07 08:12:41 +02:00
Atul R
3b72f4d949
adds return type
2019-09-05 20:28:28 +02:00
Atul R
34fc9c5621
Adds clipboard demo
2019-09-05 20:26:02 +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
8ea076d500
more duplicates removed
2019-09-03 22:51:41 +02:00
Atul R
625eb229c9
removed extra import
2019-09-03 22:47:06 +02:00
Atul R
40f3deff4d
removes extra
2019-09-03 22:45:51 +02:00
Atul R
9467e46962
convert all references of using raw pointers to unique ptrs for better memory management
2019-09-03 22:44:16 +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
Atul
c68554c26d
fix naming issues
2019-08-31 16:32:17 +02:00
Paweł Borecki
e85ebedb57
Update qdial_wrap.cpp
2019-08-30 23:47:19 +02:00
Paweł Borecki
6cbb433aaa
Minor fixes for copied code and demo content
2019-08-30 22:02:20 +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
Atul R
6d3e436070
Merge pull request #55 from Uriziel01/feature/SetWindowTitle
...
Added setWindowTitle widget method with docs
2019-08-24 00:34:17 +02:00
Paweł Borecki
9ee9dcd09a
Added setWindowTitle widget method with docs
2019-08-23 23:55:34 +02:00
Paweł Borecki
0e730afbaf
Added support for spinBox widget with docs
2019-08-23 23:41:27 +02:00
Atul R
038d567a59
Merge pull request #50 from Uriziel01/feature/WidgetMoveAndPosition
...
widget move and position capabilities
2019-08-22 21:54:05 +02:00
Paweł Borecki
a6d8012a8e
Added move/get position widget capability
2019-08-22 21:30:05 +02:00
Atul R
4645ff5f58
Merge pull request #49 from Uriziel01/feature/Enums
...
Added all enums from QT fetched from 'Qt Namespace'
2019-08-22 21:19:27 +02:00
Paweł Borecki
f8190395e3
Added all enums from QT after 'Qt Namespace'
2019-08-22 21:01:24 +02:00
rgabs
58e425fd62
Support clear method in QPlainTextEdit
2019-08-23 00:07:45 +05:30
Paweł Borecki
0ac5a78031
Added export for Orientation enum
2019-08-22 09:42:05 +02:00
Paweł Borecki
a05181a2e3
Fixed indentation symbols consistency
2019-08-22 04:35:01 +02:00
Paweł Borecki
6d64f7ae15
Added orientation support for QProgressBar
2019-08-22 04:13:43 +02:00
Atul
95818b078e
cleans up more handlers
2019-08-20 19:42:44 +02:00
master-atul
1af5d8bf68
Fixed QPaint error
2019-08-20 16:56:00 +02:00
Atul R
b11f32aa4c
adds clear to linedit
2019-08-20 18:09:44 +02:00
rgabs
5d57cb9e7e
Remove unused value from textChanged event listener in plaintextedit
2019-08-20 01:44:50 +05:30
rgabs
bcb6b8b3be
Rename plaintext to toPlainText and add docs
2019-08-20 01:41:50 +05:30
rgabs
8c936b46da
Change implementation to make it similar to qt usage
2019-08-20 01:29:21 +05:30
rgabs
0151246d95
Add textChange event for QPlainTextEdit
2019-08-20 00:47:14 +05:30
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
5ca694639f
Added setFlat for QPushButton widget
2019-08-17 16:25:51 +02:00
rgabs
151d9842c1
Add QLineEdit.setReadOnly method
2019-08-17 00:43:01 +05:30
Atul R
fd100b6c54
removed napi in extra utils
2019-08-14 08:39:49 +02:00
Atul R
12207d3bea
Fixes directory for QWidget
2019-08-12 23:10:13 +02:00
Atul R
69a4897ce3
Adds progress bar value, max, min
2019-08-12 22:46:23 +02:00
Atul R
493a61de1b
Adds QApplication methods
2019-08-11 20:39:17 +02:00
Atul R
a5b0bbcb28
Adds window flags and attributes
2019-08-10 22:15:41 +02:00
Atul R
4f9e27d36a
Adds inline styling support and other native methods
2019-08-10 11:21:36 +02:00
Atul R
c3de181e32
Namespaced all yoga properties on qt properties to avoid name collision
2019-08-09 19:24:19 +02:00
Atul R
26fd58d8d1
Adds basic stylesheet autoprefixer
2019-08-07 23:50:27 +02:00
Atul R
3b8794f5e2
Adds update geometry
2019-08-07 21:22:23 +02:00
Atul R
df7a0ab565
Adds common layout methods and adds basic react docs
2019-08-07 20:05:38 +02:00
Atul R
b0df94bdf7
Adds qlineedit methods and properties
2019-08-04 20:32:18 +02:00
Atul R
942c96e546
Adds scalable image via aspect ratio setting
2019-08-04 11:52:02 +02:00
Atul R
3694215fcb
Adds type = native property to all wrapped elements in the nodegui world. Also fixes scaled QPixmap
2019-08-04 08:49:33 +02:00
Atul R
401b99dc85
Added scaled pixmap
2019-08-04 07:17:05 +02:00
Atul R
c14cf72504
Added getter property for pixmap and text for label
2019-08-03 23:48:40 +02:00
Atul R
e6eccd06a9
Added Image rendering support via qlabel and qpixmap
2019-08-03 23:35:11 +02:00
Atul R
839c4ae223
Adds flex layout documentation
2019-08-02 23:36:13 +02:00
Atul R
255d0eef91
Adds documentation for all internal widgets.
2019-08-02 22:46:03 +02:00
Atul R
55ee7b2bee
Adds base boilerplates similar to that of Electron
2019-07-29 23:31:03 +02:00
master-atul
a3112f5b48
Fixes yogalayout in windows and code cleanup
2019-07-24 23:47:02 +02:00
Atul R
ad438780e9
Added more exports
2019-07-14 14:10:31 +02:00
Atul R
22178c074a
maxSize,minSize,repaint,update
2019-07-14 13:00:47 +02:00
Atul R
85af0c209a
Fix for setLayout on mainwindow
2019-07-14 00:41:52 +02:00
Atul R
63685c88c4
Corrects setLayout and layout when central widget is set on QMainWindow
2019-07-14 00:12:11 +02:00
Atul R
789d28ed99
added enabled prop to widgets
2019-07-13 13:38:16 +02:00
Atul R
b8b3dd53e7
add set text on radio button
2019-07-12 20:25:15 +02:00
Atul R
275c4b2d64
Adds measuremode to leafnode widgets
2019-07-11 23:40:42 +02:00
Atul R
68cb6515ab
remove unnecessary log
2019-07-11 20:26:51 +02:00
Atul R
f9841c6ad6
Adds mouse tracking and fixes events for QWidget
2019-07-11 20:24:19 +02:00
Atul R
790fec5fd6
adds removeEventListener and cleanup
2019-07-11 00:29:55 +02:00
Atul R
3fed29d6fe
Adds insertbefore method on flex layout
2019-07-10 00:08:39 +02:00
Atul R
687fcc1052
remove widget from layout
2019-07-09 21:22:09 +02:00
Atul R
b47b2144a0
Bugfix: NWidget can now be painted using qstylesheet
2019-06-28 23:19:50 +02:00
Atul R
fcb2bdccee
Makes flexNode optional in addWidget
2019-06-27 23:13:12 +02:00
Atul R
e2a4046a34
Added exports
2019-06-27 19:21:09 +02:00
Atul R
fd95251c8c
Adds calculator key board listener
2019-06-23 18:26:05 +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
ba409c8c14
Adds more type helpers
2019-06-22 21:36:24 +02:00
Atul R
c651775eca
Convert flexNode to Napi::External.
2019-06-22 21:26:26 +02:00
Atul R
1bdf06c4c4
Added native event payload on the event listener
2019-06-22 20:00:44 +02:00
master-atul
9f6ecc19dc
Fixes windows build for addon
2019-06-21 18:49:04 +02:00
Atul
a39165a659
revert to latest spec
2019-06-19 00:31:01 +02:00
Atul
0beebabd10
fix linux issues
2019-06-19 00:27:24 +02:00
Atul R
92a705b663
cleaned up readme
2019-06-16 16:57:44 +02:00
Atul R
085c05dd85
Organised code so that its easier to modify all widgets at once.
2019-06-16 15:55:17 +02:00
Atul R
e77ee16c6e
Single api for events and signals on JS side
2019-06-15 23:59:42 +02:00
Atul R
3d08908f9a
Added event listener to all widgets
2019-06-15 23:43:11 +02:00
Atul R
229ecddeb1
events support
2019-06-15 18:29:16 +02:00
Atul R
3fe22cdc12
not needed to include yogawidget macro separately.
2019-06-12 20:24:57 +02:00
Atul R
7a39ee0fd3
Fixes resize needed for layout issue.
2019-06-12 00:45:23 +02:00
Atul R
ab6ced2bfd
Updated calculator UI and added setObjectName
2019-06-10 19:30:49 +02:00
Atul R
3b4ec63771
adds web defaults for flex layout and int cleanups
2019-06-09 23:43:17 +02:00
Atul R
a2bbc24f3d
Added more logging
2019-06-09 21:53:26 +02:00
Atul R
001d83b860
changed to class properties instead. Added calculator base example starting
2019-06-09 21:05:02 +02:00
Atul R
695d1df039
Adds text measuring support for button and label
2019-06-09 20:36:44 +02:00
Atul R
ac0a544565
Adds size methods to qmainwindow and setText accepts number
2019-06-09 08:46:01 +02:00
Atul R
5fccc207f7
Adds Yoga props to all widgets
2019-06-09 08:08:03 +02:00
Atul R
44a88390fe
Changing to setSignalListener since signals and events mean different things in qt. So changing it to match it
2019-06-08 20:58:46 +02:00
rgabs
d9237d65e5
Added getter method for label widget
2019-06-09 00:04:37 +05:30
Atul R
e835a8be86
Cleanup
2019-06-08 18:30:30 +02:00
Atul R
6ddc6167e2
Abstracted away the logic for event listeners from JS side
2019-06-08 18:14:19 +02:00
Atul R
d0ef8472a3
Adds all button event listeners
2019-06-08 17:41:23 +02:00
Atul R
120e45f583
cleanest implementation for now. No dependency on main widget class
2019-06-08 14:26:01 +02:00
Atul R
8883ff1e91
Best implementation for now
2019-06-08 14:09:54 +02:00
Atul R
092e44fbb6
Fixes non destructing widgets on close
2019-06-08 11:25:48 +02:00
Atul R
f5b962f65b
change to unique ptr still works -> but i beleive we have a memory leak now.
2019-06-08 10:01:28 +02:00
Atul R
383186a102
Working events !!
2019-06-08 09:29:49 +02:00
Atul R
3e69096544
Fixes crash on close issue
2019-06-08 00:08:21 +02:00
Atul R
5987ef7eca
Added automoc
2019-06-07 21:41:08 +02:00
Atul R
98494f50d6
added yoga properties to all widgets
2019-06-07 20:13:09 +02:00
Atul R
37bafaa64d
Fixes segmentation fault due to garbage collection of flex nodes
2019-06-06 18:40:52 +02:00
Atul R
c674bcd275
changed to spdlog
2019-06-06 17:00:17 +02:00
Atul R
74b87d9c52
convert some logs to spdlog
2019-06-06 16:51:24 +02:00
Atul R
99b73ed46d
fix todos and cleanup names
2019-06-06 16:15:15 +02:00
Atul R
eaa9c55390
MOC is working with macros now.
2019-06-06 15:13:24 +02:00
Atul R
9657c3f792
Working flex model
2019-06-06 14:26:19 +02:00
Atul R
599290bf97
fix for uncaught exception
2019-06-06 13:47:07 +02:00
Atul R
feef6c13b9
reduced no of files by optimising moc generation
2019-06-06 12:29:20 +02:00
Atul R
0d10ad8215
Fix minor heirarchy bugs
2019-06-06 12:13:24 +02:00
Atul R
201ab3657f
Fix layout heirarchy
2019-06-06 11:50:49 +02:00
Atul R
f9a209f34a
All layouts inherit from qlayout on js side.
2019-06-06 11:34:06 +02:00
Atul R
0ea9675005
Adds test flow for yoga widgets
2019-06-06 10:00:04 +02:00
Atul R
bd246c77ee
Adds yoga widget macro and nwidget
2019-06-06 09:18:39 +02:00
Atul R
3b673b2ba3
Added more dev docs
2019-06-06 08:47:20 +02:00
Atul R
e757f38eb5
removed unnecessary code and cleans up Flexlayout
2019-06-06 08:42:26 +02:00
Atul R
2aeda4a556
Adds supprt for getting flex nodes from c++ side
2019-06-06 08:20:47 +02:00
Atul R
34ba68be5a
Added checks to make it more resilient
2019-06-05 22:54:16 +02:00
Atul R
26cbc465f0
Adds all yoga stylesheet props to qlabel
2019-06-03 19:10:41 +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
5d0fe00795
Renamed back
2019-06-03 18:24:50 +02:00
Kakul Gupta
9452f1b9d0
Rename
2019-06-03 18:24:50 +02:00
Kakul Gupta
f14111bc96
yolo
2019-06-03 18:22:29 +02:00
Atul R
8486f40a99
Added YogaWidget : Adds stylesheet support for all yoga related stuff.
...
Added guards for the macros.
2019-06-03 07:36:25 +02:00
Kakul Gupta
cb0bdfa08d
Added QCheckBox
2019-06-01 16:19:52 +02:00
Atul R
e2686afff2
Added hide to all widgets
2019-05-27 23:18:47 +02:00
Atul R
84a314f80c
convert to absolute paths for better understanding
2019-05-27 23:10:32 +02:00
Atul R
29cab9d42a
Remove partial event listener code.
2019-05-27 23:03:48 +02:00
Atul R
82552a0fc8
Now all js widgets have access to all methods of nodewidget(qwidget)
2019-05-27 23:00:13 +02:00
Atul R
8fccb3847e
Now all widgets gets all public methods of QWidget
2019-05-27 21:40:32 +02:00
Atul R
8459fc47fe
Adds custom flex layout manager based on yoga
2019-05-26 20:25:45 +02:00
Atul R
ccab853936
adds bindings
2019-05-21 22:30:10 +02:00
Atul R
4ab352dfec
renamed again
2019-05-21 21:06:13 +02:00
Atul R
40e8a0a743
refactored a bit and changed name
2019-05-21 20:55:49 +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
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