Added exports
This commit is contained in:
parent
fd95251c8c
commit
e2a4046a34
@ -2,7 +2,10 @@
|
||||
"name": "@nodegui/nodegui",
|
||||
"version": "1.0.0",
|
||||
"description": "A cross platform library to build native desktop apps. Based on Qt5.",
|
||||
"main": "dist/",
|
||||
"main": "dist/src/lib/index.js",
|
||||
"files": [
|
||||
"dist/src/lib"
|
||||
],
|
||||
"author": "Atul R <atulanand94@gmail.com>",
|
||||
"license": "MIT",
|
||||
"private": false,
|
||||
|
||||
18
src/lib/index.ts
Normal file
18
src/lib/index.ts
Normal file
@ -0,0 +1,18 @@
|
||||
export { QApplication } from "./QtGui/QApplication";
|
||||
export { QWidget } from "./QtGui/QWidget";
|
||||
// Abstract:
|
||||
export { NodeWidget } from "./QtGui/QWidget";
|
||||
export { NodeLayout } from "./QtWidgets/QLayout";
|
||||
// Widgets:
|
||||
export { QCheckBox } from "./QtWidgets/QCheckBox";
|
||||
export { QLabel } from "./QtWidgets/QLabel";
|
||||
export { QLineEdit } from "./QtWidgets/QLineEdit";
|
||||
export { QMainWindow } from "./QtWidgets/QMainWindow";
|
||||
export { QProgressBar } from "./QtWidgets/QProgressBar";
|
||||
export { QPushButton } from "./QtWidgets/QPushButton";
|
||||
export { QRadioButton } from "./QtWidgets/QRadioButton";
|
||||
// Layouts:
|
||||
export { QGridLayout } from "./QtWidgets/QGridLayout";
|
||||
export { FlexLayout } from "./core/FlexLayout";
|
||||
// Events : Maybe a separate module ?
|
||||
export { QKeyEvent } from "./QtGui/QEvent/QKeyEvent";
|
||||
Loading…
Reference in New Issue
Block a user