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