From 730caa3436371dcd35457d9464131fe5f38f183d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kr=C3=B6hnke?= Date: Thu, 7 Jul 2022 12:12:03 +0200 Subject: [PATCH 1/7] Fix `react` conflicting peer dependency with `react-reconciler` (#365) Reverting back to `react@^16.x.x`. `react-reconciler` should be updated separately so that it can safely be used with `react@17.x.x`. When installing `react-nodegui` as a dependency. It will yield a warning: ``` npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: react-reconciler@0.25.1 npm WARN Found: react@17.0.2 npm WARN node_modules/react npm WARN react@"^17.0.2" from the root project npm WARN 1 more (@nodegui/react-nodegui) npm WARN npm WARN Could not resolve dependency: npm WARN peer react@"^16.13.1" from react-reconciler@0.25.1 npm WARN node_modules/react-reconciler npm WARN react-reconciler@"^0.25.1" from @nodegui/react-nodegui@0.13.0 npm WARN node_modules/@nodegui/react-nodegui npm WARN npm WARN Conflicting peer dependency: react@16.14.0 npm WARN node_modules/react npm WARN peer react@"^16.13.1" from react-reconciler@0.25.1 npm WARN node_modules/react-reconciler npm WARN react-reconciler@"^0.25.1" from @nodegui/react-nodegui@0.13.0 npm WARN node_modules/@nodegui/react-nodegui ``` --- package.json | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 46c0ac6..5ffe7d7 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "docs": "typedoc && node ./website/docs/scripts/fixdocs.js" }, "dependencies": { - "@nodegui/nodegui": "^0.36.0", + "@nodegui/nodegui": "^0.40.1", "@types/react-reconciler": "^0.18.0", "phin": "3.5.1", "react-deep-force-update": "^2.1.3", @@ -28,14 +28,15 @@ "react-reconciler": "^0.25.1" }, "peerDependencies": { - "react": "^17.0.2" + "react": "^16.14.0" }, "devDependencies": { - "@types/node": "^16.6.1", + "@types/node": "^16.11.0", + "@types/react": "^16.14.0", "prettier": "^2.3.2", - "react": "^16.13.1", + "react": "^16.14.0", "typedoc": "^0.17.8", "typedoc-plugin-markdown": "^2.4.2", - "typescript": "^4.3.5" + "typescript": "^4.4.4" } } From 2e6ac237e46d27bc01598a9616720d6df2094980 Mon Sep 17 00:00:00 2001 From: public_yusuke <30387586+private-yusuke@users.noreply.github.com> Date: Thu, 7 Jul 2022 19:12:42 +0900 Subject: [PATCH 2/7] Add `Calendar` using `QCalendarWidget` (#372) --- src/components/Calendar/RNCalendar.ts | 114 ++++++++++++++++++++++++++ src/components/Calendar/index.ts | 91 ++++++++++++++++++++ src/index.ts | 3 +- 3 files changed, 207 insertions(+), 1 deletion(-) create mode 100644 src/components/Calendar/RNCalendar.ts create mode 100644 src/components/Calendar/index.ts diff --git a/src/components/Calendar/RNCalendar.ts b/src/components/Calendar/RNCalendar.ts new file mode 100644 index 0000000..ecf4b8f --- /dev/null +++ b/src/components/Calendar/RNCalendar.ts @@ -0,0 +1,114 @@ +import { + Component, + DayOfWeek, + QCalendarWidget, + QCalendarWidgetSignals, + QFont, +} from "@nodegui/nodegui"; +import { + HorizontalHeaderFormat, + SelectionMode, + VerticalHeaderFormat, +} from "@nodegui/nodegui/dist/lib/QtWidgets/QCalendarWidget"; +import { throwUnsupported } from "../../utils/helpers"; +import { RNComponent } from "../config"; +import { setViewProps, ViewProps } from "../View/RNView"; + +export interface CalendarProps extends ViewProps { + /** + * Sets the time an inactive date edit is shown before its contents are accepted. [QCalendarWidget: setDateEditAcceptDelay](https://docs.nodegui.org/docs/api/generated/classes/qcalendarwidget#setdateeditacceptdelay) + */ + dateEditAcceptDelay?: number; + /** + * Sets whether the date edit popup is enabled. [QCalendarWidget: setDateEditEnabled](https://docs.nodegui.org/docs/api/generated/classes/qcalendarwidget#setdateeditenabled) + */ + dateEditEnabled?: boolean; + /** + * Sets a value identifying the day displayed in the first column. [QCalendarWidget: setFirstDayOfWeek](https://docs.nodegui.org/docs/api/generated/classes/qcalendarwidget#setfirstdayofweek) + */ + firstDayOfWeek?: DayOfWeek; + /** + * Sets a font for the action. [QCalendarWidget: setFont](https://docs.nodegui.org/docs/api/generated/classes/qcalendarwidget#setfont) + */ + font?: QFont; + /** + * Sets whether the table grid is displayed. [QCalendarWidget: setGridVisible](https://docs.nodegui.org/docs/api/generated/classes/qcalendarwidget#setgridvisible) + */ + gridVisible?: boolean; + /** + * Sets the format of the horizontal header. [QCalendarWidget: setHorizontalHeaderFormat](https://docs.nodegui.org/docs/api/generated/classes/qcalendarwidget#sethorizontalheaderformat) + */ + horizontalHeaderFormat?: HorizontalHeaderFormat; + /** + * Sets whether the navigation bar is shown or not. [QCalendarWidget: setNavigationBarVisible](https://docs.nodegui.org/docs/api/generated/classes/qcalendarwidget#setnavigationbarvisible) + */ + navigationBarVisible?: boolean; + /** + * Sets the type of selection the user can make in the calendar. [QCalendarWidget: setSelectionMode](https://docs.nodegui.org/docs/api/generated/classes/qcalendarwidget#setselectionmode) + */ + selectionMode?: SelectionMode; + /** + * Sets the format of the vertical header. [QCalendarWidget: setVerticalHeaderFormat](https://docs.nodegui.org/docs/api/generated/classes/qcalendarwidget#setverticalheaderformat) + */ + verticalHeaderFormat?: VerticalHeaderFormat; +} + +const setCalendarProps = ( + widget: RNCalendar, + newProps: CalendarProps, + oldProps: CalendarProps +) => { + const setter: CalendarProps = { + set dateEditAcceptDelay(delay: number) { + widget.setDateEditAcceptDelay(delay); + }, + set dateEditEnabled(enable: boolean) { + widget.setDateEditEnabled(enable); + }, + set firstDayOfWeek(dayOfWeek: DayOfWeek) { + widget.setFirstDayOfWeek(dayOfWeek); + }, + set font(font: QFont) { + widget.setFont(font); + }, + set gridVisible(show: boolean) { + widget.setGridVisible(show); + }, + set horizontalHeaderFormat(format: HorizontalHeaderFormat) { + widget.setHorizontalHeaderFormat(format); + }, + set navigationBarVisible(visible: boolean) { + widget.setNavigationBarVisible(visible); + }, + set selectionMode(mode: SelectionMode) { + widget.setSelectionMode(mode); + }, + set verticalHeaderFormat(format: VerticalHeaderFormat) { + widget.setVerticalHeaderFormat(format); + }, + }; + Object.assign(setter, newProps); + setViewProps(widget, newProps, oldProps); +}; + +/** + * @ignore + */ +export class RNCalendar extends QCalendarWidget implements RNComponent { + setProps(newProps: CalendarProps, oldProps: CalendarProps): void { + setCalendarProps(this, newProps, oldProps); + } + appendInitialChild(child: Component): void { + throwUnsupported(this); + } + appendChild(child: Component): void { + throwUnsupported(this); + } + insertBefore(child: Component, beforeChild: Component): void { + throwUnsupported(this); + } + removeChild(child: Component): void { + throwUnsupported(this); + } + static tagName = "calendar"; +} diff --git a/src/components/Calendar/index.ts b/src/components/Calendar/index.ts new file mode 100644 index 0000000..6897026 --- /dev/null +++ b/src/components/Calendar/index.ts @@ -0,0 +1,91 @@ +import { ComponentConfig, registerComponent, RNComponent } from "../config"; +import { AppContainer } from "../../reconciler"; +import { Fiber } from "react-reconciler"; +import { CalendarProps, RNCalendar } from "./RNCalendar"; + +class CalendarConfig extends ComponentConfig { + tagName = RNCalendar.tagName; + shouldSetTextContent(nextProps: CalendarProps): boolean { + return false; + } + createInstance( + newProps: CalendarProps, + rootInstance?: AppContainer, + context?: any, + workInProgress?: Fiber + ): RNCalendar { + const widget = new RNCalendar(); + widget.setProps(newProps, {}); + return widget; + } + commitMount( + instance: RNCalendar, + newProps: CalendarProps, + internalInstanceHandle: any + ): void { + if (newProps.visible !== false) { + instance.show(); + } + return; + } + commitUpdate( + instance: RNCalendar, + updatePayload: any, + oldProps: CalendarProps, + newProps: CalendarProps, + finishedWork: Fiber + ): void { + instance.setProps(newProps, oldProps); + } +} + +/** + * The Calendar component provides ability to add calendar widgets. It is based on + * [NodeGui's QCalendarWidget](https://docs.nodegui.org/docs/api/generated/classes/qcalendarwidget/). + * @example + * ```typescriptreact + * import { + * DateFormat, + * DayOfWeek, + * NativeElement, + * QCalendarWidgetSignals, + * QDate, + * } from "@nodegui/nodegui"; + * import { + * Calendar, + * Renderer, + * useEventHandler, + * Window, + * } from "@nodegui/react-nodegui"; + * import React from "react"; + * const App = () => { + * const calendarClickHandler = useEventHandler( + * { + * activated: (nativeDate) => { + * const date = new QDate(nativeDate as unknown as NativeElement); + * console.log(`activated: ${date.toString(DateFormat.SystemLocaleDate)}`); + * }, + * clicked: (nativeDate) => { + * const date = new QDate(nativeDate as unknown as NativeElement); + * console.log(`clicked: ${date.toString(DateFormat.SystemLocaleDate)}`); + * }, + * currentPageChanged: (year, month) => { + * console.log(`currentPageChanged: year, month: ${year}, ${month}`); + * }, + * selectionChanged: () => { + * console.log("selectionChanged"); + * }, + * }, + * [] + * ); + * + * return ( + * + * + * + * ); + * } + * Renderer.render(); + * ``` + */ +export const Calendar = registerComponent(new CalendarConfig()); diff --git a/src/index.ts b/src/index.ts index cc196b6..78e18b8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -15,6 +15,7 @@ export { LineEdit } from "./components/LineEdit"; export { Menu } from "./components/Menu"; export { MenuBar } from "./components/MenuBar"; export { PlainTextEdit } from "./components/PlainTextEdit"; +export { Calendar } from "./components/Calendar"; export { ProgressBar } from "./components/ProgressBar"; export { RadioButton } from "./components/RadioButton"; export { Dial } from "./components/Dial"; @@ -34,7 +35,7 @@ export { Table } from "./components/Table"; export { TableItem } from "./components/TableItem"; export { List } from "./components/List"; export { ListItem } from "./components/ListItem"; -export { ErrorPrompt } from "./components/ErrorPrompt" +export { ErrorPrompt } from "./components/ErrorPrompt"; export { useEventHandler } from "./hooks"; export { Renderer } from "./renderer"; export { hot, appProxy } from "./development/hot-reload"; From 742540abcea5e733a2056d98a64e4109c35db4ef Mon Sep 17 00:00:00 2001 From: KaMeHb-UA Date: Tue, 4 Oct 2022 20:28:11 +0300 Subject: [PATCH 3/7] upgrade module to work with latest nodegui (0.57.1) (#376) * upgrade module to work with nodegui 0.57.1 * fix external docs links * fix layout function calls in conditions * fix layout get/set on RNView * fix centralWidget check on RNWindow --- package.json | 2 +- .../AbstractComponents/RNAbstractButton.ts | 8 +- src/components/Action/RNAction.ts | 2 +- .../AnimatedImage/RNAnimatedImage.ts | 10 +-- src/components/BoxView/RNBoxView.ts | 51 +++++++------ src/components/Button/RNButton.ts | 14 ++-- src/components/CheckBox/RNCheckBox.ts | 14 ++-- src/components/ColorDialog/RNColorDialog.ts | 10 +-- src/components/ComboBox/RNComboBox.ts | 14 ++-- src/components/Dial/RNDial.ts | 10 +-- src/components/Dialog/RNDialog.ts | 26 +++---- src/components/ErrorPrompt/RNErrorPrompt.ts | 10 +-- src/components/FileDialog/RNFileDialog.ts | 10 +-- src/components/FontDialog/RNFontDialog.ts | 10 +-- .../GridView/GridColumn/RNGridColumn.ts | 18 ++--- src/components/GridView/GridColumn/index.ts | 2 +- src/components/GridView/GridRow/index.ts | 2 +- src/components/GridView/RNGridView.ts | 28 ++++--- src/components/Image/RNImage.ts | 10 +-- src/components/InputDialog/RNInputDialog.ts | 10 +-- src/components/LineEdit/RNLineEdit.ts | 10 +-- src/components/List/RNList.ts | 2 +- src/components/ListItem/RNListItem.ts | 12 +-- src/components/Menu/RNMenu.ts | 2 +- src/components/MenuBar/RNMenuBar.ts | 6 +- .../PlainTextEdit/RNPlainTextEdit.ts | 10 +-- src/components/ProgressBar/RNProgressBar.ts | 10 +-- .../ProgressDialog/RNProgressDialog.ts | 10 +-- src/components/RadioButton/RNRadioButton.ts | 10 +-- src/components/ScrollArea/RNScrollArea.ts | 12 +-- src/components/Slider/RNSlider.ts | 10 +-- src/components/SpinBox/RNSpinBox.ts | 10 +-- .../SystemTrayIcon/RNSystemTrayIcon.ts | 16 ++-- src/components/Tab/RNTab.ts | 8 +- src/components/TabItem/RNTabItem.ts | 12 +-- src/components/TabItem/index.ts | 2 +- src/components/Table/RNTable.ts | 8 +- src/components/TableItem/RNTableItem.ts | 10 +-- src/components/Text/RNText.ts | 10 +-- src/components/View/RNView.ts | 74 ++++++++++--------- src/components/Window/RNWindow.ts | 12 +-- src/components/config.ts | 14 ++-- src/reconciler/index.ts | 26 +++---- src/renderer/index.ts | 4 +- website/docs/api/classes/rnaction.md | 4 +- website/docs/api/classes/rngridcolumn.md | 20 ++--- website/docs/api/classes/rnmenu.md | 10 +-- website/docs/api/classes/rnmenubar.md | 20 ++--- website/docs/api/globals.md | 2 +- .../api/interfaces/abstractbuttonprops.md | 40 +++++----- website/docs/api/interfaces/actionprops.md | 2 +- .../docs/api/interfaces/animatedimageprops.md | 32 ++++---- website/docs/api/interfaces/boxviewprops.md | 32 ++++---- website/docs/api/interfaces/buttonprops.md | 42 +++++------ website/docs/api/interfaces/checkboxprops.md | 42 +++++------ website/docs/api/interfaces/comboboxprops.md | 32 ++++---- website/docs/api/interfaces/dialprops.md | 32 ++++---- website/docs/api/interfaces/gridviewprops.md | 32 ++++---- website/docs/api/interfaces/imageprops.md | 32 ++++---- website/docs/api/interfaces/lineeditprops.md | 32 ++++---- website/docs/api/interfaces/menubarprops.md | 32 ++++---- website/docs/api/interfaces/menuprops.md | 32 ++++---- .../docs/api/interfaces/plaintexteditprops.md | 32 ++++---- .../docs/api/interfaces/progressbarprops.md | 32 ++++---- .../docs/api/interfaces/radiobuttonprops.md | 38 +++++----- .../docs/api/interfaces/scrollareaprops.md | 32 ++++---- website/docs/api/interfaces/sliderprops.md | 32 ++++---- website/docs/api/interfaces/spinboxprops.md | 32 ++++---- .../api/interfaces/systemtrayiconprops.md | 4 +- website/docs/api/interfaces/tabprops.md | 32 ++++---- website/docs/api/interfaces/textprops.md | 32 ++++---- website/docs/api/interfaces/viewprops.md | 34 ++++----- website/docs/api/interfaces/windowprops.md | 32 ++++---- yarn.lock | 58 +++++++++------ 74 files changed, 722 insertions(+), 699 deletions(-) diff --git a/package.json b/package.json index 5ffe7d7..0fd7ac0 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "docs": "typedoc && node ./website/docs/scripts/fixdocs.js" }, "dependencies": { - "@nodegui/nodegui": "^0.40.1", + "@nodegui/nodegui": "^0.57.1", "@types/react-reconciler": "^0.18.0", "phin": "3.5.1", "react-deep-force-update": "^2.1.3", diff --git a/src/components/AbstractComponents/RNAbstractButton.ts b/src/components/AbstractComponents/RNAbstractButton.ts index fc993b3..09092f4 100644 --- a/src/components/AbstractComponents/RNAbstractButton.ts +++ b/src/components/AbstractComponents/RNAbstractButton.ts @@ -4,7 +4,7 @@ import { QAbstractButton } from "@nodegui/nodegui"; /** * The Button component provides ability to add and manipulate native button widgets. It is based on - * [NodeGui's QPushButton](https://docs.nodegui.org/docs/api/QPushButton). + * [NodeGui's QPushButton](https://docs.nodegui.org/docs/api/generated/classes/QPushButton). * ## Example * ```javascript * import React from "react"; @@ -30,15 +30,15 @@ export interface AbstractButtonProps */ children?: string; /** - * Sets the given text to the button. [QPushButton: setText](https://docs.nodegui.org/docs/api/QPushButton#buttonsettexttext) + * Sets the given text to the button. [QPushButton: setText](https://docs.nodegui.org/docs/api/generated/classes/QPushButton#buttonsettexttext) */ text?: string; /** - * Sets an icon in the button. [QPushButton: setIcon](https://docs.nodegui.org/docs/api/QPushButton#buttonseticonicon) + * Sets an icon in the button. [QPushButton: setIcon](https://docs.nodegui.org/docs/api/generated/classes/QPushButton#buttonseticonicon) */ icon?: QIcon; /** - * Sets an icon size in the button. [QPushButton: setIconSize](https://docs.nodegui.org/docs/api/QPushButton#buttonseticonsize) + * Sets an icon size in the button. [QPushButton: setIconSize](https://docs.nodegui.org/docs/api/generated/classes/QPushButton#buttonseticonsize) */ iconSize?: QSize; } diff --git a/src/components/Action/RNAction.ts b/src/components/Action/RNAction.ts index ba44cd5..485ca48 100644 --- a/src/components/Action/RNAction.ts +++ b/src/components/Action/RNAction.ts @@ -38,7 +38,7 @@ export interface ActionProps extends RNProps { icon?: QIcon; /** - * Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname) + * Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetobjectnameobjectname) */ id?: string; diff --git a/src/components/AnimatedImage/RNAnimatedImage.ts b/src/components/AnimatedImage/RNAnimatedImage.ts index b39dcde..1b7f706 100644 --- a/src/components/AnimatedImage/RNAnimatedImage.ts +++ b/src/components/AnimatedImage/RNAnimatedImage.ts @@ -1,4 +1,4 @@ -import { QLabel, NodeWidget, QMovie, QSize } from "@nodegui/nodegui"; +import { QLabel, QWidget, QMovie, QSize } from "@nodegui/nodegui"; import { TextProps, setTextProps } from "../Text/RNText"; import { RNWidget } from "../config"; import { throwUnsupported, isValidUrl } from "../../utils/helpers"; @@ -44,16 +44,16 @@ export class RNAnimatedImage extends QLabel implements RNWidget { setProps(newProps: AnimatedImageProps, oldProps: AnimatedImageProps): void { setAnimatedImageProps(this, newProps, oldProps); } - appendInitialChild(child: NodeWidget): void { + appendInitialChild(child: QWidget): void { throwUnsupported(this); } - appendChild(child: NodeWidget): void { + appendChild(child: QWidget): void { throwUnsupported(this); } - insertBefore(child: NodeWidget, beforeChild: NodeWidget): void { + insertBefore(child: QWidget, beforeChild: QWidget): void { throwUnsupported(this); } - removeChild(child: NodeWidget): void { + removeChild(child: QWidget): void { throwUnsupported(this); } static tagName = "animatedimage"; diff --git a/src/components/BoxView/RNBoxView.ts b/src/components/BoxView/RNBoxView.ts index 9cc7e45..15035f3 100644 --- a/src/components/BoxView/RNBoxView.ts +++ b/src/components/BoxView/RNBoxView.ts @@ -2,12 +2,13 @@ import { QWidget, QBoxLayoutSignals, QBoxLayout, - NodeWidget, Direction, + QLayout, + QObjectSignals, } from "@nodegui/nodegui"; import { ViewProps, setViewProps } from "../View/RNView"; import { RNComponent } from "../config"; -import { NodeDialog } from "@nodegui/nodegui/dist/lib/QtWidgets/QDialog"; +import { QDialog } from "@nodegui/nodegui/dist/lib/QtWidgets/QDialog"; export interface BoxViewProps extends ViewProps { direction?: Direction; @@ -20,7 +21,7 @@ const setBoxViewProps = ( ) => { const setter: BoxViewProps = { set direction(direction: Direction) { - widget.layout?.setDirection(direction); + widget.layout()?.setDirection(direction); }, }; Object.assign(setter, newProps); @@ -33,33 +34,36 @@ const setBoxViewProps = ( export class RNBoxView extends QWidget implements RNComponent { native: any; initialProps?: BoxViewProps; - children: Array> = []; - get layout() { - return super.layout as QBoxLayout | undefined; + _children: Array> = []; + + layout(): QBoxLayout | null { + return super.layout() as any; } - set layout(l: QBoxLayout | undefined) { - super.layout = l; + + setLayout(layout: QBoxLayout): void { + super.setLayout(layout); } + setProps(newProps: BoxViewProps, oldProps: BoxViewProps): void { - if (this.layout) { + if (this.layout()) { setBoxViewProps(this, newProps, oldProps); } else { this.initialProps = newProps; } } - appendInitialChild(child: NodeWidget): void { + appendInitialChild(child: QWidget): void { this.appendChild(child); } - appendChild(child: NodeWidget): void { - if (child instanceof NodeDialog) { + appendChild(child: QWidget): void { + if (child instanceof QDialog) { return; } const updateChild = () => { - this.layout?.addWidget(child); - this.children.push(child); + this.layout()?.addWidget(child); + this._children.push(child); }; - if (this.layout) { + if (this.layout()) { updateChild(); return; @@ -67,7 +71,6 @@ export class RNBoxView extends QWidget implements RNComponent { const layout = new QBoxLayout(Direction.LeftToRight); this.setLayout(layout); - this.layout = layout; // Newly created layout, so set initial props if (this.initialProps) { @@ -76,11 +79,11 @@ export class RNBoxView extends QWidget implements RNComponent { updateChild(); } - insertBefore(child: NodeWidget, beforeChild: NodeWidget): void { - if (child instanceof NodeDialog) { + insertBefore(child: QWidget, beforeChild: QWidget): void { + if (child instanceof QDialog) { return; } - const prevIndex = this.children.indexOf(beforeChild); + const prevIndex = this._children.indexOf(beforeChild); if (prevIndex === -1) { throw new Error( @@ -88,14 +91,14 @@ export class RNBoxView extends QWidget implements RNComponent { ); } - this.children.splice(prevIndex, 0, child); - this.layout?.insertWidget(prevIndex, child); + this._children.splice(prevIndex, 0, child); + this.layout()?.insertWidget(prevIndex, child); } - removeChild(child: NodeWidget): void { - const prevIndex = this.children.indexOf(child); + removeChild(child: QWidget): void { + const prevIndex = this._children.indexOf(child); if (prevIndex !== -1) { - this.children.splice(prevIndex, 1); + this._children.splice(prevIndex, 1); } child.close(); diff --git a/src/components/Button/RNButton.ts b/src/components/Button/RNButton.ts index f5c9f62..f2bac8f 100644 --- a/src/components/Button/RNButton.ts +++ b/src/components/Button/RNButton.ts @@ -1,4 +1,4 @@ -import { QPushButton, NodeWidget, QPushButtonSignals } from "@nodegui/nodegui"; +import { QPushButton, QWidget, QPushButtonSignals } from "@nodegui/nodegui"; import { AbstractButtonProps, setAbstractButtonProps @@ -8,7 +8,7 @@ import { throwUnsupported } from "../../utils/helpers"; /** * The Button component provides ability to add and manipulate native button widgets. It is based on - * [NodeGui's QPushButton](https://docs.nodegui.org/docs/api/QPushButton). + * [NodeGui's QPushButton](https://docs.nodegui.org/docs/api/generated/classes/QPushButton). * ## Example * ```javascript * import React from "react"; @@ -29,7 +29,7 @@ import { throwUnsupported } from "../../utils/helpers"; */ export interface ButtonProps extends AbstractButtonProps { /** - * Sets whether the button border is raised. [QPushButton: setFlat](https://docs.nodegui.org/docs/api/QPushButton#buttonsetflatisflat) + * Sets whether the button border is raised. [QPushButton: setFlat](https://docs.nodegui.org/docs/api/generated/classes/QPushButton#buttonsetflatisflat) */ flat?: boolean; } @@ -52,16 +52,16 @@ const setButtonProps = ( * @ignore */ export class RNButton extends QPushButton implements RNWidget { - appendInitialChild(child: NodeWidget): void { + appendInitialChild(child: QWidget): void { throwUnsupported(this); } - appendChild(child: NodeWidget): void { + appendChild(child: QWidget): void { throwUnsupported(this); } - insertBefore(child: NodeWidget, beforeChild: NodeWidget): void { + insertBefore(child: QWidget, beforeChild: QWidget): void { throwUnsupported(this); } - removeChild(child: NodeWidget): void { + removeChild(child: QWidget): void { throwUnsupported(this); } setProps(newProps: ButtonProps, oldProps: ButtonProps) { diff --git a/src/components/CheckBox/RNCheckBox.ts b/src/components/CheckBox/RNCheckBox.ts index e844121..43b9877 100644 --- a/src/components/CheckBox/RNCheckBox.ts +++ b/src/components/CheckBox/RNCheckBox.ts @@ -1,4 +1,4 @@ -import { QCheckBox, NodeWidget, QCheckBoxSignals } from "@nodegui/nodegui"; +import { QCheckBox, QWidget, QCheckBoxSignals } from "@nodegui/nodegui"; import { RNWidget } from "../config"; import { throwUnsupported } from "../../utils/helpers"; import { @@ -8,7 +8,7 @@ import { /** * The CheckBox component provides ability to add and manipulate native button widgets. It is based on - * [NodeGui's QCheckBox](https://docs.nodegui.org/docs/api/QCheckBox). + * [NodeGui's QCheckBox](https://docs.nodegui.org/docs/api/generated/classes/QCheckBox). * ## Example * ```javascript * import React from "react"; @@ -29,7 +29,7 @@ import { */ export interface CheckBoxProps extends AbstractButtonProps { /** - * This property holds whether the button is checked. [QCheckBox: setChecked](https://docs.nodegui.org/docs/api/QCheckBox/#checkboxsetcheckedcheck) + * This property holds whether the button is checked. [QCheckBox: setChecked](https://docs.nodegui.org/docs/api/generated/classes/QCheckBox/#checkboxsetcheckedcheck) */ checked?: boolean; } @@ -55,16 +55,16 @@ export class RNCheckBox extends QCheckBox implements RNWidget { setProps(newProps: CheckBoxProps, oldProps: CheckBoxProps): void { setCheckBoxProps(this, newProps, oldProps); } - appendInitialChild(child: NodeWidget): void { + appendInitialChild(child: QWidget): void { throwUnsupported(this); } - appendChild(child: NodeWidget): void { + appendChild(child: QWidget): void { throwUnsupported(this); } - insertBefore(child: NodeWidget, beforeChild: NodeWidget): void { + insertBefore(child: QWidget, beforeChild: QWidget): void { throwUnsupported(this); } - removeChild(child: NodeWidget): void { + removeChild(child: QWidget): void { throwUnsupported(this); } static tagName = "checkbox"; diff --git a/src/components/ColorDialog/RNColorDialog.ts b/src/components/ColorDialog/RNColorDialog.ts index b6b2fa5..5686fce 100644 --- a/src/components/ColorDialog/RNColorDialog.ts +++ b/src/components/ColorDialog/RNColorDialog.ts @@ -1,4 +1,4 @@ -import { NodeWidget, QColor, QColorDialog, QColorDialogSignals } from "@nodegui/nodegui"; +import { QWidget, QColor, QColorDialog, QColorDialogSignals } from "@nodegui/nodegui"; import { ColorDialogOption } from "@nodegui/nodegui/dist/lib/QtWidgets/QColorDialog"; import { throwUnsupported } from "../../utils/helpers"; import { RNWidget } from "../config"; @@ -31,16 +31,16 @@ export class RNColorDialog extends QColorDialog implements RNWidget { setProps(newProps: ColorDialogProps, oldProps: ColorDialogProps): void { setColorDialogProps(this, newProps, oldProps); } - appendInitialChild(child: NodeWidget): void { + appendInitialChild(child: QWidget): void { throwUnsupported(this); } - appendChild(child: NodeWidget): void { + appendChild(child: QWidget): void { throwUnsupported(this); } - insertBefore(child: NodeWidget, beforeChild: NodeWidget): void { + insertBefore(child: QWidget, beforeChild: QWidget): void { throwUnsupported(this); } - removeChild(child: NodeWidget): void { + removeChild(child: QWidget): void { throwUnsupported(this); } static tagName = "color-dialog"; diff --git a/src/components/ComboBox/RNComboBox.ts b/src/components/ComboBox/RNComboBox.ts index ebb21ab..da2deea 100644 --- a/src/components/ComboBox/RNComboBox.ts +++ b/src/components/ComboBox/RNComboBox.ts @@ -1,6 +1,6 @@ import { QComboBox, - NodeWidget, + QWidget, QSize, QVariant, SizeAdjustPolicy, @@ -52,7 +52,7 @@ const setComboBoxProps = ( widget.setProperty("count", count); }, set iconSize(iconSize: QSize) { - widget.setProperty("iconSize", iconSize.native); + widget.setProperty("iconSize", iconSize.native!); }, set frame(frame: boolean) { widget.setProperty("frame", frame); @@ -61,7 +61,7 @@ const setComboBoxProps = ( widget.setProperty("currentIndex", currentIndex); }, set currentData(value: QVariant) { - widget.setProperty("currentData", value.native); + widget.setProperty("currentData", value.native!); }, set currentText(text: string) { widget.setProperty("currentText", text); @@ -102,16 +102,16 @@ export class RNComboBox extends QComboBox implements RNWidget { setProps(newProps: ComboBoxProps, oldProps: ComboBoxProps): void { setComboBoxProps(this, newProps, oldProps); } - appendInitialChild(child: NodeWidget): void { + appendInitialChild(child: QWidget): void { throwUnsupported(this); } - appendChild(child: NodeWidget): void { + appendChild(child: QWidget): void { throwUnsupported(this); } - insertBefore(child: NodeWidget, beforeChild: NodeWidget): void { + insertBefore(child: QWidget, beforeChild: QWidget): void { throwUnsupported(this); } - removeChild(child: NodeWidget): void { + removeChild(child: QWidget): void { throwUnsupported(this); } static tagName = "combobox"; diff --git a/src/components/Dial/RNDial.ts b/src/components/Dial/RNDial.ts index b2cb70e..959f74e 100644 --- a/src/components/Dial/RNDial.ts +++ b/src/components/Dial/RNDial.ts @@ -1,4 +1,4 @@ -import { QDial, NodeWidget, QDialSignals } from "@nodegui/nodegui"; +import { QDial, QWidget, QDialSignals } from "@nodegui/nodegui"; import { ViewProps, setViewProps } from "../View/RNView"; import { RNWidget } from "../config"; import { throwUnsupported } from "../../utils/helpers"; @@ -53,16 +53,16 @@ export class RNDial extends QDial implements RNWidget { setProps(newProps: DialProps, oldProps: DialProps): void { setDialProps(this, newProps, oldProps); } - appendInitialChild(child: NodeWidget): void { + appendInitialChild(child: QWidget): void { throwUnsupported(this); } - appendChild(child: NodeWidget): void { + appendChild(child: QWidget): void { throwUnsupported(this); } - insertBefore(child: NodeWidget, beforeChild: NodeWidget): void { + insertBefore(child: QWidget, beforeChild: QWidget): void { throwUnsupported(this); } - removeChild(child: NodeWidget): void { + removeChild(child: QWidget): void { throwUnsupported(this); } static tagName = "dial"; diff --git a/src/components/Dialog/RNDialog.ts b/src/components/Dialog/RNDialog.ts index 70f5a16..eb875fc 100644 --- a/src/components/Dialog/RNDialog.ts +++ b/src/components/Dialog/RNDialog.ts @@ -1,9 +1,8 @@ -import { FlexLayout, FocusReason, NodeWidget, QDialog, QDialogSignals, QFont } from "@nodegui/nodegui"; -import { NodeDialog } from "@nodegui/nodegui/dist/lib/QtWidgets/QDialog"; +import { FlexLayout, FocusReason, QWidget, QDialog, QDialogSignals, QFont } from "@nodegui/nodegui"; import { RNWidget } from "../config"; import { setViewProps, ViewProps } from "../View/RNView"; -export interface DialogProps extends ViewProps { +export interface DialogProps extends ViewProps { open?: boolean; font?: QFont; focus?: FocusReason; @@ -45,32 +44,31 @@ export class RNDialog extends QDialog implements RNWidget { setProps(newProps: DialogProps, oldProps: DialogProps): void { setDialogProps(this, newProps, oldProps); } - appendInitialChild(child: NodeWidget): void { + appendInitialChild(child: QWidget): void { this.appendChild(child); } - appendChild(child: NodeWidget): void { - if (!child || child instanceof NodeDialog) { + appendChild(child: QWidget): void { + if (!child || child instanceof QDialog) { return; } - if (!this.layout) { + if (!this.layout()) { const flexLayout = new FlexLayout(); flexLayout.setFlexNode(this.getFlexNode()); this.setLayout(flexLayout); - this.layout = flexLayout; } - this.layout.addWidget(child); + this.layout()!.addWidget(child); } - insertBefore(child: NodeWidget, beforeChild: NodeWidget): void { - if (child! instanceof NodeDialog) { + insertBefore(child: QWidget, beforeChild: QWidget): void { + if (child! instanceof QDialog) { this.appendChild(child); } } - removeChild(child: NodeWidget): void { - if (!this.layout) { + removeChild(child: QWidget): void { + if (!this.layout()) { console.warn("parent has no layout to remove child from"); return; } - this.layout.removeWidget(child); + this.layout()!.removeWidget(child); child.close(); } static tagName = "dialog"; diff --git a/src/components/ErrorPrompt/RNErrorPrompt.ts b/src/components/ErrorPrompt/RNErrorPrompt.ts index c1b6ae1..595bb3d 100644 --- a/src/components/ErrorPrompt/RNErrorPrompt.ts +++ b/src/components/ErrorPrompt/RNErrorPrompt.ts @@ -1,4 +1,4 @@ -import { NodeWidget, QErrorMessage, QErrorMessageSignals } from "@nodegui/nodegui"; +import { QWidget, QErrorMessage, QErrorMessageSignals } from "@nodegui/nodegui"; import { throwUnsupported } from "../../utils/helpers"; import { RNWidget } from "../config"; import { DialogProps, setDialogProps } from "../Dialog/RNDialog"; @@ -22,16 +22,16 @@ export class RNErrorPrompt extends QErrorMessage implements RNWidget { setProps(newProps: ErrorPromptProps, oldProps: ErrorPromptProps): void { setErrorPromptProps(this, newProps, oldProps); } - appendInitialChild(child: NodeWidget): void { + appendInitialChild(child: QWidget): void { throwUnsupported(this); } - appendChild(child: NodeWidget): void { + appendChild(child: QWidget): void { throwUnsupported(this); } - insertBefore(child: NodeWidget, beforeChild: NodeWidget): void { + insertBefore(child: QWidget, beforeChild: QWidget): void { throwUnsupported(this); } - removeChild(child: NodeWidget): void { + removeChild(child: QWidget): void { throwUnsupported(this); } static tagName = "error-prompt"; diff --git a/src/components/FileDialog/RNFileDialog.ts b/src/components/FileDialog/RNFileDialog.ts index a4c7ce1..2bfae6b 100644 --- a/src/components/FileDialog/RNFileDialog.ts +++ b/src/components/FileDialog/RNFileDialog.ts @@ -1,4 +1,4 @@ -import { NodeWidget, QFileDialog, DialogLabel, QFileDialogSignals, Option } from "@nodegui/nodegui"; +import { QWidget, QFileDialog, DialogLabel, QFileDialogSignals, Option } from "@nodegui/nodegui"; import { throwUnsupported } from "../../utils/helpers"; import { RNWidget } from "../config"; import { DialogProps, setDialogProps } from "../Dialog/RNDialog"; @@ -47,16 +47,16 @@ export class RNFileDialog extends QFileDialog implements RNWidget { setProps(newProps: FileDialogProps, oldProps: FileDialogProps): void { setFileDialogProps(this, newProps, oldProps); } - appendInitialChild(child: NodeWidget): void { + appendInitialChild(child: QWidget): void { throwUnsupported(this); } - appendChild(child: NodeWidget): void { + appendChild(child: QWidget): void { throwUnsupported(this); } - insertBefore(child: NodeWidget, beforeChild: NodeWidget): void { + insertBefore(child: QWidget, beforeChild: QWidget): void { throwUnsupported(this); } - removeChild(child: NodeWidget): void { + removeChild(child: QWidget): void { throwUnsupported(this); } static tagName = "file-dialog"; diff --git a/src/components/FontDialog/RNFontDialog.ts b/src/components/FontDialog/RNFontDialog.ts index 19771a6..3bf7f43 100644 --- a/src/components/FontDialog/RNFontDialog.ts +++ b/src/components/FontDialog/RNFontDialog.ts @@ -1,4 +1,4 @@ -import { FontDialogOption, NodeWidget, QFont, QFontDialog, QFontDialogSignals } from "@nodegui/nodegui"; +import { FontDialogOption, QWidget, QFont, QFontDialog, QFontDialogSignals } from "@nodegui/nodegui"; import { throwUnsupported } from "../../utils/helpers"; import { RNWidget } from "../config"; import { DialogProps, setDialogProps } from "../Dialog/RNDialog"; @@ -30,16 +30,16 @@ export class RNFontDialog extends QFontDialog implements RNWidget { setProps(newProps: FontDialogProps, oldProps: FontDialogProps): void { setFontDialogProps(this, newProps, oldProps); } - appendInitialChild(child: NodeWidget): void { + appendInitialChild(child: QWidget): void { throwUnsupported(this); } - appendChild(child: NodeWidget): void { + appendChild(child: QWidget): void { throwUnsupported(this); } - insertBefore(child: NodeWidget, beforeChild: NodeWidget): void { + insertBefore(child: QWidget, beforeChild: QWidget): void { throwUnsupported(this); } - removeChild(child: NodeWidget): void { + removeChild(child: QWidget): void { throwUnsupported(this); } static tagName = "font-dialog"; diff --git a/src/components/GridView/GridColumn/RNGridColumn.ts b/src/components/GridView/GridColumn/RNGridColumn.ts index 234df6a..0f5318f 100644 --- a/src/components/GridView/GridColumn/RNGridColumn.ts +++ b/src/components/GridView/GridColumn/RNGridColumn.ts @@ -1,5 +1,5 @@ import { FunctionComponentElement } from "react"; -import { Component, NodeWidget } from "@nodegui/nodegui"; +import { Component, QWidget } from "@nodegui/nodegui"; import { RNComponent } from "../../config"; import { RNGridRow } from "../GridRow/RNGridRow"; @@ -18,8 +18,8 @@ const setGridColumnProps = ( ) => { if (widget.actualWidget) { // TODO: Optimize this - parentRow.parentGrid?.layout?.removeWidget(widget.actualWidget); - parentRow.parentGrid?.layout?.addWidget( + parentRow.parentGrid?.layout()?.removeWidget(widget.actualWidget); + parentRow.parentGrid?.layout()?.addWidget( widget.actualWidget, parentRow.rowIndex ?? 0, widget.columnIndex ?? 0, @@ -38,7 +38,7 @@ const setGridColumnProps = ( export class RNGridColumn extends Component implements RNComponent { native: any; - actualWidget?: NodeWidget; + actualWidget?: QWidget; parentRow?: RNGridRow; latestProps?: GridColumnProps; prevProps?: GridColumnProps; @@ -61,7 +61,7 @@ export class RNGridColumn extends Component implements RNComponent { return; } - this.parentRow?.parentGrid?.layout?.removeWidget(this.actualWidget); + this.parentRow?.parentGrid?.layout()?.removeWidget(this.actualWidget); this.actualWidget.close(); this.actualWidget = undefined; } @@ -76,19 +76,19 @@ export class RNGridColumn extends Component implements RNComponent { this.latestProps = newProps; this.prevProps = oldProps; } - appendInitialChild(child: NodeWidget): void { + appendInitialChild(child: QWidget): void { if (this.actualWidget) { throw new Error("Grid column can have only one child"); } this.actualWidget = child; } - appendChild(child: NodeWidget): void { + appendChild(child: QWidget): void { this.appendInitialChild(child); } - insertBefore(child: NodeWidget, beforeChild: NodeWidget): void { + insertBefore(child: QWidget, beforeChild: QWidget): void { this.appendInitialChild(child); } - removeChild(child: NodeWidget): void { + removeChild(child: QWidget): void { this.remove(); } static tagName: string = "gridcolumn"; diff --git a/src/components/GridView/GridColumn/index.ts b/src/components/GridView/GridColumn/index.ts index 132e925..74b1a61 100644 --- a/src/components/GridView/GridColumn/index.ts +++ b/src/components/GridView/GridColumn/index.ts @@ -14,7 +14,7 @@ class GridColumnConfig extends ComponentConfig { context: any, workInProgress: Fiber ): RNGridColumn { - const widget = new RNGridColumn(); + const widget = new RNGridColumn(null!); widget.setProps(newProps, newProps); return widget; } diff --git a/src/components/GridView/GridRow/index.ts b/src/components/GridView/GridRow/index.ts index bcd12a0..94b69de 100644 --- a/src/components/GridView/GridRow/index.ts +++ b/src/components/GridView/GridRow/index.ts @@ -14,7 +14,7 @@ class GridRowConfig extends ComponentConfig { context: any, workInProgress: Fiber ): RNGridRow { - const widget = new RNGridRow(); + const widget = new RNGridRow(null!); widget.setProps(newProps, newProps); return widget; } diff --git a/src/components/GridView/RNGridView.ts b/src/components/GridView/RNGridView.ts index 0483fa9..edb707e 100644 --- a/src/components/GridView/RNGridView.ts +++ b/src/components/GridView/RNGridView.ts @@ -1,5 +1,5 @@ import { FunctionComponentElement } from "react"; -import { QGridLayoutSignals, QGridLayout, QWidget } from "@nodegui/nodegui"; +import { QGridLayoutSignals, QGridLayout, QWidget, QLayout, QObjectSignals } from "@nodegui/nodegui"; import { ViewProps, setViewProps } from "../View/RNView"; import { RNComponent } from "../config"; import { RNGridRow, GridRowProps } from "./GridRow/RNGridRow"; @@ -42,18 +42,18 @@ const setGridViewProps = ( ) => { const setter: Omit = { set horizontalSpacing(spacing: number) { - widget.layout?.setHorizontalSpacing(spacing); + widget.layout()?.setHorizontalSpacing(spacing); }, set verticalSpacing(spacing: number) { - widget.layout?.setVerticalSpacing(spacing); + widget.layout()?.setVerticalSpacing(spacing); }, set columnProps(props: GridViewColumnProps) { for (const indexString of Object.keys(props)) { const index = parseInt(indexString, 10); const { stretch, minWidth } = props[index]; - widget.layout?.setColumnStretch(index, stretch ?? 0); - widget.layout?.setColumnMinimumWidth(index, minWidth ?? 0); + widget.layout()?.setColumnStretch(index, stretch ?? 0); + widget.layout()?.setColumnMinimumWidth(index, minWidth ?? 0); } }, set rowProps(props: GridViewRowProps) { @@ -61,8 +61,8 @@ const setGridViewProps = ( const index = parseInt(indexString, 10); const { stretch, minHeight } = props[index]; - widget.layout?.setRowStretch(index, stretch ?? 0); - widget.layout?.setRowMinimumHeight(index, minHeight ?? 0); + widget.layout()?.setRowStretch(index, stretch ?? 0); + widget.layout()?.setRowMinimumHeight(index, minHeight ?? 0); } }, }; @@ -75,16 +75,15 @@ const setGridViewProps = ( */ export class RNGridView extends QWidget implements RNComponent { native: any; - _layout?: QGridLayout; initialProps?: GridViewProps; childRows: Array> = []; - get layout() { - return this._layout; + layout(): QGridLayout | null { + return super.layout() as any; } - set layout(l: QGridLayout | undefined) { - this._layout = l; + setLayout(layout: QGridLayout): void { + super.setLayout(layout); } updateChildren(startIndex = 0): void { @@ -100,7 +99,7 @@ export class RNGridView extends QWidget implements RNComponent { /* RNComponent */ setProps(newProps: GridViewProps, oldProps: GridViewProps): void { - if (this.layout) { + if (this.layout()) { setGridViewProps(this, newProps, oldProps); } else { this.initialProps = newProps; @@ -129,7 +128,7 @@ export class RNGridView extends QWidget implements RNComponent { }); }; - if (this.layout) { + if (this.layout()) { updateChild(); return; @@ -137,7 +136,6 @@ export class RNGridView extends QWidget implements RNComponent { const layout = new QGridLayout(); this.setLayout(layout); - this.layout = layout; // Newly created layout, so set initial props if (this.initialProps) { diff --git a/src/components/Image/RNImage.ts b/src/components/Image/RNImage.ts index af000d9..1c66b6b 100644 --- a/src/components/Image/RNImage.ts +++ b/src/components/Image/RNImage.ts @@ -2,7 +2,7 @@ import { QLabel, QPixmap, AspectRatioMode, - NodeWidget, + QWidget, QSize, TransformationMode, } from "@nodegui/nodegui"; @@ -77,16 +77,16 @@ export class RNImage extends QLabel implements RNWidget { setProps(newProps: ImageProps, oldProps: ImageProps): void { setImageProps(this, newProps, oldProps); } - appendInitialChild(child: NodeWidget): void { + appendInitialChild(child: QWidget): void { throwUnsupported(this); } - appendChild(child: NodeWidget): void { + appendChild(child: QWidget): void { throwUnsupported(this); } - insertBefore(child: NodeWidget, beforeChild: NodeWidget): void { + insertBefore(child: QWidget, beforeChild: QWidget): void { throwUnsupported(this); } - removeChild(child: NodeWidget): void { + removeChild(child: QWidget): void { throwUnsupported(this); } static tagName = "image"; diff --git a/src/components/InputDialog/RNInputDialog.ts b/src/components/InputDialog/RNInputDialog.ts index 3c0be4a..113eda9 100644 --- a/src/components/InputDialog/RNInputDialog.ts +++ b/src/components/InputDialog/RNInputDialog.ts @@ -1,4 +1,4 @@ -import { EchoMode, InputDialogOptions, InputMode, NodeWidget, QInputDialog, QInputDialogSignals } from "@nodegui/nodegui"; +import { EchoMode, InputDialogOptions, InputMode, QWidget, QInputDialog, QInputDialogSignals } from "@nodegui/nodegui"; import { throwUnsupported } from "../../utils/helpers"; import { RNWidget } from "../config"; import { DialogProps, setDialogProps } from "../Dialog/RNDialog"; @@ -85,16 +85,16 @@ export class RNInputDialog extends QInputDialog implements RNWidget { setProps(newProps: InputDialogProps, oldProps: InputDialogProps): void { setInputDialogProps(this, newProps, oldProps); } - appendInitialChild(child: NodeWidget): void { + appendInitialChild(child: QWidget): void { throwUnsupported(this); } - appendChild(child: NodeWidget): void { + appendChild(child: QWidget): void { throwUnsupported(this); } - insertBefore(child: NodeWidget, beforeChild: NodeWidget): void { + insertBefore(child: QWidget, beforeChild: QWidget): void { throwUnsupported(this); } - removeChild(child: NodeWidget): void { + removeChild(child: QWidget): void { throwUnsupported(this); } static tagName = "input-dialog"; diff --git a/src/components/LineEdit/RNLineEdit.ts b/src/components/LineEdit/RNLineEdit.ts index 5f165a6..2a6eca1 100644 --- a/src/components/LineEdit/RNLineEdit.ts +++ b/src/components/LineEdit/RNLineEdit.ts @@ -1,7 +1,7 @@ import { QLineEdit, EchoMode, - NodeWidget, + QWidget, QLineEditSignals } from "@nodegui/nodegui"; import { ViewProps, setViewProps } from "../View/RNView"; @@ -66,16 +66,16 @@ export class RNLineEdit extends QLineEdit implements RNWidget { setProps(newProps: LineEditProps, oldProps: LineEditProps): void { setLineEditProps(this, newProps, oldProps); } - appendInitialChild(child: NodeWidget): void { + appendInitialChild(child: QWidget): void { throwUnsupported(this); } - appendChild(child: NodeWidget): void { + appendChild(child: QWidget): void { throwUnsupported(this); } - insertBefore(child: NodeWidget, beforeChild: NodeWidget): void { + insertBefore(child: QWidget, beforeChild: QWidget): void { throwUnsupported(this); } - removeChild(child: NodeWidget): void { + removeChild(child: QWidget): void { throwUnsupported(this); } static tagName = "linedit"; diff --git a/src/components/List/RNList.ts b/src/components/List/RNList.ts index 86c4bd6..f5a5a11 100644 --- a/src/components/List/RNList.ts +++ b/src/components/List/RNList.ts @@ -36,7 +36,7 @@ export class RNList extends QListWidget implements RNComponent { this.appendChild(child); } appendChild(child: RNListItem): void { - if (!this.layout) { + if (!this.layout()) { this.setLayout(new FlexLayout()); } diff --git a/src/components/ListItem/RNListItem.ts b/src/components/ListItem/RNListItem.ts index 148385f..b8444c4 100644 --- a/src/components/ListItem/RNListItem.ts +++ b/src/components/ListItem/RNListItem.ts @@ -1,4 +1,4 @@ -import { NodeWidget, QListWidgetItem, QIcon } from "@nodegui/nodegui"; +import { QWidget, QListWidgetItem, QIcon } from "@nodegui/nodegui"; import { RNComponent } from "../config"; export interface ListItemProps { @@ -30,24 +30,24 @@ export const setListItemProps = ( */ export class RNListItem extends QListWidgetItem implements RNComponent { native: any; - actualListItemWidget?: NodeWidget; + actualListItemWidget?: QWidget; setProps(newProps: ListItemProps, oldProps: ListItemProps): void { setListItemProps(this, newProps, oldProps); } - appendInitialChild(child: NodeWidget): void { + appendInitialChild(child: QWidget): void { if (this.actualListItemWidget) { throw new Error("ListItem can have only one child"); } this.actualListItemWidget = child; } - appendChild(child: NodeWidget): void { + appendChild(child: QWidget): void { this.appendInitialChild(child); } - insertBefore(child: NodeWidget, beforeChild: NodeWidget): void { + insertBefore(child: QWidget, beforeChild: QWidget): void { this.appendInitialChild(child); } - removeChild(child: NodeWidget): void { + removeChild(child: QWidget): void { if (child) { child.close(); } diff --git a/src/components/Menu/RNMenu.ts b/src/components/Menu/RNMenu.ts index 6865694..704bedd 100644 --- a/src/components/Menu/RNMenu.ts +++ b/src/components/Menu/RNMenu.ts @@ -1,4 +1,4 @@ -import { QMenu, QMenuSignals, Component, NodeWidget } from "@nodegui/nodegui"; +import { QMenu, QMenuSignals, Component, QWidget } from "@nodegui/nodegui"; import { RNWidget } from "../config"; import { throwUnsupported } from "../../utils/helpers"; import { RNAction } from "../Action/RNAction"; diff --git a/src/components/MenuBar/RNMenuBar.ts b/src/components/MenuBar/RNMenuBar.ts index ca5acae..1118a16 100644 --- a/src/components/MenuBar/RNMenuBar.ts +++ b/src/components/MenuBar/RNMenuBar.ts @@ -1,4 +1,4 @@ -import { NodeWidget, QMenu, QMenuBar, QMenuBarSignals } from "@nodegui/nodegui"; +import { QWidget, QMenu, QMenuBar, QMenuBarSignals } from "@nodegui/nodegui"; import { ViewProps, setViewProps } from "../View/RNView"; import { RNWidget } from "../config"; import { throwUnsupported } from "../../utils/helpers"; @@ -35,13 +35,13 @@ export class RNMenuBar extends QMenuBar implements RNWidget { appendChild(child: QMenu): void { this.appendInitialChild(child); } - insertBefore(child: NodeWidget, beforeChild: NodeWidget): void { + insertBefore(child: QWidget, beforeChild: QWidget): void { console.warn( "Updating menubar is not yet supported. Please help by raising a PR" ); throwUnsupported(this); } - removeChild(child: NodeWidget): void { + removeChild(child: QWidget): void { console.warn( "Updating menubar is not yet supported. Please help by raising a PR" ); diff --git a/src/components/PlainTextEdit/RNPlainTextEdit.ts b/src/components/PlainTextEdit/RNPlainTextEdit.ts index 72d26db..1bb4af0 100644 --- a/src/components/PlainTextEdit/RNPlainTextEdit.ts +++ b/src/components/PlainTextEdit/RNPlainTextEdit.ts @@ -1,6 +1,6 @@ import { QPlainTextEdit, - NodeWidget, + QWidget, QPlainTextEditSignals } from "@nodegui/nodegui"; import { ViewProps, setViewProps } from "../View/RNView"; @@ -66,16 +66,16 @@ export class RNPlainTextEdit extends QPlainTextEdit implements RNWidget { setProps(newProps: PlainTextEditProps, oldProps: PlainTextEditProps): void { setPlainTextEditProps(this, newProps, oldProps); } - appendInitialChild(child: NodeWidget): void { + appendInitialChild(child: QWidget): void { throwUnsupported(this); } - appendChild(child: NodeWidget): void { + appendChild(child: QWidget): void { throwUnsupported(this); } - insertBefore(child: NodeWidget, beforeChild: NodeWidget): void { + insertBefore(child: QWidget, beforeChild: QWidget): void { throwUnsupported(this); } - removeChild(child: NodeWidget): void { + removeChild(child: QWidget): void { throwUnsupported(this); } static tagName = "plaintextedit"; diff --git a/src/components/ProgressBar/RNProgressBar.ts b/src/components/ProgressBar/RNProgressBar.ts index 91e0c37..0096d5f 100644 --- a/src/components/ProgressBar/RNProgressBar.ts +++ b/src/components/ProgressBar/RNProgressBar.ts @@ -1,7 +1,7 @@ import { QProgressBar, Orientation, - NodeWidget, + QWidget, QProgressBarSignals } from "@nodegui/nodegui"; import { ViewProps, setViewProps } from "../View/RNView"; @@ -62,16 +62,16 @@ export class RNProgressBar extends QProgressBar implements RNWidget { setProps(newProps: ProgressBarProps, oldProps: ProgressBarProps): void { setProgressBarProps(this, newProps, oldProps); } - appendInitialChild(child: NodeWidget): void { + appendInitialChild(child: QWidget): void { throwUnsupported(this); } - appendChild(child: NodeWidget): void { + appendChild(child: QWidget): void { throwUnsupported(this); } - insertBefore(child: NodeWidget, beforeChild: NodeWidget): void { + insertBefore(child: QWidget, beforeChild: QWidget): void { throwUnsupported(this); } - removeChild(child: NodeWidget): void { + removeChild(child: QWidget): void { throwUnsupported(this); } static tagName = "progressbar"; diff --git a/src/components/ProgressDialog/RNProgressDialog.ts b/src/components/ProgressDialog/RNProgressDialog.ts index 94c000c..448eaed 100644 --- a/src/components/ProgressDialog/RNProgressDialog.ts +++ b/src/components/ProgressDialog/RNProgressDialog.ts @@ -1,4 +1,4 @@ -import { NodeWidget, QProgressDialog, QProgressDialogSignals } from "@nodegui/nodegui"; +import { QWidget, QProgressDialog, QProgressDialogSignals } from "@nodegui/nodegui"; import { throwUnsupported } from "../../utils/helpers"; import { RNWidget } from "../config"; import { DialogProps, setDialogProps } from "../Dialog/RNDialog"; @@ -72,16 +72,16 @@ export class RNProgressDialog extends QProgressDialog implements RNWidget { setProps(newProps: ProgressDialogProps, oldProps: ProgressDialogProps): void { setProgressDialogProps(this, newProps, oldProps); } - appendInitialChild(child: NodeWidget): void { + appendInitialChild(child: QWidget): void { throwUnsupported(this); } - appendChild(child: NodeWidget): void { + appendChild(child: QWidget): void { throwUnsupported(this); } - insertBefore(child: NodeWidget, beforeChild: NodeWidget): void { + insertBefore(child: QWidget, beforeChild: QWidget): void { throwUnsupported(this); } - removeChild(child: NodeWidget): void { + removeChild(child: QWidget): void { throwUnsupported(this); } static tagName = "progress-dialog"; diff --git a/src/components/RadioButton/RNRadioButton.ts b/src/components/RadioButton/RNRadioButton.ts index ee137db..415b3ec 100644 --- a/src/components/RadioButton/RNRadioButton.ts +++ b/src/components/RadioButton/RNRadioButton.ts @@ -1,6 +1,6 @@ import { QRadioButton, - NodeWidget, + QWidget, QRadioButtonSignals } from "@nodegui/nodegui"; import { RNWidget } from "../config"; @@ -34,16 +34,16 @@ export class RNRadioButton extends QRadioButton implements RNWidget { setProps(newProps: RadioButtonProps, oldProps: RadioButtonProps): void { setRadioButtonProps(this, newProps, oldProps); } - appendInitialChild(child: NodeWidget): void { + appendInitialChild(child: QWidget): void { throwUnsupported(this); } - appendChild(child: NodeWidget): void { + appendChild(child: QWidget): void { throwUnsupported(this); } - insertBefore(child: NodeWidget, beforeChild: NodeWidget): void { + insertBefore(child: QWidget, beforeChild: QWidget): void { throwUnsupported(this); } - removeChild(child: NodeWidget): void { + removeChild(child: QWidget): void { throwUnsupported(this); } static tagName = "radiobutton"; diff --git a/src/components/ScrollArea/RNScrollArea.ts b/src/components/ScrollArea/RNScrollArea.ts index 0f9a8b7..2cd82f2 100644 --- a/src/components/ScrollArea/RNScrollArea.ts +++ b/src/components/ScrollArea/RNScrollArea.ts @@ -1,4 +1,4 @@ -import { QScrollArea, NodeWidget, QScrollAreaSignals } from "@nodegui/nodegui"; +import { QScrollArea, QWidget, QScrollAreaSignals } from "@nodegui/nodegui"; import { ViewProps, setViewProps } from "../View/RNView"; import { RNWidget } from "../config"; @@ -27,24 +27,24 @@ export class RNScrollArea extends QScrollArea implements RNWidget { setProps(newProps: ScrollAreaProps, oldProps: ScrollAreaProps): void { setScrollAreaProps(this, newProps, oldProps); } - removeChild(child: NodeWidget): void { + removeChild(child: QWidget): void { const removedChild = this.takeWidget(); if (removedChild) { removedChild.close(); } child.close(); } - appendInitialChild(child: NodeWidget): void { - if (this.contentWidget) { + appendInitialChild(child: QWidget): void { + if (this.widget()) { console.warn("ScrollView can't have more than one child node"); return; } this.setWidget(child); } - appendChild(child: NodeWidget): void { + appendChild(child: QWidget): void { this.appendInitialChild(child); } - insertBefore(child: NodeWidget, beforeChild: NodeWidget): void { + insertBefore(child: QWidget, beforeChild: QWidget): void { this.appendInitialChild(child); } static tagName = "scrollarea"; diff --git a/src/components/Slider/RNSlider.ts b/src/components/Slider/RNSlider.ts index 7b1b5ca..500a165 100644 --- a/src/components/Slider/RNSlider.ts +++ b/src/components/Slider/RNSlider.ts @@ -1,4 +1,4 @@ -import { QSlider, NodeWidget, QSliderSignals, TickPosition, Orientation } from '@nodegui/nodegui'; +import { QSlider, QWidget, QSliderSignals, TickPosition, Orientation } from '@nodegui/nodegui'; import { setViewProps, ViewProps } from '../View/RNView'; import { RNWidget } from '../config'; import { throwUnsupported } from '../../utils/helpers'; @@ -77,19 +77,19 @@ export class RNSlider extends QSlider implements RNWidget { setSliderProps(this, newProps, oldProps); } - appendInitialChild(child: NodeWidget): void { + appendInitialChild(child: QWidget): void { throwUnsupported(this); } - appendChild(child: NodeWidget): void { + appendChild(child: QWidget): void { throwUnsupported(this); } - insertBefore(child: NodeWidget, beforeChild: NodeWidget): void { + insertBefore(child: QWidget, beforeChild: QWidget): void { throwUnsupported(this); } - removeChild(child: NodeWidget): void { + removeChild(child: QWidget): void { throwUnsupported(this); } diff --git a/src/components/SpinBox/RNSpinBox.ts b/src/components/SpinBox/RNSpinBox.ts index e546bfb..68fcf2b 100644 --- a/src/components/SpinBox/RNSpinBox.ts +++ b/src/components/SpinBox/RNSpinBox.ts @@ -1,4 +1,4 @@ -import { QSpinBox, NodeWidget, QSpinBoxSignals } from "@nodegui/nodegui"; +import { QSpinBox, QWidget, QSpinBoxSignals } from "@nodegui/nodegui"; import { ViewProps, setViewProps } from "../View/RNView"; import { RNWidget } from "../config"; import { throwUnsupported } from "../../utils/helpers"; @@ -67,16 +67,16 @@ export class RNSpinBox extends QSpinBox implements RNWidget { setProps(newProps: SpinBoxProps, oldProps: SpinBoxProps): void { setSpinBoxProps(this, newProps, oldProps); } - appendInitialChild(child: NodeWidget): void { + appendInitialChild(child: QWidget): void { throwUnsupported(this); } - appendChild(child: NodeWidget): void { + appendChild(child: QWidget): void { throwUnsupported(this); } - insertBefore(child: NodeWidget, beforeChild: NodeWidget): void { + insertBefore(child: QWidget, beforeChild: QWidget): void { throwUnsupported(this); } - removeChild(child: NodeWidget): void { + removeChild(child: QWidget): void { throwUnsupported(this); } static tagName = "spinbox"; diff --git a/src/components/SystemTrayIcon/RNSystemTrayIcon.ts b/src/components/SystemTrayIcon/RNSystemTrayIcon.ts index 4f8a355..caf25e9 100644 --- a/src/components/SystemTrayIcon/RNSystemTrayIcon.ts +++ b/src/components/SystemTrayIcon/RNSystemTrayIcon.ts @@ -2,7 +2,7 @@ import { WidgetEventListeners } from "../View/RNView"; import { QSystemTrayIconSignals, QSystemTrayIcon, - NodeWidget, + QWidget, QIcon, QMenu, } from "@nodegui/nodegui"; @@ -47,7 +47,7 @@ export interface SystemTrayIconProps extends RNProps { icon?: QIcon; /** - * Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname) + * Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetobjectnameobjectname) */ id?: string; @@ -62,7 +62,7 @@ export interface SystemTrayIconProps extends RNProps { tooltip?: string; /** - * Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/NodeWidget#widgetshow) + * Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetshow) */ visible?: boolean; } @@ -114,13 +114,15 @@ const setSystemTrayIconProps = ( */ export class RNSystemTrayIcon extends QSystemTrayIcon implements RNComponent { static tagName = "systemtrayicon"; + contextMenu: QMenu | null = null; setProps(newProps: SystemTrayIconProps, oldProps: SystemTrayIconProps): void { setSystemTrayIconProps(this, newProps, oldProps); } - appendInitialChild(child: NodeWidget): void { + appendInitialChild(child: QWidget): void { if (child instanceof QMenu) { if (!this.contextMenu) { + this.contextMenu = child; this.setContextMenu(child); } else { console.warn("SystemTrayIcon can't have more than one Menu."); @@ -129,13 +131,13 @@ export class RNSystemTrayIcon extends QSystemTrayIcon implements RNComponent { console.warn("SystemTrayIcon only supports Menu as its children"); } } - appendChild(child: NodeWidget): void { + appendChild(child: QWidget): void { this.appendInitialChild(child); } - insertBefore(child: NodeWidget, beforeChild: NodeWidget): void { + insertBefore(child: QWidget, beforeChild: QWidget): void { throwUnsupported(this); } - removeChild(child: NodeWidget): void { + removeChild(child: QWidget): void { throwUnsupported(this); } } diff --git a/src/components/Tab/RNTab.ts b/src/components/Tab/RNTab.ts index 9333cce..27219f6 100644 --- a/src/components/Tab/RNTab.ts +++ b/src/components/Tab/RNTab.ts @@ -3,7 +3,7 @@ import { QTabWidgetSignals, TabPosition, QIcon, - NodeWidget + QWidget } from "@nodegui/nodegui"; import { ViewProps, setViewProps } from "../View/RNView"; import { RNComponent } from "../config"; @@ -56,13 +56,13 @@ export class RNTab extends QTabWidget implements RNComponent { if (!(child instanceof RNTabItem)) { throw new Error("Children of tab should be of type TabItem"); } - const index = this.indexOf(beforeChild.actualTabWidget as NodeWidget); - this.insertTab(index, child.actualTabWidget as NodeWidget, new QIcon(), ""); + const index = this.indexOf(beforeChild.actualTabWidget as QWidget); + this.insertTab(index, child.actualTabWidget as QWidget, new QIcon(), ""); child.parentTab = this; setTabItemProps(child, this, child.initialProps, {}); } removeChild(child: RNTabItem): void { - const childIndex = this.indexOf(child.actualTabWidget as NodeWidget); + const childIndex = this.indexOf(child.actualTabWidget as QWidget); this.removeTab(childIndex); } static tagName = "tabwidget"; diff --git a/src/components/TabItem/RNTabItem.ts b/src/components/TabItem/RNTabItem.ts index e35af76..4093a2f 100644 --- a/src/components/TabItem/RNTabItem.ts +++ b/src/components/TabItem/RNTabItem.ts @@ -1,4 +1,4 @@ -import { NodeWidget, QIcon, Component } from "@nodegui/nodegui"; +import { QWidget, QIcon, Component } from "@nodegui/nodegui"; import { RNComponent, RNProps } from "../config"; import { RNTab } from "../Tab/RNTab"; @@ -41,7 +41,7 @@ export const setTabItemProps = ( */ export class RNTabItem extends Component implements RNComponent { native: any; - actualTabWidget?: NodeWidget; + actualTabWidget?: QWidget; initialProps: TabItemProps = {}; parentTab?: RNTab; @@ -52,19 +52,19 @@ export class RNTabItem extends Component implements RNComponent { this.initialProps = newProps; } } - appendInitialChild(child: NodeWidget): void { + appendInitialChild(child: QWidget): void { if (this.actualTabWidget) { throw new Error("Tab Item can have only one child"); } this.actualTabWidget = child; } - appendChild(child: NodeWidget): void { + appendChild(child: QWidget): void { this.appendInitialChild(child); } - insertBefore(child: NodeWidget, beforeChild: NodeWidget): void { + insertBefore(child: QWidget, beforeChild: QWidget): void { this.appendInitialChild(child); } - removeChild(child: NodeWidget): void { + removeChild(child: QWidget): void { child.close(); delete this.actualTabWidget; } diff --git a/src/components/TabItem/index.ts b/src/components/TabItem/index.ts index 987ae57..f08d938 100644 --- a/src/components/TabItem/index.ts +++ b/src/components/TabItem/index.ts @@ -14,7 +14,7 @@ class TabItemConfig extends ComponentConfig { context: any, workInProgress: Fiber ): RNTabItem { - const item = new RNTabItem(); + const item = new RNTabItem(null!); item.setProps(newProps, {}); return item; } diff --git a/src/components/Table/RNTable.ts b/src/components/Table/RNTable.ts index 56bcbf6..d44da2a 100644 --- a/src/components/Table/RNTable.ts +++ b/src/components/Table/RNTable.ts @@ -1,4 +1,4 @@ -import { FlexLayout, NodeWidget, QTableWidget, QTableWidgetItem, QTableWidgetSignals, SortOrder } from "@nodegui/nodegui"; +import { FlexLayout, QWidget, QTableWidget, QTableWidgetItem, QTableWidgetSignals, SortOrder } from "@nodegui/nodegui"; import { ViewProps, setViewProps } from "../View/RNView"; import { RNComponent } from "../config"; import { RNTableItem } from "../TableItem/RNTableItem"; @@ -15,7 +15,7 @@ interface VerticalHeader extends Omit { } interface CellWidget extends CellRange { - widget: NodeWidget; + widget: QWidget; } interface Sort extends Omit { @@ -150,12 +150,12 @@ export class RNTable extends QTableWidget implements RNComponent { setProps(newProps: CustomTableProps, oldProps: CustomTableProps): void { setTableProps(this, newProps, oldProps); } - removeChild(child: NodeWidget): void { + removeChild(child: QWidget): void { child.close(); } appendInitialChild(child: RNTableItem): void { const { cellPosition } = child; - if (!this.layout) { + if (!this.layout()) { this.setLayout(new FlexLayout()); } const row = this.rowCount(); diff --git a/src/components/TableItem/RNTableItem.ts b/src/components/TableItem/RNTableItem.ts index fa49d91..c184fd8 100644 --- a/src/components/TableItem/RNTableItem.ts +++ b/src/components/TableItem/RNTableItem.ts @@ -1,4 +1,4 @@ -import { QTableWidgetItem, NodeWidget, ItemFlag, CheckState, QVariant, QBrush, QIcon, QFont, QSize, AlignmentFlag } from "@nodegui/nodegui"; +import { QTableWidgetItem, QWidget, ItemFlag, CheckState, QVariant, QBrush, QIcon, QFont, QSize, AlignmentFlag } from "@nodegui/nodegui"; import { RNComponent } from "../config"; import { throwUnsupported } from "../../utils/helpers"; @@ -100,16 +100,16 @@ export class RNTableItem extends QTableWidgetItem implements RNComponent { this.cellPosition = newProps.cellPosition; setTableItemProps(this, newProps, oldProps); } - appendInitialChild(child: NodeWidget): void { + appendInitialChild(child: QWidget): void { throwUnsupported(this); } - appendChild(child: NodeWidget): void { + appendChild(child: QWidget): void { throwUnsupported(this); } - insertBefore(child: NodeWidget, beforeChild: NodeWidget): void { + insertBefore(child: QWidget, beforeChild: QWidget): void { throwUnsupported(this); } - removeChild(child: NodeWidget): void { + removeChild(child: QWidget): void { throwUnsupported(this); } static tagName = "table-item"; diff --git a/src/components/Text/RNText.ts b/src/components/Text/RNText.ts index 717c7a7..37f75aa 100644 --- a/src/components/Text/RNText.ts +++ b/src/components/Text/RNText.ts @@ -1,4 +1,4 @@ -import { QLabel, NodeWidget, QLabelSignals, TextInteractionFlag } from '@nodegui/nodegui'; +import { QLabel, QWidget, QLabelSignals, TextInteractionFlag } from '@nodegui/nodegui'; import { ViewProps, setViewProps } from '../View/RNView'; import { RNWidget } from '../config'; import { throwUnsupported } from '../../utils/helpers'; @@ -49,16 +49,16 @@ export class RNText extends QLabel implements RNWidget { setProps(newProps: TextProps, oldProps: TextProps): void { setTextProps(this, newProps, oldProps); } - appendInitialChild(child: NodeWidget): void { + appendInitialChild(child: QWidget): void { throwUnsupported(this); } - appendChild(child: NodeWidget): void { + appendChild(child: QWidget): void { throwUnsupported(this); } - insertBefore(child: NodeWidget, beforeChild: NodeWidget): void { + insertBefore(child: QWidget, beforeChild: QWidget): void { throwUnsupported(this); } - removeChild(child: NodeWidget): void { + removeChild(child: QWidget): void { throwUnsupported(this); } static tagName = 'text'; diff --git a/src/components/View/RNView.ts b/src/components/View/RNView.ts index 93aea51..93b6408 100644 --- a/src/components/View/RNView.ts +++ b/src/components/View/RNView.ts @@ -1,12 +1,12 @@ -import { QWidget, WindowState, QCursor, CursorShape, NodeWidget, QIcon, FlexLayout, WidgetEventTypes, QWidgetSignals } from "@nodegui/nodegui"; +import { QWidget, WindowState, QCursor, CursorShape, QIcon, FlexLayout, WidgetEventTypes, QWidgetSignals, QLayout, QObjectSignals } from "@nodegui/nodegui"; import { NativeRawPointer } from "@nodegui/nodegui/dist/lib/core/Component"; -import { NodeDialog } from "@nodegui/nodegui/dist/lib/QtWidgets/QDialog"; +import { QDialog } from "@nodegui/nodegui/dist/lib/QtWidgets/QDialog"; import { RNWidget, RNProps } from "../config"; /** * The View component can be used to encapsulate other components and provide structure. * It functions similar to a div in the web world. It is based on - * [NodeGui's QWidget](https://docs.nodegui.org/docs/api/QWidget). + * [NodeGui's QWidget](https://docs.nodegui.org/docs/api/generated/classes/QWidget). * ## Example * ```javascript *import React from "react"; @@ -30,67 +30,67 @@ import { RNWidget, RNProps } from "../config"; export interface ViewProps extends RNProps { /** - * Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/NodeWidget#widgetshow) + * Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetshow) */ visible?: boolean; /** - * Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet) + * Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetstylesheetstylesheet) */ styleSheet?: string; /** - * Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle) + * Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetinlinestylestyle) */ style?: string; /** - * Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height) + * Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetgeometryx-y-width-height) */ geometry?: Geometry; /** - * Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname) + * Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetobjectnameobjectname) */ id?: string; /** - * Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked) + * Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmousetrackingismousetracked) */ mouseTracking?: boolean; /** - * Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled) + * Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetenabledenabled) */ enabled?: boolean; /** - * This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity) + * This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowopacityopacity) */ windowOpacity?: number; /** - * Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle) + * Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowtitletitle) */ windowTitle?: string; /** - * Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate) + * Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowstatestate) */ windowState?: WindowState; /** - * Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor) + * Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetcursorcursor) */ cursor?: CursorShape | QCursor; /** - * Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon) + * Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowiconicon) */ windowIcon?: QIcon; /** - * Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height) + * Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetminimumsizewidth-height) */ minSize?: Size; /** - * Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height) + * Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmaximumsizewidth-height) */ maxSize?: Size; /** - * Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height) + * Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetfixedsizewidth-height) */ size?: ViewSize; /** - * Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y) + * Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetmovex-y) */ pos?: Position; /** @@ -117,7 +117,7 @@ export interface ViewProps extends RNProps { /** * @ignore */ -export function setViewProps(widget: NodeWidget, newProps: ViewProps, oldProps: ViewProps) { +export function setViewProps(widget: QWidget, newProps: ViewProps, oldProps: ViewProps) { const setter: ViewProps = { set visible(shouldShow: boolean) { shouldShow ? widget.show() : widget.hide(); @@ -215,38 +215,46 @@ export function setViewProps(widget: NodeWidget, newPro * @ignore */ export class RNView extends QWidget implements RNWidget { + private _layout: QLayout | null = null; + + layout() { + return this._layout; + } + setLayout(layout: QLayout) { + this._layout = layout; + super.setLayout(layout); + } setProps(newProps: ViewProps, oldProps: ViewProps): void { setViewProps(this, newProps, oldProps); } - insertBefore(child: NodeWidget, beforeChild: NodeWidget): void { - if (!this.layout || child instanceof NodeDialog) { - !this.layout && console.warn("parent has no layout to insert child before another child"); + insertBefore(child: QWidget, beforeChild: QWidget): void { + if (!this.layout() || child instanceof QDialog) { + !this.layout() && console.warn("parent has no layout to insert child before another child"); return; } - (this.layout as FlexLayout).insertChildBefore(child, beforeChild); + (this.layout() as FlexLayout).insertChildBefore(child, beforeChild); } static tagName = "view"; - appendInitialChild(child: NodeWidget): void { + appendInitialChild(child: QWidget): void { this.appendChild(child); } - appendChild(child: NodeWidget): void { - if (!child || child instanceof NodeDialog) { + appendChild(child: QWidget): void { + if (!child || child instanceof QDialog) { return; } - if (!this.layout) { + if (!this.layout()) { const flexLayout = new FlexLayout(); flexLayout.setFlexNode(this.getFlexNode()); this.setLayout(flexLayout); - this.layout = flexLayout; } - this.layout.addWidget(child); + this.layout()!.addWidget(child); } - removeChild(child: NodeWidget) { - if (!this.layout) { + removeChild(child: QWidget) { + if (!this.layout()) { console.warn("parent has no layout to remove child from"); return; } - this.layout.removeWidget(child); + this.layout()!.removeWidget(child); child.close(); } } diff --git a/src/components/Window/RNWindow.ts b/src/components/Window/RNWindow.ts index 1b3cbf9..c251b65 100644 --- a/src/components/Window/RNWindow.ts +++ b/src/components/Window/RNWindow.ts @@ -1,6 +1,6 @@ import { QMainWindow, - NodeWidget, + QWidget, QMainWindowSignals, QMenuBar, } from "@nodegui/nodegui"; @@ -33,14 +33,14 @@ export class RNWindow extends QMainWindow implements RNWidget { setProps(newProps: WindowProps, oldProps: WindowProps): void { setWindowProps(this, newProps, oldProps); } - removeChild(child: NodeWidget) { + removeChild(child: QWidget) { const removedChild = this.takeCentralWidget(); if (removedChild) { removedChild.close(); } child.close(); } - appendInitialChild(child: NodeWidget | QMenuBar): void { + appendInitialChild(child: QWidget | QMenuBar): void { if (child instanceof QMenuBar) { if (!this.menuBar()) { this.setMenuBar(child); @@ -50,16 +50,16 @@ export class RNWindow extends QMainWindow implements RNWidget { return; } - if (!this.centralWidget) { + if (!this.centralWidget()) { this.setCentralWidget(child); } else { console.warn("MainWindow can't have more than one child node"); } } - appendChild(child: NodeWidget): void { + appendChild(child: QWidget): void { this.appendInitialChild(child); } - insertBefore(child: NodeWidget, beforeChild: NodeWidget): void { + insertBefore(child: QWidget, beforeChild: QWidget): void { this.appendInitialChild(child); } static tagName = "mainwindow"; diff --git a/src/components/config.ts b/src/components/config.ts index 4b7f9d4..c12b988 100644 --- a/src/components/config.ts +++ b/src/components/config.ts @@ -1,4 +1,4 @@ -import { NodeWidget, Component } from "@nodegui/nodegui"; +import { QWidget, Component } from "@nodegui/nodegui"; import { Fiber } from "react-reconciler"; import { AppContainer } from "../reconciler"; @@ -14,16 +14,16 @@ export abstract class RNComponent { abstract insertBefore(child: Component, beforeChild: Component): void; abstract removeChild(child: Component): void; } -export abstract class RNWidget extends NodeWidget implements RNComponent { +export abstract class RNWidget extends QWidget implements RNComponent { static tagName: string; abstract setProps(newProps: RNProps, oldProps: RNProps): void; - abstract appendInitialChild(child: NodeWidget): void; - abstract appendChild(child: NodeWidget): void; + abstract appendInitialChild(child: QWidget): void; + abstract appendChild(child: QWidget): void; abstract insertBefore( - child: NodeWidget, - beforeChild: NodeWidget + child: QWidget, + beforeChild: QWidget ): void; - abstract removeChild(child: NodeWidget): void; + abstract removeChild(child: QWidget): void; } export abstract class ComponentConfig { abstract tagName: string; diff --git a/src/reconciler/index.ts b/src/reconciler/index.ts index 5cfced5..ec5013a 100644 --- a/src/reconciler/index.ts +++ b/src/reconciler/index.ts @@ -1,5 +1,5 @@ import Reconciler from "react-reconciler"; -import { NodeWidget, QSystemTrayIcon, NodeObject } from "@nodegui/nodegui"; +import { QWidget, QSystemTrayIcon, QObject } from "@nodegui/nodegui"; import { getComponentByTagName, RNWidget, @@ -7,10 +7,10 @@ import { RNComponent } from "../components/config"; -export type AppContainer = Set>; -export const appContainer: AppContainer = new Set>(); +export type AppContainer = Set>; +export const appContainer: AppContainer = new Set>(); -const shouldIgnoreChild = (child: NodeObject) => +const shouldIgnoreChild = (child: QObject) => child instanceof QSystemTrayIcon; const HostConfig: Reconciler.HostConfig< @@ -69,7 +69,7 @@ const HostConfig: Reconciler.HostConfig< workInProgress ); }, - appendInitialChild: function (parent: RNWidget, child: NodeWidget) { + appendInitialChild: function (parent: RNWidget, child: QWidget) { if (shouldIgnoreChild(child)) { return; } @@ -100,7 +100,7 @@ const HostConfig: Reconciler.HostConfig< const { commitMount } = getComponentByTagName(type); return commitMount(instance, newProps, internalInstanceHandle); }, - appendChildToContainer: function(container, child: NodeWidget) { + appendChildToContainer: function(container, child: QWidget) { container.add(child); }, insertInContainerBefore: (container, child, beforeChild) => { @@ -146,7 +146,7 @@ const HostConfig: Reconciler.HostConfig< finishedWork ); }, - appendChild: (parent: RNWidget, child: NodeWidget) => { + appendChild: (parent: RNWidget, child: QWidget) => { if (shouldIgnoreChild(child)) { return; } @@ -154,15 +154,15 @@ const HostConfig: Reconciler.HostConfig< }, insertBefore: ( parent: RNWidget, - child: NodeWidget, - beforeChild: NodeWidget + child: QWidget, + beforeChild: QWidget ) => { if (shouldIgnoreChild(child)) { return; } parent.insertBefore(child, beforeChild); }, - removeChild: (parent: RNWidget, child: NodeWidget) => { + removeChild: (parent: RNWidget, child: QWidget) => { if (!shouldIgnoreChild(child)) { parent.removeChild(child); } @@ -195,10 +195,10 @@ const HostConfig: Reconciler.HostConfig< return false; }, //@ts-ignore - hideInstance: (instance: NodeWidget) => { + hideInstance: (instance: QWidget) => { instance.hide(); }, - unhideInstance: (instance: NodeWidget, Props: RNProps) => { + unhideInstance: (instance: QWidget, Props: RNProps) => { instance.show(); }, hideTextInstance: (instance: any) => { @@ -207,7 +207,7 @@ const HostConfig: Reconciler.HostConfig< "hideTextInstance called when platform doesnt have host level text" ); }, - unhideTextInstance: (instance: NodeWidget, Props: RNProps) => { + unhideTextInstance: (instance: QWidget, Props: RNProps) => { // noop since we dont have any host text console.warn( "unhideTextInstance called when platform doesnt have host level text" diff --git a/src/renderer/index.ts b/src/renderer/index.ts index ee6008d..cabc596 100644 --- a/src/renderer/index.ts +++ b/src/renderer/index.ts @@ -1,7 +1,7 @@ import reconciler, { appContainer } from "../reconciler"; import ReactReconciler, { Reconciler } from "react-reconciler"; import React from "react"; -import { NodeWidget } from "@nodegui/nodegui"; +import { QWidget } from "@nodegui/nodegui"; import { RNComponent } from "../components/config"; //@ts-ignore import deepForceUpdate from "react-deep-force-update"; @@ -9,7 +9,7 @@ import deepForceUpdate from "react-deep-force-update"; type NodeGuiReconciler = Reconciler< RNComponent, any, - Set>, + Set>, any >; diff --git a/website/docs/api/classes/rnaction.md b/website/docs/api/classes/rnaction.md index 0611d89..43d4b9a 100644 --- a/website/docs/api/classes/rnaction.md +++ b/website/docs/api/classes/rnaction.md @@ -85,7 +85,7 @@ Name | Type | **Returns:** *[RNAction](rnaction.md)* -\+ **new RNAction**(`parent`: NodeWidget‹any›): *[RNAction](rnaction.md)* +\+ **new RNAction**(`parent`: QWidget‹any›): *[RNAction](rnaction.md)* *Inherited from [RNAction](rnaction.md).[constructor](rnaction.md#constructor)* @@ -95,7 +95,7 @@ Name | Type | Name | Type | ------ | ------ | -`parent` | NodeWidget‹any› | +`parent` | QWidget‹any› | **Returns:** *[RNAction](rnaction.md)* diff --git a/website/docs/api/classes/rngridcolumn.md b/website/docs/api/classes/rngridcolumn.md index 47a8c11..fc9020f 100644 --- a/website/docs/api/classes/rngridcolumn.md +++ b/website/docs/api/classes/rngridcolumn.md @@ -58,7 +58,7 @@ sidebar_label: "RNGridColumn" ### `Optional` actualWidget -• **actualWidget**? : *NodeWidget‹any›* +• **actualWidget**? : *QWidget‹any›* ___ @@ -124,13 +124,13 @@ ___ ### appendChild -▸ **appendChild**(`child`: NodeWidget‹any›): *void* +▸ **appendChild**(`child`: QWidget‹any›): *void* **Parameters:** Name | Type | ------ | ------ | -`child` | NodeWidget‹any› | +`child` | QWidget‹any› | **Returns:** *void* @@ -138,13 +138,13 @@ ___ ### appendInitialChild -▸ **appendInitialChild**(`child`: NodeWidget‹any›): *void* +▸ **appendInitialChild**(`child`: QWidget‹any›): *void* **Parameters:** Name | Type | ------ | ------ | -`child` | NodeWidget‹any› | +`child` | QWidget‹any› | **Returns:** *void* @@ -152,14 +152,14 @@ ___ ### insertBefore -▸ **insertBefore**(`child`: NodeWidget‹any›, `beforeChild`: NodeWidget‹any›): *void* +▸ **insertBefore**(`child`: QWidget‹any›, `beforeChild`: QWidget‹any›): *void* **Parameters:** Name | Type | ------ | ------ | -`child` | NodeWidget‹any› | -`beforeChild` | NodeWidget‹any› | +`child` | QWidget‹any› | +`beforeChild` | QWidget‹any› | **Returns:** *void* @@ -175,13 +175,13 @@ ___ ### removeChild -▸ **removeChild**(`child`: NodeWidget‹any›): *void* +▸ **removeChild**(`child`: QWidget‹any›): *void* **Parameters:** Name | Type | ------ | ------ | -`child` | NodeWidget‹any› | +`child` | QWidget‹any› | **Returns:** *void* diff --git a/website/docs/api/classes/rnmenu.md b/website/docs/api/classes/rnmenu.md index 71259f6..b15076e 100644 --- a/website/docs/api/classes/rnmenu.md +++ b/website/docs/api/classes/rnmenu.md @@ -124,7 +124,7 @@ sidebar_label: "RNMenu" **Returns:** *[RNMenu](rnmenu.md)* -\+ **new RNMenu**(`parent`: NodeWidget‹any›): *[RNMenu](rnmenu.md)* +\+ **new RNMenu**(`parent`: QWidget‹any›): *[RNMenu](rnmenu.md)* *Inherited from [RNMenu](rnmenu.md).[constructor](rnmenu.md#constructor)* @@ -134,7 +134,7 @@ sidebar_label: "RNMenu" Name | Type | ------ | ------ | -`parent` | NodeWidget‹any› | +`parent` | QWidget‹any› | **Returns:** *[RNMenu](rnmenu.md)* @@ -158,7 +158,7 @@ ___ ### `Optional` layout -• **layout**? : *NodeLayout‹QMenuSignals›* +• **layout**? : *QLayout‹QMenuSignals›* *Inherited from void* @@ -959,7 +959,7 @@ ___ ### setLayout -▸ **setLayout**(`parentLayout`: NodeLayout‹QMenuSignals›): *void* +▸ **setLayout**(`parentLayout`: QLayout‹QMenuSignals›): *void* *Inherited from void* @@ -967,7 +967,7 @@ ___ Name | Type | ------ | ------ | -`parentLayout` | NodeLayout‹QMenuSignals› | +`parentLayout` | QLayout‹QMenuSignals› | **Returns:** *void* diff --git a/website/docs/api/classes/rnmenubar.md b/website/docs/api/classes/rnmenubar.md index 952a0a7..a802a77 100644 --- a/website/docs/api/classes/rnmenubar.md +++ b/website/docs/api/classes/rnmenubar.md @@ -124,7 +124,7 @@ sidebar_label: "RNMenuBar" **Returns:** *[RNMenuBar](rnmenubar.md)* -\+ **new RNMenuBar**(`parent`: NodeWidget‹any›): *[RNMenuBar](rnmenubar.md)* +\+ **new RNMenuBar**(`parent`: QWidget‹any›): *[RNMenuBar](rnmenubar.md)* *Inherited from [RNMenuBar](rnmenubar.md).[constructor](rnmenubar.md#constructor)* @@ -134,7 +134,7 @@ sidebar_label: "RNMenuBar" Name | Type | ------ | ------ | -`parent` | NodeWidget‹any› | +`parent` | QWidget‹any› | **Returns:** *[RNMenuBar](rnmenubar.md)* @@ -180,7 +180,7 @@ ___ ### `Optional` layout -• **layout**? : *NodeLayout‹QMenuBarSignals›* +• **layout**? : *QLayout‹QMenuBarSignals›* *Inherited from void* @@ -460,14 +460,14 @@ ___ ### insertBefore -▸ **insertBefore**(`child`: NodeWidget‹any›, `beforeChild`: NodeWidget‹any›): *void* +▸ **insertBefore**(`child`: QWidget‹any›, `beforeChild`: QWidget‹any›): *void* **Parameters:** Name | Type | ------ | ------ | -`child` | NodeWidget‹any› | -`beforeChild` | NodeWidget‹any› | +`child` | QWidget‹any› | +`beforeChild` | QWidget‹any› | **Returns:** *void* @@ -672,13 +672,13 @@ ___ ### removeChild -▸ **removeChild**(`child`: NodeWidget‹any›): *void* +▸ **removeChild**(`child`: QWidget‹any›): *void* **Parameters:** Name | Type | ------ | ------ | -`child` | NodeWidget‹any› | +`child` | QWidget‹any› | **Returns:** *void* @@ -963,7 +963,7 @@ ___ ### setLayout -▸ **setLayout**(`parentLayout`: NodeLayout‹QMenuBarSignals›): *void* +▸ **setLayout**(`parentLayout`: QLayout‹QMenuBarSignals›): *void* *Inherited from void* @@ -971,7 +971,7 @@ ___ Name | Type | ------ | ------ | -`parentLayout` | NodeLayout‹QMenuBarSignals› | +`parentLayout` | QLayout‹QMenuBarSignals› | **Returns:** *void* diff --git a/website/docs/api/globals.md b/website/docs/api/globals.md index 9cb40a9..57511eb 100644 --- a/website/docs/api/globals.md +++ b/website/docs/api/globals.md @@ -209,7 +209,7 @@ ___ ### NodeGuiReconciler -Ƭ **NodeGuiReconciler**: *Reconciler‹RNComponent, any, Set‹NodeWidget‹any››, any›* +Ƭ **NodeGuiReconciler**: *Reconciler‹RNComponent, any, Set‹QWidget‹any››, any›* ___ diff --git a/website/docs/api/interfaces/abstractbuttonprops.md b/website/docs/api/interfaces/abstractbuttonprops.md index d43e45f..ecf81bb 100644 --- a/website/docs/api/interfaces/abstractbuttonprops.md +++ b/website/docs/api/interfaces/abstractbuttonprops.md @@ -5,7 +5,7 @@ sidebar_label: "AbstractButtonProps" --- The Button component provides ability to add and manipulate native button widgets. It is based on -[NodeGui's QPushButton](https://docs.nodegui.org/docs/api/QPushButton). +[NodeGui's QPushButton](https://docs.nodegui.org/docs/api/generated/classes/QPushButton). ## Example ```javascript import React from "react"; @@ -96,7 +96,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[cursor](viewprops.md#optional-cursor)* -Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor) +Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetcursorcursor) ___ @@ -106,7 +106,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[enabled](viewprops.md#optional-enabled)* -Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled) +Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetenabledenabled) ___ @@ -116,7 +116,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[geometry](viewprops.md#optional-geometry)* -Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height) +Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetgeometryx-y-width-height) ___ @@ -124,7 +124,7 @@ ___ • **icon**? : *QIcon* -Sets an icon in the button. [QPushButton: setIcon](https://docs.nodegui.org/docs/api/QPushButton#buttonseticonicon) +Sets an icon in the button. [QPushButton: setIcon](https://docs.nodegui.org/docs/api/generated/classes/QPushButton#buttonseticonicon) ___ @@ -132,7 +132,7 @@ ___ • **iconSize**? : *QSize* -Sets an icon size in the button. [QPushButton: setIconSize](https://docs.nodegui.org/docs/api/QPushButton#buttonseticonsize) +Sets an icon size in the button. [QPushButton: setIconSize](https://docs.nodegui.org/docs/api/generated/classes/QPushButton#buttonseticonsize) ___ @@ -142,7 +142,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[id](viewprops.md#optional-id)* -Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname) +Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetobjectnameobjectname) ___ @@ -152,7 +152,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[maxSize](viewprops.md#optional-maxsize)* -Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height) +Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmaximumsizewidth-height) ___ @@ -162,7 +162,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[minSize](viewprops.md#optional-minsize)* -Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height) +Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetminimumsizewidth-height) ___ @@ -172,7 +172,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[mouseTracking](viewprops.md#optional-mousetracking)* -Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked) +Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmousetrackingismousetracked) ___ @@ -192,7 +192,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[pos](viewprops.md#optional-pos)* -Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y) +Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetmovex-y) ___ @@ -212,7 +212,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[size](viewprops.md#optional-size)* -Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height) +Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetfixedsizewidth-height) ___ @@ -222,7 +222,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[style](viewprops.md#optional-style)* -Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle) +Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetinlinestylestyle) ___ @@ -232,7 +232,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[styleSheet](viewprops.md#optional-stylesheet)* -Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet) +Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetstylesheetstylesheet) ___ @@ -240,7 +240,7 @@ ___ • **text**? : *undefined | string* -Sets the given text to the button. [QPushButton: setText](https://docs.nodegui.org/docs/api/QPushButton#buttonsettexttext) +Sets the given text to the button. [QPushButton: setText](https://docs.nodegui.org/docs/api/generated/classes/QPushButton#buttonsettexttext) ___ @@ -250,7 +250,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[visible](viewprops.md#optional-visible)* -Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/NodeWidget#widgetshow) +Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetshow) ___ @@ -271,7 +271,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowIcon](viewprops.md#optional-windowicon)* -Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon) +Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowiconicon) ___ @@ -281,7 +281,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowOpacity](viewprops.md#optional-windowopacity)* -This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity) +This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowopacityopacity) ___ @@ -291,7 +291,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowState](viewprops.md#optional-windowstate)* -Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate) +Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowstatestate) ___ @@ -301,4 +301,4 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowTitle](viewprops.md#optional-windowtitle)* -Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle) +Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowtitletitle) diff --git a/website/docs/api/interfaces/actionprops.md b/website/docs/api/interfaces/actionprops.md index 703ddc7..7f3ce69 100644 --- a/website/docs/api/interfaces/actionprops.md +++ b/website/docs/api/interfaces/actionprops.md @@ -72,7 +72,7 @@ ___ • **id**? : *undefined | string* -Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname) +Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetobjectnameobjectname) ___ diff --git a/website/docs/api/interfaces/animatedimageprops.md b/website/docs/api/interfaces/animatedimageprops.md index 8a3493b..acb8195 100644 --- a/website/docs/api/interfaces/animatedimageprops.md +++ b/website/docs/api/interfaces/animatedimageprops.md @@ -75,7 +75,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[cursor](viewprops.md#optional-cursor)* -Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor) +Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetcursorcursor) ___ @@ -85,7 +85,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[enabled](viewprops.md#optional-enabled)* -Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled) +Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetenabledenabled) ___ @@ -95,7 +95,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[geometry](viewprops.md#optional-geometry)* -Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height) +Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetgeometryx-y-width-height) ___ @@ -105,7 +105,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[id](viewprops.md#optional-id)* -Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname) +Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetobjectnameobjectname) ___ @@ -115,7 +115,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[maxSize](viewprops.md#optional-maxsize)* -Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height) +Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmaximumsizewidth-height) ___ @@ -125,7 +125,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[minSize](viewprops.md#optional-minsize)* -Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height) +Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetminimumsizewidth-height) ___ @@ -135,7 +135,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[mouseTracking](viewprops.md#optional-mousetracking)* -Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked) +Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmousetrackingismousetracked) ___ @@ -163,7 +163,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[pos](viewprops.md#optional-pos)* -Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y) +Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetmovex-y) ___ @@ -191,7 +191,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[size](viewprops.md#optional-size)* -Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height) +Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetfixedsizewidth-height) ___ @@ -207,7 +207,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[style](viewprops.md#optional-style)* -Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle) +Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetinlinestylestyle) ___ @@ -217,7 +217,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[styleSheet](viewprops.md#optional-stylesheet)* -Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet) +Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetstylesheetstylesheet) ___ @@ -235,7 +235,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[visible](viewprops.md#optional-visible)* -Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/NodeWidget#widgetshow) +Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetshow) ___ @@ -256,7 +256,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowIcon](viewprops.md#optional-windowicon)* -Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon) +Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowiconicon) ___ @@ -266,7 +266,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowOpacity](viewprops.md#optional-windowopacity)* -This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity) +This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowopacityopacity) ___ @@ -276,7 +276,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowState](viewprops.md#optional-windowstate)* -Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate) +Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowstatestate) ___ @@ -286,7 +286,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowTitle](viewprops.md#optional-windowtitle)* -Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle) +Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowtitletitle) ___ diff --git a/website/docs/api/interfaces/boxviewprops.md b/website/docs/api/interfaces/boxviewprops.md index c03ca0e..379441b 100644 --- a/website/docs/api/interfaces/boxviewprops.md +++ b/website/docs/api/interfaces/boxviewprops.md @@ -55,7 +55,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[cursor](viewprops.md#optional-cursor)* -Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor) +Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetcursorcursor) ___ @@ -71,7 +71,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[enabled](viewprops.md#optional-enabled)* -Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled) +Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetenabledenabled) ___ @@ -81,7 +81,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[geometry](viewprops.md#optional-geometry)* -Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height) +Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetgeometryx-y-width-height) ___ @@ -91,7 +91,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[id](viewprops.md#optional-id)* -Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname) +Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetobjectnameobjectname) ___ @@ -101,7 +101,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[maxSize](viewprops.md#optional-maxsize)* -Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height) +Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmaximumsizewidth-height) ___ @@ -111,7 +111,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[minSize](viewprops.md#optional-minsize)* -Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height) +Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetminimumsizewidth-height) ___ @@ -121,7 +121,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[mouseTracking](viewprops.md#optional-mousetracking)* -Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked) +Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmousetrackingismousetracked) ___ @@ -141,7 +141,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[pos](viewprops.md#optional-pos)* -Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y) +Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetmovex-y) ___ @@ -161,7 +161,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[size](viewprops.md#optional-size)* -Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height) +Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetfixedsizewidth-height) ___ @@ -171,7 +171,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[style](viewprops.md#optional-style)* -Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle) +Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetinlinestylestyle) ___ @@ -181,7 +181,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[styleSheet](viewprops.md#optional-stylesheet)* -Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet) +Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetstylesheetstylesheet) ___ @@ -191,7 +191,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[visible](viewprops.md#optional-visible)* -Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/NodeWidget#widgetshow) +Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetshow) ___ @@ -212,7 +212,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowIcon](viewprops.md#optional-windowicon)* -Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon) +Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowiconicon) ___ @@ -222,7 +222,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowOpacity](viewprops.md#optional-windowopacity)* -This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity) +This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowopacityopacity) ___ @@ -232,7 +232,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowState](viewprops.md#optional-windowstate)* -Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate) +Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowstatestate) ___ @@ -242,4 +242,4 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowTitle](viewprops.md#optional-windowtitle)* -Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle) +Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowtitletitle) diff --git a/website/docs/api/interfaces/buttonprops.md b/website/docs/api/interfaces/buttonprops.md index a4eb03c..7b3cd83 100644 --- a/website/docs/api/interfaces/buttonprops.md +++ b/website/docs/api/interfaces/buttonprops.md @@ -5,7 +5,7 @@ sidebar_label: "ButtonProps" --- The Button component provides ability to add and manipulate native button widgets. It is based on -[NodeGui's QPushButton](https://docs.nodegui.org/docs/api/QPushButton). +[NodeGui's QPushButton](https://docs.nodegui.org/docs/api/generated/classes/QPushButton). ## Example ```javascript import React from "react"; @@ -89,7 +89,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[cursor](viewprops.md#optional-cursor)* -Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor) +Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetcursorcursor) ___ @@ -99,7 +99,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[enabled](viewprops.md#optional-enabled)* -Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled) +Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetenabledenabled) ___ @@ -107,7 +107,7 @@ ___ • **flat**? : *undefined | false | true* -Sets whether the button border is raised. [QPushButton: setFlat](https://docs.nodegui.org/docs/api/QPushButton#buttonsetflatisflat) +Sets whether the button border is raised. [QPushButton: setFlat](https://docs.nodegui.org/docs/api/generated/classes/QPushButton#buttonsetflatisflat) ___ @@ -117,7 +117,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[geometry](viewprops.md#optional-geometry)* -Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height) +Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetgeometryx-y-width-height) ___ @@ -127,7 +127,7 @@ ___ *Inherited from [AbstractButtonProps](abstractbuttonprops.md).[icon](abstractbuttonprops.md#optional-icon)* -Sets an icon in the button. [QPushButton: setIcon](https://docs.nodegui.org/docs/api/QPushButton#buttonseticonicon) +Sets an icon in the button. [QPushButton: setIcon](https://docs.nodegui.org/docs/api/generated/classes/QPushButton#buttonseticonicon) ___ @@ -137,7 +137,7 @@ ___ *Inherited from [AbstractButtonProps](abstractbuttonprops.md).[iconSize](abstractbuttonprops.md#optional-iconsize)* -Sets an icon size in the button. [QPushButton: setIconSize](https://docs.nodegui.org/docs/api/QPushButton#buttonseticonsize) +Sets an icon size in the button. [QPushButton: setIconSize](https://docs.nodegui.org/docs/api/generated/classes/QPushButton#buttonseticonsize) ___ @@ -147,7 +147,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[id](viewprops.md#optional-id)* -Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname) +Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetobjectnameobjectname) ___ @@ -157,7 +157,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[maxSize](viewprops.md#optional-maxsize)* -Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height) +Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmaximumsizewidth-height) ___ @@ -167,7 +167,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[minSize](viewprops.md#optional-minsize)* -Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height) +Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetminimumsizewidth-height) ___ @@ -177,7 +177,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[mouseTracking](viewprops.md#optional-mousetracking)* -Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked) +Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmousetrackingismousetracked) ___ @@ -197,7 +197,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[pos](viewprops.md#optional-pos)* -Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y) +Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetmovex-y) ___ @@ -217,7 +217,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[size](viewprops.md#optional-size)* -Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height) +Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetfixedsizewidth-height) ___ @@ -227,7 +227,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[style](viewprops.md#optional-style)* -Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle) +Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetinlinestylestyle) ___ @@ -237,7 +237,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[styleSheet](viewprops.md#optional-stylesheet)* -Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet) +Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetstylesheetstylesheet) ___ @@ -247,7 +247,7 @@ ___ *Inherited from [AbstractButtonProps](abstractbuttonprops.md).[text](abstractbuttonprops.md#optional-text)* -Sets the given text to the button. [QPushButton: setText](https://docs.nodegui.org/docs/api/QPushButton#buttonsettexttext) +Sets the given text to the button. [QPushButton: setText](https://docs.nodegui.org/docs/api/generated/classes/QPushButton#buttonsettexttext) ___ @@ -257,7 +257,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[visible](viewprops.md#optional-visible)* -Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/NodeWidget#widgetshow) +Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetshow) ___ @@ -278,7 +278,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowIcon](viewprops.md#optional-windowicon)* -Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon) +Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowiconicon) ___ @@ -288,7 +288,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowOpacity](viewprops.md#optional-windowopacity)* -This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity) +This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowopacityopacity) ___ @@ -298,7 +298,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowState](viewprops.md#optional-windowstate)* -Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate) +Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowstatestate) ___ @@ -308,4 +308,4 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowTitle](viewprops.md#optional-windowtitle)* -Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle) +Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowtitletitle) diff --git a/website/docs/api/interfaces/checkboxprops.md b/website/docs/api/interfaces/checkboxprops.md index 61bbbeb..d547c4d 100644 --- a/website/docs/api/interfaces/checkboxprops.md +++ b/website/docs/api/interfaces/checkboxprops.md @@ -5,7 +5,7 @@ sidebar_label: "CheckBoxProps" --- The CheckBox component provides ability to add and manipulate native button widgets. It is based on -[NodeGui's QCheckBox](https://docs.nodegui.org/docs/api/QCheckBox). +[NodeGui's QCheckBox](https://docs.nodegui.org/docs/api/generated/classes/QCheckBox). ## Example ```javascript import React from "react"; @@ -77,7 +77,7 @@ ___ • **checked**? : *undefined | false | true* -This property holds whether the button is checked. [QCheckBox: setChecked](https://docs.nodegui.org/docs/api/QCheckBox/#checkboxsetcheckedcheck) +This property holds whether the button is checked. [QCheckBox: setChecked](https://docs.nodegui.org/docs/api/generated/classes/QCheckBox/#checkboxsetcheckedcheck) ___ @@ -97,7 +97,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[cursor](viewprops.md#optional-cursor)* -Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor) +Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetcursorcursor) ___ @@ -107,7 +107,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[enabled](viewprops.md#optional-enabled)* -Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled) +Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetenabledenabled) ___ @@ -117,7 +117,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[geometry](viewprops.md#optional-geometry)* -Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height) +Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetgeometryx-y-width-height) ___ @@ -127,7 +127,7 @@ ___ *Inherited from [AbstractButtonProps](abstractbuttonprops.md).[icon](abstractbuttonprops.md#optional-icon)* -Sets an icon in the button. [QPushButton: setIcon](https://docs.nodegui.org/docs/api/QPushButton#buttonseticonicon) +Sets an icon in the button. [QPushButton: setIcon](https://docs.nodegui.org/docs/api/generated/classes/QPushButton#buttonseticonicon) ___ @@ -137,7 +137,7 @@ ___ *Inherited from [AbstractButtonProps](abstractbuttonprops.md).[iconSize](abstractbuttonprops.md#optional-iconsize)* -Sets an icon size in the button. [QPushButton: setIconSize](https://docs.nodegui.org/docs/api/QPushButton#buttonseticonsize) +Sets an icon size in the button. [QPushButton: setIconSize](https://docs.nodegui.org/docs/api/generated/classes/QPushButton#buttonseticonsize) ___ @@ -147,7 +147,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[id](viewprops.md#optional-id)* -Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname) +Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetobjectnameobjectname) ___ @@ -157,7 +157,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[maxSize](viewprops.md#optional-maxsize)* -Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height) +Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmaximumsizewidth-height) ___ @@ -167,7 +167,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[minSize](viewprops.md#optional-minsize)* -Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height) +Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetminimumsizewidth-height) ___ @@ -177,7 +177,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[mouseTracking](viewprops.md#optional-mousetracking)* -Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked) +Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmousetrackingismousetracked) ___ @@ -197,7 +197,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[pos](viewprops.md#optional-pos)* -Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y) +Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetmovex-y) ___ @@ -217,7 +217,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[size](viewprops.md#optional-size)* -Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height) +Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetfixedsizewidth-height) ___ @@ -227,7 +227,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[style](viewprops.md#optional-style)* -Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle) +Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetinlinestylestyle) ___ @@ -237,7 +237,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[styleSheet](viewprops.md#optional-stylesheet)* -Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet) +Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetstylesheetstylesheet) ___ @@ -247,7 +247,7 @@ ___ *Inherited from [AbstractButtonProps](abstractbuttonprops.md).[text](abstractbuttonprops.md#optional-text)* -Sets the given text to the button. [QPushButton: setText](https://docs.nodegui.org/docs/api/QPushButton#buttonsettexttext) +Sets the given text to the button. [QPushButton: setText](https://docs.nodegui.org/docs/api/generated/classes/QPushButton#buttonsettexttext) ___ @@ -257,7 +257,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[visible](viewprops.md#optional-visible)* -Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/NodeWidget#widgetshow) +Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetshow) ___ @@ -278,7 +278,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowIcon](viewprops.md#optional-windowicon)* -Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon) +Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowiconicon) ___ @@ -288,7 +288,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowOpacity](viewprops.md#optional-windowopacity)* -This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity) +This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowopacityopacity) ___ @@ -298,7 +298,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowState](viewprops.md#optional-windowstate)* -Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate) +Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowstatestate) ___ @@ -308,4 +308,4 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowTitle](viewprops.md#optional-windowtitle)* -Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle) +Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowtitletitle) diff --git a/website/docs/api/interfaces/comboboxprops.md b/website/docs/api/interfaces/comboboxprops.md index 0035ee6..50e42b8 100644 --- a/website/docs/api/interfaces/comboboxprops.md +++ b/website/docs/api/interfaces/comboboxprops.md @@ -93,7 +93,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[cursor](viewprops.md#optional-cursor)* -Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor) +Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetcursorcursor) ___ @@ -115,7 +115,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[enabled](viewprops.md#optional-enabled)* -Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled) +Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetenabledenabled) ___ @@ -131,7 +131,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[geometry](viewprops.md#optional-geometry)* -Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height) +Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetgeometryx-y-width-height) ___ @@ -147,7 +147,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[id](viewprops.md#optional-id)* -Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname) +Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetobjectnameobjectname) ___ @@ -175,7 +175,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[maxSize](viewprops.md#optional-maxsize)* -Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height) +Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmaximumsizewidth-height) ___ @@ -191,7 +191,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[minSize](viewprops.md#optional-minsize)* -Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height) +Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetminimumsizewidth-height) ___ @@ -213,7 +213,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[mouseTracking](viewprops.md#optional-mousetracking)* -Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked) +Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmousetrackingismousetracked) ___ @@ -233,7 +233,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[pos](viewprops.md#optional-pos)* -Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y) +Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetmovex-y) ___ @@ -253,7 +253,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[size](viewprops.md#optional-size)* -Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height) +Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetfixedsizewidth-height) ___ @@ -269,7 +269,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[style](viewprops.md#optional-style)* -Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle) +Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetinlinestylestyle) ___ @@ -279,7 +279,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[styleSheet](viewprops.md#optional-stylesheet)* -Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet) +Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetstylesheetstylesheet) ___ @@ -289,7 +289,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[visible](viewprops.md#optional-visible)* -Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/NodeWidget#widgetshow) +Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetshow) ___ @@ -310,7 +310,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowIcon](viewprops.md#optional-windowicon)* -Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon) +Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowiconicon) ___ @@ -320,7 +320,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowOpacity](viewprops.md#optional-windowopacity)* -This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity) +This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowopacityopacity) ___ @@ -330,7 +330,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowState](viewprops.md#optional-windowstate)* -Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate) +Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowstatestate) ___ @@ -340,4 +340,4 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowTitle](viewprops.md#optional-windowtitle)* -Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle) +Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowtitletitle) diff --git a/website/docs/api/interfaces/dialprops.md b/website/docs/api/interfaces/dialprops.md index e24b7f5..f7f4ab3 100644 --- a/website/docs/api/interfaces/dialprops.md +++ b/website/docs/api/interfaces/dialprops.md @@ -57,7 +57,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[cursor](viewprops.md#optional-cursor)* -Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor) +Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetcursorcursor) ___ @@ -67,7 +67,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[enabled](viewprops.md#optional-enabled)* -Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled) +Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetenabledenabled) ___ @@ -77,7 +77,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[geometry](viewprops.md#optional-geometry)* -Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height) +Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetgeometryx-y-width-height) ___ @@ -87,7 +87,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[id](viewprops.md#optional-id)* -Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname) +Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetobjectnameobjectname) ___ @@ -97,7 +97,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[maxSize](viewprops.md#optional-maxsize)* -Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height) +Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmaximumsizewidth-height) ___ @@ -107,7 +107,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[minSize](viewprops.md#optional-minsize)* -Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height) +Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetminimumsizewidth-height) ___ @@ -117,7 +117,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[mouseTracking](viewprops.md#optional-mousetracking)* -Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked) +Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmousetrackingismousetracked) ___ @@ -149,7 +149,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[pos](viewprops.md#optional-pos)* -Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y) +Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetmovex-y) ___ @@ -169,7 +169,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[size](viewprops.md#optional-size)* -Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height) +Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetfixedsizewidth-height) ___ @@ -179,7 +179,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[style](viewprops.md#optional-style)* -Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle) +Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetinlinestylestyle) ___ @@ -189,7 +189,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[styleSheet](viewprops.md#optional-stylesheet)* -Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet) +Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetstylesheetstylesheet) ___ @@ -199,7 +199,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[visible](viewprops.md#optional-visible)* -Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/NodeWidget#widgetshow) +Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetshow) ___ @@ -220,7 +220,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowIcon](viewprops.md#optional-windowicon)* -Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon) +Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowiconicon) ___ @@ -230,7 +230,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowOpacity](viewprops.md#optional-windowopacity)* -This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity) +This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowopacityopacity) ___ @@ -240,7 +240,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowState](viewprops.md#optional-windowstate)* -Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate) +Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowstatestate) ___ @@ -250,7 +250,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowTitle](viewprops.md#optional-windowtitle)* -Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle) +Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowtitletitle) ___ diff --git a/website/docs/api/interfaces/gridviewprops.md b/website/docs/api/interfaces/gridviewprops.md index acdcfc0..5e649b7 100644 --- a/website/docs/api/interfaces/gridviewprops.md +++ b/website/docs/api/interfaces/gridviewprops.md @@ -71,7 +71,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[cursor](viewprops.md#optional-cursor)* -Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor) +Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetcursorcursor) ___ @@ -81,7 +81,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[enabled](viewprops.md#optional-enabled)* -Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled) +Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetenabledenabled) ___ @@ -91,7 +91,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[geometry](viewprops.md#optional-geometry)* -Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height) +Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetgeometryx-y-width-height) ___ @@ -107,7 +107,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[id](viewprops.md#optional-id)* -Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname) +Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetobjectnameobjectname) ___ @@ -117,7 +117,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[maxSize](viewprops.md#optional-maxsize)* -Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height) +Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmaximumsizewidth-height) ___ @@ -127,7 +127,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[minSize](viewprops.md#optional-minsize)* -Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height) +Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetminimumsizewidth-height) ___ @@ -137,7 +137,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[mouseTracking](viewprops.md#optional-mousetracking)* -Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked) +Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmousetrackingismousetracked) ___ @@ -157,7 +157,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[pos](viewprops.md#optional-pos)* -Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y) +Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetmovex-y) ___ @@ -183,7 +183,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[size](viewprops.md#optional-size)* -Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height) +Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetfixedsizewidth-height) ___ @@ -193,7 +193,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[style](viewprops.md#optional-style)* -Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle) +Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetinlinestylestyle) ___ @@ -203,7 +203,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[styleSheet](viewprops.md#optional-stylesheet)* -Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet) +Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetstylesheetstylesheet) ___ @@ -219,7 +219,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[visible](viewprops.md#optional-visible)* -Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/NodeWidget#widgetshow) +Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetshow) ___ @@ -240,7 +240,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowIcon](viewprops.md#optional-windowicon)* -Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon) +Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowiconicon) ___ @@ -250,7 +250,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowOpacity](viewprops.md#optional-windowopacity)* -This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity) +This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowopacityopacity) ___ @@ -260,7 +260,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowState](viewprops.md#optional-windowstate)* -Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate) +Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowstatestate) ___ @@ -270,4 +270,4 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowTitle](viewprops.md#optional-windowtitle)* -Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle) +Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowtitletitle) diff --git a/website/docs/api/interfaces/imageprops.md b/website/docs/api/interfaces/imageprops.md index 4cad738..4df1d81 100644 --- a/website/docs/api/interfaces/imageprops.md +++ b/website/docs/api/interfaces/imageprops.md @@ -83,7 +83,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[cursor](viewprops.md#optional-cursor)* -Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor) +Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetcursorcursor) ___ @@ -93,7 +93,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[enabled](viewprops.md#optional-enabled)* -Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled) +Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetenabledenabled) ___ @@ -103,7 +103,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[geometry](viewprops.md#optional-geometry)* -Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height) +Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetgeometryx-y-width-height) ___ @@ -113,7 +113,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[id](viewprops.md#optional-id)* -Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname) +Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetobjectnameobjectname) ___ @@ -123,7 +123,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[maxSize](viewprops.md#optional-maxsize)* -Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height) +Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmaximumsizewidth-height) ___ @@ -133,7 +133,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[minSize](viewprops.md#optional-minsize)* -Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height) +Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetminimumsizewidth-height) ___ @@ -143,7 +143,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[mouseTracking](viewprops.md#optional-mousetracking)* -Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked) +Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmousetrackingismousetracked) ___ @@ -171,7 +171,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[pos](viewprops.md#optional-pos)* -Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y) +Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetmovex-y) ___ @@ -199,7 +199,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[size](viewprops.md#optional-size)* -Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height) +Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetfixedsizewidth-height) ___ @@ -215,7 +215,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[style](viewprops.md#optional-style)* -Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle) +Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetinlinestylestyle) ___ @@ -225,7 +225,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[styleSheet](viewprops.md#optional-stylesheet)* -Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet) +Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetstylesheetstylesheet) ___ @@ -249,7 +249,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[visible](viewprops.md#optional-visible)* -Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/NodeWidget#widgetshow) +Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetshow) ___ @@ -270,7 +270,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowIcon](viewprops.md#optional-windowicon)* -Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon) +Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowiconicon) ___ @@ -280,7 +280,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowOpacity](viewprops.md#optional-windowopacity)* -This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity) +This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowopacityopacity) ___ @@ -290,7 +290,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowState](viewprops.md#optional-windowstate)* -Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate) +Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowstatestate) ___ @@ -300,7 +300,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowTitle](viewprops.md#optional-windowtitle)* -Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle) +Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowtitletitle) ___ diff --git a/website/docs/api/interfaces/lineeditprops.md b/website/docs/api/interfaces/lineeditprops.md index 8653010..ec47f4f 100644 --- a/website/docs/api/interfaces/lineeditprops.md +++ b/website/docs/api/interfaces/lineeditprops.md @@ -58,7 +58,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[cursor](viewprops.md#optional-cursor)* -Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor) +Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetcursorcursor) ___ @@ -74,7 +74,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[enabled](viewprops.md#optional-enabled)* -Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled) +Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetenabledenabled) ___ @@ -84,7 +84,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[geometry](viewprops.md#optional-geometry)* -Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height) +Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetgeometryx-y-width-height) ___ @@ -94,7 +94,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[id](viewprops.md#optional-id)* -Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname) +Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetobjectnameobjectname) ___ @@ -104,7 +104,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[maxSize](viewprops.md#optional-maxsize)* -Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height) +Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmaximumsizewidth-height) ___ @@ -114,7 +114,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[minSize](viewprops.md#optional-minsize)* -Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height) +Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetminimumsizewidth-height) ___ @@ -124,7 +124,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[mouseTracking](viewprops.md#optional-mousetracking)* -Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked) +Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmousetrackingismousetracked) ___ @@ -150,7 +150,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[pos](viewprops.md#optional-pos)* -Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y) +Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetmovex-y) ___ @@ -176,7 +176,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[size](viewprops.md#optional-size)* -Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height) +Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetfixedsizewidth-height) ___ @@ -186,7 +186,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[style](viewprops.md#optional-style)* -Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle) +Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetinlinestylestyle) ___ @@ -196,7 +196,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[styleSheet](viewprops.md#optional-stylesheet)* -Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet) +Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetstylesheetstylesheet) ___ @@ -212,7 +212,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[visible](viewprops.md#optional-visible)* -Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/NodeWidget#widgetshow) +Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetshow) ___ @@ -233,7 +233,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowIcon](viewprops.md#optional-windowicon)* -Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon) +Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowiconicon) ___ @@ -243,7 +243,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowOpacity](viewprops.md#optional-windowopacity)* -This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity) +This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowopacityopacity) ___ @@ -253,7 +253,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowState](viewprops.md#optional-windowstate)* -Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate) +Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowstatestate) ___ @@ -263,4 +263,4 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowTitle](viewprops.md#optional-windowtitle)* -Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle) +Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowtitletitle) diff --git a/website/docs/api/interfaces/menubarprops.md b/website/docs/api/interfaces/menubarprops.md index 9b44554..f4b2d83 100644 --- a/website/docs/api/interfaces/menubarprops.md +++ b/website/docs/api/interfaces/menubarprops.md @@ -55,7 +55,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[cursor](viewprops.md#optional-cursor)* -Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor) +Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetcursorcursor) ___ @@ -65,7 +65,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[enabled](viewprops.md#optional-enabled)* -Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled) +Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetenabledenabled) ___ @@ -75,7 +75,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[geometry](viewprops.md#optional-geometry)* -Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height) +Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetgeometryx-y-width-height) ___ @@ -85,7 +85,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[id](viewprops.md#optional-id)* -Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname) +Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetobjectnameobjectname) ___ @@ -95,7 +95,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[maxSize](viewprops.md#optional-maxsize)* -Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height) +Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmaximumsizewidth-height) ___ @@ -105,7 +105,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[minSize](viewprops.md#optional-minsize)* -Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height) +Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetminimumsizewidth-height) ___ @@ -115,7 +115,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[mouseTracking](viewprops.md#optional-mousetracking)* -Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked) +Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmousetrackingismousetracked) ___ @@ -141,7 +141,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[pos](viewprops.md#optional-pos)* -Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y) +Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetmovex-y) ___ @@ -161,7 +161,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[size](viewprops.md#optional-size)* -Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height) +Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetfixedsizewidth-height) ___ @@ -171,7 +171,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[style](viewprops.md#optional-style)* -Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle) +Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetinlinestylestyle) ___ @@ -181,7 +181,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[styleSheet](viewprops.md#optional-stylesheet)* -Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet) +Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetstylesheetstylesheet) ___ @@ -191,7 +191,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[visible](viewprops.md#optional-visible)* -Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/NodeWidget#widgetshow) +Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetshow) ___ @@ -212,7 +212,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowIcon](viewprops.md#optional-windowicon)* -Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon) +Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowiconicon) ___ @@ -222,7 +222,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowOpacity](viewprops.md#optional-windowopacity)* -This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity) +This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowopacityopacity) ___ @@ -232,7 +232,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowState](viewprops.md#optional-windowstate)* -Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate) +Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowstatestate) ___ @@ -242,4 +242,4 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowTitle](viewprops.md#optional-windowtitle)* -Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle) +Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowtitletitle) diff --git a/website/docs/api/interfaces/menuprops.md b/website/docs/api/interfaces/menuprops.md index 49356ae..432be37 100644 --- a/website/docs/api/interfaces/menuprops.md +++ b/website/docs/api/interfaces/menuprops.md @@ -55,7 +55,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[cursor](viewprops.md#optional-cursor)* -Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor) +Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetcursorcursor) ___ @@ -65,7 +65,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[enabled](viewprops.md#optional-enabled)* -Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled) +Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetenabledenabled) ___ @@ -75,7 +75,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[geometry](viewprops.md#optional-geometry)* -Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height) +Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetgeometryx-y-width-height) ___ @@ -85,7 +85,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[id](viewprops.md#optional-id)* -Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname) +Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetobjectnameobjectname) ___ @@ -95,7 +95,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[maxSize](viewprops.md#optional-maxsize)* -Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height) +Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmaximumsizewidth-height) ___ @@ -105,7 +105,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[minSize](viewprops.md#optional-minsize)* -Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height) +Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetminimumsizewidth-height) ___ @@ -115,7 +115,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[mouseTracking](viewprops.md#optional-mousetracking)* -Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked) +Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmousetrackingismousetracked) ___ @@ -135,7 +135,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[pos](viewprops.md#optional-pos)* -Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y) +Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetmovex-y) ___ @@ -155,7 +155,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[size](viewprops.md#optional-size)* -Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height) +Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetfixedsizewidth-height) ___ @@ -165,7 +165,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[style](viewprops.md#optional-style)* -Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle) +Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetinlinestylestyle) ___ @@ -175,7 +175,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[styleSheet](viewprops.md#optional-stylesheet)* -Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet) +Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetstylesheetstylesheet) ___ @@ -191,7 +191,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[visible](viewprops.md#optional-visible)* -Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/NodeWidget#widgetshow) +Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetshow) ___ @@ -212,7 +212,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowIcon](viewprops.md#optional-windowicon)* -Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon) +Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowiconicon) ___ @@ -222,7 +222,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowOpacity](viewprops.md#optional-windowopacity)* -This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity) +This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowopacityopacity) ___ @@ -232,7 +232,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowState](viewprops.md#optional-windowstate)* -Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate) +Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowstatestate) ___ @@ -242,4 +242,4 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowTitle](viewprops.md#optional-windowtitle)* -Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle) +Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowtitletitle) diff --git a/website/docs/api/interfaces/plaintexteditprops.md b/website/docs/api/interfaces/plaintexteditprops.md index 7b0c05d..c66059e 100644 --- a/website/docs/api/interfaces/plaintexteditprops.md +++ b/website/docs/api/interfaces/plaintexteditprops.md @@ -57,7 +57,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[cursor](viewprops.md#optional-cursor)* -Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor) +Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetcursorcursor) ___ @@ -67,7 +67,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[enabled](viewprops.md#optional-enabled)* -Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled) +Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetenabledenabled) ___ @@ -77,7 +77,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[geometry](viewprops.md#optional-geometry)* -Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height) +Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetgeometryx-y-width-height) ___ @@ -87,7 +87,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[id](viewprops.md#optional-id)* -Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname) +Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetobjectnameobjectname) ___ @@ -97,7 +97,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[maxSize](viewprops.md#optional-maxsize)* -Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height) +Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmaximumsizewidth-height) ___ @@ -107,7 +107,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[minSize](viewprops.md#optional-minsize)* -Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height) +Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetminimumsizewidth-height) ___ @@ -117,7 +117,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[mouseTracking](viewprops.md#optional-mousetracking)* -Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked) +Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmousetrackingismousetracked) ___ @@ -143,7 +143,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[pos](viewprops.md#optional-pos)* -Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y) +Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetmovex-y) ___ @@ -169,7 +169,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[size](viewprops.md#optional-size)* -Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height) +Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetfixedsizewidth-height) ___ @@ -179,7 +179,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[style](viewprops.md#optional-style)* -Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle) +Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetinlinestylestyle) ___ @@ -189,7 +189,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[styleSheet](viewprops.md#optional-stylesheet)* -Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet) +Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetstylesheetstylesheet) ___ @@ -205,7 +205,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[visible](viewprops.md#optional-visible)* -Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/NodeWidget#widgetshow) +Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetshow) ___ @@ -226,7 +226,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowIcon](viewprops.md#optional-windowicon)* -Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon) +Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowiconicon) ___ @@ -236,7 +236,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowOpacity](viewprops.md#optional-windowopacity)* -This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity) +This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowopacityopacity) ___ @@ -246,7 +246,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowState](viewprops.md#optional-windowstate)* -Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate) +Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowstatestate) ___ @@ -256,4 +256,4 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowTitle](viewprops.md#optional-windowtitle)* -Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle) +Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowtitletitle) diff --git a/website/docs/api/interfaces/progressbarprops.md b/website/docs/api/interfaces/progressbarprops.md index 0947a96..74eca8f 100644 --- a/website/docs/api/interfaces/progressbarprops.md +++ b/website/docs/api/interfaces/progressbarprops.md @@ -58,7 +58,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[cursor](viewprops.md#optional-cursor)* -Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor) +Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetcursorcursor) ___ @@ -68,7 +68,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[enabled](viewprops.md#optional-enabled)* -Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled) +Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetenabledenabled) ___ @@ -78,7 +78,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[geometry](viewprops.md#optional-geometry)* -Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height) +Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetgeometryx-y-width-height) ___ @@ -88,7 +88,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[id](viewprops.md#optional-id)* -Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname) +Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetobjectnameobjectname) ___ @@ -98,7 +98,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[maxSize](viewprops.md#optional-maxsize)* -Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height) +Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmaximumsizewidth-height) ___ @@ -114,7 +114,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[minSize](viewprops.md#optional-minsize)* -Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height) +Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetminimumsizewidth-height) ___ @@ -130,7 +130,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[mouseTracking](viewprops.md#optional-mousetracking)* -Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked) +Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmousetrackingismousetracked) ___ @@ -156,7 +156,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[pos](viewprops.md#optional-pos)* -Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y) +Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetmovex-y) ___ @@ -176,7 +176,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[size](viewprops.md#optional-size)* -Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height) +Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetfixedsizewidth-height) ___ @@ -186,7 +186,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[style](viewprops.md#optional-style)* -Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle) +Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetinlinestylestyle) ___ @@ -196,7 +196,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[styleSheet](viewprops.md#optional-stylesheet)* -Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet) +Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetstylesheetstylesheet) ___ @@ -212,7 +212,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[visible](viewprops.md#optional-visible)* -Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/NodeWidget#widgetshow) +Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetshow) ___ @@ -233,7 +233,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowIcon](viewprops.md#optional-windowicon)* -Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon) +Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowiconicon) ___ @@ -243,7 +243,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowOpacity](viewprops.md#optional-windowopacity)* -This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity) +This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowopacityopacity) ___ @@ -253,7 +253,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowState](viewprops.md#optional-windowstate)* -Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate) +Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowstatestate) ___ @@ -263,4 +263,4 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowTitle](viewprops.md#optional-windowtitle)* -Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle) +Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowtitletitle) diff --git a/website/docs/api/interfaces/radiobuttonprops.md b/website/docs/api/interfaces/radiobuttonprops.md index f7fd195..41d91d5 100644 --- a/website/docs/api/interfaces/radiobuttonprops.md +++ b/website/docs/api/interfaces/radiobuttonprops.md @@ -68,7 +68,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[cursor](viewprops.md#optional-cursor)* -Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor) +Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetcursorcursor) ___ @@ -78,7 +78,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[enabled](viewprops.md#optional-enabled)* -Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled) +Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetenabledenabled) ___ @@ -88,7 +88,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[geometry](viewprops.md#optional-geometry)* -Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height) +Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetgeometryx-y-width-height) ___ @@ -98,7 +98,7 @@ ___ *Inherited from [AbstractButtonProps](abstractbuttonprops.md).[icon](abstractbuttonprops.md#optional-icon)* -Sets an icon in the button. [QPushButton: setIcon](https://docs.nodegui.org/docs/api/QPushButton#buttonseticonicon) +Sets an icon in the button. [QPushButton: setIcon](https://docs.nodegui.org/docs/api/generated/classes/QPushButton#buttonseticonicon) ___ @@ -108,7 +108,7 @@ ___ *Inherited from [AbstractButtonProps](abstractbuttonprops.md).[iconSize](abstractbuttonprops.md#optional-iconsize)* -Sets an icon size in the button. [QPushButton: setIconSize](https://docs.nodegui.org/docs/api/QPushButton#buttonseticonsize) +Sets an icon size in the button. [QPushButton: setIconSize](https://docs.nodegui.org/docs/api/generated/classes/QPushButton#buttonseticonsize) ___ @@ -118,7 +118,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[id](viewprops.md#optional-id)* -Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname) +Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetobjectnameobjectname) ___ @@ -128,7 +128,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[maxSize](viewprops.md#optional-maxsize)* -Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height) +Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmaximumsizewidth-height) ___ @@ -138,7 +138,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[minSize](viewprops.md#optional-minsize)* -Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height) +Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetminimumsizewidth-height) ___ @@ -148,7 +148,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[mouseTracking](viewprops.md#optional-mousetracking)* -Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked) +Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmousetrackingismousetracked) ___ @@ -168,7 +168,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[pos](viewprops.md#optional-pos)* -Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y) +Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetmovex-y) ___ @@ -188,7 +188,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[size](viewprops.md#optional-size)* -Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height) +Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetfixedsizewidth-height) ___ @@ -198,7 +198,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[style](viewprops.md#optional-style)* -Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle) +Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetinlinestylestyle) ___ @@ -208,7 +208,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[styleSheet](viewprops.md#optional-stylesheet)* -Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet) +Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetstylesheetstylesheet) ___ @@ -218,7 +218,7 @@ ___ *Inherited from [AbstractButtonProps](abstractbuttonprops.md).[text](abstractbuttonprops.md#optional-text)* -Sets the given text to the button. [QPushButton: setText](https://docs.nodegui.org/docs/api/QPushButton#buttonsettexttext) +Sets the given text to the button. [QPushButton: setText](https://docs.nodegui.org/docs/api/generated/classes/QPushButton#buttonsettexttext) ___ @@ -228,7 +228,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[visible](viewprops.md#optional-visible)* -Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/NodeWidget#widgetshow) +Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetshow) ___ @@ -249,7 +249,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowIcon](viewprops.md#optional-windowicon)* -Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon) +Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowiconicon) ___ @@ -259,7 +259,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowOpacity](viewprops.md#optional-windowopacity)* -This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity) +This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowopacityopacity) ___ @@ -269,7 +269,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowState](viewprops.md#optional-windowstate)* -Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate) +Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowstatestate) ___ @@ -279,4 +279,4 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowTitle](viewprops.md#optional-windowtitle)* -Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle) +Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowtitletitle) diff --git a/website/docs/api/interfaces/scrollareaprops.md b/website/docs/api/interfaces/scrollareaprops.md index efed90e..252e88d 100644 --- a/website/docs/api/interfaces/scrollareaprops.md +++ b/website/docs/api/interfaces/scrollareaprops.md @@ -55,7 +55,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[cursor](viewprops.md#optional-cursor)* -Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor) +Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetcursorcursor) ___ @@ -65,7 +65,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[enabled](viewprops.md#optional-enabled)* -Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled) +Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetenabledenabled) ___ @@ -75,7 +75,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[geometry](viewprops.md#optional-geometry)* -Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height) +Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetgeometryx-y-width-height) ___ @@ -85,7 +85,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[id](viewprops.md#optional-id)* -Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname) +Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetobjectnameobjectname) ___ @@ -95,7 +95,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[maxSize](viewprops.md#optional-maxsize)* -Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height) +Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmaximumsizewidth-height) ___ @@ -105,7 +105,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[minSize](viewprops.md#optional-minsize)* -Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height) +Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetminimumsizewidth-height) ___ @@ -115,7 +115,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[mouseTracking](viewprops.md#optional-mousetracking)* -Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked) +Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmousetrackingismousetracked) ___ @@ -135,7 +135,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[pos](viewprops.md#optional-pos)* -Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y) +Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetmovex-y) ___ @@ -155,7 +155,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[size](viewprops.md#optional-size)* -Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height) +Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetfixedsizewidth-height) ___ @@ -165,7 +165,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[style](viewprops.md#optional-style)* -Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle) +Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetinlinestylestyle) ___ @@ -175,7 +175,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[styleSheet](viewprops.md#optional-stylesheet)* -Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet) +Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetstylesheetstylesheet) ___ @@ -185,7 +185,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[visible](viewprops.md#optional-visible)* -Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/NodeWidget#widgetshow) +Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetshow) ___ @@ -212,7 +212,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowIcon](viewprops.md#optional-windowicon)* -Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon) +Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowiconicon) ___ @@ -222,7 +222,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowOpacity](viewprops.md#optional-windowopacity)* -This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity) +This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowopacityopacity) ___ @@ -232,7 +232,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowState](viewprops.md#optional-windowstate)* -Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate) +Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowstatestate) ___ @@ -242,4 +242,4 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowTitle](viewprops.md#optional-windowtitle)* -Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle) +Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowtitletitle) diff --git a/website/docs/api/interfaces/sliderprops.md b/website/docs/api/interfaces/sliderprops.md index 83376d6..d536ad2 100644 --- a/website/docs/api/interfaces/sliderprops.md +++ b/website/docs/api/interfaces/sliderprops.md @@ -67,7 +67,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[cursor](viewprops.md#optional-cursor)* -Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor) +Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetcursorcursor) ___ @@ -77,7 +77,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[enabled](viewprops.md#optional-enabled)* -Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled) +Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetenabledenabled) ___ @@ -87,7 +87,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[geometry](viewprops.md#optional-geometry)* -Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height) +Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetgeometryx-y-width-height) ___ @@ -103,7 +103,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[id](viewprops.md#optional-id)* -Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname) +Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetobjectnameobjectname) ___ @@ -131,7 +131,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[maxSize](viewprops.md#optional-maxsize)* -Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height) +Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmaximumsizewidth-height) ___ @@ -147,7 +147,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[minSize](viewprops.md#optional-minsize)* -Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height) +Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetminimumsizewidth-height) ___ @@ -163,7 +163,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[mouseTracking](viewprops.md#optional-mousetracking)* -Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked) +Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmousetrackingismousetracked) ___ @@ -195,7 +195,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[pos](viewprops.md#optional-pos)* -Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y) +Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetmovex-y) ___ @@ -221,7 +221,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[size](viewprops.md#optional-size)* -Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height) +Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetfixedsizewidth-height) ___ @@ -237,7 +237,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[style](viewprops.md#optional-style)* -Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle) +Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetinlinestylestyle) ___ @@ -247,7 +247,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[styleSheet](viewprops.md#optional-stylesheet)* -Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet) +Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetstylesheetstylesheet) ___ @@ -275,7 +275,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[visible](viewprops.md#optional-visible)* -Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/NodeWidget#widgetshow) +Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetshow) ___ @@ -296,7 +296,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowIcon](viewprops.md#optional-windowicon)* -Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon) +Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowiconicon) ___ @@ -306,7 +306,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowOpacity](viewprops.md#optional-windowopacity)* -This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity) +This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowopacityopacity) ___ @@ -316,7 +316,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowState](viewprops.md#optional-windowstate)* -Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate) +Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowstatestate) ___ @@ -326,4 +326,4 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowTitle](viewprops.md#optional-windowtitle)* -Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle) +Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowtitletitle) diff --git a/website/docs/api/interfaces/spinboxprops.md b/website/docs/api/interfaces/spinboxprops.md index 4629431..2df8618 100644 --- a/website/docs/api/interfaces/spinboxprops.md +++ b/website/docs/api/interfaces/spinboxprops.md @@ -59,7 +59,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[cursor](viewprops.md#optional-cursor)* -Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor) +Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetcursorcursor) ___ @@ -69,7 +69,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[enabled](viewprops.md#optional-enabled)* -Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled) +Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetenabledenabled) ___ @@ -79,7 +79,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[geometry](viewprops.md#optional-geometry)* -Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height) +Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetgeometryx-y-width-height) ___ @@ -89,7 +89,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[id](viewprops.md#optional-id)* -Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname) +Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetobjectnameobjectname) ___ @@ -99,7 +99,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[maxSize](viewprops.md#optional-maxsize)* -Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height) +Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmaximumsizewidth-height) ___ @@ -109,7 +109,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[minSize](viewprops.md#optional-minsize)* -Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height) +Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetminimumsizewidth-height) ___ @@ -119,7 +119,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[mouseTracking](viewprops.md#optional-mousetracking)* -Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked) +Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmousetrackingismousetracked) ___ @@ -139,7 +139,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[pos](viewprops.md#optional-pos)* -Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y) +Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetmovex-y) ___ @@ -177,7 +177,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[size](viewprops.md#optional-size)* -Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height) +Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetfixedsizewidth-height) ___ @@ -187,7 +187,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[style](viewprops.md#optional-style)* -Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle) +Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetinlinestylestyle) ___ @@ -197,7 +197,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[styleSheet](viewprops.md#optional-stylesheet)* -Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet) +Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetstylesheetstylesheet) ___ @@ -219,7 +219,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[visible](viewprops.md#optional-visible)* -Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/NodeWidget#widgetshow) +Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetshow) ___ @@ -240,7 +240,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowIcon](viewprops.md#optional-windowicon)* -Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon) +Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowiconicon) ___ @@ -250,7 +250,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowOpacity](viewprops.md#optional-windowopacity)* -This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity) +This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowopacityopacity) ___ @@ -260,7 +260,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowState](viewprops.md#optional-windowstate)* -Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate) +Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowstatestate) ___ @@ -270,4 +270,4 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowTitle](viewprops.md#optional-windowtitle)* -Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle) +Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowtitletitle) diff --git a/website/docs/api/interfaces/systemtrayiconprops.md b/website/docs/api/interfaces/systemtrayiconprops.md index 1d4c081..691e642 100644 --- a/website/docs/api/interfaces/systemtrayiconprops.md +++ b/website/docs/api/interfaces/systemtrayiconprops.md @@ -64,7 +64,7 @@ ___ • **id**? : *undefined | string* -Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname) +Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetobjectnameobjectname) ___ @@ -88,4 +88,4 @@ ___ • **visible**? : *undefined | false | true* -Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/NodeWidget#widgetshow) +Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetshow) diff --git a/website/docs/api/interfaces/tabprops.md b/website/docs/api/interfaces/tabprops.md index c28f131..2db0103 100644 --- a/website/docs/api/interfaces/tabprops.md +++ b/website/docs/api/interfaces/tabprops.md @@ -55,7 +55,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[cursor](viewprops.md#optional-cursor)* -Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor) +Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetcursorcursor) ___ @@ -65,7 +65,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[enabled](viewprops.md#optional-enabled)* -Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled) +Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetenabledenabled) ___ @@ -75,7 +75,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[geometry](viewprops.md#optional-geometry)* -Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height) +Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetgeometryx-y-width-height) ___ @@ -85,7 +85,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[id](viewprops.md#optional-id)* -Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname) +Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetobjectnameobjectname) ___ @@ -95,7 +95,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[maxSize](viewprops.md#optional-maxsize)* -Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height) +Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmaximumsizewidth-height) ___ @@ -105,7 +105,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[minSize](viewprops.md#optional-minsize)* -Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height) +Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetminimumsizewidth-height) ___ @@ -115,7 +115,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[mouseTracking](viewprops.md#optional-mousetracking)* -Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked) +Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmousetrackingismousetracked) ___ @@ -135,7 +135,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[pos](viewprops.md#optional-pos)* -Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y) +Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetmovex-y) ___ @@ -155,7 +155,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[size](viewprops.md#optional-size)* -Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height) +Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetfixedsizewidth-height) ___ @@ -165,7 +165,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[style](viewprops.md#optional-style)* -Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle) +Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetinlinestylestyle) ___ @@ -175,7 +175,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[styleSheet](viewprops.md#optional-stylesheet)* -Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet) +Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetstylesheetstylesheet) ___ @@ -191,7 +191,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[visible](viewprops.md#optional-visible)* -Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/NodeWidget#widgetshow) +Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetshow) ___ @@ -212,7 +212,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowIcon](viewprops.md#optional-windowicon)* -Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon) +Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowiconicon) ___ @@ -222,7 +222,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowOpacity](viewprops.md#optional-windowopacity)* -This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity) +This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowopacityopacity) ___ @@ -232,7 +232,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowState](viewprops.md#optional-windowstate)* -Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate) +Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowstatestate) ___ @@ -242,4 +242,4 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowTitle](viewprops.md#optional-windowtitle)* -Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle) +Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowtitletitle) diff --git a/website/docs/api/interfaces/textprops.md b/website/docs/api/interfaces/textprops.md index 27aab5b..2250c62 100644 --- a/website/docs/api/interfaces/textprops.md +++ b/website/docs/api/interfaces/textprops.md @@ -69,7 +69,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[cursor](viewprops.md#optional-cursor)* -Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor) +Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetcursorcursor) ___ @@ -79,7 +79,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[enabled](viewprops.md#optional-enabled)* -Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled) +Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetenabledenabled) ___ @@ -89,7 +89,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[geometry](viewprops.md#optional-geometry)* -Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height) +Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetgeometryx-y-width-height) ___ @@ -99,7 +99,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[id](viewprops.md#optional-id)* -Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname) +Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetobjectnameobjectname) ___ @@ -109,7 +109,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[maxSize](viewprops.md#optional-maxsize)* -Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height) +Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmaximumsizewidth-height) ___ @@ -119,7 +119,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[minSize](viewprops.md#optional-minsize)* -Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height) +Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetminimumsizewidth-height) ___ @@ -129,7 +129,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[mouseTracking](viewprops.md#optional-mousetracking)* -Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked) +Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmousetrackingismousetracked) ___ @@ -155,7 +155,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[pos](viewprops.md#optional-pos)* -Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y) +Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetmovex-y) ___ @@ -181,7 +181,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[size](viewprops.md#optional-size)* -Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height) +Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetfixedsizewidth-height) ___ @@ -191,7 +191,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[style](viewprops.md#optional-style)* -Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle) +Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetinlinestylestyle) ___ @@ -201,7 +201,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[styleSheet](viewprops.md#optional-stylesheet)* -Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet) +Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetstylesheetstylesheet) ___ @@ -217,7 +217,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[visible](viewprops.md#optional-visible)* -Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/NodeWidget#widgetshow) +Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetshow) ___ @@ -238,7 +238,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowIcon](viewprops.md#optional-windowicon)* -Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon) +Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowiconicon) ___ @@ -248,7 +248,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowOpacity](viewprops.md#optional-windowopacity)* -This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity) +This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowopacityopacity) ___ @@ -258,7 +258,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowState](viewprops.md#optional-windowstate)* -Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate) +Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowstatestate) ___ @@ -268,7 +268,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowTitle](viewprops.md#optional-windowtitle)* -Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle) +Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowtitletitle) ___ diff --git a/website/docs/api/interfaces/viewprops.md b/website/docs/api/interfaces/viewprops.md index 1da7647..115dfb0 100644 --- a/website/docs/api/interfaces/viewprops.md +++ b/website/docs/api/interfaces/viewprops.md @@ -6,7 +6,7 @@ sidebar_label: "ViewProps" The View component can be used to encapsulate other components and provide structure. It functions similar to a div in the web world. It is based on -[NodeGui's QWidget](https://docs.nodegui.org/docs/api/QWidget). +[NodeGui's QWidget](https://docs.nodegui.org/docs/api/generated/classes/QWidget). ## Example ```javascript import React from "react"; @@ -109,7 +109,7 @@ ___ • **cursor**? : *CursorShape | QCursor* -Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor) +Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetcursorcursor) ___ @@ -117,7 +117,7 @@ ___ • **enabled**? : *undefined | false | true* -Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled) +Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetenabledenabled) ___ @@ -125,7 +125,7 @@ ___ • **geometry**? : *[Geometry](../globals.md#geometry)* -Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height) +Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetgeometryx-y-width-height) ___ @@ -133,7 +133,7 @@ ___ • **id**? : *undefined | string* -Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname) +Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetobjectnameobjectname) ___ @@ -141,7 +141,7 @@ ___ • **maxSize**? : *[Size](../globals.md#size)* -Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height) +Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmaximumsizewidth-height) ___ @@ -149,7 +149,7 @@ ___ • **minSize**? : *[Size](../globals.md#size)* -Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height) +Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetminimumsizewidth-height) ___ @@ -157,7 +157,7 @@ ___ • **mouseTracking**? : *undefined | false | true* -Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked) +Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmousetrackingismousetracked) ___ @@ -173,7 +173,7 @@ ___ • **pos**? : *[Position](../globals.md#position)* -Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y) +Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetmovex-y) ___ @@ -189,7 +189,7 @@ ___ • **size**? : *[ViewSize](../globals.md#viewsize)* -Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height) +Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetfixedsizewidth-height) ___ @@ -197,7 +197,7 @@ ___ • **style**? : *undefined | string* -Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle) +Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetinlinestylestyle) ___ @@ -205,7 +205,7 @@ ___ • **styleSheet**? : *undefined | string* -Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet) +Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetstylesheetstylesheet) ___ @@ -213,7 +213,7 @@ ___ • **visible**? : *undefined | false | true* -Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/NodeWidget#widgetshow) +Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetshow) ___ @@ -230,7 +230,7 @@ ___ • **windowIcon**? : *QIcon* -Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon) +Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowiconicon) ___ @@ -238,7 +238,7 @@ ___ • **windowOpacity**? : *undefined | number* -This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity) +This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowopacityopacity) ___ @@ -246,7 +246,7 @@ ___ • **windowState**? : *WindowState* -Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate) +Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowstatestate) ___ @@ -254,4 +254,4 @@ ___ • **windowTitle**? : *undefined | string* -Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle) +Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowtitletitle) diff --git a/website/docs/api/interfaces/windowprops.md b/website/docs/api/interfaces/windowprops.md index 4dab181..0f4b549 100644 --- a/website/docs/api/interfaces/windowprops.md +++ b/website/docs/api/interfaces/windowprops.md @@ -55,7 +55,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[cursor](viewprops.md#optional-cursor)* -Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor) +Sets the window mouse cursor. [QWidget: setCursor](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetcursorcursor) ___ @@ -65,7 +65,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[enabled](viewprops.md#optional-enabled)* -Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled) +Sets the property that tells whether the widget is enabled. In general an enabled widget handles keyboard and mouse events; a disabled widget does not. [QWidget: setEnabled](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetenabledenabled) ___ @@ -75,7 +75,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[geometry](viewprops.md#optional-geometry)* -Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height) +Sets the screen position as well as size of the widget. [QWidget: setGeometry](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetgeometryx-y-width-height) ___ @@ -85,7 +85,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[id](viewprops.md#optional-id)* -Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname) +Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetobjectnameobjectname) ___ @@ -95,7 +95,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[maxSize](viewprops.md#optional-maxsize)* -Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height) +Sets the maximum size of the widget. [QWidget: setMaximumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmaximumsizewidth-height) ___ @@ -111,7 +111,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[minSize](viewprops.md#optional-minsize)* -Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height) +Sets the minimum size of the widget. [QWidget: setMinimumSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetminimumsizewidth-height) ___ @@ -121,7 +121,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[mouseTracking](viewprops.md#optional-mousetracking)* -Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked) +Sets the property that tells whether mouseTracking is enabled for the widget. [QWidget: setMouseTracking](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetmousetrackingismousetracked) ___ @@ -141,7 +141,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[pos](viewprops.md#optional-pos)* -Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y) +Sets the screen position of the widget. [QWidget: move](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetmovex-y) ___ @@ -161,7 +161,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[size](viewprops.md#optional-size)* -Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height) +Sets both the minimum and maximum sizes of the widget. [QWidget: setFixedSize](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetfixedsizewidth-height) ___ @@ -171,7 +171,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[style](viewprops.md#optional-style)* -Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle) +Sets the inline stylesheet property. [QWidget: setInlineStyle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetinlinestylestyle) ___ @@ -181,7 +181,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[styleSheet](viewprops.md#optional-stylesheet)* -Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet) +Sets the property that holds the widget's style sheet. [QWidget: setStyleSheet](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetstylesheetstylesheet) ___ @@ -191,7 +191,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[visible](viewprops.md#optional-visible)* -Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/NodeWidget#widgetshow) +Shows or hides the widget and its children. [QWidget: show](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetshow) ___ @@ -212,7 +212,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowIcon](viewprops.md#optional-windowicon)* -Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon) +Sets the window icon. [QWidget: setWindowIcon](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowiconicon) ___ @@ -222,7 +222,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowOpacity](viewprops.md#optional-windowopacity)* -This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity) +This property holds the level of opacity for the window. [QWidget: setWindowOpacity](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowopacityopacity) ___ @@ -232,7 +232,7 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowState](viewprops.md#optional-windowstate)* -Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate) +Sets the window state. [QWidget: setWindowState](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowstatestate) ___ @@ -242,4 +242,4 @@ ___ *Inherited from [ViewProps](viewprops.md).[windowTitle](viewprops.md#optional-windowtitle)* -Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle) +Sets the window title property. [QWidget: setWindowTitle](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetwindowtitletitle) diff --git a/yarn.lock b/yarn.lock index f175f0e..b2e40e8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -25,25 +25,27 @@ node-fetch "^2.6.0" progress "^2.0.3" -"@nodegui/nodegui@^0.36.0": - version "0.36.0" - resolved "https://registry.yarnpkg.com/@nodegui/nodegui/-/nodegui-0.36.0.tgz#8ae819c23c7ea89d29c75a60785d9013c4950b6b" - integrity sha512-8vCf31gXQdLQordqu1b5weI8zsLczY/pWeAF2j0MPo7YcGARyx6uRaSDYhNJa+WcQZeZiYIbREluqvGSiJ7zUA== +"@nodegui/nodegui@^0.57.1": + version "0.57.1" + resolved "https://registry.yarnpkg.com/@nodegui/nodegui/-/nodegui-0.57.1.tgz#dcab2a3c9beeb744669c87f18809f03b44074dfd" + integrity sha512-husxEJeohB6WHoxa+ob9/BoNhPc/WJL3NQOGmfjb6DZMuPe3bwVu/E/63bvGp7SZbZ3hsIM8l4J5x99U/4WYbA== dependencies: "@nodegui/artifact-installer" "^1.1.0" - "@nodegui/qode" "^16.4.0" + "@nodegui/qode" "^16.4.3" cmake-js "^6.2.1" cross-env "^7.0.3" cuid "^2.1.8" manage-path "^2.0.0" memoize-one "^5.2.1" node-addon-api "^4.0.0" + postcss "^7.0.17" postcss-nodegui-autoprefixer "0.0.7" + tar "^6.0.1" -"@nodegui/qode@^16.4.0": - version "16.4.0" - resolved "https://registry.yarnpkg.com/@nodegui/qode/-/qode-16.4.0.tgz#d18b9c569b51b131331729ea095402bc2e028c19" - integrity sha512-uNoTR9f02F/SmK+xzvlXJs/yuW0zYcuPZf99v4z7tPeugLukrPbE2MJfsq8edGNfWxu3d+pRwMN+UNYSq0dLgQ== +"@nodegui/qode@^16.4.3": + version "16.4.3" + resolved "https://registry.yarnpkg.com/@nodegui/qode/-/qode-16.4.3.tgz#ddae8f683ef958676b0a4d69e972f471d6bfd359" + integrity sha512-WllfJVXffr3Rn7BSfo5cubZ5hx4OnQ7iqY/kj+2jwqUepzlRFKCvn9/vAJ/VXmiB0GZGcaCGM0U3rZGADdU5mw== dependencies: env-paths "^2.2.1" make-dir "^3.1.0" @@ -51,10 +53,10 @@ progress "^2.0.3" tar "^6.1.6" -"@types/node@^16.6.1": - version "16.6.1" - resolved "https://registry.yarnpkg.com/@types/node/-/node-16.6.1.tgz#aee62c7b966f55fc66c7b6dfa1d58db2a616da61" - integrity sha512-Sr7BhXEAer9xyGuCN3Ek9eg9xPviCF2gfu9kTfuU2HkTVAMYSDeX40fvpmo72n5nansg3nsBjuQBrsS28r+NUw== +"@types/node@^16.11.0": + version "16.11.62" + resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.62.tgz#bab2e6208531321d147eda20c38e389548cd5ffc" + integrity sha512-K/ggecSdwAAy2NUW4WKmF4Rc03GKbsfP+k326UWgckoS+Rzd2PaWbjk76dSmqdLQvLTJAO9axiTUJ6488mFsYQ== "@types/prop-types@*": version "15.7.4" @@ -68,10 +70,10 @@ dependencies: "@types/react" "*" -"@types/react@*": - version "17.0.18" - resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.18.tgz#4109cbbd901be9582e5e39e3d77acd7b66bb7fbe" - integrity sha512-YTLgu7oS5zvSqq49X5Iue5oAbVGhgPc5Au29SJC4VeE17V6gASoOxVkUDy9pXFMRFxCWCD9fLeweNFizo3UzOg== +"@types/react@^16.14.0", "@types/react@*": + version "16.14.32" + resolved "https://registry.yarnpkg.com/@types/react/-/react-16.14.32.tgz#d4e4fe5ece3c27fcb4608b1f4a614f7dec881392" + integrity sha512-hvEy4vGVADbtj/U6+CA5SRC5QFIjdxD7JslAie8EuAYZwhYY9bgforpXNyF1VFzhnkEOesDy1278t1wdjN74cw== dependencies: "@types/prop-types" "*" "@types/scheduler" "*" @@ -819,7 +821,7 @@ react-reconciler@^0.25.1: prop-types "^15.6.2" scheduler "^0.19.1" -react@^16.13.1: +react@^16.14.0: version "16.14.0" resolved "https://registry.yarnpkg.com/react/-/react-16.14.0.tgz#94d776ddd0aaa37da3eda8fc5b6b18a4c9a3114d" integrity sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g== @@ -1010,6 +1012,18 @@ tar@^4: safe-buffer "^5.2.1" yallist "^3.1.1" +tar@^6.0.1: + version "6.1.11" + resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.11.tgz#6760a38f003afa1b2ffd0ffe9e9abbd0eab3d621" + integrity sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA== + dependencies: + chownr "^2.0.0" + fs-minipass "^2.0.0" + minipass "^3.0.0" + minizlib "^2.1.1" + mkdirp "^1.0.3" + yallist "^4.0.0" + tar@^6.1.6: version "6.1.8" resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.8.tgz#4fc50cfe56511c538ce15b71e05eebe66530cbd4" @@ -1058,10 +1072,10 @@ typedoc@^0.17.8: shelljs "^0.8.4" typedoc-default-themes "^0.10.2" -typescript@^4.3.5: - version "4.3.5" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.3.5.tgz#4d1c37cc16e893973c45a06886b7113234f119f4" - integrity sha512-DqQgihaQ9cUrskJo9kIyW/+g0Vxsk8cDtZ52a3NGh0YNTfpUSArXSohyUGnvbPazEPLu398C0UxmKSOrPumUzA== +typescript@^4.4.4: + version "4.8.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.8.3.tgz#d59344522c4bc464a65a730ac695007fdb66dd88" + integrity sha512-goMHfm00nWPa8UvR/CPSvykqf6dVV8x/dp0c5mFTMTIu0u0FlGWRioyy7Nn0PGAdHxpJZnuO/ut+PpQ8UiHAig== uglify-js@^3.1.4: version "3.14.1" From 87391a36a3544a4b5f5e0a4086dacacac3ab53fc Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Tue, 4 Oct 2022 19:28:48 +0200 Subject: [PATCH 4/7] add KaMeHb-UA as a contributor for code (#377) * update README.md [skip ci] * update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> --- .all-contributorsrc | 9 ++++++++ README.md | 56 +++++++++++++++++++++++++-------------------- 2 files changed, 40 insertions(+), 25 deletions(-) diff --git a/.all-contributorsrc b/.all-contributorsrc index 5e56a32..4fae615 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -175,6 +175,15 @@ "contributions": [ "code" ] + }, + { + "login": "KaMeHb-UA", + "name": "KaMeHb-UA", + "avatar_url": "https://avatars.githubusercontent.com/u/20382677?v=4", + "profile": "https://github.com/KaMeHb-UA", + "contributions": [ + "code" + ] } ], "contributorsPerLine": 7, diff --git a/README.md b/README.md index 534c628..62577ac 100644 --- a/README.md +++ b/README.md @@ -127,31 +127,37 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Rahul Gaba

💻

Kakul Gupta

💻

Eva1ent

💻

slidinghotdog

💻

Roy Sommer

💻

Natesh M Bhat

📖

Mikko Sairio

💻

Shubham Zanwar

💻

Serhii Matrunchyk

💻

Solant

💻

Christian Petersen

💻

Adam Gastineau

💻

gluaxspeed

💻

Chris Shepherd

💻

Jak

💻

Greg B

📖

Nathaniel van Diepen

💻

KR Tirtho

💻

theLMGN

💻
Rahul Gaba
Rahul Gaba

💻
Kakul Gupta
Kakul Gupta

💻
Eva1ent
Eva1ent

💻
slidinghotdog
slidinghotdog

💻
Roy Sommer
Roy Sommer

💻
Natesh M Bhat
Natesh M Bhat

📖
Mikko Sairio
Mikko Sairio

💻
Shubham Zanwar
Shubham Zanwar

💻
Serhii Matrunchyk
Serhii Matrunchyk

💻
Solant
Solant

💻
Christian Petersen
Christian Petersen

💻
Adam Gastineau
Adam Gastineau

💻
gluaxspeed
gluaxspeed

💻
Chris Shepherd
Chris Shepherd

💻
Jak
Jak

💻
Greg B
Greg B

📖
Nathaniel van Diepen
Nathaniel van Diepen

💻
KR Tirtho
KR Tirtho

💻
theLMGN
theLMGN

💻
KaMeHb-UA
KaMeHb-UA

💻
From fbf720b41483642521f9b24fb0a06fdd07c9e34c Mon Sep 17 00:00:00 2001 From: Atul R Date: Tue, 4 Oct 2022 19:29:44 +0200 Subject: [PATCH 5/7] 0.13.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0fd7ac0..5ef357b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nodegui/react-nodegui", - "version": "0.13.0", + "version": "0.13.1", "description": "React Native for building cross platform desktop applications", "main": "dist/index.js", "typings": "dist/index.d.ts", From cc6bedcc947fdfc90109cb929ce4ca5f5f284ce8 Mon Sep 17 00:00:00 2001 From: Atul R Date: Tue, 4 Oct 2022 19:29:50 +0200 Subject: [PATCH 6/7] 0.14.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5ef357b..b7abff7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nodegui/react-nodegui", - "version": "0.13.1", + "version": "0.14.0", "description": "React Native for building cross platform desktop applications", "main": "dist/index.js", "typings": "dist/index.d.ts", From 87c844050c86e0eb548c3e6e8c57bd40d5174546 Mon Sep 17 00:00:00 2001 From: Atul R Date: Fri, 3 Nov 2023 02:50:26 +0100 Subject: [PATCH 7/7] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 62577ac..e2ffd8a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # React NodeGui +⚠️ React NodeGui is no longer maintained. Please fork it to continue development ⚠️ +
+ [![Join the NodeGUI community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/nodegui) [![All Contributors](https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square)](#contributors)