diff --git a/.all-contributorsrc b/.all-contributorsrc deleted file mode 100644 index 4fae6153..00000000 --- a/.all-contributorsrc +++ /dev/null @@ -1,195 +0,0 @@ -{ - "files": [ - "README.md" - ], - "imageSize": 100, - "commit": false, - "contributors": [ - { - "login": "rgabs", - "name": "Rahul Gaba", - "avatar_url": "https://avatars3.githubusercontent.com/u/7898942?v=4", - "profile": "http://rahulgaba.com", - "contributions": [ - "code" - ] - }, - { - "login": "kakulgupta", - "name": "Kakul Gupta", - "avatar_url": "https://avatars3.githubusercontent.com/u/10727047?v=4", - "profile": "https://github.com/kakulgupta", - "contributions": [ - "code" - ] - }, - { - "login": "Nicify", - "name": "Eva1ent", - "avatar_url": "https://avatars3.githubusercontent.com/u/24217275?v=4", - "profile": "https://github.com/Nicify", - "contributions": [ - "code" - ] - }, - { - "login": "slidinghotdog", - "name": "slidinghotdog", - "avatar_url": "https://avatars3.githubusercontent.com/u/33790211?v=4", - "profile": "https://github.com/slidinghotdog", - "contributions": [ - "code" - ] - }, - { - "login": "illBeRoy", - "name": "Roy Sommer", - "avatar_url": "https://avatars2.githubusercontent.com/u/6681893?v=4", - "profile": "https://www.linkedin.com/in/roysommer/", - "contributions": [ - "code" - ] - }, - { - "login": "nateshmbhat", - "name": "Natesh M Bhat", - "avatar_url": "https://avatars1.githubusercontent.com/u/23279926?v=4", - "profile": "https://github.com/nateshmbhat", - "contributions": [ - "doc" - ] - }, - { - "login": "msairio", - "name": "Mikko Sairio", - "avatar_url": "https://avatars3.githubusercontent.com/u/3404389?v=4", - "profile": "https://www.greatapes.fi", - "contributions": [ - "code" - ] - }, - { - "login": "shubhamzanwar", - "name": "Shubham Zanwar", - "avatar_url": "https://avatars0.githubusercontent.com/u/15626155?v=4", - "profile": "https://github.com/shubhamzanwar", - "contributions": [ - "code" - ] - }, - { - "login": "matrunchyk", - "name": "Serhii Matrunchyk", - "avatar_url": "https://avatars0.githubusercontent.com/u/2089828?v=4", - "profile": "https://matrunchyk.com", - "contributions": [ - "code" - ] - }, - { - "login": "Solant", - "name": "Solant", - "avatar_url": "https://avatars2.githubusercontent.com/u/5971578?v=4", - "profile": "https://github.com/Solant", - "contributions": [ - "code" - ] - }, - { - "login": "fnky", - "name": "Christian Petersen", - "avatar_url": "https://avatars1.githubusercontent.com/u/995050?v=4", - "profile": "https://cbp.io", - "contributions": [ - "code" - ] - }, - { - "login": "agg23", - "name": "Adam Gastineau", - "avatar_url": "https://avatars1.githubusercontent.com/u/238679?v=4", - "profile": "https://github.com/agg23", - "contributions": [ - "code" - ] - }, - { - "login": "gluaxspeed", - "name": "gluaxspeed", - "avatar_url": "https://avatars2.githubusercontent.com/u/16431709?v=4", - "profile": "https://github.com/gluaxspeed", - "contributions": [ - "code" - ] - }, - { - "login": "sheepsteak", - "name": "Chris Shepherd", - "avatar_url": "https://avatars1.githubusercontent.com/u/1379888?v=4", - "profile": "http://chrisshepherd.me", - "contributions": [ - "code" - ] - }, - { - "login": "MistahMojo", - "name": "Jak", - "avatar_url": "https://avatars1.githubusercontent.com/u/51117537?v=4", - "profile": "https://github.com/MistahMojo", - "contributions": [ - "code" - ] - }, - { - "login": "gregbenner", - "name": "Greg B", - "avatar_url": "https://avatars3.githubusercontent.com/u/1177690?v=4", - "profile": "https://gregbenner.life", - "contributions": [ - "doc" - ] - }, - { - "login": "Eeems", - "name": "Nathaniel van Diepen", - "avatar_url": "https://avatars1.githubusercontent.com/u/1176979?v=4", - "profile": "http://eeems.website", - "contributions": [ - "code" - ] - }, - { - "login": "KRTirtho", - "name": "KR Tirtho", - "avatar_url": "https://avatars.githubusercontent.com/u/61944859?v=4", - "profile": "http://N/A", - "contributions": [ - "code" - ] - }, - { - "login": "theLMGN", - "name": "theLMGN", - "avatar_url": "https://avatars.githubusercontent.com/u/12257112?v=4", - "profile": "http://thelmgn.com", - "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, - "projectName": "react-nodegui", - "projectOwner": "nodegui", - "repoType": "github", - "repoHost": "https://github.com", - "skipCi": true -} diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 82f8b8d4..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: '' -assignees: '' - ---- - -**Describe the bug** -A clear and concise description of what the bug is. - -**To Reproduce** -Steps to reproduce the behavior: -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Desktop (please complete the following information):** - - OS: [e.g. Mac, Linux or Windows] - - NodeGUI version - - React NodeGUI version - - OS Version - - -**Additional context** -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index bbcbbe7d..00000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: '' -labels: '' -assignees: '' - ---- - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. - -**Additional context** -Add any other context or screenshots about the feature request here. diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml deleted file mode 100644 index 0253a207..00000000 --- a/.github/workflows/docs.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: documentation - -on: - push: - branches: - - master - -jobs: - gh-release: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - uses: actions/setup-node@v1 - with: - node-version: "14.x" - - name: Add key to allow access to repository - env: - SSH_AUTH_SOCK: /tmp/ssh_agent.sock - run: | - mkdir -p ~/.ssh - ssh-keyscan github.com >> ~/.ssh/known_hosts - echo "${{ secrets.GH_PAGES_DEPLOY }}" > ~/.ssh/id_rsa - chmod 600 ~/.ssh/id_rsa - cat <> ~/.ssh/config - Host github.com - HostName github.com - IdentityFile ~/.ssh/id_rsa - EOT - - name: Release to GitHub Pages - env: - USE_SSH: true - GIT_USER: git - run: | - git config --global user.email "actions@gihub.com" - git config --global user.name "gh-actions" - npm install --ignore-scripts - npm run docs - cd website - if [ -e yarn.lock ]; then - yarn install --frozen-lockfile - elif [ -e package-lock.json ]; then - npm ci - else - npm i - fi - yarn deploy diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 56ea3551..00000000 --- a/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -node_modules -.vscode -*.log -dist/ \ No newline at end of file diff --git a/.npmignore b/.npmignore deleted file mode 100644 index b7265688..00000000 --- a/.npmignore +++ /dev/null @@ -1 +0,0 @@ -examples \ No newline at end of file diff --git a/01a85c17.0b6381b2.js b/01a85c17.0b6381b2.js new file mode 100644 index 00000000..a59fd2a0 --- /dev/null +++ b/01a85c17.0b6381b2.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{57:function(e,a,t){"use strict";t.r(a);var n=t(0),r=t.n(n),c=t(167),l=t(164);a.default=function(e){var a=e.tags,t={};Object.keys(a).forEach((function(e){var a=function(e){return e[0].toUpperCase()}(e);t[a]=t[a]||[],t[a].push(e)}));var n=Object.entries(t).sort((function(e,a){var t=e[0],n=a[0];return t===n?0:t>n?1:-1})).map((function(e){var t=e[0],n=e[1];return r.a.createElement("div",{key:t},r.a.createElement("h3",null,t),n.map((function(e){return r.a.createElement(l.a,{className:"padding-right--md",href:a[e].permalink,key:e},a[e].name," (",a[e].count,")")})),r.a.createElement("hr",null))})).filter((function(e){return null!=e}));return r.a.createElement(c.a,{title:"Tags",description:"Blog Tags"},r.a.createElement("div",{className:"container margin-vert--lg"},r.a.createElement("div",{className:"row"},r.a.createElement("main",{className:"col col--8 col--offset-2"},r.a.createElement("h1",null,"Tags"),r.a.createElement("div",{className:"margin-vert--lg"},n)))))}}}]); \ No newline at end of file diff --git a/01e0955c.3143e304.js b/01e0955c.3143e304.js new file mode 100644 index 00000000..5e2d8598 --- /dev/null +++ b/01e0955c.3143e304.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{162:function(e,t,a){"use strict";a.d(t,"a",(function(){return s})),a.d(t,"b",(function(){return m}));var i=a(0),n=a.n(i);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}function p(e){for(var t=1;t=0||(n[a]=e[a]);return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}var c=n.a.createContext({}),l=function(e){var t=n.a.useContext(c),a=t;return e&&(a="function"==typeof e?e(t):p(p({},t),e)),a},s=function(e){var t=l(e.components);return n.a.createElement(c.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.a.createElement(n.a.Fragment,{},t)}},O=n.a.forwardRef((function(e,t){var a=e.components,i=e.mdxType,r=e.originalType,o=e.parentName,c=b(e,["components","mdxType","originalType","parentName"]),s=l(a),O=i,m=s["".concat(o,".").concat(O)]||s[O]||d[O]||r;return a?n.a.createElement(m,p(p({ref:t},c),{},{components:a})):n.a.createElement(m,p({ref:t},c))}));function m(e,t){var a=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var r=a.length,o=new Array(r);o[0]=O;var p={};for(var b in t)hasOwnProperty.call(t,b)&&(p[b]=t[b]);p.originalType=e,p.mdxType="string"==typeof e?e:i,o[1]=p;for(var c=2;cOptional attributes",id:"optional-attributes",children:[]},{value:"Optional cursor",id:"optional-cursor",children:[]},{value:"Optional enabled",id:"optional-enabled",children:[]},{value:"Optional geometry",id:"optional-geometry",children:[]},{value:"Optional hasTracking",id:"optional-hastracking",children:[]},{value:"Optional id",id:"optional-id",children:[]},{value:"Optional invertedAppearance",id:"optional-invertedappearance",children:[]},{value:"Optional invertedControls",id:"optional-invertedcontrols",children:[]},{value:"Optional isSliderDown",id:"optional-issliderdown",children:[]},{value:"Optional maxSize",id:"optional-maxsize",children:[]},{value:"Optional maximum",id:"optional-maximum",children:[]},{value:"Optional minSize",id:"optional-minsize",children:[]},{value:"Optional minimum",id:"optional-minimum",children:[]},{value:"Optional mouseTracking",id:"optional-mousetracking",children:[]},{value:"Optional on",id:"optional-on",children:[]},{value:"Optional orientation",id:"optional-orientation",children:[]},{value:"Optional pageStep",id:"optional-pagestep",children:[]},{value:"Optional pos",id:"optional-pos",children:[]},{value:"Optional ref",id:"optional-ref",children:[]},{value:"Optional singleStep",id:"optional-singlestep",children:[]},{value:"Optional size",id:"optional-size",children:[]},{value:"Optional sliderPosition",id:"optional-sliderposition",children:[]},{value:"Optional style",id:"optional-style",children:[]},{value:"Optional styleSheet",id:"optional-stylesheet",children:[]},{value:"Optional tickInterval",id:"optional-tickinterval",children:[]},{value:"Optional tickPosition",id:"optional-tickposition",children:[]},{value:"Optional value",id:"optional-value",children:[]},{value:"Optional visible",id:"optional-visible",children:[]},{value:"Optional windowFlags",id:"optional-windowflags",children:[]},{value:"Optional windowIcon",id:"optional-windowicon",children:[]},{value:"Optional windowOpacity",id:"optional-windowopacity",children:[]},{value:"Optional windowState",id:"optional-windowstate",children:[]},{value:"Optional windowTitle",id:"optional-windowtitle",children:[]}]}],c={rightToc:b};function l(e){var t=e.components,a=Object(n.a)(e,["components"]);return Object(r.b)("wrapper",Object(i.a)({},c,a,{components:t,mdxType:"MDXLayout"}),Object(r.b)("h2",{id:"hierarchy"},"Hierarchy"),Object(r.b)("p",null," \u21b3 ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),"\u2039QSliderSignals\u203a"),Object(r.b)("p",null," \u21b3 ",Object(r.b)("strong",{parentName:"p"},"SliderProps")),Object(r.b)("h2",{id:"index"},"Index"),Object(r.b)("h3",{id:"properties"},"Properties"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/sliderprops#optional-attributes"}),"attributes")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/sliderprops#optional-cursor"}),"cursor")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/sliderprops#optional-enabled"}),"enabled")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/sliderprops#optional-geometry"}),"geometry")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/sliderprops#optional-hastracking"}),"hasTracking")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/sliderprops#optional-id"}),"id")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/sliderprops#optional-invertedappearance"}),"invertedAppearance")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/sliderprops#optional-invertedcontrols"}),"invertedControls")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/sliderprops#optional-issliderdown"}),"isSliderDown")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/sliderprops#optional-maxsize"}),"maxSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/sliderprops#optional-maximum"}),"maximum")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/sliderprops#optional-minsize"}),"minSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/sliderprops#optional-minimum"}),"minimum")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/sliderprops#optional-mousetracking"}),"mouseTracking")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/sliderprops#optional-on"}),"on")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/sliderprops#optional-orientation"}),"orientation")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/sliderprops#optional-pagestep"}),"pageStep")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/sliderprops#optional-pos"}),"pos")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/sliderprops#optional-ref"}),"ref")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/sliderprops#optional-singlestep"}),"singleStep")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/sliderprops#optional-size"}),"size")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/sliderprops#optional-sliderposition"}),"sliderPosition")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/sliderprops#optional-style"}),"style")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/sliderprops#optional-stylesheet"}),"styleSheet")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/sliderprops#optional-tickinterval"}),"tickInterval")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/sliderprops#optional-tickposition"}),"tickPosition")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/sliderprops#optional-value"}),"value")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/sliderprops#optional-visible"}),"visible")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/sliderprops#optional-windowflags"}),"windowFlags")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/sliderprops#optional-windowicon"}),"windowIcon")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/sliderprops#optional-windowopacity"}),"windowOpacity")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/sliderprops#optional-windowstate"}),"windowState")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/sliderprops#optional-windowtitle"}),"windowTitle"))),Object(r.b)("h2",{id:"properties-1"},"Properties"),Object(r.b)("h3",{id:"optional-attributes"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," attributes"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"attributes"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#widgetattributesmap"}),"WidgetAttributesMap"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-attributes"}),"attributes"))),Object(r.b)("p",null,"Prop to set the Widget Attributes. example:\n",Object(r.b)("inlineCode",{parentName:"p"},"")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-cursor"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," cursor"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"cursor"),"? : ",Object(r.b)("em",{parentName:"p"},"CursorShape | QCursor")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-cursor"}),"cursor"))),Object(r.b)("p",null,"Sets the window mouse cursor. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor"}),"QWidget: setCursor")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-enabled"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," enabled"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"enabled"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | false | true")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-enabled"}),"enabled"))),Object(r.b)("p",null,"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. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled"}),"QWidget: setEnabled")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-geometry"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," geometry"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"geometry"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#geometry"}),"Geometry"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-geometry"}),"geometry"))),Object(r.b)("p",null,"Sets the screen position as well as size of the widget. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height"}),"QWidget: setGeometry")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-hastracking"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," hasTracking"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"hasTracking"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | false | true")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-id"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," id"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"id"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-id"}),"id"))),Object(r.b)("p",null,"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. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname"}),"QWidget: setObjectName")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-invertedappearance"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," invertedAppearance"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"invertedAppearance"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | false | true")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-invertedcontrols"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," invertedControls"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"invertedControls"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | false | true")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-issliderdown"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," isSliderDown"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"isSliderDown"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | false | true")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-maxsize"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," maxSize"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"maxSize"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#size"}),"Size"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-maxsize"}),"maxSize"))),Object(r.b)("p",null,"Sets the maximum size of the widget. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height"}),"QWidget: setMaximumSize")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-maximum"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," maximum"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"maximum"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | number")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-minsize"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," minSize"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"minSize"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#size"}),"Size"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-minsize"}),"minSize"))),Object(r.b)("p",null,"Sets the minimum size of the widget. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height"}),"QWidget: setMinimumSize")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-minimum"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," minimum"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"minimum"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | number")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-mousetracking"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," mouseTracking"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"mouseTracking"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | false | true")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-mousetracking"}),"mouseTracking"))),Object(r.b)("p",null,"Sets the property that tells whether mouseTracking is enabled for the widget. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked"}),"QWidget: setMouseTracking")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-on"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," on"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"on"),"? : ",Object(r.b)("em",{parentName:"p"},"Partial\u2039",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#widgeteventlisteners"}),"WidgetEventListeners")," | QSliderSignals\u203a")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-on"}),"on"))),Object(r.b)("p",null,"Prop to set the event listener map. See ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"/docs/guides/handle-events"}),"Handlong Events")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-orientation"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," orientation"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"orientation"),"? : ",Object(r.b)("em",{parentName:"p"},"Orientation")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-pagestep"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," pageStep"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"pageStep"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | number")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-pos"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," pos"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"pos"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#position"}),"Position"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-pos"}),"pos"))),Object(r.b)("p",null,"Sets the screen position of the widget. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y"}),"QWidget: move")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-ref"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," ref"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"ref"),"? : ",Object(r.b)("em",{parentName:"p"},"any")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-ref"}),"ref"))),Object(r.b)("p",null,"Prop to set the ref. The ref will return the underlying nodegui widget."),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-singlestep"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," singleStep"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"singleStep"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | number")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-size"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," size"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"size"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#viewsize"}),"ViewSize"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-size"}),"size"))),Object(r.b)("p",null,"Sets both the minimum and maximum sizes of the widget. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height"}),"QWidget: setFixedSize")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-sliderposition"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," sliderPosition"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"sliderPosition"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | number")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-style"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," style"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"style"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-style"}),"style"))),Object(r.b)("p",null,"Sets the inline stylesheet property. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle"}),"QWidget: setInlineStyle")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-stylesheet"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," styleSheet"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"styleSheet"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-stylesheet"}),"styleSheet"))),Object(r.b)("p",null,"Sets the property that holds the widget's style sheet. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet"}),"QWidget: setStyleSheet")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-tickinterval"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," tickInterval"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"tickInterval"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | number")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-tickposition"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," tickPosition"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"tickPosition"),"? : ",Object(r.b)("em",{parentName:"p"},"TickPosition")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-value"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," value"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"value"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | number")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-visible"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," visible"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"visible"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | false | true")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-visible"}),"visible"))),Object(r.b)("p",null,"Shows or hides the widget and its children. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetshow"}),"QWidget: show")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowflags"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowFlags"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowFlags"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#windowflagsmap"}),"WindowFlagsMap"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowflags"}),"windowFlags"))),Object(r.b)("p",null,"Prop to set the Widget flags. example:\n",Object(r.b)("inlineCode",{parentName:"p"},"")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowicon"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowIcon"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowIcon"),"? : ",Object(r.b)("em",{parentName:"p"},"QIcon")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowicon"}),"windowIcon"))),Object(r.b)("p",null,"Sets the window icon. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon"}),"QWidget: setWindowIcon")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowopacity"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowOpacity"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowOpacity"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | number")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowopacity"}),"windowOpacity"))),Object(r.b)("p",null,"This property holds the level of opacity for the window. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity"}),"QWidget: setWindowOpacity")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowstate"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowState"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowState"),"? : ",Object(r.b)("em",{parentName:"p"},"WindowState")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowstate"}),"windowState"))),Object(r.b)("p",null,"Sets the window state. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate"}),"QWidget: setWindowState")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowtitle"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowTitle"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowTitle"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowtitle"}),"windowTitle"))),Object(r.b)("p",null,"Sets the window title property. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle"}),"QWidget: setWindowTitle")))}l.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/04fdf1ed.c74bc2b3.js b/04fdf1ed.c74bc2b3.js new file mode 100644 index 00000000..e23ccc18 --- /dev/null +++ b/04fdf1ed.c74bc2b3.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{162:function(e,t,r){"use strict";r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return m}));var n=r(0),a=r.n(n);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var p=a.a.createContext({}),b=function(e){var t=a.a.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},u=function(e){var t=b(e.components);return a.a.createElement(p.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return a.a.createElement(a.a.Fragment,{},t)}},s=a.a.forwardRef((function(e,t){var r=e.components,n=e.mdxType,c=e.originalType,i=e.parentName,p=o(e,["components","mdxType","originalType","parentName"]),u=b(r),s=n,m=u["".concat(i,".").concat(s)]||u[s]||d[s]||c;return r?a.a.createElement(m,l(l({ref:t},p),{},{components:r})):a.a.createElement(m,l({ref:t},p))}));function m(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var c=r.length,i=new Array(c);i[0]=s;var l={};for(var o in t)hasOwnProperty.call(t,o)&&(l[o]=t[o]);l.originalType=e,l.mdxType="string"==typeof e?e:n,i[1]=l;for(var p=2;p=0||(n[a]=e[a]);return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(b=0;b=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}var i=n.a.createContext({}),O=function(e){var t=n.a.useContext(i),a=t;return e&&(a="function"==typeof e?e(t):c(c({},t),e)),a},j=function(e){var t=O(e.components);return n.a.createElement(i.Provider,{value:t},e.children)},o={inlineCode:"code",wrapper:function(e){var t=e.children;return n.a.createElement(n.a.Fragment,{},t)}},m=n.a.forwardRef((function(e,t){var a=e.components,b=e.mdxType,r=e.originalType,l=e.parentName,i=p(e,["components","mdxType","originalType","parentName"]),j=O(a),m=b,s=j["".concat(l,".").concat(m)]||j[m]||o[m]||r;return a?n.a.createElement(s,c(c({ref:t},i),{},{components:a})):n.a.createElement(s,c({ref:t},i))}));function s(e,t){var a=arguments,b=t&&t.mdxType;if("string"==typeof e||b){var r=a.length,l=new Array(r);l[0]=m;var c={};for(var p in t)hasOwnProperty.call(t,p)&&(c[p]=t[p]);c.originalType=e,c.mdxType="string"==typeof e?e:b,l[1]=c;for(var i=2;iOptional _layout",id:"optional-_layout",children:[]},{value:"_rawInlineStyle",id:"_rawinlinestyle",children:[]},{value:"actions",id:"actions",children:[]},{value:"native",id:"native",children:[]},{value:"nodeChildren",id:"nodechildren",children:[]},{value:"Optional nodeParent",id:"optional-nodeparent",children:[]},{value:"type",id:"type",children:[]},{value:"Static tagName",id:"static-tagname",children:[]}]},{value:"Accessors",id:"accessors-1",children:[{value:"layout",id:"layout",children:[]}]},{value:"Methods",id:"methods-1",children:[{value:"acceptDrops",id:"acceptdrops",children:[]},{value:"activateWindow",id:"activatewindow",children:[]},{value:"addAction",id:"addaction",children:[]},{value:"addEventListener",id:"addeventlistener",children:[]},{value:"adjustSize",id:"adjustsize",children:[]},{value:"appendChild",id:"appendchild",children:[]},{value:"appendInitialChild",id:"appendinitialchild",children:[]},{value:"clearFocus",id:"clearfocus",children:[]},{value:"close",id:"close",children:[]},{value:"currentFont",id:"currentfont",children:[]},{value:"eventProcessed",id:"eventprocessed",children:[]},{value:"exec",id:"exec",children:[]},{value:"font",id:"font",children:[]},{value:"geometry",id:"geometry",children:[]},{value:"getFlexNode",id:"getflexnode",children:[]},{value:"hasMouseTracking",id:"hasmousetracking",children:[]},{value:"hide",id:"hide",children:[]},{value:"inherits",id:"inherits",children:[]},{value:"insertBefore",id:"insertbefore",children:[]},{value:"isActiveWindow",id:"isactivewindow",children:[]},{value:"isEnabled",id:"isenabled",children:[]},{value:"isSizeGripEnabled",id:"issizegripenabled",children:[]},{value:"isVisible",id:"isvisible",children:[]},{value:"lower",id:"lower",children:[]},{value:"mapFromGlobal",id:"mapfromglobal",children:[]},{value:"mapFromParent",id:"mapfromparent",children:[]},{value:"mapToGlobal",id:"maptoglobal",children:[]},{value:"mapToParent",id:"maptoparent",children:[]},{value:"maximumSize",id:"maximumsize",children:[]},{value:"minimumSize",id:"minimumsize",children:[]},{value:"move",id:"move",children:[]},{value:"objectName",id:"objectname",children:[]},{value:"open",id:"open",children:[]},{value:"options",id:"options",children:[]},{value:"pos",id:"pos",children:[]},{value:"property",id:"property",children:[]},{value:"raise",id:"raise",children:[]},{value:"reject",id:"reject",children:[]},{value:"removeAction",id:"removeaction",children:[]},{value:"removeChild",id:"removechild",children:[]},{value:"removeEventListener",id:"removeeventlistener",children:[]},{value:"repaint",id:"repaint",children:[]},{value:"repolish",id:"repolish",children:[]},{value:"resize",id:"resize",children:[]},{value:"result",id:"result",children:[]},{value:"selectedFont",id:"selectedfont",children:[]},{value:"setAcceptDrops",id:"setacceptdrops",children:[]},{value:"setAttribute",id:"setattribute",children:[]},{value:"setContextMenuPolicy",id:"setcontextmenupolicy",children:[]},{value:"setCurrentFont",id:"setcurrentfont",children:[]},{value:"setCursor",id:"setcursor",children:[]},{value:"setEnabled",id:"setenabled",children:[]},{value:"setEventProcessed",id:"seteventprocessed",children:[]},{value:"setFixedSize",id:"setfixedsize",children:[]},{value:"setFlexNodeSizeControlled",id:"setflexnodesizecontrolled",children:[]},{value:"setFocus",id:"setfocus",children:[]},{value:"setFocusPolicy",id:"setfocuspolicy",children:[]},{value:"setFont",id:"setfont",children:[]},{value:"setGeometry",id:"setgeometry",children:[]},{value:"setGraphicsEffect",id:"setgraphicseffect",children:[]},{value:"setInlineStyle",id:"setinlinestyle",children:[]},{value:"setLayout",id:"setlayout",children:[]},{value:"setMaximumSize",id:"setmaximumsize",children:[]},{value:"setMinimumSize",id:"setminimumsize",children:[]},{value:"setModal",id:"setmodal",children:[]},{value:"setMouseTracking",id:"setmousetracking",children:[]},{value:"setNodeParent",id:"setnodeparent",children:[]},{value:"setObjectName",id:"setobjectname",children:[]},{value:"setOption",id:"setoption",children:[]},{value:"setOptions",id:"setoptions",children:[]},{value:"setProperty",id:"setproperty",children:[]},{value:"setProps",id:"setprops",children:[]},{value:"setResult",id:"setresult",children:[]},{value:"setSizeGripEnabled",id:"setsizegripenabled",children:[]},{value:"setStyleSheet",id:"setstylesheet",children:[]},{value:"setWindowFlag",id:"setwindowflag",children:[]},{value:"setWindowIcon",id:"setwindowicon",children:[]},{value:"setWindowOpacity",id:"setwindowopacity",children:[]},{value:"setWindowState",id:"setwindowstate",children:[]},{value:"setWindowTitle",id:"setwindowtitle",children:[]},{value:"show",id:"show",children:[]},{value:"showFullScreen",id:"showfullscreen",children:[]},{value:"showMaximized",id:"showmaximized",children:[]},{value:"showMinimized",id:"showminimized",children:[]},{value:"showNormal",id:"shownormal",children:[]},{value:"size",id:"size",children:[]},{value:"styleSheet",id:"stylesheet",children:[]},{value:"testAttribute",id:"testattribute",children:[]},{value:"testOption",id:"testoption",children:[]},{value:"update",id:"update",children:[]},{value:"updateGeometry",id:"updategeometry",children:[]},{value:"windowOpacity",id:"windowopacity",children:[]},{value:"windowState",id:"windowstate",children:[]},{value:"windowTitle",id:"windowtitle",children:[]}]}],i={rightToc:p};function O(e){var t=e.components,a=Object(n.a)(e,["components"]);return Object(r.b)("wrapper",Object(b.a)({},i,a,{components:t,mdxType:"MDXLayout"}),Object(r.b)("h2",{id:"hierarchy"},"Hierarchy"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("p",{parentName:"li"},"QFontDialog"),Object(r.b)("p",{parentName:"li"},"\u21b3 ",Object(r.b)("strong",{parentName:"p"},"RNFontDialog")))),Object(r.b)("h2",{id:"implements"},"Implements"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},"RNWidget")),Object(r.b)("h2",{id:"index"},"Index"),Object(r.b)("h3",{id:"constructors"},"Constructors"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#constructor"}),"constructor"))),Object(r.b)("h3",{id:"properties"},"Properties"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#optional-_layout"}),"_layout")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#_rawinlinestyle"}),"_rawInlineStyle")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#actions"}),"actions")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#native"}),"native")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#nodechildren"}),"nodeChildren")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#optional-nodeparent"}),"nodeParent")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#type"}),"type")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#static-tagname"}),"tagName"))),Object(r.b)("h3",{id:"accessors"},"Accessors"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#layout"}),"layout"))),Object(r.b)("h3",{id:"methods"},"Methods"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#acceptdrops"}),"acceptDrops")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#activatewindow"}),"activateWindow")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#addaction"}),"addAction")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#addeventlistener"}),"addEventListener")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#adjustsize"}),"adjustSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#appendchild"}),"appendChild")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#appendinitialchild"}),"appendInitialChild")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#clearfocus"}),"clearFocus")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#close"}),"close")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#currentfont"}),"currentFont")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#eventprocessed"}),"eventProcessed")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#exec"}),"exec")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#font"}),"font")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#geometry"}),"geometry")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#getflexnode"}),"getFlexNode")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#hasmousetracking"}),"hasMouseTracking")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#hide"}),"hide")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#inherits"}),"inherits")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#insertbefore"}),"insertBefore")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#isactivewindow"}),"isActiveWindow")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#isenabled"}),"isEnabled")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#issizegripenabled"}),"isSizeGripEnabled")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#isvisible"}),"isVisible")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#lower"}),"lower")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#mapfromglobal"}),"mapFromGlobal")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#mapfromparent"}),"mapFromParent")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#maptoglobal"}),"mapToGlobal")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#maptoparent"}),"mapToParent")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#maximumsize"}),"maximumSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#minimumsize"}),"minimumSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#move"}),"move")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#objectname"}),"objectName")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#open"}),"open")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#options"}),"options")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#pos"}),"pos")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#property"}),"property")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#raise"}),"raise")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#reject"}),"reject")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#removeaction"}),"removeAction")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#removechild"}),"removeChild")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#removeeventlistener"}),"removeEventListener")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#repaint"}),"repaint")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#repolish"}),"repolish")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#resize"}),"resize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#result"}),"result")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#selectedfont"}),"selectedFont")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#setacceptdrops"}),"setAcceptDrops")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#setattribute"}),"setAttribute")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#setcontextmenupolicy"}),"setContextMenuPolicy")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#setcurrentfont"}),"setCurrentFont")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#setcursor"}),"setCursor")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#setenabled"}),"setEnabled")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#seteventprocessed"}),"setEventProcessed")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#setfixedsize"}),"setFixedSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#setflexnodesizecontrolled"}),"setFlexNodeSizeControlled")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#setfocus"}),"setFocus")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#setfocuspolicy"}),"setFocusPolicy")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#setfont"}),"setFont")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#setgeometry"}),"setGeometry")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#setgraphicseffect"}),"setGraphicsEffect")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#setinlinestyle"}),"setInlineStyle")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#setlayout"}),"setLayout")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#setmaximumsize"}),"setMaximumSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#setminimumsize"}),"setMinimumSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#setmodal"}),"setModal")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#setmousetracking"}),"setMouseTracking")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#setnodeparent"}),"setNodeParent")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#setobjectname"}),"setObjectName")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#setoption"}),"setOption")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#setoptions"}),"setOptions")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#setproperty"}),"setProperty")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#setprops"}),"setProps")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#setresult"}),"setResult")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#setsizegripenabled"}),"setSizeGripEnabled")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#setstylesheet"}),"setStyleSheet")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#setwindowflag"}),"setWindowFlag")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#setwindowicon"}),"setWindowIcon")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#setwindowopacity"}),"setWindowOpacity")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#setwindowstate"}),"setWindowState")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#setwindowtitle"}),"setWindowTitle")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#show"}),"show")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#showfullscreen"}),"showFullScreen")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#showmaximized"}),"showMaximized")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#showminimized"}),"showMinimized")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#shownormal"}),"showNormal")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#size"}),"size")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#stylesheet"}),"styleSheet")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#testattribute"}),"testAttribute")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#testoption"}),"testOption")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#update"}),"update")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#updategeometry"}),"updateGeometry")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#windowopacity"}),"windowOpacity")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#windowstate"}),"windowState")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfontdialog#windowtitle"}),"windowTitle"))),Object(r.b)("h2",{id:"constructors-1"},"Constructors"),Object(r.b)("h3",{id:"constructor"},"constructor"),Object(r.b)("p",null,"+"," ",Object(r.b)("strong",{parentName:"p"},"new RNFontDialog"),"(): ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfontdialog"}),"RNFontDialog"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfontdialog"}),"RNFontDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfontdialog#constructor"}),"constructor"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Overrides void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfontdialog"}),"RNFontDialog"))),Object(r.b)("p",null,"+"," ",Object(r.b)("strong",{parentName:"p"},"new RNFontDialog"),"(",Object(r.b)("inlineCode",{parentName:"p"},"parent"),": NodeWidget\u2039any\u203a): ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfontdialog"}),"RNFontDialog"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfontdialog"}),"RNFontDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfontdialog#constructor"}),"constructor"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Overrides void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"parent")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"NodeWidget\u2039any\u203a")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfontdialog"}),"RNFontDialog"))),Object(r.b)("h2",{id:"properties-1"},"Properties"),Object(r.b)("h3",{id:"optional-_layout"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," _layout"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"_layout"),"? : ",Object(r.b)("em",{parentName:"p"},"NodeLayout\u2039QFontDialogSignals\u203a")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"_rawinlinestyle"},"_rawInlineStyle"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"_rawInlineStyle"),": ",Object(r.b)("em",{parentName:"p"},"string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"actions"},"actions"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"actions"),": ",Object(r.b)("em",{parentName:"p"},"Set\u2039QAction\u203a")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"native"},"native"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"native"),": ",Object(r.b)("em",{parentName:"p"},"NativeElement")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfontdialog"}),"RNFontDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfontdialog#native"}),"native"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Overrides void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"nodechildren"},"nodeChildren"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"nodeChildren"),": ",Object(r.b)("em",{parentName:"p"},"Set\u2039Component\u203a")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#nodechildren"}),"nodeChildren"))),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-nodeparent"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," nodeParent"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"nodeParent"),"? : ",Object(r.b)("em",{parentName:"p"},"Component")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#optional-nodeparent"}),"nodeParent"))),Object(r.b)("hr",null),Object(r.b)("h3",{id:"type"},"type"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"type"),": ",Object(r.b)("em",{parentName:"p"},"string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"static-tagname"},Object(r.b)("inlineCode",{parentName:"h3"},"Static")," tagName"),Object(r.b)("p",null,"\u25aa ",Object(r.b)("strong",{parentName:"p"},"tagName"),": ",Object(r.b)("em",{parentName:"p"},"string"),' = "font-dialog"'),Object(r.b)("h2",{id:"accessors-1"},"Accessors"),Object(r.b)("h3",{id:"layout"},"layout"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"get layout"),"(): ",Object(r.b)("em",{parentName:"p"},"NodeLayout\u2039QFontDialogSignals\u203a | undefined")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"NodeLayout\u2039QFontDialogSignals\u203a | undefined")),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"set layout"),"(",Object(r.b)("inlineCode",{parentName:"p"},"l"),": NodeLayout\u2039QFontDialogSignals\u203a | undefined): ",Object(r.b)("em",{parentName:"p"},"any")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"l")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"NodeLayout\u2039QFontDialogSignals\u203a ","|"," undefined")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"any")),Object(r.b)("h2",{id:"methods-1"},"Methods"),Object(r.b)("h3",{id:"acceptdrops"},"acceptDrops"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"acceptDrops"),"(): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"activatewindow"},"activateWindow"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"activateWindow"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"addaction"},"addAction"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"addAction"),"(",Object(r.b)("inlineCode",{parentName:"p"},"action"),": QAction | string): ",Object(r.b)("em",{parentName:"p"},"QAction")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"action")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QAction ","|"," string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QAction")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"addeventlistener"},"addEventListener"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"addEventListener"),"\u2039",Object(r.b)("strong",{parentName:"p"},"SignalType"),"\u203a(",Object(r.b)("inlineCode",{parentName:"p"},"signalType"),": SignalType, ",Object(r.b)("inlineCode",{parentName:"p"},"callback"),": QFontDialogSignals","[SignalType]","): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#addeventlistener"}),"addEventListener"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Type parameters:")),Object(r.b)("p",null,"\u25aa ",Object(r.b)("strong",{parentName:"p"},"SignalType"),": ",Object(r.b)("em",{parentName:"p"},"keyof QFontDialogSignals")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Description"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"signalType")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"SignalType"),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"SignalType is a signal from the widgets signals interface.")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"callback")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QFontDialogSignals","[SignalType]"),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"Corresponding callback for the signal as mentioned in the widget's signal interface")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,"void"),Object(r.b)("p",null,"For example in the case of QPushButton:"),Object(r.b)("pre",null,Object(r.b)("code",Object(b.a)({parentName:"pre"},{className:"language-js"}),"const button = new QPushButton();\nbutton.addEventListener('clicked',(checked)=>console.log(\"clicked\"));\n// here clicked is a value from QPushButtonSignals interface\n")),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"addEventListener"),"(",Object(r.b)("inlineCode",{parentName:"p"},"eventType"),": WidgetEventTypes, ",Object(r.b)("inlineCode",{parentName:"p"},"callback"),": function): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#addeventlistener"}),"addEventListener"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("p",null,"\u25aa ",Object(r.b)("strong",{parentName:"p"},"eventType"),": ",Object(r.b)("em",{parentName:"p"},"WidgetEventTypes")),Object(r.b)("p",null,"\u25aa ",Object(r.b)("strong",{parentName:"p"},"callback"),": ",Object(r.b)("em",{parentName:"p"},"function")),Object(r.b)("p",null,"For example in the case of QPushButton:"),Object(r.b)("pre",null,Object(r.b)("code",Object(b.a)({parentName:"pre"},{className:"language-js"}),'const button = new QPushButton();\nbutton.addEventListener(WidgetEventTypes.HoverEnter,()=>console.log("hovered"));\n')),Object(r.b)("p",null,"\u25b8 (",Object(r.b)("inlineCode",{parentName:"p"},"event?"),': NativeRawPointer\u2039"QEvent"\u203a): ',Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"event?")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),'NativeRawPointer\u2039"QEvent"\u203a')))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"adjustsize"},"adjustSize"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"adjustSize"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"appendchild"},"appendChild"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"appendChild"),"(",Object(r.b)("inlineCode",{parentName:"p"},"child"),": NodeWidget\u2039any\u203a): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"child")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"NodeWidget\u2039any\u203a")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"appendinitialchild"},"appendInitialChild"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"appendInitialChild"),"(",Object(r.b)("inlineCode",{parentName:"p"},"child"),": NodeWidget\u2039any\u203a): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"child")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"NodeWidget\u2039any\u203a")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"clearfocus"},"clearFocus"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"clearFocus"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"close"},"close"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"close"),"(): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"currentfont"},"currentFont"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"currentFont"),"(): ",Object(r.b)("em",{parentName:"p"},"QFont")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfontdialog"}),"RNFontDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfontdialog#currentfont"}),"currentFont"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QFont")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"eventprocessed"},"eventProcessed"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"eventProcessed"),"(): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#eventprocessed"}),"eventProcessed"))),Object(r.b)("p",null,"Get the state of the event processed flag"),Object(r.b)("p",null,"See ",Object(r.b)("inlineCode",{parentName:"p"},"setEventProcessed()"),"."),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,"boolean True if the current event is flagged as processed."),Object(r.b)("hr",null),Object(r.b)("h3",{id:"exec"},"exec"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"exec"),"(): ",Object(r.b)("em",{parentName:"p"},"DialogCode")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog"}),"RNDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog#exec"}),"exec"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"DialogCode")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"font"},"font"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"font"),"(): ",Object(r.b)("em",{parentName:"p"},"QFont")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QFont")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"geometry"},"geometry"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"geometry"),"(): ",Object(r.b)("em",{parentName:"p"},"QRect")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QRect")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"getflexnode"},"getFlexNode"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"getFlexNode"),"(): ",Object(r.b)("em",{parentName:"p"},"FlexNode")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"FlexNode")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"hasmousetracking"},"hasMouseTracking"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"hasMouseTracking"),"(): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"hide"},"hide"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"hide"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"inherits"},"inherits"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"inherits"),"(",Object(r.b)("inlineCode",{parentName:"p"},"className"),": string): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#inherits"}),"inherits"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"className")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"insertbefore"},"insertBefore"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"insertBefore"),"(",Object(r.b)("inlineCode",{parentName:"p"},"child"),": NodeWidget\u2039any\u203a, ",Object(r.b)("inlineCode",{parentName:"p"},"beforeChild"),": NodeWidget\u2039any\u203a): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"child")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"NodeWidget\u2039any\u203a")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"beforeChild")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"NodeWidget\u2039any\u203a")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"isactivewindow"},"isActiveWindow"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"isActiveWindow"),"(): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"isenabled"},"isEnabled"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"isEnabled"),"(): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"issizegripenabled"},"isSizeGripEnabled"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"isSizeGripEnabled"),"(): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog"}),"RNDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog#issizegripenabled"}),"isSizeGripEnabled"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"isvisible"},"isVisible"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"isVisible"),"(): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"lower"},"lower"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"lower"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"mapfromglobal"},"mapFromGlobal"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"mapFromGlobal"),"(",Object(r.b)("inlineCode",{parentName:"p"},"pos"),": QPoint): ",Object(r.b)("em",{parentName:"p"},"QPoint")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"pos")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QPoint")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QPoint")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"mapfromparent"},"mapFromParent"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"mapFromParent"),"(",Object(r.b)("inlineCode",{parentName:"p"},"pos"),": QPoint): ",Object(r.b)("em",{parentName:"p"},"QPoint")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"pos")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QPoint")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QPoint")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"maptoglobal"},"mapToGlobal"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"mapToGlobal"),"(",Object(r.b)("inlineCode",{parentName:"p"},"pos"),": QPoint): ",Object(r.b)("em",{parentName:"p"},"QPoint")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"pos")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QPoint")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QPoint")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"maptoparent"},"mapToParent"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"mapToParent"),"(",Object(r.b)("inlineCode",{parentName:"p"},"pos"),": QPoint): ",Object(r.b)("em",{parentName:"p"},"QPoint")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"pos")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QPoint")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QPoint")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"maximumsize"},"maximumSize"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"maximumSize"),"(): ",Object(r.b)("em",{parentName:"p"},"QSize")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QSize")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"minimumsize"},"minimumSize"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"minimumSize"),"(): ",Object(r.b)("em",{parentName:"p"},"QSize")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QSize")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"move"},"move"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"move"),"(",Object(r.b)("inlineCode",{parentName:"p"},"x"),": number, ",Object(r.b)("inlineCode",{parentName:"p"},"y"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"x")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"y")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"objectname"},"objectName"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"objectName"),"(): ",Object(r.b)("em",{parentName:"p"},"string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#objectname"}),"objectName"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"string")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"open"},"open"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"open"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog"}),"RNDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog#open"}),"open"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"options"},"options"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"options"),"(): ",Object(r.b)("em",{parentName:"p"},"FontDialogOption")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfontdialog"}),"RNFontDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfontdialog#options"}),"options"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"FontDialogOption")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"pos"},"pos"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"pos"),"(): ",Object(r.b)("em",{parentName:"p"},"object")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"object")),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("p",{parentName:"li"},Object(r.b)("strong",{parentName:"p"},"x"),": ",Object(r.b)("em",{parentName:"p"},"number"))),Object(r.b)("li",{parentName:"ul"},Object(r.b)("p",{parentName:"li"},Object(r.b)("strong",{parentName:"p"},"y"),": ",Object(r.b)("em",{parentName:"p"},"number")))),Object(r.b)("hr",null),Object(r.b)("h3",{id:"property"},"property"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"property"),"(",Object(r.b)("inlineCode",{parentName:"p"},"name"),": string): ",Object(r.b)("em",{parentName:"p"},"QVariant")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#property"}),"property"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"name")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QVariant")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"raise"},"raise"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"raise"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"reject"},"reject"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"reject"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog"}),"RNDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog#reject"}),"reject"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"removeaction"},"removeAction"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"removeAction"),"(",Object(r.b)("inlineCode",{parentName:"p"},"action"),": QAction): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"action")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QAction")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"removechild"},"removeChild"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"removeChild"),"(",Object(r.b)("inlineCode",{parentName:"p"},"child"),": NodeWidget\u2039any\u203a): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"child")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"NodeWidget\u2039any\u203a")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"removeeventlistener"},"removeEventListener"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"removeEventListener"),"\u2039",Object(r.b)("strong",{parentName:"p"},"SignalType"),"\u203a(",Object(r.b)("inlineCode",{parentName:"p"},"signalType"),": SignalType, ",Object(r.b)("inlineCode",{parentName:"p"},"callback"),": QFontDialogSignals","[SignalType]","): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#removeeventlistener"}),"removeEventListener"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Type parameters:")),Object(r.b)("p",null,"\u25aa ",Object(r.b)("strong",{parentName:"p"},"SignalType"),": ",Object(r.b)("em",{parentName:"p"},"keyof QFontDialogSignals")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"signalType")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"SignalType")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"callback")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QFontDialogSignals","[SignalType]")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"removeEventListener"),"(",Object(r.b)("inlineCode",{parentName:"p"},"eventType"),": WidgetEventTypes, ",Object(r.b)("inlineCode",{parentName:"p"},"callback"),": function): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#removeeventlistener"}),"removeEventListener"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("p",null,"\u25aa ",Object(r.b)("strong",{parentName:"p"},"eventType"),": ",Object(r.b)("em",{parentName:"p"},"WidgetEventTypes")),Object(r.b)("p",null,"\u25aa ",Object(r.b)("strong",{parentName:"p"},"callback"),": ",Object(r.b)("em",{parentName:"p"},"function")),Object(r.b)("p",null,"\u25b8 (",Object(r.b)("inlineCode",{parentName:"p"},"event?"),': NativeRawPointer\u2039"QEvent"\u203a): ',Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"event?")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),'NativeRawPointer\u2039"QEvent"\u203a')))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"repaint"},"repaint"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"repaint"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"repolish"},"repolish"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"repolish"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"resize"},"resize"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"resize"),"(",Object(r.b)("inlineCode",{parentName:"p"},"width"),": number, ",Object(r.b)("inlineCode",{parentName:"p"},"height"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"width")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"height")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"result"},"result"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"result"),"(): ",Object(r.b)("em",{parentName:"p"},"number")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog"}),"RNDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog#result"}),"result"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"number")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"selectedfont"},"selectedFont"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"selectedFont"),"(): ",Object(r.b)("em",{parentName:"p"},"QFont")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfontdialog"}),"RNFontDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfontdialog#selectedfont"}),"selectedFont"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QFont")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setacceptdrops"},"setAcceptDrops"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setAcceptDrops"),"(",Object(r.b)("inlineCode",{parentName:"p"},"on"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"on")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setattribute"},"setAttribute"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setAttribute"),"(",Object(r.b)("inlineCode",{parentName:"p"},"attribute"),": WidgetAttribute, ",Object(r.b)("inlineCode",{parentName:"p"},"switchOn"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"attribute")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"WidgetAttribute")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"switchOn")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setcontextmenupolicy"},"setContextMenuPolicy"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setContextMenuPolicy"),"(",Object(r.b)("inlineCode",{parentName:"p"},"contextMenuPolicy"),": ContextMenuPolicy): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"contextMenuPolicy")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"ContextMenuPolicy")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setcurrentfont"},"setCurrentFont"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setCurrentFont"),"(",Object(r.b)("inlineCode",{parentName:"p"},"font"),": QFont): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfontdialog"}),"RNFontDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfontdialog#setcurrentfont"}),"setCurrentFont"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"font")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QFont")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setcursor"},"setCursor"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setCursor"),"(",Object(r.b)("inlineCode",{parentName:"p"},"cursor"),": CursorShape | QCursor): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"cursor")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"CursorShape ","|"," QCursor")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setenabled"},"setEnabled"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setEnabled"),"(",Object(r.b)("inlineCode",{parentName:"p"},"enabled"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"enabled")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"seteventprocessed"},"setEventProcessed"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setEventProcessed"),"(",Object(r.b)("inlineCode",{parentName:"p"},"isProcessed"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#seteventprocessed"}),"setEventProcessed"))),Object(r.b)("p",null,"Mark the current event as having been processed"),Object(r.b)("p",null,"This method is used to indicate that the currently dispatched event\nhas been processed and no further processing by superclasses is\nrequired. It only makes sense to call this method from an event\nhandler."),Object(r.b)("p",null,"When set, this flag will cause NodeGui's ",Object(r.b)("inlineCode",{parentName:"p"},"QObject::event()")," method to\nreturn true and not call the superclass ",Object(r.b)("inlineCode",{parentName:"p"},"event()"),", effectively preventing\nany further processing on this event."),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Description"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"isProcessed")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean"),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"true if the event has been processed.")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setfixedsize"},"setFixedSize"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setFixedSize"),"(",Object(r.b)("inlineCode",{parentName:"p"},"width"),": number, ",Object(r.b)("inlineCode",{parentName:"p"},"height"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"width")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"height")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setflexnodesizecontrolled"},"setFlexNodeSizeControlled"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setFlexNodeSizeControlled"),"(",Object(r.b)("inlineCode",{parentName:"p"},"isSizeControlled"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,"sets whether the widget's size is controlled by someone else (for example a window's size is controlled by its frame when dragged)."),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Description"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"isSizeControlled")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean"),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}))))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setfocus"},"setFocus"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setFocus"),"(",Object(r.b)("inlineCode",{parentName:"p"},"reason?"),": FocusReason): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"reason?")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"FocusReason")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setfocuspolicy"},"setFocusPolicy"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setFocusPolicy"),"(",Object(r.b)("inlineCode",{parentName:"p"},"policy"),": FocusPolicy): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"policy")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"FocusPolicy")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setfont"},"setFont"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setFont"),"(",Object(r.b)("inlineCode",{parentName:"p"},"font"),": QFont): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"font")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QFont")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setgeometry"},"setGeometry"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setGeometry"),"(",Object(r.b)("inlineCode",{parentName:"p"},"x"),": number, ",Object(r.b)("inlineCode",{parentName:"p"},"y"),": number, ",Object(r.b)("inlineCode",{parentName:"p"},"w"),": number, ",Object(r.b)("inlineCode",{parentName:"p"},"h"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"x")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"y")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"w")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"h")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setgraphicseffect"},"setGraphicsEffect"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setGraphicsEffect"),"(",Object(r.b)("inlineCode",{parentName:"p"},"effect"),": QGraphicsEffect\u2039any\u203a): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"effect")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QGraphicsEffect\u2039any\u203a")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setinlinestyle"},"setInlineStyle"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setInlineStyle"),"(",Object(r.b)("inlineCode",{parentName:"p"},"style"),": string): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"style")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setlayout"},"setLayout"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setLayout"),"(",Object(r.b)("inlineCode",{parentName:"p"},"parentLayout"),": NodeLayout\u2039QFontDialogSignals\u203a): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"parentLayout")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"NodeLayout\u2039QFontDialogSignals\u203a")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setmaximumsize"},"setMaximumSize"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setMaximumSize"),"(",Object(r.b)("inlineCode",{parentName:"p"},"maxw"),": number, ",Object(r.b)("inlineCode",{parentName:"p"},"maxh"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"maxw")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"maxh")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setminimumsize"},"setMinimumSize"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setMinimumSize"),"(",Object(r.b)("inlineCode",{parentName:"p"},"minw"),": number, ",Object(r.b)("inlineCode",{parentName:"p"},"minh"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"minw")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"minh")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setmodal"},"setModal"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setModal"),"(",Object(r.b)("inlineCode",{parentName:"p"},"modal"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog"}),"RNDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog#setmodal"}),"setModal"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"modal")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setmousetracking"},"setMouseTracking"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setMouseTracking"),"(",Object(r.b)("inlineCode",{parentName:"p"},"isMouseTracked"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"isMouseTracked")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setnodeparent"},"setNodeParent"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setNodeParent"),"(",Object(r.b)("inlineCode",{parentName:"p"},"parent?"),": Component): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#setnodeparent"}),"setNodeParent"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"parent?")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"Component")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setobjectname"},"setObjectName"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setObjectName"),"(",Object(r.b)("inlineCode",{parentName:"p"},"objectName"),": string): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Overrides ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#setobjectname"}),"setObjectName"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"objectName")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setoption"},"setOption"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setOption"),"(",Object(r.b)("inlineCode",{parentName:"p"},"option"),": FontDialogOption, ",Object(r.b)("inlineCode",{parentName:"p"},"on?"),": undefined | false | true): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfontdialog"}),"RNFontDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfontdialog#setoption"}),"setOption"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"option")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"FontDialogOption")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"on?")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"undefined ","|"," false ","|"," true")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setoptions"},"setOptions"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setOptions"),"(",Object(r.b)("inlineCode",{parentName:"p"},"options"),": FontDialogOption): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfontdialog"}),"RNFontDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfontdialog#setoptions"}),"setOptions"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"options")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"FontDialogOption")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setproperty"},"setProperty"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setProperty"),"(",Object(r.b)("inlineCode",{parentName:"p"},"name"),": string, ",Object(r.b)("inlineCode",{parentName:"p"},"value"),": QVariantType): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#setproperty"}),"setProperty"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"name")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"value")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QVariantType")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setprops"},"setProps"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setProps"),"(",Object(r.b)("inlineCode",{parentName:"p"},"newProps"),": ",Object(r.b)("a",Object(b.a)({parentName:"p"},{href:"/docs/api/interfaces/fontdialogprops"}),"FontDialogProps"),", ",Object(r.b)("inlineCode",{parentName:"p"},"oldProps"),": ",Object(r.b)("a",Object(b.a)({parentName:"p"},{href:"/docs/api/interfaces/fontdialogprops"}),"FontDialogProps"),"): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"newProps")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("a",Object(b.a)({parentName:"td"},{href:"/docs/api/interfaces/fontdialogprops"}),"FontDialogProps"))),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"oldProps")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("a",Object(b.a)({parentName:"td"},{href:"/docs/api/interfaces/fontdialogprops"}),"FontDialogProps"))))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setresult"},"setResult"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setResult"),"(",Object(r.b)("inlineCode",{parentName:"p"},"i"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog"}),"RNDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog#setresult"}),"setResult"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"i")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setsizegripenabled"},"setSizeGripEnabled"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setSizeGripEnabled"),"(",Object(r.b)("inlineCode",{parentName:"p"},"enabled"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog"}),"RNDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog#setsizegripenabled"}),"setSizeGripEnabled"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"enabled")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setstylesheet"},"setStyleSheet"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setStyleSheet"),"(",Object(r.b)("inlineCode",{parentName:"p"},"styleSheet"),": string): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"styleSheet")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setwindowflag"},"setWindowFlag"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setWindowFlag"),"(",Object(r.b)("inlineCode",{parentName:"p"},"windowType"),": WindowType, ",Object(r.b)("inlineCode",{parentName:"p"},"switchOn"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"windowType")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"WindowType")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"switchOn")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setwindowicon"},"setWindowIcon"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setWindowIcon"),"(",Object(r.b)("inlineCode",{parentName:"p"},"icon"),": QIcon): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"icon")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QIcon")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setwindowopacity"},"setWindowOpacity"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setWindowOpacity"),"(",Object(r.b)("inlineCode",{parentName:"p"},"opacity"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"opacity")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setwindowstate"},"setWindowState"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setWindowState"),"(",Object(r.b)("inlineCode",{parentName:"p"},"state"),": WindowState): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"state")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"WindowState")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setwindowtitle"},"setWindowTitle"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setWindowTitle"),"(",Object(r.b)("inlineCode",{parentName:"p"},"title"),": string): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"title")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"show"},"show"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"show"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"showfullscreen"},"showFullScreen"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"showFullScreen"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"showmaximized"},"showMaximized"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"showMaximized"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"showminimized"},"showMinimized"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"showMinimized"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"shownormal"},"showNormal"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"showNormal"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"size"},"size"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"size"),"(): ",Object(r.b)("em",{parentName:"p"},"QSize")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QSize")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"stylesheet"},"styleSheet"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"styleSheet"),"(): ",Object(r.b)("em",{parentName:"p"},"string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"string")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"testattribute"},"testAttribute"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"testAttribute"),"(",Object(r.b)("inlineCode",{parentName:"p"},"attribute"),": WidgetAttribute): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"attribute")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"WidgetAttribute")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"testoption"},"testOption"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"testOption"),"(",Object(r.b)("inlineCode",{parentName:"p"},"option"),": FontDialogOption): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfontdialog"}),"RNFontDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfontdialog#testoption"}),"testOption"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"option")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"FontDialogOption")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"update"},"update"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"update"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"updategeometry"},"updateGeometry"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"updateGeometry"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"windowopacity"},"windowOpacity"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"windowOpacity"),"(): ",Object(r.b)("em",{parentName:"p"},"number")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"number")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"windowstate"},"windowState"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"windowState"),"(): ",Object(r.b)("em",{parentName:"p"},"number")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"number")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"windowtitle"},"windowTitle"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"windowTitle"),"(): ",Object(r.b)("em",{parentName:"p"},"string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"string")))}O.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/09a50200.f9a6ec1c.js b/09a50200.f9a6ec1c.js new file mode 100644 index 00000000..b5192995 --- /dev/null +++ b/09a50200.f9a6ec1c.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{162:function(e,t,a){"use strict";a.d(t,"a",(function(){return s})),a.d(t,"b",(function(){return m}));var i=a(0),n=a.n(i);function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function r(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}function p(e){for(var t=1;t=0||(n[a]=e[a]);return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}var c=n.a.createContext({}),l=function(e){var t=n.a.useContext(c),a=t;return e&&(a="function"==typeof e?e(t):p(p({},t),e)),a},s=function(e){var t=l(e.components);return n.a.createElement(c.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.a.createElement(n.a.Fragment,{},t)}},O=n.a.forwardRef((function(e,t){var a=e.components,i=e.mdxType,o=e.originalType,r=e.parentName,c=b(e,["components","mdxType","originalType","parentName"]),s=l(a),O=i,m=s["".concat(r,".").concat(O)]||s[O]||d[O]||o;return a?n.a.createElement(m,p(p({ref:t},c),{},{components:a})):n.a.createElement(m,p({ref:t},c))}));function m(e,t){var a=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var o=a.length,r=new Array(o);r[0]=O;var p={};for(var b in t)hasOwnProperty.call(t,b)&&(p[b]=t[b]);p.originalType=e,p.mdxType="string"==typeof e?e:i,r[1]=p;for(var c=2;cOptional attributes",id:"optional-attributes",children:[]},{value:"Optional cursor",id:"optional-cursor",children:[]},{value:"Optional enabled",id:"optional-enabled",children:[]},{value:"Optional geometry",id:"optional-geometry",children:[]},{value:"Optional id",id:"optional-id",children:[]},{value:"Optional maxSize",id:"optional-maxsize",children:[]},{value:"Optional minSize",id:"optional-minsize",children:[]},{value:"Optional mouseTracking",id:"optional-mousetracking",children:[]},{value:"Optional notchTarget",id:"optional-notchtarget",children:[]},{value:"Optional notchesVisible",id:"optional-notchesvisible",children:[]},{value:"Optional on",id:"optional-on",children:[]},{value:"Optional pos",id:"optional-pos",children:[]},{value:"Optional ref",id:"optional-ref",children:[]},{value:"Optional size",id:"optional-size",children:[]},{value:"Optional style",id:"optional-style",children:[]},{value:"Optional styleSheet",id:"optional-stylesheet",children:[]},{value:"Optional visible",id:"optional-visible",children:[]},{value:"Optional windowFlags",id:"optional-windowflags",children:[]},{value:"Optional windowIcon",id:"optional-windowicon",children:[]},{value:"Optional windowOpacity",id:"optional-windowopacity",children:[]},{value:"Optional windowState",id:"optional-windowstate",children:[]},{value:"Optional windowTitle",id:"optional-windowtitle",children:[]},{value:"Optional wrapping",id:"optional-wrapping",children:[]}]}],c={rightToc:b};function l(e){var t=e.components,a=Object(n.a)(e,["components"]);return Object(o.b)("wrapper",Object(i.a)({},c,a,{components:t,mdxType:"MDXLayout"}),Object(o.b)("p",null,"The Dial provides ability to add and manipulate native dial slider widgets. It is based on\n",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/generated/classes/qdial/"}),"NodeGui's QDial"),"."),Object(o.b)("h2",{id:"example"},"Example"),Object(o.b)("pre",null,Object(o.b)("code",Object(i.a)({parentName:"pre"},{className:"language-javascript"}),'import React from "react";\nimport { Renderer, Dial, Window } from "@nodegui/react-nodegui";\nconst App = () => {\n return (\n \n \n \n );\n};\nRenderer.render();\n')),Object(o.b)("h2",{id:"hierarchy"},"Hierarchy"),Object(o.b)("p",null," \u21b3 ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),"\u2039QDialSignals\u203a"),Object(o.b)("p",null," \u21b3 ",Object(o.b)("strong",{parentName:"p"},"DialProps")),Object(o.b)("h2",{id:"index"},"Index"),Object(o.b)("h3",{id:"properties"},"Properties"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/dialprops#optional-attributes"}),"attributes")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/dialprops#optional-cursor"}),"cursor")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/dialprops#optional-enabled"}),"enabled")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/dialprops#optional-geometry"}),"geometry")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/dialprops#optional-id"}),"id")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/dialprops#optional-maxsize"}),"maxSize")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/dialprops#optional-minsize"}),"minSize")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/dialprops#optional-mousetracking"}),"mouseTracking")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/dialprops#optional-notchtarget"}),"notchTarget")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/dialprops#optional-notchesvisible"}),"notchesVisible")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/dialprops#optional-on"}),"on")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/dialprops#optional-pos"}),"pos")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/dialprops#optional-ref"}),"ref")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/dialprops#optional-size"}),"size")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/dialprops#optional-style"}),"style")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/dialprops#optional-stylesheet"}),"styleSheet")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/dialprops#optional-visible"}),"visible")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/dialprops#optional-windowflags"}),"windowFlags")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/dialprops#optional-windowicon"}),"windowIcon")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/dialprops#optional-windowopacity"}),"windowOpacity")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/dialprops#optional-windowstate"}),"windowState")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/dialprops#optional-windowtitle"}),"windowTitle")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/dialprops#optional-wrapping"}),"wrapping"))),Object(o.b)("h2",{id:"properties-1"},"Properties"),Object(o.b)("h3",{id:"optional-attributes"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," attributes"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"attributes"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#widgetattributesmap"}),"WidgetAttributesMap"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-attributes"}),"attributes"))),Object(o.b)("p",null,"Prop to set the Widget Attributes. example:\n",Object(o.b)("inlineCode",{parentName:"p"},"")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-cursor"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," cursor"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"cursor"),"? : ",Object(o.b)("em",{parentName:"p"},"CursorShape | QCursor")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-cursor"}),"cursor"))),Object(o.b)("p",null,"Sets the window mouse cursor. ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor"}),"QWidget: setCursor")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-enabled"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," enabled"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"enabled"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | false | true")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-enabled"}),"enabled"))),Object(o.b)("p",null,"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. ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled"}),"QWidget: setEnabled")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-geometry"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," geometry"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"geometry"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#geometry"}),"Geometry"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-geometry"}),"geometry"))),Object(o.b)("p",null,"Sets the screen position as well as size of the widget. ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height"}),"QWidget: setGeometry")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-id"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," id"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"id"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | string")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-id"}),"id"))),Object(o.b)("p",null,"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. ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname"}),"QWidget: setObjectName")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-maxsize"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," maxSize"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"maxSize"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#size"}),"Size"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-maxsize"}),"maxSize"))),Object(o.b)("p",null,"Sets the maximum size of the widget. ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height"}),"QWidget: setMaximumSize")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-minsize"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," minSize"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"minSize"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#size"}),"Size"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-minsize"}),"minSize"))),Object(o.b)("p",null,"Sets the minimum size of the widget. ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height"}),"QWidget: setMinimumSize")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-mousetracking"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," mouseTracking"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"mouseTracking"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | false | true")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-mousetracking"}),"mouseTracking"))),Object(o.b)("p",null,"Sets the property that tells whether mouseTracking is enabled for the widget. ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked"}),"QWidget: setMouseTracking")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-notchtarget"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," notchTarget"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"notchTarget"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | number")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-notchesvisible"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," notchesVisible"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"notchesVisible"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | false | true")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-on"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," on"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"on"),"? : ",Object(o.b)("em",{parentName:"p"},"Partial\u2039",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#widgeteventlisteners"}),"WidgetEventListeners")," | QDialSignals\u203a")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-on"}),"on"))),Object(o.b)("p",null,"Prop to set the event listener map. See ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"/docs/guides/handle-events"}),"Handlong Events")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-pos"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," pos"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"pos"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#position"}),"Position"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-pos"}),"pos"))),Object(o.b)("p",null,"Sets the screen position of the widget. ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y"}),"QWidget: move")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-ref"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," ref"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"ref"),"? : ",Object(o.b)("em",{parentName:"p"},"any")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-ref"}),"ref"))),Object(o.b)("p",null,"Prop to set the ref. The ref will return the underlying nodegui widget."),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-size"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," size"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"size"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#viewsize"}),"ViewSize"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-size"}),"size"))),Object(o.b)("p",null,"Sets both the minimum and maximum sizes of the widget. ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height"}),"QWidget: setFixedSize")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-style"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," style"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"style"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | string")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-style"}),"style"))),Object(o.b)("p",null,"Sets the inline stylesheet property. ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle"}),"QWidget: setInlineStyle")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-stylesheet"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," styleSheet"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"styleSheet"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | string")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-stylesheet"}),"styleSheet"))),Object(o.b)("p",null,"Sets the property that holds the widget's style sheet. ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet"}),"QWidget: setStyleSheet")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-visible"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," visible"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"visible"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | false | true")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-visible"}),"visible"))),Object(o.b)("p",null,"Shows or hides the widget and its children. ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetshow"}),"QWidget: show")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-windowflags"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," windowFlags"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"windowFlags"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#windowflagsmap"}),"WindowFlagsMap"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowflags"}),"windowFlags"))),Object(o.b)("p",null,"Prop to set the Widget flags. example:\n",Object(o.b)("inlineCode",{parentName:"p"},"")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-windowicon"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," windowIcon"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"windowIcon"),"? : ",Object(o.b)("em",{parentName:"p"},"QIcon")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowicon"}),"windowIcon"))),Object(o.b)("p",null,"Sets the window icon. ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon"}),"QWidget: setWindowIcon")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-windowopacity"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," windowOpacity"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"windowOpacity"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | number")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowopacity"}),"windowOpacity"))),Object(o.b)("p",null,"This property holds the level of opacity for the window. ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity"}),"QWidget: setWindowOpacity")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-windowstate"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," windowState"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"windowState"),"? : ",Object(o.b)("em",{parentName:"p"},"WindowState")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowstate"}),"windowState"))),Object(o.b)("p",null,"Sets the window state. ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate"}),"QWidget: setWindowState")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-windowtitle"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," windowTitle"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"windowTitle"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | string")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowtitle"}),"windowTitle"))),Object(o.b)("p",null,"Sets the window title property. ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle"}),"QWidget: setWindowTitle")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-wrapping"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," wrapping"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"wrapping"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | false | true")))}l.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/1.530e401e.js b/1.530e401e.js new file mode 100644 index 00000000..42b2f3ee --- /dev/null +++ b/1.530e401e.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{163:function(t,e,n){"use strict";var r=n(0),o=n(25);e.a=function(){var t=Object(r.useContext)(o.a);if(null===t)throw new Error("Docusaurus context not provided");return t}},164:function(t,e,n){"use strict";var r=n(0),o=n.n(r),i=n(13),a=n(173),u=n(7),c=Object(r.createContext)({collectLink:function(){}}),s=n(166),f=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o0)&&(l.unobserve(e),l.disconnect(),n())}))}))).observe(e))},to:A||""},d&&{activeClassName:v}))}},165:function(t,e,n){"use strict";function r(t){var e,n,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t)if(Array.isArray(t))for(e=0;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n},z=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e},K=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===e?String(t):String(t).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},J=function(t){var e=Z(t,w.TITLE),n=Z(t,V);if(n&&e)return n.replace(/%s/g,(function(){return Array.isArray(e)?e.join(""):e}));var r=Z(t,D);return e||r||void 0},$=function(t){return Z(t,N)||function(){}},G=function(t,e){return e.filter((function(e){return void 0!==e[t]})).map((function(e){return e[t]})).reduce((function(t,e){return F({},t,e)}),{})},Q=function(t,e){return e.filter((function(t){return void 0!==t[w.BASE]})).map((function(t){return t[w.BASE]})).reverse().reduce((function(e,n){if(!e.length)for(var r=Object.keys(n),o=0;o=0;n--){var r=t[n];if(r.hasOwnProperty(e))return r[e]}return null},tt=(r=Date.now(),function(t){var e=Date.now();e-r>16?(r=e,t(e)):setTimeout((function(){tt(t)}),0)}),et=function(t){return clearTimeout(t)},nt="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||tt:t.requestAnimationFrame||tt,rt="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||et:t.cancelAnimationFrame||et,ot=function(t){return console&&"function"==typeof console.warn&&console.warn(t)},it=null,at=function(t,e){var n=t.baseTag,r=t.bodyAttributes,o=t.htmlAttributes,i=t.linkTags,a=t.metaTags,u=t.noscriptTags,c=t.onChangeClientState,s=t.scriptTags,f=t.styleTags,l=t.title,d=t.titleAttributes;st(w.BODY,r),st(w.HTML,o),ct(l,d);var p={baseTag:ft(w.BASE,n),linkTags:ft(w.LINK,i),metaTags:ft(w.META,a),noscriptTags:ft(w.NOSCRIPT,u),scriptTags:ft(w.SCRIPT,s),styleTags:ft(w.STYLE,f)},h={},v={};Object.keys(p).forEach((function(t){var e=p[t],n=e.newTags,r=e.oldTags;n.length&&(h[t]=n),r.length&&(v[t]=p[t].oldTags)})),e&&e(),c(t,h,v)},ut=function(t){return Array.isArray(t)?t.join(""):t},ct=function(t,e){void 0!==t&&document.title!==t&&(document.title=ut(t)),st(w.TITLE,e)},st=function(t,e){var n=document.getElementsByTagName(t)[0];if(n){for(var r=n.getAttribute(H),o=r?r.split(","):[],i=[].concat(o),a=Object.keys(e),u=0;u=0;l--)n.removeAttribute(i[l]);o.length===i.length?n.removeAttribute(H):n.getAttribute(H)!==a.join(",")&&n.setAttribute(H,a.join(","))}},ft=function(t,e){var n=document.head||document.querySelector(w.HEAD),r=n.querySelectorAll(t+"["+"data-react-helmet]"),o=Array.prototype.slice.call(r),i=[],a=void 0;return e&&e.length&&e.forEach((function(e){var n=document.createElement(t);for(var r in e)if(e.hasOwnProperty(r))if(r===E)n.innerHTML=e.innerHTML;else if(r===O)n.styleSheet?n.styleSheet.cssText=e.cssText:n.appendChild(document.createTextNode(e.cssText));else{var u=void 0===e[r]?"":e[r];n.setAttribute(r,u)}n.setAttribute(H,"true"),o.some((function(t,e){return a=e,n.isEqualNode(t)}))?o.splice(a,1):i.push(n)})),o.forEach((function(t){return t.parentNode.removeChild(t)})),i.forEach((function(t){return n.appendChild(t)})),{oldTags:o,newTags:i}},lt=function(t){return Object.keys(t).reduce((function(e,n){var r=void 0!==t[n]?n+'="'+t[n]+'"':""+n;return e?e+" "+r:r}),"")},dt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).reduce((function(e,n){return e[I[n]||n]=t[n],e}),e)},pt=function(t,e,n){switch(t){case w.TITLE:return{toComponent:function(){return t=e.title,n=e.titleAttributes,(r={key:t})[H]=!0,o=dt(n,r),[h.a.createElement(w.TITLE,o,t)];var t,n,r,o},toString:function(){return function(t,e,n,r){var o=lt(n),i=ut(e);return o?"<"+t+' data-react-helmet="true" '+o+">"+K(i,r)+"":"<"+t+' data-react-helmet="true">'+K(i,r)+""}(t,e.title,e.titleAttributes,n)}};case b:case g:return{toComponent:function(){return dt(e)},toString:function(){return lt(e)}};default:return{toComponent:function(){return function(t,e){return e.map((function(e,n){var r,o=((r={key:n})[H]=!0,r);return Object.keys(e).forEach((function(t){var n=I[t]||t;if(n===E||n===O){var r=e.innerHTML||e.cssText;o.dangerouslySetInnerHTML={__html:r}}else o[n]=e[t]})),h.a.createElement(t,o)}))}(t,e)},toString:function(){return function(t,e,n){return e.reduce((function(e,r){var o=Object.keys(r).filter((function(t){return!(t===E||t===O)})).reduce((function(t,e){var o=void 0===r[e]?e:e+'="'+K(r[e],n)+'"';return t?t+" "+o:o}),""),i=r.innerHTML||r.cssText||"",a=-1===B.indexOf(t);return e+"<"+t+' data-react-helmet="true" '+o+(a?"/>":">"+i+"")}),"")}(t,e,n)}}}},ht=function(t){var e=t.baseTag,n=t.bodyAttributes,r=t.encode,o=t.htmlAttributes,i=t.linkTags,a=t.metaTags,u=t.noscriptTags,c=t.scriptTags,s=t.styleTags,f=t.title,l=void 0===f?"":f,d=t.titleAttributes;return{base:pt(w.BASE,e,r),bodyAttributes:pt(b,n,r),htmlAttributes:pt(g,o,r),link:pt(w.LINK,i,r),meta:pt(w.META,a,r),noscript:pt(w.NOSCRIPT,u,r),script:pt(w.SCRIPT,c,r),style:pt(w.STYLE,s,r),title:pt(w.TITLE,{title:l,titleAttributes:d},r)}},vt=f()((function(t){return{baseTag:Q([A,x],t),bodyAttributes:G(b,t),defer:Z(t,R),encode:Z(t,M),htmlAttributes:G(g,t),linkTags:X(w.LINK,[L,A],t),metaTags:X(w.META,[j,T,C,P,S],t),noscriptTags:X(w.NOSCRIPT,[E],t),onChangeClientState:$(t),scriptTags:X(w.SCRIPT,[k,E],t),styleTags:X(w.STYLE,[O],t),title:J(t),titleAttributes:G(m,t)}}),(function(t){it&&rt(it),t.defer?it=nt((function(){at(t,(function(){it=null}))})):(at(t),it=null)}),ht)((function(){return null})),yt=(o=vt,a=i=function(t){function e(){return q(this,e),z(this,t.apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.shouldComponentUpdate=function(t){return!d()(this.props,t)},e.prototype.mapNestedChildrenToProps=function(t,e){if(!e)return null;switch(t.type){case w.SCRIPT:case w.NOSCRIPT:return{innerHTML:e};case w.STYLE:return{cssText:e}}throw new Error("<"+t.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},e.prototype.flattenArrayTypeChildren=function(t){var e,n=t.child,r=t.arrayTypeChildren,o=t.newChildProps,i=t.nestedChildren;return F({},r,((e={})[n.type]=[].concat(r[n.type]||[],[F({},o,this.mapNestedChildrenToProps(n,i))]),e))},e.prototype.mapObjectTypeChildren=function(t){var e,n,r=t.child,o=t.newProps,i=t.newChildProps,a=t.nestedChildren;switch(r.type){case w.TITLE:return F({},o,((e={})[r.type]=a,e.titleAttributes=F({},i),e));case w.BODY:return F({},o,{bodyAttributes:F({},i)});case w.HTML:return F({},o,{htmlAttributes:F({},i)})}return F({},o,((n={})[r.type]=F({},i),n))},e.prototype.mapArrayTypeChildrenToProps=function(t,e){var n=F({},e);return Object.keys(t).forEach((function(e){var r;n=F({},n,((r={})[e]=t[e],r))})),n},e.prototype.warnOnInvalidChildren=function(t,e){return!0},e.prototype.mapChildrenToProps=function(t,e){var n=this,r={};return h.a.Children.forEach(t,(function(t){if(t&&t.props){var o=t.props,i=o.children,a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).reduce((function(e,n){return e[_[n]||n]=t[n],e}),e)}(W(o,["children"]));switch(n.warnOnInvalidChildren(t,i),t.type){case w.LINK:case w.META:case w.NOSCRIPT:case w.SCRIPT:case w.STYLE:r=n.flattenArrayTypeChildren({child:t,arrayTypeChildren:r,newChildProps:a,nestedChildren:i});break;default:e=n.mapObjectTypeChildren({child:t,newProps:e,newChildProps:a,nestedChildren:i})}}})),e=this.mapArrayTypeChildrenToProps(r,e)},e.prototype.render=function(){var t=this.props,e=t.children,n=W(t,["children"]),r=F({},n);return e&&(r=this.mapChildrenToProps(e,r)),h.a.createElement(o,r)},Y(e,null,[{key:"canUseDOM",set:function(t){o.canUseDOM=t}}]),e}(h.a.Component),i.propTypes={base:c.a.object,bodyAttributes:c.a.object,children:c.a.oneOfType([c.a.arrayOf(c.a.node),c.a.node]),defaultTitle:c.a.string,defer:c.a.bool,encodeSpecialCharacters:c.a.bool,htmlAttributes:c.a.object,link:c.a.arrayOf(c.a.object),meta:c.a.arrayOf(c.a.object),noscript:c.a.arrayOf(c.a.object),onChangeClientState:c.a.func,script:c.a.arrayOf(c.a.object),style:c.a.arrayOf(c.a.object),title:c.a.string,titleAttributes:c.a.object,titleTemplate:c.a.string},i.defaultProps={defer:!0,encodeSpecialCharacters:!0},i.peek=o.peek,i.rewind=function(){var t=o.rewind();return t||(t=ht({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),t},a);yt.renderStatic=yt.rewind}).call(this,n(29))},204:function(t,e,n){"use strict";var r,o=n(0),i=(r=o)&&"object"==typeof r&&"default"in r?r.default:r;function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var u=!("undefined"==typeof window||!window.document||!window.document.createElement);t.exports=function(t,e,n){if("function"!=typeof t)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof e)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!=typeof r)throw new Error("Expected WrappedComponent to be a React component.");var c,s=[];function f(){c=t(s.map((function(t){return t.props}))),l.canUseDOM?e(c):n&&(c=n(c))}var l=function(t){var e,n;function o(){return t.apply(this,arguments)||this}n=t,(e=o).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,o.peek=function(){return c},o.rewind=function(){if(o.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var t=c;return c=void 0,s=[],t};var a=o.prototype;return a.UNSAFE_componentWillMount=function(){s.push(this),f()},a.componentDidUpdate=function(){f()},a.componentWillUnmount=function(){var t=s.indexOf(this);s.splice(t,1),f()},a.render=function(){return i.createElement(r,this.props)},o}(o.PureComponent);return a(l,"displayName","SideEffect("+function(t){return t.displayName||t.name||"Component"}(r)+")"),a(l,"canUseDOM",u),l}}},205:function(t,e){var n="undefined"!=typeof Element,r="function"==typeof Map,o="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function a(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var u,c,s,f;if(Array.isArray(t)){if((u=t.length)!=e.length)return!1;for(c=u;0!=c--;)if(!a(t[c],e[c]))return!1;return!0}if(r&&t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(f=t.entries();!(c=f.next()).done;)if(!e.has(c.value[0]))return!1;for(f=t.entries();!(c=f.next()).done;)if(!a(c.value[1],e.get(c.value[0])))return!1;return!0}if(o&&t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(f=t.entries();!(c=f.next()).done;)if(!e.has(c.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(e)){if((u=t.length)!=e.length)return!1;for(c=u;0!=c--;)if(t[c]!==e[c])return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===e.toString();if((u=(s=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(c=u;0!=c--;)if(!Object.prototype.hasOwnProperty.call(e,s[c]))return!1;if(n&&t instanceof Element)return!1;for(c=u;0!=c--;)if(("_owner"!==s[c]&&"__v"!==s[c]&&"__o"!==s[c]||!t.$$typeof)&&!a(t[s[c]],e[s[c]]))return!1;return!0}return t!=t&&e!=e}t.exports=function(t,e){try{return a(t,e)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},211:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useDocVersionSuggestions=e.useActiveDocContext=e.useActiveVersion=e.useLatestVersion=e.useVersions=e.useActivePlugin=void 0;var r=n(169),o=n(212),i=n(213),a=function(t){return o.usePluginData("docusaurus-plugin-content-docs",t)};e.useActivePlugin=function(t){void 0===t&&(t={});var e=o.useAllPluginInstancesData("docusaurus-plugin-content-docs"),n=r.useLocation().pathname;return i.getActivePlugin(e,n,t)},e.useVersions=function(t){return a(t).versions},e.useLatestVersion=function(t){var e=a(t);return i.getLatestVersion(e)},e.useActiveVersion=function(t){var e=a(t),n=r.useLocation().pathname;return i.getActiveVersion(e,n)},e.useActiveDocContext=function(t){var e=a(t),n=r.useLocation().pathname;return i.getActiveDocContext(e,n)},e.useDocVersionSuggestions=function(t){var e=a(t),n=r.useLocation().pathname;return i.getDocVersionSuggestions(e,n)}},212:function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return o})),n.d(e,"useAllPluginInstancesData",(function(){return i})),n.d(e,"usePluginData",(function(){return a}));var r=n(163);function o(){var t=Object(r.a)().globalData;if(!t)throw new Error("Docusaurus global data not found");return t}function i(t){var e=o()[t];if(!e)throw new Error("Docusaurus plugin global data not found for pluginName="+t);return e}function a(t,e){void 0===e&&(e="default");var n=i(t)[e];if(!n)throw new Error("Docusaurus plugin global data not found for pluginName="+t+" and pluginId="+e);return n}},213:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDocVersionSuggestions=e.getActiveDocContext=e.getActiveVersion=e.getLatestVersion=e.getActivePlugin=void 0;var r=n(169);e.getActivePlugin=function(t,e,n){void 0===n&&(n={});var o=Object.entries(t).find((function(t){t[0];var n=t[1];return!!r.matchPath(e,{path:n.path,exact:!1,strict:!1})})),i=o?{pluginId:o[0],pluginData:o[1]}:void 0;if(!i&&n.failfast)throw new Error("Can't find active docs plugin for pathname="+e+", while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: "+Object.values(t).map((function(t){return t.path})).join(", "));return i},e.getLatestVersion=function(t){return t.versions.find((function(t){return t.isLast}))},e.getActiveVersion=function(t,n){var o=e.getLatestVersion(t);return[].concat(t.versions.filter((function(t){return t!==o})),[o]).find((function(t){return!!r.matchPath(n,{path:t.path,exact:!1,strict:!1})}))},e.getActiveDocContext=function(t,n){var o,i,a=e.getActiveVersion(t,n),u=null==a?void 0:a.docs.find((function(t){return!!r.matchPath(n,{path:t.path,exact:!0,strict:!1})}));return{activeVersion:a,activeDoc:u,alternateDocVersions:u?(o=u.id,i={},t.versions.forEach((function(t){t.docs.forEach((function(e){e.id===o&&(i[t.name]=e)}))})),i):{}}},e.getDocVersionSuggestions=function(t,n){var r=e.getLatestVersion(t),o=e.getActiveDocContext(t,n),i=o.activeVersion!==r;return{latestDocSuggestion:i?null==o?void 0:o.alternateDocVersions[r.name]:void 0,latestVersionSuggestion:i?r:void 0}}}}]); \ No newline at end of file diff --git a/100.72b08c28.js b/100.72b08c28.js new file mode 100644 index 00000000..8af7b8ec --- /dev/null +++ b/100.72b08c28.js @@ -0,0 +1,2 @@ +/*! For license information please see 100.72b08c28.js.LICENSE.txt */ +(window.webpackJsonp=window.webpackJsonp||[]).push([[100],{136:function(e,t,n){"use strict";n.r(t);var r=n(0),i=n.n(r),a=n(228),s=n.n(a),c=n(217),u=n.n(c),o=n(165),f=n(168),h=n(7),l=n(163),m=n(227),d=n.n(m),v=n(188),p=n(164),g=n(167),y=n(137),R=n.n(y);t.default=function(){var e=Object(l.a)().siteConfig,t=(e=void 0===e?{}:e).themeConfig.algolia,n=(t=void 0===t?{}:t).appId,a=void 0===n?"BH4D9OD16A":n,c=t.apiKey,m=t.indexName,y=Object(v.a)(),F=y.searchValue,b=y.updateSearchPath,j=d()(),P=j.versioningEnabled,E=j.versions,x=j.latestVersion,O=Object(r.useState)(x),_=O[0],w=O[1],N=Object(r.useState)(F),H=N[0],A=N[1],S={items:[],query:null,totalResults:null,totalPages:null,lastPage:null,hasMore:null,loading:null},Q=Object(r.useReducer)((function(e,t){var n=t.type,r=t.value;switch(n){case"reset":return S;case"loading":return Object.assign({},e,{loading:!0});case"update":return H!==r.query?e:Object.assign({},r,{items:0===r.lastPage?r.items:e.items.concat(r.items)});case"advance":var i=e.totalPages>e.lastPage+1;return Object.assign({},e,{lastPage:i?e.lastPage+1:e.lastPage,hasMore:i});default:return e}}),S),C=Q[0],T=Q[1],D=s()(a,c),k=u()(D,m,{hitsPerPage:15,advancedSyntax:!0,facets:_?["version"]:[]});k.on("result",(function(e){var t=e.results,n=t.query,r=t.hits,i=t.page,a=t.nbHits,s=t.nbPages;if(""!==n&&r instanceof Array){var c=function(e){return e.replace(/algolia-docsearch-suggestion--highlight/g,"search-result-match")},u=r.map((function(e){var t=e.url,n=e._highlightResult.hierarchy,r=e._snippetResult,i=void 0===r?{}:r,a=new URL(t),s=a.pathname,u=a.hash,o=Object.keys(n).map((function(e){return c(n[e].value)}));return{title:o.pop(),url:s+u,summary:i.content?c(i.content.value)+"...":"",breadcrumbs:o}}));T({type:"update",value:{items:u,query:n,totalResults:a,totalPages:s,lastPage:i,hasMore:s>i+1,loading:!1}})}else T({type:"reset"})}));var I,L,q=Object(r.useState)(null),V=q[0],M=q[1],B=Object(r.useRef)(0),z=Object(r.useRef)(h.a.canUseDOM&&new IntersectionObserver((function(e){var t=e[0],n=t.isIntersecting,r=t.boundingClientRect.y;n&&B.current>r&&T({type:"advance"}),B.current=r}),{threshold:1})),J=function(){return H?'Search results for "'+H+'"':"Search the documentation"},U=function(e){void 0===e&&(e=0),_?k.setQuery(H).addFacetRefinement("version",_).setPage(e).search():k.setQuery(H).setPage(e).search()},W=function(e){var t=e.target.value;"SELECT"===e.target.tagName?w(t):A(t)};return Object(r.useEffect)((function(){if(V)return z.current.observe(V),function(){z.current.unobserve(V)}}),[V]),Object(r.useEffect)((function(){b(H),T({type:"reset"}),H&&(T({type:"loading"}),setTimeout((function(){U()}),300))}),[H,_]),Object(r.useEffect)((function(){C.lastPage&&0!==C.lastPage&&U(C.lastPage)}),[C.lastPage]),Object(r.useEffect)((function(){F&&F!==H&&A(F)}),[F]),i.a.createElement(g.a,{title:J()},i.a.createElement(f.a,null,i.a.createElement("meta",{property:"robots",content:"noindex, follow"})),i.a.createElement("div",{className:"container margin-vert--lg"},i.a.createElement("h1",null,J()),i.a.createElement("form",{className:"row",onSubmit:function(e){return e.preventDefault()}},i.a.createElement("div",{className:Object(o.a)("col",R.a.searchQueryColumn,{"col--9":P,"col--12":!P})},i.a.createElement("input",{type:"search",name:"q",className:R.a.searchQueryInput,placeholder:"Type your search here","aria-label":"Search",onChange:W,value:H,autoComplete:"off",autoFocus:!0})),P&&i.a.createElement("div",{className:Object(o.a)("col","col--3","padding-left--none",R.a.searchVersionColumn)},i.a.createElement("select",{onChange:W,defaultValue:_,className:R.a.searchVersionInput},E.map((function(e,t){return i.a.createElement("option",{key:t,value:e},e)}))))),i.a.createElement("div",{className:Object(o.a)("row","margin-vert--sm")},i.a.createElement("div",{className:Object(o.a)("col","col--8",R.a.searchResultsColumn)},!!C.totalResults&&i.a.createElement("strong",null,C.totalResults," ",(I=C.totalResults,L="document",I>1?L+"s":L)," found")),i.a.createElement("div",{className:Object(o.a)("col","col--4",R.a.searchLogoColumn)},i.a.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.algolia.com/","aria-label":"Search"},i.a.createElement("svg",{viewBox:"0 0 168 24",className:R.a.algoliaLogo,xmlns:"http://www.w3.org/2000/svg","aria-label":"Search by Algolia"},i.a.createElement("g",{fill:"none"},i.a.createElement("path",{className:R.a.algoliaLogoPathFill,d:"M120.925 18.804c-4.386.02-4.386-3.54-4.386-4.106l-.007-13.336 2.675-.424v13.254c0 .322 0 2.358 1.718 2.364v2.248zm-10.846-2.18c.821 0 1.43-.047 1.855-.129v-2.719a6.334 6.334 0 0 0-1.574-.199 5.7 5.7 0 0 0-.897.069 2.699 2.699 0 0 0-.814.24c-.24.116-.439.28-.582.491-.15.212-.219.335-.219.656 0 .628.219.991.616 1.23s.938.362 1.615.362zm-.233-9.7c.883 0 1.629.109 2.231.328.602.218 1.088.525 1.444.915.363.396.609.922.76 1.483.157.56.232 1.175.232 1.85v6.874a32.5 32.5 0 0 1-1.868.314c-.834.123-1.772.185-2.813.185-.69 0-1.327-.069-1.895-.198a4.001 4.001 0 0 1-1.471-.636 3.085 3.085 0 0 1-.951-1.134c-.226-.465-.343-1.12-.343-1.803 0-.656.13-1.073.384-1.525a3.24 3.24 0 0 1 1.047-1.106c.445-.287.95-.492 1.532-.615a8.8 8.8 0 0 1 1.82-.185 8.404 8.404 0 0 1 1.972.24v-.438c0-.307-.035-.6-.11-.874a1.88 1.88 0 0 0-.384-.73 1.784 1.784 0 0 0-.724-.493 3.164 3.164 0 0 0-1.143-.205c-.616 0-1.177.075-1.69.164a7.735 7.735 0 0 0-1.26.307l-.321-2.192c.335-.117.834-.233 1.478-.349a10.98 10.98 0 0 1 2.073-.178zm52.842 9.626c.822 0 1.43-.048 1.854-.13V13.7a6.347 6.347 0 0 0-1.574-.199c-.294 0-.595.021-.896.069a2.7 2.7 0 0 0-.814.24 1.46 1.46 0 0 0-.582.491c-.15.212-.218.335-.218.656 0 .628.218.991.615 1.23.404.245.938.362 1.615.362zm-.226-9.694c.883 0 1.629.108 2.231.327.602.219 1.088.526 1.444.915.355.39.609.923.759 1.483a6.8 6.8 0 0 1 .233 1.852v6.873c-.41.088-1.034.19-1.868.314-.834.123-1.772.184-2.813.184-.69 0-1.327-.068-1.895-.198a4.001 4.001 0 0 1-1.471-.635 3.085 3.085 0 0 1-.951-1.134c-.226-.465-.343-1.12-.343-1.804 0-.656.13-1.073.384-1.524.26-.45.608-.82 1.047-1.107.445-.286.95-.491 1.532-.614a8.803 8.803 0 0 1 2.751-.13c.329.034.671.096 1.04.185v-.437a3.3 3.3 0 0 0-.109-.875 1.873 1.873 0 0 0-.384-.731 1.784 1.784 0 0 0-.724-.492 3.165 3.165 0 0 0-1.143-.205c-.616 0-1.177.075-1.69.164a7.75 7.75 0 0 0-1.26.307l-.321-2.193c.335-.116.834-.232 1.478-.348a11.633 11.633 0 0 1 2.073-.177zm-8.034-1.271a1.626 1.626 0 0 1-1.628-1.62c0-.895.725-1.62 1.628-1.62.904 0 1.63.725 1.63 1.62 0 .895-.733 1.62-1.63 1.62zm1.348 13.22h-2.689V7.27l2.69-.423v11.956zm-4.714 0c-4.386.02-4.386-3.54-4.386-4.107l-.008-13.336 2.676-.424v13.254c0 .322 0 2.358 1.718 2.364v2.248zm-8.698-5.903c0-1.156-.253-2.119-.746-2.788-.493-.677-1.183-1.01-2.067-1.01-.882 0-1.574.333-2.065 1.01-.493.676-.733 1.632-.733 2.788 0 1.168.246 1.953.74 2.63.492.683 1.183 1.018 2.066 1.018.882 0 1.574-.342 2.067-1.019.492-.683.738-1.46.738-2.63zm2.737-.007c0 .902-.13 1.584-.397 2.33a5.52 5.52 0 0 1-1.128 1.906 4.986 4.986 0 0 1-1.752 1.223c-.685.286-1.739.45-2.265.45-.528-.006-1.574-.157-2.252-.45a5.096 5.096 0 0 1-1.744-1.223c-.487-.527-.863-1.162-1.137-1.906a6.345 6.345 0 0 1-.41-2.33c0-.902.123-1.77.397-2.508a5.554 5.554 0 0 1 1.15-1.892 5.133 5.133 0 0 1 1.75-1.216c.679-.287 1.425-.423 2.232-.423.808 0 1.553.142 2.237.423a4.88 4.88 0 0 1 1.753 1.216 5.644 5.644 0 0 1 1.135 1.892c.287.738.431 1.606.431 2.508zm-20.138 0c0 1.12.246 2.363.738 2.882.493.52 1.13.78 1.91.78.424 0 .828-.062 1.204-.178.377-.116.677-.253.917-.417V9.33a10.476 10.476 0 0 0-1.766-.226c-.971-.028-1.71.37-2.23 1.004-.513.636-.773 1.75-.773 2.788zm7.438 5.274c0 1.824-.466 3.156-1.404 4.004-.936.846-2.367 1.27-4.296 1.27-.705 0-2.17-.137-3.34-.396l.431-2.118c.98.205 2.272.26 2.95.26 1.074 0 1.84-.219 2.299-.656.459-.437.684-1.086.684-1.948v-.437a8.07 8.07 0 0 1-1.047.397c-.43.13-.93.198-1.492.198-.739 0-1.41-.116-2.018-.349a4.206 4.206 0 0 1-1.567-1.025c-.431-.45-.774-1.017-1.013-1.694-.24-.677-.363-1.885-.363-2.773 0-.834.13-1.88.384-2.577.26-.696.629-1.298 1.129-1.796.493-.498 1.095-.881 1.8-1.162a6.605 6.605 0 0 1 2.428-.457c.87 0 1.67.109 2.45.24.78.129 1.444.265 1.985.415V18.17zM6.972 6.677v1.627c-.712-.446-1.52-.67-2.425-.67-.585 0-1.045.13-1.38.391a1.24 1.24 0 0 0-.502 1.03c0 .425.164.765.494 1.02.33.256.835.532 1.516.83.447.192.795.356 1.045.495.25.138.537.332.862.582.324.25.563.548.718.894.154.345.23.741.23 1.188 0 .947-.334 1.691-1.004 2.234-.67.542-1.537.814-2.601.814-1.18 0-2.16-.229-2.936-.686v-1.708c.84.628 1.814.942 2.92.942.585 0 1.048-.136 1.388-.407.34-.271.51-.646.51-1.125 0-.287-.1-.55-.302-.79-.203-.24-.42-.42-.655-.542-.234-.123-.585-.29-1.053-.503a61.27 61.27 0 0 1-.582-.271 13.67 13.67 0 0 1-.55-.287 4.275 4.275 0 0 1-.567-.351 6.92 6.92 0 0 1-.455-.4c-.18-.17-.31-.34-.39-.51-.08-.17-.155-.37-.224-.598a2.553 2.553 0 0 1-.104-.742c0-.915.333-1.638.998-2.17.664-.532 1.523-.798 2.576-.798.968 0 1.793.17 2.473.51zm7.468 5.696v-.287c-.022-.607-.187-1.088-.495-1.444-.309-.357-.75-.535-1.324-.535-.532 0-.99.194-1.373.583-.382.388-.622.949-.717 1.683h3.909zm1.005 2.792v1.404c-.596.34-1.383.51-2.362.51-1.255 0-2.255-.377-3-1.132-.744-.755-1.116-1.744-1.116-2.968 0-1.297.34-2.316 1.021-3.055.68-.74 1.548-1.11 2.6-1.11 1.033 0 1.852.323 2.458.966.606.644.91 1.572.91 2.784 0 .33-.033.676-.096 1.038h-5.314c.107.702.405 1.239.894 1.611.49.372 1.106.558 1.85.558.862 0 1.58-.202 2.155-.606zm6.605-1.77h-1.212c-.596 0-1.045.116-1.349.35-.303.234-.454.532-.454.894 0 .372.117.664.35.877.235.213.575.32 1.022.32.51 0 .912-.142 1.204-.424.293-.281.44-.651.44-1.108v-.91zm-4.068-2.554V9.325c.627-.361 1.457-.542 2.489-.542 2.116 0 3.175 1.026 3.175 3.08V17h-1.548v-.957c-.415.68-1.143 1.02-2.186 1.02-.766 0-1.38-.22-1.843-.661-.462-.442-.694-1.003-.694-1.684 0-.776.293-1.38.878-1.81.585-.431 1.404-.647 2.457-.647h1.34V11.8c0-.554-.133-.971-.399-1.253-.266-.282-.707-.423-1.324-.423a4.07 4.07 0 0 0-2.345.718zm9.333-1.93v1.42c.394-1 1.101-1.5 2.123-1.5.148 0 .313.016.494.048v1.531a1.885 1.885 0 0 0-.75-.143c-.542 0-.989.24-1.34.718-.351.479-.527 1.048-.527 1.707V17h-1.563V8.91h1.563zm5.01 4.084c.022.82.272 1.492.75 2.019.479.526 1.15.79 2.01.79.639 0 1.235-.176 1.788-.527v1.404c-.521.319-1.186.479-1.995.479-1.265 0-2.276-.4-3.031-1.197-.755-.798-1.133-1.792-1.133-2.984 0-1.16.38-2.151 1.14-2.975.761-.825 1.79-1.237 3.088-1.237.702 0 1.346.149 1.93.447v1.436a3.242 3.242 0 0 0-1.77-.495c-.84 0-1.513.266-2.019.798-.505.532-.758 1.213-.758 2.042zM40.24 5.72v4.579c.458-1 1.293-1.5 2.505-1.5.787 0 1.42.245 1.899.734.479.49.718 1.17.718 2.042V17h-1.564v-5.106c0-.553-.14-.98-.422-1.284-.282-.303-.652-.455-1.11-.455-.531 0-1.002.202-1.411.606-.41.405-.615 1.022-.615 1.851V17h-1.563V5.72h1.563zm14.966 10.02c.596 0 1.096-.253 1.5-.758.404-.506.606-1.157.606-1.955 0-.915-.202-1.62-.606-2.114-.404-.495-.92-.742-1.548-.742-.553 0-1.05.224-1.491.67-.442.447-.662 1.133-.662 2.058 0 .958.212 1.67.638 2.138.425.469.946.703 1.563.703zM53.004 5.72v4.42c.574-.894 1.388-1.341 2.44-1.341 1.022 0 1.857.383 2.506 1.149.649.766.973 1.781.973 3.047 0 1.138-.309 2.109-.925 2.912-.617.803-1.463 1.205-2.537 1.205-1.075 0-1.894-.447-2.457-1.34V17h-1.58V5.72h1.58zm9.908 11.104l-3.223-7.913h1.739l1.005 2.632 1.26 3.415c.096-.32.48-1.458 1.15-3.415l.909-2.632h1.66l-2.92 7.866c-.777 2.074-1.963 3.11-3.559 3.11a2.92 2.92 0 0 1-.734-.079v-1.34c.17.042.351.064.543.064 1.032 0 1.755-.57 2.17-1.708z"}),i.a.createElement("path",{fill:"#5468FF",d:"M78.988.938h16.594a2.968 2.968 0 0 1 2.966 2.966V20.5a2.967 2.967 0 0 1-2.966 2.964H78.988a2.967 2.967 0 0 1-2.966-2.964V3.897A2.961 2.961 0 0 1 78.988.938z"}),i.a.createElement("path",{fill:"white",d:"M89.632 5.967v-.772a.978.978 0 0 0-.978-.977h-2.28a.978.978 0 0 0-.978.977v.793c0 .088.082.15.171.13a7.127 7.127 0 0 1 1.984-.28c.65 0 1.295.088 1.917.259.082.02.164-.04.164-.13m-6.248 1.01l-.39-.389a.977.977 0 0 0-1.382 0l-.465.465a.973.973 0 0 0 0 1.38l.383.383c.062.061.15.047.205-.014.226-.307.472-.601.746-.874.281-.28.568-.526.883-.751.068-.042.075-.137.02-.2m4.16 2.453v3.341c0 .096.104.165.192.117l2.97-1.537c.068-.034.089-.117.055-.184a3.695 3.695 0 0 0-3.08-1.866c-.068 0-.136.054-.136.13m0 8.048a4.489 4.489 0 0 1-4.49-4.482 4.488 4.488 0 0 1 4.49-4.482 4.488 4.488 0 0 1 4.489 4.482 4.484 4.484 0 0 1-4.49 4.482m0-10.85a6.363 6.363 0 1 0 0 12.729 6.37 6.37 0 0 0 6.372-6.368 6.358 6.358 0 0 0-6.371-6.36"})))))),C.items.length>0?i.a.createElement("section",null,C.items.map((function(e,t){var n=e.title,r=e.url,a=e.summary,s=e.breadcrumbs;return i.a.createElement("article",{key:t,className:R.a.searchResultItem},i.a.createElement(p.a,{to:r,className:R.a.searchResultItemHeading,dangerouslySetInnerHTML:{__html:n}}),s.length>0&&i.a.createElement("span",{className:R.a.searchResultItemPath,dangerouslySetInnerHTML:{__html:s.join(" \u203a ")}}),a&&i.a.createElement("p",{className:R.a.searchResultItemSummary,dangerouslySetInnerHTML:{__html:a}}))}))):[H&&!C.loading&&i.a.createElement("p",{key:"no-results"},"No results were found"),!!C.loading&&i.a.createElement("div",{key:"spinner",className:R.a.loadingSpinner})],C.hasMore&&i.a.createElement("div",{className:R.a.loader,ref:M},i.a.createElement("span",null,"Fetching new results..."))))}},175:function(e,t,n){"use strict";e.exports=function(e,t){if(Array.isArray(e))for(var n=0;n0}},195:function(e,t,n){"use strict";var r=n(179),i=n(180),a=n(219),s=n(175),c=n(220),u=n(196),o=n(181),f=n(221);function h(e,t){return Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((function(e,n){return h(t[n],e)})):e===t}function l(e){var t=e?l._parseNumbers(e):{};this.facets=t.facets||[],this.disjunctiveFacets=t.disjunctiveFacets||[],this.hierarchicalFacets=t.hierarchicalFacets||[],this.facetsRefinements=t.facetsRefinements||{},this.facetsExcludes=t.facetsExcludes||{},this.disjunctiveFacetsRefinements=t.disjunctiveFacetsRefinements||{},this.numericRefinements=t.numericRefinements||{},this.tagRefinements=t.tagRefinements||[],this.hierarchicalFacetsRefinements=t.hierarchicalFacetsRefinements||{};var n=this;Object.keys(t).forEach((function(e){var r=-1!==l.PARAMETERS.indexOf(e),i=void 0!==t[e];!r&&i&&(n[e]=t[e])}))}l.PARAMETERS=Object.keys(new l),l._parseNumbers=function(e){if(e instanceof l)return e;var t={};if(["aroundPrecision","aroundRadius","getRankingInfo","minWordSizefor2Typos","minWordSizefor1Typo","page","maxValuesPerFacet","distinct","minimumAroundRadius","hitsPerPage","minProximity"].forEach((function(n){var r=e[n];if("string"==typeof r){var i=parseFloat(r);t[n]=isNaN(i)?r:i}})),Array.isArray(e.insideBoundingBox)&&(t.insideBoundingBox=e.insideBoundingBox.map((function(e){return e.map((function(e){return parseFloat(e)}))}))),e.numericRefinements){var n={};Object.keys(e.numericRefinements).forEach((function(t){var r=e.numericRefinements[t]||{};n[t]={},Object.keys(r).forEach((function(e){var i=r[e].map((function(e){return Array.isArray(e)?e.map((function(e){return"string"==typeof e?parseFloat(e):e})):"string"==typeof e?parseFloat(e):e}));n[t][e]=i}))})),t.numericRefinements=n}return r({},e,t)},l.make=function(e){var t=new l(e);return(e.hierarchicalFacets||[]).forEach((function(e){if(e.rootPath){var n=t.getHierarchicalRefinement(e.name);n.length>0&&0!==n[0].indexOf(e.rootPath)&&(t=t.clearRefinements(e.name)),0===(n=t.getHierarchicalRefinement(e.name)).length&&(t=t.toggleHierarchicalFacetRefinement(e.name,e.rootPath))}})),t},l.validate=function(e,t){var n=t||{};return e.tagFilters&&n.tagRefinements&&n.tagRefinements.length>0?new Error("[Tags] Cannot switch from the managed tag API to the advanced API. It is probably an error, if it is really what you want, you should first clear the tags with clearTags method."):e.tagRefinements.length>0&&n.tagFilters?new Error("[Tags] Cannot switch from the advanced tag API to the managed API. It is probably an error, if it is not, you should first clear the tags with clearTags method."):e.numericFilters&&n.numericRefinements&&o(n.numericRefinements)?new Error("[Numeric filters] Can't switch from the advanced to the managed API. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):o(e.numericRefinements)&&n.numericFilters?new Error("[Numeric filters] Can't switch from the managed API to the advanced. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):null},l.prototype={constructor:l,clearRefinements:function(e){var t={numericRefinements:this._clearNumericRefinements(e),facetsRefinements:f.clearRefinement(this.facetsRefinements,e,"conjunctiveFacet"),facetsExcludes:f.clearRefinement(this.facetsExcludes,e,"exclude"),disjunctiveFacetsRefinements:f.clearRefinement(this.disjunctiveFacetsRefinements,e,"disjunctiveFacet"),hierarchicalFacetsRefinements:f.clearRefinement(this.hierarchicalFacetsRefinements,e,"hierarchicalFacet")};return t.numericRefinements===this.numericRefinements&&t.facetsRefinements===this.facetsRefinements&&t.facetsExcludes===this.facetsExcludes&&t.disjunctiveFacetsRefinements===this.disjunctiveFacetsRefinements&&t.hierarchicalFacetsRefinements===this.hierarchicalFacetsRefinements?this:this.setQueryParameters(t)},clearTags:function(){return void 0===this.tagFilters&&0===this.tagRefinements.length?this:this.setQueryParameters({tagFilters:void 0,tagRefinements:[]})},setIndex:function(e){return e===this.index?this:this.setQueryParameters({index:e})},setQuery:function(e){return e===this.query?this:this.setQueryParameters({query:e})},setPage:function(e){return e===this.page?this:this.setQueryParameters({page:e})},setFacets:function(e){return this.setQueryParameters({facets:e})},setDisjunctiveFacets:function(e){return this.setQueryParameters({disjunctiveFacets:e})},setHitsPerPage:function(e){return this.hitsPerPage===e?this:this.setQueryParameters({hitsPerPage:e})},setTypoTolerance:function(e){return this.typoTolerance===e?this:this.setQueryParameters({typoTolerance:e})},addNumericRefinement:function(e,t,n){var i=c(n);if(this.isNumericRefined(e,t,i))return this;var a=r({},this.numericRefinements);return a[e]=r({},a[e]),a[e][t]?(a[e][t]=a[e][t].slice(),a[e][t].push(i)):a[e][t]=[i],this.setQueryParameters({numericRefinements:a})},getConjunctiveRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsRefinements[e]||[]},getDisjunctiveRefinements:function(e){return this.isDisjunctiveFacet(e)&&this.disjunctiveFacetsRefinements[e]||[]},getHierarchicalRefinement:function(e){return this.hierarchicalFacetsRefinements[e]||[]},getExcludeRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsExcludes[e]||[]},removeNumericRefinement:function(e,t,n){return void 0!==n?this.isNumericRefined(e,t,n)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements((function(r,i){return i===e&&r.op===t&&h(r.val,c(n))}))}):this:void 0!==t?this.isNumericRefined(e,t)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements((function(n,r){return r===e&&n.op===t}))}):this:this.isNumericRefined(e)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements((function(t,n){return n===e}))}):this},getNumericRefinements:function(e){return this.numericRefinements[e]||{}},getNumericRefinement:function(e,t){return this.numericRefinements[e]&&this.numericRefinements[e][t]},_clearNumericRefinements:function(e){if(void 0===e)return o(this.numericRefinements)?{}:this.numericRefinements;if("string"==typeof e)return o(this.numericRefinements[e])?u(this.numericRefinements,[e]):this.numericRefinements;if("function"==typeof e){var t=!1,n=this.numericRefinements,r=Object.keys(n).reduce((function(r,i){var a=n[i],s={};return a=a||{},Object.keys(a).forEach((function(n){var r=a[n]||[],c=[];r.forEach((function(t){e({val:t,op:n},i,"numeric")||c.push(t)})),c.length!==r.length&&(t=!0),s[n]=c})),r[i]=s,r}),{});return t?r:this.numericRefinements}},addFacet:function(e){return this.isConjunctiveFacet(e)?this:this.setQueryParameters({facets:this.facets.concat([e])})},addDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this:this.setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.concat([e])})},addHierarchicalFacet:function(e){if(this.isHierarchicalFacet(e.name))throw new Error("Cannot declare two hierarchical facets with the same name: `"+e.name+"`");return this.setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.concat([e])})},addFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsRefinements,e,t)?this:this.setQueryParameters({facetsRefinements:f.addRefinement(this.facetsRefinements,e,t)})},addExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsExcludes,e,t)?this:this.setQueryParameters({facetsExcludes:f.addRefinement(this.facetsExcludes,e,t)})},addDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw new Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return f.isRefined(this.disjunctiveFacetsRefinements,e,t)?this:this.setQueryParameters({disjunctiveFacetsRefinements:f.addRefinement(this.disjunctiveFacetsRefinements,e,t)})},addTagRefinement:function(e){if(this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.concat(e)};return this.setQueryParameters(t)},removeFacet:function(e){return this.isConjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({facets:this.facets.filter((function(t){return t!==e}))}):this},removeDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.filter((function(t){return t!==e}))}):this},removeHierarchicalFacet:function(e){return this.isHierarchicalFacet(e)?this.clearRefinements(e).setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.filter((function(t){return t.name!==e}))}):this},removeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsRefinements,e,t)?this.setQueryParameters({facetsRefinements:f.removeRefinement(this.facetsRefinements,e,t)}):this},removeExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsExcludes,e,t)?this.setQueryParameters({facetsExcludes:f.removeRefinement(this.facetsExcludes,e,t)}):this},removeDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw new Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return f.isRefined(this.disjunctiveFacetsRefinements,e,t)?this.setQueryParameters({disjunctiveFacetsRefinements:f.removeRefinement(this.disjunctiveFacetsRefinements,e,t)}):this},removeTagRefinement:function(e){if(!this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.filter((function(t){return t!==e}))};return this.setQueryParameters(t)},toggleRefinement:function(e,t){return this.toggleFacetRefinement(e,t)},toggleFacetRefinement:function(e,t){if(this.isHierarchicalFacet(e))return this.toggleHierarchicalFacetRefinement(e,t);if(this.isConjunctiveFacet(e))return this.toggleConjunctiveFacetRefinement(e,t);if(this.isDisjunctiveFacet(e))return this.toggleDisjunctiveFacetRefinement(e,t);throw new Error("Cannot refine the undeclared facet "+e+"; it should be added to the helper options facets, disjunctiveFacets or hierarchicalFacets")},toggleConjunctiveFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsRefinements:f.toggleRefinement(this.facetsRefinements,e,t)})},toggleExcludeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsExcludes:f.toggleRefinement(this.facetsExcludes,e,t)})},toggleDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw new Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return this.setQueryParameters({disjunctiveFacetsRefinements:f.toggleRefinement(this.disjunctiveFacetsRefinements,e,t)})},toggleHierarchicalFacetRefinement:function(e,t){if(!this.isHierarchicalFacet(e))throw new Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration");var n=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e)),r={};return void 0!==this.hierarchicalFacetsRefinements[e]&&this.hierarchicalFacetsRefinements[e].length>0&&(this.hierarchicalFacetsRefinements[e][0]===t||0===this.hierarchicalFacetsRefinements[e][0].indexOf(t+n))?-1===t.indexOf(n)?r[e]=[]:r[e]=[t.slice(0,t.lastIndexOf(n))]:r[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:i({},r,this.hierarchicalFacetsRefinements)})},addHierarchicalFacetRefinement:function(e,t){if(this.isHierarchicalFacetRefined(e))throw new Error(e+" is already refined.");if(!this.isHierarchicalFacet(e))throw new Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration.");var n={};return n[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:i({},n,this.hierarchicalFacetsRefinements)})},removeHierarchicalFacetRefinement:function(e){if(!this.isHierarchicalFacetRefined(e))return this;var t={};return t[e]=[],this.setQueryParameters({hierarchicalFacetsRefinements:i({},t,this.hierarchicalFacetsRefinements)})},toggleTagRefinement:function(e){return this.isTagRefined(e)?this.removeTagRefinement(e):this.addTagRefinement(e)},isDisjunctiveFacet:function(e){return this.disjunctiveFacets.indexOf(e)>-1},isHierarchicalFacet:function(e){return void 0!==this.getHierarchicalFacetByName(e)},isConjunctiveFacet:function(e){return this.facets.indexOf(e)>-1},isFacetRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&f.isRefined(this.facetsRefinements,e,t)},isExcludeRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&f.isRefined(this.facetsExcludes,e,t)},isDisjunctiveFacetRefined:function(e,t){return!!this.isDisjunctiveFacet(e)&&f.isRefined(this.disjunctiveFacetsRefinements,e,t)},isHierarchicalFacetRefined:function(e,t){if(!this.isHierarchicalFacet(e))return!1;var n=this.getHierarchicalRefinement(e);return t?-1!==n.indexOf(t):n.length>0},isNumericRefined:function(e,t,n){if(void 0===n&&void 0===t)return!!this.numericRefinements[e];var r=this.numericRefinements[e]&&void 0!==this.numericRefinements[e][t];if(void 0===n||!r)return r;var i,a,u=c(n),o=void 0!==(i=this.numericRefinements[e][t],a=u,s(i,(function(e){return h(e,a)})));return r&&o},isTagRefined:function(e){return-1!==this.tagRefinements.indexOf(e)},getRefinedDisjunctiveFacets:function(){var e=this,t=a(Object.keys(this.numericRefinements).filter((function(t){return Object.keys(e.numericRefinements[t]).length>0})),this.disjunctiveFacets);return Object.keys(this.disjunctiveFacetsRefinements).filter((function(t){return e.disjunctiveFacetsRefinements[t].length>0})).concat(t).concat(this.getRefinedHierarchicalFacets())},getRefinedHierarchicalFacets:function(){var e=this;return a(this.hierarchicalFacets.map((function(e){return e.name})),Object.keys(this.hierarchicalFacetsRefinements).filter((function(t){return e.hierarchicalFacetsRefinements[t].length>0})))},getUnrefinedDisjunctiveFacets:function(){var e=this.getRefinedDisjunctiveFacets();return this.disjunctiveFacets.filter((function(t){return-1===e.indexOf(t)}))},managedParameters:["index","facets","disjunctiveFacets","facetsRefinements","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacets","hierarchicalFacetsRefinements"],getQueryParams:function(){var e=this.managedParameters,t={},n=this;return Object.keys(this).forEach((function(r){var i=n[r];-1===e.indexOf(r)&&void 0!==i&&(t[r]=i)})),t},setQueryParameter:function(e,t){if(this[e]===t)return this;var n={};return n[e]=t,this.setQueryParameters(n)},setQueryParameters:function(e){if(!e)return this;var t=l.validate(this,e);if(t)throw t;var n=this,r=l._parseNumbers(e),i=Object.keys(this).reduce((function(e,t){return e[t]=n[t],e}),{}),a=Object.keys(r).reduce((function(e,t){var n=void 0!==e[t],i=void 0!==r[t];return n&&!i?u(e,[t]):(i&&(e[t]=r[t]),e)}),i);return new this.constructor(a)},resetPage:function(){return void 0===this.page?this:this.setPage(0)},_getHierarchicalFacetSortBy:function(e){return e.sortBy||["isRefined:desc","name:asc"]},_getHierarchicalFacetSeparator:function(e){return e.separator||" > "},_getHierarchicalRootPath:function(e){return e.rootPath||null},_getHierarchicalShowParentLevel:function(e){return"boolean"!=typeof e.showParentLevel||e.showParentLevel},getHierarchicalFacetByName:function(e){return s(this.hierarchicalFacets,(function(t){return t.name===e}))},getHierarchicalFacetBreadcrumb:function(e){if(!this.isHierarchicalFacet(e))return[];var t=this.getHierarchicalRefinement(e)[0];if(!t)return[];var n=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e));return t.split(n).map((function(e){return e.trim()}))},toString:function(){return JSON.stringify(this,null,2)}},e.exports=l},196:function(e,t,n){"use strict";e.exports=function(e,t){if(null===e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}},197:function(e,t,n){"use strict";var r=n(179),i=n(180),a=n(198),s=n(222),c=n(175),u=n(223),o=n(199),f=n(224);function h(e){var t={};return e.forEach((function(e,n){t[e]=n})),t}function l(e,t,n){t&&t[n]&&(e.stats=t[n])}function m(e,t){var n=t[0];this._rawResults=t,this.query=n.query,this.parsedQuery=n.parsedQuery,this.hits=n.hits,this.index=n.index,this.hitsPerPage=n.hitsPerPage,this.nbHits=n.nbHits,this.nbPages=n.nbPages,this.page=n.page,this.processingTimeMS=t.reduce((function(e,t){return void 0===t.processingTimeMS?e:e+t.processingTimeMS}),0),this.aroundLatLng=n.aroundLatLng,this.automaticRadius=n.automaticRadius,this.serverUsed=n.serverUsed,this.timeoutCounts=n.timeoutCounts,this.timeoutHits=n.timeoutHits,this.exhaustiveFacetsCount=n.exhaustiveFacetsCount,this.exhaustiveNbHits=n.exhaustiveNbHits,this.userData=n.userData,this.queryID=n.queryID,this.disjunctiveFacets=[],this.hierarchicalFacets=e.hierarchicalFacets.map((function(){return[]})),this.facets=[];var a=e.getRefinedDisjunctiveFacets(),o=h(e.facets),m=h(e.disjunctiveFacets),d=1,v=this,p=n.facets||{};Object.keys(p).forEach((function(t){var r,i,a=p[t],s=(r=e.hierarchicalFacets,i=t,c(r,(function(e){return(e.attributes||[]).indexOf(i)>-1})));if(s){var f=s.attributes.indexOf(t),h=u(e.hierarchicalFacets,(function(e){return e.name===s.name}));v.hierarchicalFacets[h][f]={attribute:t,data:a,exhaustive:n.exhaustiveFacetsCount}}else{var d,g=-1!==e.disjunctiveFacets.indexOf(t),y=-1!==e.facets.indexOf(t);g&&(d=m[t],v.disjunctiveFacets[d]={name:t,data:a,exhaustive:n.exhaustiveFacetsCount},l(v.disjunctiveFacets[d],n.facets_stats,t)),y&&(d=o[t],v.facets[d]={name:t,data:a,exhaustive:n.exhaustiveFacetsCount},l(v.facets[d],n.facets_stats,t))}})),this.hierarchicalFacets=s(this.hierarchicalFacets),a.forEach((function(a){var s=t[d],c=s&&s.facets?s.facets:{},o=e.getHierarchicalFacetByName(a);Object.keys(c).forEach((function(t){var a,f=c[t];if(o){a=u(e.hierarchicalFacets,(function(e){return e.name===o.name}));var h=u(v.hierarchicalFacets[a],(function(e){return e.attribute===t}));if(-1===h)return;v.hierarchicalFacets[a][h].data=r({},v.hierarchicalFacets[a][h].data,f)}else{a=m[t];var d=n.facets&&n.facets[t]||{};v.disjunctiveFacets[a]={name:t,data:i({},f,d),exhaustive:s.exhaustiveFacetsCount},l(v.disjunctiveFacets[a],s.facets_stats,t),e.disjunctiveFacetsRefinements[t]&&e.disjunctiveFacetsRefinements[t].forEach((function(n){!v.disjunctiveFacets[a].data[n]&&e.disjunctiveFacetsRefinements[t].indexOf(n)>-1&&(v.disjunctiveFacets[a].data[n]=0)}))}})),d++})),e.getRefinedHierarchicalFacets().forEach((function(n){var r=e.getHierarchicalFacetByName(n),a=e._getHierarchicalFacetSeparator(r),s=e.getHierarchicalRefinement(n);if(!(0===s.length||s[0].split(a).length<2)){var c=t[d],o=c&&c.facets?c.facets:{};Object.keys(o).forEach((function(t){var n=o[t],c=u(e.hierarchicalFacets,(function(e){return e.name===r.name})),f=u(v.hierarchicalFacets[c],(function(e){return e.attribute===t}));if(-1!==f){var h={};if(s.length>0){var l=s[0].split(a)[0];h[l]=v.hierarchicalFacets[c][f].data[l]}v.hierarchicalFacets[c][f].data=i(h,n,v.hierarchicalFacets[c][f].data)}})),d++}})),Object.keys(e.facetsExcludes).forEach((function(t){var r=e.facetsExcludes[t],i=o[t];v.facets[i]={name:t,data:n.facets[t],exhaustive:n.exhaustiveFacetsCount},r.forEach((function(e){v.facets[i]=v.facets[i]||{name:t},v.facets[i].data=v.facets[i].data||{},v.facets[i].data[e]=0}))})),this.hierarchicalFacets=this.hierarchicalFacets.map(f(e)),this.facets=s(this.facets),this.disjunctiveFacets=s(this.disjunctiveFacets),this._state=e}function d(e,t){if(!t.data||0===t.data.length)return t;var n=t.data.map((function(t){return d(e,t)})),i=e(n);return r({},t,{data:i})}function v(e,t){var n=c(e,(function(e){return e.name===t}));return n&&n.stats}function p(e,t,n,r,i){var a=c(i,(function(e){return e.name===n})),s=a&&a.data&&a.data[r]?a.data[r]:0,u=a&&a.exhaustive||!1;return{type:t,attributeName:n,name:r,count:s,exhaustive:u}}m.prototype.getFacetByName=function(e){function t(t){return t.name===e}return c(this.facets,t)||c(this.disjunctiveFacets,t)||c(this.hierarchicalFacets,t)},m.DEFAULT_SORT=["isRefined:desc","count:desc","name:asc"],m.prototype.getFacetValues=function(e,t){var n=function(e,t){function n(e){return e.name===t}if(e._state.isConjunctiveFacet(t)){var r=c(e.facets,n);return r?Object.keys(r.data).map((function(n){return{name:n,count:r.data[n],isRefined:e._state.isFacetRefined(t,n),isExcluded:e._state.isExcludeRefined(t,n)}})):[]}if(e._state.isDisjunctiveFacet(t)){var i=c(e.disjunctiveFacets,n);return i?Object.keys(i.data).map((function(n){return{name:n,count:i.data[n],isRefined:e._state.isDisjunctiveFacetRefined(t,n)}})):[]}if(e._state.isHierarchicalFacet(t))return c(e.hierarchicalFacets,n)}(this,e);if(n){var r=i({},t,{sortBy:m.DEFAULT_SORT});if(Array.isArray(r.sortBy)){var s=o(r.sortBy,m.DEFAULT_SORT);return Array.isArray(n)?a(n,s[0],s[1]):d((function(e){return a(e,s[0],s[1])}),n)}if("function"==typeof r.sortBy)return Array.isArray(n)?n.sort(r.sortBy):d((function(e){return function(e,t){return t.sort(e)}(r.sortBy,e)}),n);throw new Error("options.sortBy is optional but if defined it must be either an array of string (predicates) or a sorting function")}},m.prototype.getFacetStats=function(e){return this._state.isConjunctiveFacet(e)?v(this.facets,e):this._state.isDisjunctiveFacet(e)?v(this.disjunctiveFacets,e):void 0},m.prototype.getRefinements=function(){var e=this._state,t=this,n=[];return Object.keys(e.facetsRefinements).forEach((function(r){e.facetsRefinements[r].forEach((function(i){n.push(p(e,"facet",r,i,t.facets))}))})),Object.keys(e.facetsExcludes).forEach((function(r){e.facetsExcludes[r].forEach((function(i){n.push(p(e,"exclude",r,i,t.facets))}))})),Object.keys(e.disjunctiveFacetsRefinements).forEach((function(r){e.disjunctiveFacetsRefinements[r].forEach((function(i){n.push(p(e,"disjunctive",r,i,t.disjunctiveFacets))}))})),Object.keys(e.hierarchicalFacetsRefinements).forEach((function(r){e.hierarchicalFacetsRefinements[r].forEach((function(i){n.push(function(e,t,n,r){var i=e.getHierarchicalFacetByName(t),a=e._getHierarchicalFacetSeparator(i),s=n.split(a),u=c(r,(function(e){return e.name===t})),o=s.reduce((function(e,t){var n=e&&c(e.data,(function(e){return e.name===t}));return void 0!==n?n:e}),u),f=o&&o.count||0,h=o&&o.exhaustive||!1,l=o&&o.path||"";return{type:"hierarchical",attributeName:t,name:l,count:f,exhaustive:h}}(e,r,i,t.hierarchicalFacets))}))})),Object.keys(e.numericRefinements).forEach((function(t){var r=e.numericRefinements[t];Object.keys(r).forEach((function(e){r[e].forEach((function(r){n.push({type:"numeric",attributeName:t,name:r,numericValue:r,operator:e})}))}))})),e.tagRefinements.forEach((function(e){n.push({type:"tag",attributeName:"_tags",name:e})})),n},e.exports=m},198:function(e,t,n){"use strict";function r(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=void 0!==t,a=null===t;if(!a&&e>t||r&&i||!n)return 1;if(!r&&e=n.length?a:"desc"===n[i]?-a:a}return e.index-t.index})),i.map((function(e){return e.value}))}},199:function(e,t,n){"use strict";var r=n(175);e.exports=function(e,t){var n=(t||[]).map((function(e){return e.split(":")}));return e.reduce((function(e,t){var i=t.split(":"),a=r(n,(function(e){return e[0]===i[0]}));return i.length>1||!a?(e[0].push(i[0]),e[1].push(i[1]),e):(e[0].push(a[0]),e[1].push(a[1]),e)}),[[],[]])}},200:function(e,t,n){"use strict";var r,i="object"==typeof Reflect?Reflect:null,a=i&&"function"==typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var s=Number.isNaN||function(e){return e!=e};function c(){c.init.call(this)}e.exports=c,c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var u=10;function o(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function f(e){return void 0===e._maxListeners?c.defaultMaxListeners:e._maxListeners}function h(e,t,n,r){var i,a,s,c;if(o(n),void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),s=a[t]),void 0===s)s=a[t]=n,++e._eventsCount;else if("function"==typeof s?s=a[t]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),(i=f(e))>0&&s.length>i&&!s.warned){s.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=s.length,c=u,console&&console.warn&&console.warn(c)}return e}function l(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function m(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=l.bind(r);return i.listener=n,r.wrapFn=i,i}function d(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(s=t[0]),s instanceof Error)throw s;var c=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw c.context=s,c}var u=i[e];if(void 0===u)return!1;if("function"==typeof u)a(u,this,t);else{var o=u.length,f=p(u,o);for(n=0;n=0;a--)if(n[a]===t||n[a].listener===t){s=n[a].listener,i=a;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},c.prototype.listeners=function(e){return d(this,e,!0)},c.prototype.rawListeners=function(e){return d(this,e,!1)},c.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):v.call(e,t)},c.prototype.listenerCount=v,c.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},201:function(e,t,n){"use strict";e.exports=function(e,t){e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}},202:function(e,t,n){"use strict";e.exports="3.1.2"},217:function(e,t,n){"use strict";var r=n(218),i=n(195),a=n(197);function s(e,t,n){return new r(e,t,n)}s.version=n(202),s.AlgoliaSearchHelper=r,s.SearchParameters=i,s.SearchResults=a,e.exports=s},218:function(e,t,n){"use strict";var r=n(195),i=n(197),a=n(225),s=n(226),c=n(200),u=n(201),o=n(181),f=n(202);function h(e,t,n){"function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+f+")"),this.setClient(e);var i=n||{};i.index=t,this.state=r.make(i),this.lastResults=null,this._queryId=0,this._lastQueryIdReceived=-1,this.derivedHelpers=[],this._currentNbQueries=0}function l(e){if(e<0)throw new Error("Page requested below 0.");return this._change({state:this.state.setPage(e),isPageReset:!1}),this}function m(){return this.state.page}u(h,c.EventEmitter),h.prototype.search=function(){return this._search({onlyWithDerivedHelpers:!1}),this},h.prototype.searchOnlyWithDerivedHelpers=function(){return this._search({onlyWithDerivedHelpers:!0}),this},h.prototype.getQuery=function(){var e=this.state;return s._getHitsSearchParams(e)},h.prototype.searchOnce=function(e,t){var n=e?this.state.setQueryParameters(e):this.state,r=s._getQueries(n.index,n),a=this;if(this._currentNbQueries++,this.emit("searchOnce",{state:n}),!t)return this.client.search(r).then((function(e){return a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),{content:new i(n,e.results),state:n,_originalResponse:e}}),(function(e){throw a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),e}));this.client.search(r).then((function(e){a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),t(null,new i(n,e.results),n)})).catch((function(e){a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),t(e,null,n)}))},h.prototype.searchForFacetValues=function(e,t,n,r){var i="function"==typeof this.client.searchForFacetValues;if(!i&&"function"!=typeof this.client.initIndex)throw new Error("search for facet values (searchable) was called, but this client does not have a function client.searchForFacetValues or client.initIndex(index).searchForFacetValues");var a=this.state.setQueryParameters(r||{}),c=a.isDisjunctiveFacet(e),u=s.getSearchForFacetQuery(e,t,n,a);this._currentNbQueries++;var o=this;return this.emit("searchForFacetValues",{state:a,facet:e,query:t}),(i?this.client.searchForFacetValues([{indexName:a.index,params:u}]):this.client.initIndex(a.index).searchForFacetValues(u)).then((function(t){return o._currentNbQueries--,0===o._currentNbQueries&&o.emit("searchQueueEmpty"),(t=Array.isArray(t)?t[0]:t).facetHits.forEach((function(t){t.isRefined=c?a.isDisjunctiveFacetRefined(e,t.value):a.isFacetRefined(e,t.value)})),t}),(function(e){throw o._currentNbQueries--,0===o._currentNbQueries&&o.emit("searchQueueEmpty"),e}))},h.prototype.setQuery=function(e){return this._change({state:this.state.resetPage().setQuery(e),isPageReset:!0}),this},h.prototype.clearRefinements=function(e){return this._change({state:this.state.resetPage().clearRefinements(e),isPageReset:!0}),this},h.prototype.clearTags=function(){return this._change({state:this.state.resetPage().clearTags(),isPageReset:!0}),this},h.prototype.addDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.addDisjunctiveRefine=function(){return this.addDisjunctiveFacetRefinement.apply(this,arguments)},h.prototype.addHierarchicalFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addHierarchicalFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.addNumericRefinement=function(e,t,n){return this._change({state:this.state.resetPage().addNumericRefinement(e,t,n),isPageReset:!0}),this},h.prototype.addFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.addRefine=function(){return this.addFacetRefinement.apply(this,arguments)},h.prototype.addFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().addExcludeRefinement(e,t),isPageReset:!0}),this},h.prototype.addExclude=function(){return this.addFacetExclusion.apply(this,arguments)},h.prototype.addTag=function(e){return this._change({state:this.state.resetPage().addTagRefinement(e),isPageReset:!0}),this},h.prototype.removeNumericRefinement=function(e,t,n){return this._change({state:this.state.resetPage().removeNumericRefinement(e,t,n),isPageReset:!0}),this},h.prototype.removeDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.removeDisjunctiveRefine=function(){return this.removeDisjunctiveFacetRefinement.apply(this,arguments)},h.prototype.removeHierarchicalFacetRefinement=function(e){return this._change({state:this.state.resetPage().removeHierarchicalFacetRefinement(e),isPageReset:!0}),this},h.prototype.removeFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.removeRefine=function(){return this.removeFacetRefinement.apply(this,arguments)},h.prototype.removeFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().removeExcludeRefinement(e,t),isPageReset:!0}),this},h.prototype.removeExclude=function(){return this.removeFacetExclusion.apply(this,arguments)},h.prototype.removeTag=function(e){return this._change({state:this.state.resetPage().removeTagRefinement(e),isPageReset:!0}),this},h.prototype.toggleFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().toggleExcludeFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.toggleExclude=function(){return this.toggleFacetExclusion.apply(this,arguments)},h.prototype.toggleRefinement=function(e,t){return this.toggleFacetRefinement(e,t)},h.prototype.toggleFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().toggleFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.toggleRefine=function(){return this.toggleFacetRefinement.apply(this,arguments)},h.prototype.toggleTag=function(e){return this._change({state:this.state.resetPage().toggleTagRefinement(e),isPageReset:!0}),this},h.prototype.nextPage=function(){var e=this.state.page||0;return this.setPage(e+1)},h.prototype.previousPage=function(){var e=this.state.page||0;return this.setPage(e-1)},h.prototype.setCurrentPage=l,h.prototype.setPage=l,h.prototype.setIndex=function(e){return this._change({state:this.state.resetPage().setIndex(e),isPageReset:!0}),this},h.prototype.setQueryParameter=function(e,t){return this._change({state:this.state.resetPage().setQueryParameter(e,t),isPageReset:!0}),this},h.prototype.setState=function(e){return this._change({state:r.make(e),isPageReset:!1}),this},h.prototype.overrideStateWithoutTriggeringChangeEvent=function(e){return this.state=new r(e),this},h.prototype.hasRefinements=function(e){return!!o(this.state.getNumericRefinements(e))||(this.state.isConjunctiveFacet(e)?this.state.isFacetRefined(e):this.state.isDisjunctiveFacet(e)?this.state.isDisjunctiveFacetRefined(e):!!this.state.isHierarchicalFacet(e)&&this.state.isHierarchicalFacetRefined(e))},h.prototype.isExcluded=function(e,t){return this.state.isExcludeRefined(e,t)},h.prototype.isDisjunctiveRefined=function(e,t){return this.state.isDisjunctiveFacetRefined(e,t)},h.prototype.hasTag=function(e){return this.state.isTagRefined(e)},h.prototype.isTagRefined=function(){return this.hasTagRefinements.apply(this,arguments)},h.prototype.getIndex=function(){return this.state.index},h.prototype.getCurrentPage=m,h.prototype.getPage=m,h.prototype.getTags=function(){return this.state.tagRefinements},h.prototype.getRefinements=function(e){var t=[];if(this.state.isConjunctiveFacet(e))this.state.getConjunctiveRefinements(e).forEach((function(e){t.push({value:e,type:"conjunctive"})})),this.state.getExcludeRefinements(e).forEach((function(e){t.push({value:e,type:"exclude"})}));else if(this.state.isDisjunctiveFacet(e)){this.state.getDisjunctiveRefinements(e).forEach((function(e){t.push({value:e,type:"disjunctive"})}))}var n=this.state.getNumericRefinements(e);return Object.keys(n).forEach((function(e){var r=n[e];t.push({value:r,operator:e,type:"numeric"})})),t},h.prototype.getNumericRefinement=function(e,t){return this.state.getNumericRefinement(e,t)},h.prototype.getHierarchicalFacetBreadcrumb=function(e){return this.state.getHierarchicalFacetBreadcrumb(e)},h.prototype._search=function(e){var t=this.state,n=[],r=[];e.onlyWithDerivedHelpers||(r=s._getQueries(t.index,t),n.push({state:t,queriesCount:r.length,helper:this}),this.emit("search",{state:t,results:this.lastResults}));var i=this.derivedHelpers.map((function(e){var r=e.getModifiedState(t),i=s._getQueries(r.index,r);return n.push({state:r,queriesCount:i.length,helper:e}),e.emit("search",{state:r,results:e.lastResults}),i})),a=Array.prototype.concat.apply(r,i),c=this._queryId++;this._currentNbQueries++;try{this.client.search(a).then(this._dispatchAlgoliaResponse.bind(this,n,c)).catch(this._dispatchAlgoliaError.bind(this,c))}catch(u){this.emit("error",{error:u})}},h.prototype._dispatchAlgoliaResponse=function(e,t,n){if(!(t0},h.prototype._change=function(e){var t=e.state,n=e.isPageReset;t!==this.state&&(this.state=t,this.emit("change",{state:this.state,results:this.lastResults,isPageReset:n}))},h.prototype.clearCache=function(){return this.client.clearCache&&this.client.clearCache(),this},h.prototype.setClient=function(e){return this.client===e||("function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+f+")"),this.client=e),this},h.prototype.getClient=function(){return this.client},h.prototype.derive=function(e){var t=new a(this,e);return this.derivedHelpers.push(t),t},h.prototype.detachDerivedHelper=function(e){var t=this.derivedHelpers.indexOf(e);if(-1===t)throw new Error("Derived helper already detached");this.derivedHelpers.splice(t,1)},h.prototype.hasPendingRequests=function(){return this._currentNbQueries>0},e.exports=h},219:function(e,t,n){"use strict";e.exports=function(e,t){return e.filter((function(n,r){return t.indexOf(n)>-1&&e.indexOf(n)===r}))}},220:function(e,t,n){"use strict";e.exports=function e(t){if("number"==typeof t)return t;if("string"==typeof t)return parseFloat(t);if(Array.isArray(t))return t.map(e);throw new Error("The value should be a number, a parsable string or an array of those.")}},221:function(e,t,n){"use strict";var r=n(180),i=n(196),a=n(181),s={addRefinement:function(e,t,n){if(s.isRefined(e,t,n))return e;var i=""+n,a=e[t]?e[t].concat(i):[i],c={};return c[t]=a,r({},c,e)},removeRefinement:function(e,t,n){if(void 0===n)return s.clearRefinement(e,(function(e,n){return t===n}));var r=""+n;return s.clearRefinement(e,(function(e,n){return t===n&&r===e}))},toggleRefinement:function(e,t,n){if(void 0===n)throw new Error("toggleRefinement should be used with a value");return s.isRefined(e,t,n)?s.removeRefinement(e,t,n):s.addRefinement(e,t,n)},clearRefinement:function(e,t,n){if(void 0===t)return a(e)?{}:e;if("string"==typeof t)return i(e,[t]);if("function"==typeof t){var r=!1,s=Object.keys(e).reduce((function(i,a){var s=e[a]||[],c=s.filter((function(e){return!t(e,a,n)}));return c.length!==s.length&&(r=!0),i[a]=c,i}),{});return r?s:e}},isRefined:function(e,t,n){var r=!!e[t]&&e[t].length>0;if(void 0===n||!r)return r;var i=""+n;return-1!==e[t].indexOf(i)}};e.exports=s},222:function(e,t,n){"use strict";e.exports=function(e){return Array.isArray(e)?e.filter(Boolean):[]}},223:function(e,t,n){"use strict";e.exports=function(e,t){if(!Array.isArray(e))return-1;for(var n=0;n0){var h=0;for(f=c;h0&&s[0].split(c).length>1&&n.push({indexName:e,params:i._getDisjunctiveFacetSearchParams(t,r,!0)})})),n},_getHitsSearchParams:function(e){var t=e.facets.concat(e.disjunctiveFacets).concat(i._getHitsHierarchicalFacetsAttributes(e)),n=i._getFacetFilters(e),a=i._getNumericFilters(e),s={facets:t,tagFilters:i._getTagFilters(e)};return n.length>0&&(s.facetFilters=n),a.length>0&&(s.numericFilters=a),r({},e.getQueryParams(),s)},_getDisjunctiveFacetSearchParams:function(e,t,n){var a=i._getFacetFilters(e,t,n),s=i._getNumericFilters(e,t),c={hitsPerPage:1,page:0,attributesToRetrieve:[],attributesToHighlight:[],attributesToSnippet:[],tagFilters:i._getTagFilters(e),analytics:!1,clickAnalytics:!1},u=e.getHierarchicalFacetByName(t);return c.facets=u?i._getDisjunctiveHierarchicalFacetAttribute(e,u,n):t,s.length>0&&(c.numericFilters=s),a.length>0&&(c.facetFilters=a),r({},e.getQueryParams(),c)},_getNumericFilters:function(e,t){if(e.numericFilters)return e.numericFilters;var n=[];return Object.keys(e.numericRefinements).forEach((function(r){var i=e.numericRefinements[r]||{};Object.keys(i).forEach((function(e){var a=i[e]||[];t!==r&&a.forEach((function(t){if(Array.isArray(t)){var i=t.map((function(t){return r+e+t}));n.push(i)}else n.push(r+e+t)}))}))})),n},_getTagFilters:function(e){return e.tagFilters?e.tagFilters:e.tagRefinements.join(",")},_getFacetFilters:function(e,t,n){var r=[],i=e.facetsRefinements||{};Object.keys(i).forEach((function(e){(i[e]||[]).forEach((function(t){r.push(e+":"+t)}))}));var a=e.facetsExcludes||{};Object.keys(a).forEach((function(e){(a[e]||[]).forEach((function(t){r.push(e+":-"+t)}))}));var s=e.disjunctiveFacetsRefinements||{};Object.keys(s).forEach((function(e){var n=s[e]||[];if(e!==t&&n&&0!==n.length){var i=[];n.forEach((function(t){i.push(e+":"+t)})),r.push(i)}}));var c=e.hierarchicalFacetsRefinements||{};return Object.keys(c).forEach((function(i){var a=(c[i]||[])[0];if(void 0!==a){var s,u,o=e.getHierarchicalFacetByName(i),f=e._getHierarchicalFacetSeparator(o),h=e._getHierarchicalRootPath(o);if(t===i){if(-1===a.indexOf(f)||!h&&!0===n||h&&h.split(f).length===a.split(f).length)return;h?(u=h.split(f).length-1,a=h):(u=a.split(f).length-2,a=a.slice(0,a.lastIndexOf(f))),s=o.attributes[u]}else u=a.split(f).length-1,s=o.attributes[u];s&&r.push([s+":"+a])}})),r},_getHitsHierarchicalFacetsAttributes:function(e){return e.hierarchicalFacets.reduce((function(t,n){var r=e.getHierarchicalRefinement(n.name)[0];if(!r)return t.push(n.attributes[0]),t;var i=e._getHierarchicalFacetSeparator(n),a=r.split(i).length,s=n.attributes.slice(0,a+1);return t.concat(s)}),[])},_getDisjunctiveHierarchicalFacetAttribute:function(e,t,n){var r=e._getHierarchicalFacetSeparator(t);if(!0===n){var i=e._getHierarchicalRootPath(t),a=0;return i&&(a=i.split(r).length),[t.attributes[a]]}var s=(e.getHierarchicalRefinement(t.name)[0]||"").split(r).length-1;return t.attributes.slice(0,s+1)},getSearchForFacetQuery:function(e,t,n,a){var s=a.isDisjunctiveFacet(e)?a.clearRefinements(e):a,c={facetQuery:t,facetName:e};return"number"==typeof n&&(c.maxFacetHits=n),r({},i._getHitsSearchParams(s),c)}};e.exports=i},227:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0});try{r=n(!function(){var e=new Error("Cannot find module '@site/versions.json'");throw e.code="MODULE_NOT_FOUND",e}())}catch(i){r=[]}t.default=function(){return{versioningEnabled:r.length>0,versions:r,latestVersion:r[0]}}},228:function(e,t,n){e.exports=function(){"use strict";function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function n(n){for(var r=1;r=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,i=!1,a=void 0;try{for(var s,c=e[Symbol.iterator]();!(r=(s=c.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(i)throw a}}return n}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function a(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then((function(){var n=JSON.stringify(e),r=a()[n];return Promise.all([r||t(),void 0!==r])})).then((function(e){var t=i(e,2),r=t[0],a=t[1];return Promise.all([r,a||n.miss(r)])})).then((function(e){return i(e,1)[0]}))},set:function(e,t){return Promise.resolve().then((function(){var i=a();return i[JSON.stringify(e)]=t,r().setItem(n,JSON.stringify(i)),t}))},delete:function(e){return Promise.resolve().then((function(){var t=a();delete t[JSON.stringify(e)],r().setItem(n,JSON.stringify(t))}))},clear:function(){return Promise.resolve().then((function(){r().removeItem(n)}))}}}function c(e){var t=a(e.caches),n=t.shift();return void 0===n?{get:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return t().then((function(e){return Promise.all([e,n.miss(e)])})).then((function(e){return i(e,1)[0]}))},set:function(e,t){return Promise.resolve(t)},delete:function(e){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(e,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return n.get(e,r,i).catch((function(){return c({caches:t}).get(e,r,i)}))},set:function(e,r){return n.set(e,r).catch((function(){return c({caches:t}).set(e,r)}))},delete:function(e){return n.delete(e).catch((function(){return c({caches:t}).delete(e)}))},clear:function(){return n.clear().catch((function(){return c({caches:t}).clear()}))}}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{serializable:!0},t={};return{get:function(n,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}},a=JSON.stringify(n);if(a in t)return Promise.resolve(e.serializable?JSON.parse(t[a]):t[a]);var s=r(),c=i&&i.miss||function(){return Promise.resolve()};return s.then((function(e){return c(e)})).then((function(){return s}))},set:function(n,r){return t[JSON.stringify(n)]=e.serializable?JSON.stringify(r):r,Promise.resolve(r)},delete:function(e){return delete t[JSON.stringify(e)],Promise.resolve()},clear:function(){return t={},Promise.resolve()}}}function o(e){for(var t=e.length-1;t>0;t--){var n=Math.floor(Math.random()*(t+1)),r=e[t];e[t]=e[n],e[n]=r}return e}function f(e,t){return Object.keys(void 0!==t?t:{}).forEach((function(n){e[n]=t[n](e)})),e}function h(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r0?r:void 0,timeout:n.timeout||t,headers:n.headers||{},queryParameters:n.queryParameters||{},cacheable:n.cacheable}}var d={Read:1,Write:2,Any:3},v=1,p=2,g=3;function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v;return n(n({},e),{},{status:t,lastUpdate:Date.now()})}function R(e){return"string"==typeof e?{protocol:"https",url:e,accept:d.Any}:{protocol:e.protocol||"https",url:e.url,accept:e.accept||d.Any}}var F="GET",b="POST";function j(e,t){return Promise.all(t.map((function(t){return e.get(t,(function(){return Promise.resolve(y(t))}))}))).then((function(e){var n=e.filter((function(e){return function(e){return e.status===v||Date.now()-e.lastUpdate>12e4}(e)})),r=e.filter((function(e){return function(e){return e.status===g&&Date.now()-e.lastUpdate<=12e4}(e)})),i=[].concat(a(n),a(r));return{getTimeout:function(e,t){return(0===r.length&&0===e?1:r.length+3+e)*t},statelessHosts:i.length>0?i.map((function(e){return R(e)})):t}}))}function P(e,t,r,i){var s=[],c=function(e,t){if(e.method!==F&&(void 0!==e.data||void 0!==t.data)){var r=Array.isArray(e.data)?e.data:n(n({},e.data),t.data);return JSON.stringify(r)}}(r,i),u=function(e,t){var r=n(n({},e.headers),t.headers),i={};return Object.keys(r).forEach((function(e){var t=r[e];i[e.toLowerCase()]=t})),i}(e,i),o=r.method,f=r.method!==F?{}:n(n({},r.data),i.data),h=n(n(n({"x-algolia-agent":e.userAgent.value},e.queryParameters),f),i.queryParameters),l=0,m=function t(n,a){var f=n.pop();if(void 0===f)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.",transporterStackTrace:_(s)};var m={data:c,headers:u,method:o,url:x(f,r.path,h),connectTimeout:a(l,e.timeouts.connect),responseTimeout:a(l,i.timeout)},d=function(e){var t={request:m,response:e,host:f,triesLeft:n.length};return s.push(t),t},v={onSucess:function(e){return function(e){try{return JSON.parse(e.content)}catch(t){throw function(e,t){return{name:"DeserializationError",message:e,response:t}}(t.message,e)}}(e)},onRetry:function(r){var i=d(r);return r.isTimedOut&&l++,Promise.all([e.logger.info("Retryable failure",w(i)),e.hostsCache.set(f,y(f,r.isTimedOut?g:p))]).then((function(){return t(n,a)}))},onFail:function(e){throw d(e),function(e,t){var n=e.content,r=e.status,i=n;try{i=JSON.parse(n).message}catch(e){}return function(e,t,n){return{name:"ApiError",message:e,status:t,transporterStackTrace:n}}(i,r,t)}(e,_(s))}};return e.requester.send(m).then((function(e){return function(e,t){return function(e){var t=e.status;return e.isTimedOut||function(e){var t=e.isTimedOut,n=e.status;return!t&&0==~~n}(e)||2!=~~(t/100)&&4!=~~(t/100)}(e)?t.onRetry(e):2==~~(e.status/100)?t.onSucess(e):t.onFail(e)}(e,v)}))};return j(e.hostsCache,t).then((function(e){return m(a(e.statelessHosts).reverse(),e.getTimeout)}))}function E(e){var t={value:"Algolia for JavaScript (".concat(e,")"),add:function(e){var n="; ".concat(e.segment).concat(void 0!==e.version?" (".concat(e.version,")"):"");return-1===t.value.indexOf(n)&&(t.value="".concat(t.value).concat(n)),t}};return t}function x(e,t,n){var r=O(n),i="".concat(e.protocol,"://").concat(e.url,"/").concat("/"===t.charAt(0)?t.substr(1):t);return r.length&&(i+="?".concat(r)),i}function O(e){return Object.keys(e).map((function(t){return h("%s=%s",t,(n=e[t],"[object Object]"===Object.prototype.toString.call(n)||"[object Array]"===Object.prototype.toString.call(n)?JSON.stringify(e[t]):e[t]));var n})).join("&")}function _(e){return e.map((function(e){return w(e)}))}function w(e){var t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return n(n({},e),{},{request:n(n({},e.request),{},{headers:n(n({},e.request.headers),t)})})}var N=function(e){var t=e.appId,r=function(e,t,n){var r={"x-algolia-api-key":n,"x-algolia-application-id":t};return{headers:function(){return e===l.WithinHeaders?r:{}},queryParameters:function(){return e===l.WithinQueryParameters?r:{}}}}(void 0!==e.authMode?e.authMode:l.WithinHeaders,t,e.apiKey),a=function(e){var t=e.hostsCache,n=e.logger,r=e.requester,a=e.requestsCache,s=e.responsesCache,c=e.timeouts,u=e.userAgent,o=e.hosts,f=e.queryParameters,h={hostsCache:t,logger:n,requester:r,requestsCache:a,responsesCache:s,timeouts:c,userAgent:u,headers:e.headers,queryParameters:f,hosts:o.map((function(e){return R(e)})),read:function(e,t){var n=m(t,h.timeouts.read),r=function(){return P(h,h.hosts.filter((function(e){return 0!=(e.accept&d.Read)})),e,n)};if(!0!==(void 0!==n.cacheable?n.cacheable:e.cacheable))return r();var a={request:e,mappedRequestOptions:n,transporter:{queryParameters:h.queryParameters,headers:h.headers}};return h.responsesCache.get(a,(function(){return h.requestsCache.get(a,(function(){return h.requestsCache.set(a,r()).then((function(e){return Promise.all([h.requestsCache.delete(a),e])}),(function(e){return Promise.all([h.requestsCache.delete(a),Promise.reject(e)])})).then((function(e){var t=i(e,2);return t[0],t[1]}))}))}),{miss:function(e){return h.responsesCache.set(a,e)}})},write:function(e,t){return P(h,h.hosts.filter((function(e){return 0!=(e.accept&d.Write)})),e,m(t,h.timeouts.write))}};return h}(n(n({hosts:[{url:"".concat(t,"-dsn.algolia.net"),accept:d.Read},{url:"".concat(t,".algolia.net"),accept:d.Write}].concat(o([{url:"".concat(t,"-1.algolianet.com")},{url:"".concat(t,"-2.algolianet.com")},{url:"".concat(t,"-3.algolianet.com")}]))},e),{},{headers:n(n(n({},r.headers()),{"content-type":"application/x-www-form-urlencoded"}),e.headers),queryParameters:n(n({},r.queryParameters()),e.queryParameters)}));return f({transporter:a,appId:t,addAlgoliaAgent:function(e,t){a.userAgent.add({segment:e,version:t})},clearCache:function(){return Promise.all([a.requestsCache.clear(),a.responsesCache.clear()]).then((function(){}))}},e.methods)},H=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return f({transporter:e.transporter,appId:e.appId,indexName:t},n.methods)}},A=function(e){return function(t,r){var i=t.map((function(e){return n(n({},e),{},{params:O(e.params||{})})}));return e.transporter.read({method:b,path:"1/indexes/*/queries",data:{requests:i},cacheable:!0},r)}},S=function(e){return function(t,i){return Promise.all(t.map((function(t){var a=t.params,s=a.facetName,c=a.facetQuery,u=r(a,["facetName","facetQuery"]);return H(e)(t.indexName,{methods:{searchForFacetValues:C}}).searchForFacetValues(s,c,n(n({},i),u))})))}},Q=function(e){return function(t,n){return e.transporter.read({method:b,path:h("1/indexes/%s/query",e.indexName),data:{query:t},cacheable:!0},n)}},C=function(e){return function(t,n,r){return e.transporter.read({method:b,path:h("1/indexes/%s/facets/%s/query",e.indexName,t),data:{facetQuery:n},cacheable:!0},r)}},T=1,D=2,k=3;function I(e,t,r){var i,a={appId:e,apiKey:t,timeouts:{connect:1,read:2,write:30},requester:{send:function(e){return new Promise((function(t){var n=new XMLHttpRequest;n.open(e.method,e.url,!0),Object.keys(e.headers).forEach((function(t){return n.setRequestHeader(t,e.headers[t])}));var r,i=function(e,r){return setTimeout((function(){n.abort(),t({status:0,content:r,isTimedOut:!0})}),1e3*e)},a=i(e.connectTimeout,"Connection timeout");n.onreadystatechange=function(){n.readyState>n.OPENED&&void 0===r&&(clearTimeout(a),r=i(e.responseTimeout,"Socket timeout"))},n.onerror=function(){0===n.status&&(clearTimeout(a),clearTimeout(r),t({content:n.responseText||"Network request failed",status:n.status,isTimedOut:!1}))},n.onload=function(){clearTimeout(a),clearTimeout(r),t({content:n.responseText,status:n.status,isTimedOut:!1})},n.send(e.data)}))}},logger:(i=k,{debug:function(e,t){return T>=i&&console.debug(e,t),Promise.resolve()},info:function(e,t){return D>=i&&console.info(e,t),Promise.resolve()},error:function(e,t){return console.error(e,t),Promise.resolve()}}),responsesCache:u(),requestsCache:u({serializable:!1}),hostsCache:c({caches:[s({key:"".concat("4.5.1","-").concat(e)}),u()]}),userAgent:E("4.5.1").add({segment:"Browser",version:"lite"}),authMode:l.WithinQueryParameters};return N(n(n(n({},a),r),{},{methods:{search:A,searchForFacetValues:S,multipleQueries:A,multipleSearchForFacetValues:S,initIndex:function(e){return function(t){return H(e)(t,{methods:{search:Q,searchForFacetValues:C}})}}}}))}return I.version="4.5.1",I}()}}]); \ No newline at end of file diff --git a/100.72b08c28.js.LICENSE.txt b/100.72b08c28.js.LICENSE.txt new file mode 100644 index 00000000..91e0dd06 --- /dev/null +++ b/100.72b08c28.js.LICENSE.txt @@ -0,0 +1 @@ +/*! algoliasearch-lite.umd.js | 4.5.1 | © Algolia, inc. | https://github.com/algolia/algoliasearch-client-javascript */ diff --git a/101.54e77563.js b/101.54e77563.js new file mode 100644 index 00000000..f0cf2771 --- /dev/null +++ b/101.54e77563.js @@ -0,0 +1,2 @@ +/*! For license information please see 101.54e77563.js.LICENSE.txt */ +(window.webpackJsonp=window.webpackJsonp||[]).push([[101],{170:function(e,t,r){"use strict";function n(e,t){return t||(t=e.slice(0)),e.raw=t,e}r.d(t,"a",(function(){return n}))},171:function(e,t,r){"use strict";(function(e){var n=r(230),a=r.n(n),o=r(231),i=r.n(o),s=r(0),c=r.n(s),l=r(232),u=r(22),f=r(233),d=(r(8),r(234)),h=r(235),p=function(e,t){for(var r=[e[0]],n=0,a=t.length;n1?n-1:0),o=1;o0?" Additional arguments: "+a.join(", "):"")));return w(i)}return b(t,e),t}(Error),N=/^[^\S\n]*?\/\* sc-component-id:\s*(\S+)\s+\*\//gm,M=function(e){var t=""+(e||""),r=[];return t.replace(N,(function(e,t,n){return r.push({componentId:t,matchIndex:n}),e})),r.map((function(e,n){var a=e.componentId,o=e.matchIndex,i=r[n+1];return{componentId:a,cssFromDOM:i?t.slice(o,i.matchIndex):t.slice(o)}}))},L=/^\s*\/\/.*$/gm,D=new a.a({global:!1,cascade:!0,keyframe:!1,prefix:!1,compress:!1,semicolon:!0}),$=new a.a({global:!1,cascade:!0,keyframe:!1,prefix:!0,compress:!1,semicolon:!1}),F=[],_=function(e){if(-2===e){var t=F;return F=[],t}},H=i()((function(e){F.push(e)})),z=void 0,B=void 0,G=void 0,W=function(e,t,r){return t>0&&-1!==r.slice(0,t).indexOf(B)&&r.slice(t-B.length,t)!==B?"."+z:e};$.use([function(e,t,r){2===e&&r.length&&r[0].lastIndexOf(B)>0&&(r[0]=r[0].replace(G,W))},H,_]),D.use([H,_]);var q=function(e){return D("",e)};function U(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"&",a=e.join("").replace(L,""),o=t&&r?r+" "+t+" { "+a+" }":a;return z=n,B=t,G=new RegExp("\\"+B+"\\b","g"),$(r||!t?"":t,o)}var Y=function(){return r.nc},V=function(e,t,r){r&&((e[t]||(e[t]=Object.create(null)))[r]=!0)},X=function(e,t){e[t]=Object.create(null)},J=function(e){return function(t,r){return void 0!==e[t]&&e[t][r]}},Z=function(e){var t="";for(var r in e)t+=Object.keys(e[r]).join(" ")+" ";return t.trim()},K=function(e){if(e.sheet)return e.sheet;for(var t=e.ownerDocument.styleSheets.length,r=0;r"+e()+""}},ne=function(e,t){return function(){var r,n=((r={})[I]=Z(t),r[j]="4.4.1",r),a=Y();return a&&(n.nonce=a),c.a.createElement("style",y({},n,{dangerouslySetInnerHTML:{__html:e()}}))}},ae=function(e){return function(){return Object.keys(e)}},oe=function(e,t){return e.createTextNode(ee(t))},ie=function e(t,r){var n=void 0===t?Object.create(null):t,a=void 0===r?Object.create(null):r,o=function(e){var t=a[e];return void 0!==t?t:a[e]=[""]},i=function(){var e="";for(var t in a){var r=a[t][0];r&&(e+=ee(t)+r)}return e};return{clone:function(){var t=function(e){var t=Object.create(null);for(var r in e)t[r]=y({},e[r]);return t}(n),r=Object.create(null);for(var o in a)r[o]=[a[o][0]];return e(t,r)},css:i,getIds:ae(a),hasNameForId:J(n),insertMarker:o,insertRules:function(e,t,r){o(e)[0]+=t.join(" "),V(n,e,r)},removeRules:function(e){var t=a[e];void 0!==t&&(t[0]="",X(n,e))},sealed:!1,styleTag:null,toElement:ne(i,n),toHTML:re(i,n)}},se=function(e,t,r,n,a){if(E&&!r){var o=function(e,t,r){var n=document;e?n=e.ownerDocument:t&&(n=t.ownerDocument);var a=n.createElement("style");a.setAttribute(I,""),a.setAttribute(j,"4.4.1");var o=Y();if(o&&a.setAttribute("nonce",o),a.appendChild(n.createTextNode("")),e&&!t)e.appendChild(a);else{if(!t||!e||!t.parentNode)throw new P(6);t.parentNode.insertBefore(a,r?t:t.nextSibling)}return a}(e,t,n);return R?function(e,t){var r=Object.create(null),n=Object.create(null),a=void 0!==t,o=!1,i=function(t){var a=n[t];return void 0!==a?a:(n[t]=oe(e.ownerDocument,t),e.appendChild(n[t]),r[t]=Object.create(null),n[t])},s=function(){var e="";for(var t in n)e+=n[t].data;return e};return{clone:function(){throw new P(5)},css:s,getIds:ae(n),hasNameForId:J(r),insertMarker:i,insertRules:function(e,n,s){for(var c=i(e),l=[],u=n.length,f=0;f0&&(o=!0,t().insertRules(e+"-import",l))},removeRules:function(i){var s=n[i];if(void 0!==s){var c=oe(e.ownerDocument,i);e.replaceChild(c,s),n[i]=c,X(r,i),a&&o&&t().removeRules(i+"-import")}},sealed:!1,styleTag:e,toElement:ne(s,r),toHTML:re(s,r)}}(o,a):function(e,t){var r=Object.create(null),n=Object.create(null),a=[],o=void 0!==t,i=!1,s=function(e){var t=n[e];return void 0!==t?t:(n[e]=a.length,a.push(0),X(r,e),n[e])},c=function(){var t=K(e).cssRules,r="";for(var o in n){r+=ee(o);for(var i=n[o],s=te(a,i),c=s-a[i];c0&&(i=!0,t().insertRules(n+"-import",p)),a[u]+=h,V(r,n,l)},removeRules:function(s){var c=n[s];if(void 0!==c&&!1!==e.isConnected){var l=a[c];!function(e,t,r){for(var n=t-r,a=t;a>n;a-=1)e.deleteRule(a)}(K(e),te(a,c)-1,l),a[c]=0,X(r,s),o&&i&&t().removeRules(s+"-import")}},sealed:!1,styleTag:e,toElement:ne(c,r),toHTML:re(c,r)}}(o,a)}return ie()},ce=/\s+/,le=void 0;le=E?R?40:1e3:-1;var ue=0,fe=void 0,de=function(){function e(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:E?document.head:null,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];g(this,e),this.getImportRuleTag=function(){var e=t.importRuleTag;if(void 0!==e)return e;var r=t.tags[0];return t.importRuleTag=se(t.target,r?r.styleTag:null,t.forceServer,!0)},ue+=1,this.id=ue,this.forceServer=n,this.target=n?null:r,this.tagMap={},this.deferred={},this.rehydratedNames={},this.ignoreRehydratedNames={},this.tags=[],this.capacity=1,this.clones=[]}return e.prototype.rehydrate=function(){if(!E||this.forceServer)return this;var e=[],t=[],r=!1,n=document.querySelectorAll("style["+I+"]["+j+'="4.4.1"]'),a=n.length;if(!a)return this;for(var o=0;o0&&void 0!==arguments[0]&&arguments[0];fe=new e(void 0,t).rehydrate()},e.prototype.clone=function(){var t=new e(this.target,this.forceServer);return this.clones.push(t),t.tags=this.tags.map((function(e){for(var r=e.getIds(),n=e.clone(),a=0;a1?t-1:0),n=1;n2&&void 0!==arguments[2]?arguments[2]:A;if(!Object(u.isValidElementType)(t))throw new P(1,String(t));var n=function(){return e(t,r,we.apply(void 0,arguments))};return n.withConfig=function(n){return ke(e,t,y({},r,n))},n.attrs=function(n){return ke(e,t,y({},r,{attrs:Array.prototype.concat(r.attrs,n).filter(Boolean)}))},n}function Ce(e){for(var t,r=0|e.length,n=0|r,a=0;r>=4;)t=1540483477*(65535&(t=255&e.charCodeAt(a)|(255&e.charCodeAt(++a))<<8|(255&e.charCodeAt(++a))<<16|(255&e.charCodeAt(++a))<<24))+((1540483477*(t>>>16)&65535)<<16),n=1540483477*(65535&n)+((1540483477*(n>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),r-=4,++a;switch(r){case 3:n^=(255&e.charCodeAt(a+2))<<16;case 2:n^=(255&e.charCodeAt(a+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(a)))+((1540483477*(n>>>16)&65535)<<16)}return((n=1540483477*(65535&(n^=n>>>13))+((1540483477*(n>>>16)&65535)<<16))^n>>>15)>>>0}var Ae=function(e){return String.fromCharCode(e+(e>25?39:97))};function xe(e){var t="",r=void 0;for(r=e;r>52;r=Math.floor(r/52))t=Ae(r%52)+t;return Ae(r%52)+t}function Se(e,t){for(var r=0;r2&&void 0!==arguments[2]?arguments[2]:A,n=!!r&&e.theme===r.theme,a=e.theme&&!n?e.theme:t||r.theme;return a},Ee=/[[\].#*$><+~=|^:(),"'`-]+/g,Re=/(^-|-$)/g;function Pe(e){return e.replace(Ee,"-").replace(Re,"")}function Ne(e){return"string"==typeof e&&!0}var Me={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDerivedStateFromProps:!0,propTypes:!0,type:!0},Le={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},De=((Oe={})[u.ForwardRef]={$$typeof:!0,render:!0},Oe),$e=Object.defineProperty,Fe=Object.getOwnPropertyNames,_e=Object.getOwnPropertySymbols,He=void 0===_e?function(){return[]}:_e,ze=Object.getOwnPropertyDescriptor,Be=Object.getPrototypeOf,Ge=Object.prototype,We=Array.prototype;function qe(e,t,r){if("string"!=typeof t){var n=Be(t);n&&n!==Ge&&qe(e,n,r);for(var a=We.concat(Fe(t),He(t)),o=De[e.$$typeof]||Me,i=De[t.$$typeof]||Me,s=a.length,c=void 0,l=void 0;s--;)if(l=a[s],!(Le[l]||r&&r[l]||i&&i[l]||o&&o[l])&&(c=ze(t,l)))try{$e(e,l,c)}catch(u){}return e}return e}var Ue=Object(s.createContext)(),Ye=Ue.Consumer,Ve=(function(e){function t(r){g(this,t);var n=w(this,e.call(this,r));return n.getContext=Object(f.a)(n.getContext.bind(n)),n.renderInner=n.renderInner.bind(n),n}b(t,e),t.prototype.render=function(){return this.props.children?c.a.createElement(Ue.Consumer,null,this.renderInner):null},t.prototype.renderInner=function(e){var t=this.getContext(this.props.theme,e);return c.a.createElement(Ue.Provider,{value:t},this.props.children)},t.prototype.getTheme=function(e,t){if(x(e))return e(t);if(null===e||Array.isArray(e)||"object"!==(void 0===e?"undefined":m(e)))throw new P(8);return y({},t,e)},t.prototype.getContext=function(e,t){return this.getTheme(e,t)}}(s.Component),function(){function e(){g(this,e),this.masterSheet=de.master,this.instance=this.masterSheet.clone(),this.sealed=!1}e.prototype.seal=function(){if(!this.sealed){var e=this.masterSheet.clones.indexOf(this.instance);this.masterSheet.clones.splice(e,1),this.sealed=!0}},e.prototype.collectStyles=function(e){if(this.sealed)throw new P(2);return c.a.createElement(Je,{sheet:this.instance},e)},e.prototype.getStyleTags=function(){return this.seal(),this.instance.toHTML()},e.prototype.getStyleElement=function(){return this.seal(),this.instance.toReactElements()},e.prototype.interleaveWithNodeStream=function(e){throw new P(3)}}(),Object(s.createContext)()),Xe=Ve.Consumer,Je=function(e){function t(r){g(this,t);var n=w(this,e.call(this,r));return n.getContext=Object(f.a)(n.getContext),n}return b(t,e),t.prototype.getContext=function(e,t){if(e)return e;if(t)return new de(t);throw new P(4)},t.prototype.render=function(){var e=this.props,t=e.children,r=e.sheet,n=e.target;return c.a.createElement(Ve.Provider,{value:this.getContext(r,n)},t)},t}(s.Component),Ze={};var Ke=function(e){function t(){g(this,t);var r=w(this,e.call(this));return r.attrs={},r.renderOuter=r.renderOuter.bind(r),r.renderInner=r.renderInner.bind(r),r}return b(t,e),t.prototype.render=function(){return c.a.createElement(Xe,null,this.renderOuter)},t.prototype.renderOuter=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:de.master;return this.styleSheet=e,this.props.forwardedComponent.componentStyle.isStatic?this.renderInner():c.a.createElement(Ye,null,this.renderInner)},t.prototype.renderInner=function(e){var t=this.props.forwardedComponent,r=t.componentStyle,n=t.defaultProps,a=(t.displayName,t.foldedComponentIds),o=t.styledComponentId,i=t.target,c=void 0;c=r.isStatic?this.generateAndInjectStyles(A,this.props):this.generateAndInjectStyles(Te(this.props,e,n)||A,this.props);var l=this.props.as||this.attrs.as||i,u=Ne(l),f={},h=y({},this.props,this.attrs),p=void 0;for(p in h)"forwardedComponent"!==p&&"as"!==p&&("forwardedRef"===p?f.ref=h[p]:"forwardedAs"===p?f.as=h[p]:u&&!Object(d.a)(p)||(f[p]=h[p]));return this.props.style&&this.attrs.style&&(f.style=y({},this.attrs.style,this.props.style)),f.className=Array.prototype.concat(a,o,c!==o?c:null,this.props.className,this.attrs.className).filter(Boolean).join(" "),Object(s.createElement)(l,f)},t.prototype.buildExecutionContext=function(e,t,r){var n=this,a=y({},t,{theme:e});return r.length?(this.attrs={},r.forEach((function(e){var t,r=e,o=!1,i=void 0,s=void 0;for(s in x(r)&&(r=r(a),o=!0),r)i=r[s],o||!x(i)||(t=i)&&t.prototype&&t.prototype.isReactComponent||O(i)||(i=i(a)),n.attrs[s]=i,a[s]=i})),a):a},t.prototype.generateAndInjectStyles=function(e,t){var r=t.forwardedComponent,n=r.attrs,a=r.componentStyle;r.warnTooManyClasses;return a.isStatic&&!n.length?a.generateAndInjectStyles(A,this.styleSheet):a.generateAndInjectStyles(this.buildExecutionContext(e,t,n),this.styleSheet)},t}(s.Component);function Qe(e,t,r){var n=O(e),a=!Ne(e),o=t.displayName,i=void 0===o?function(e){return Ne(e)?"styled."+e:"Styled("+S(e)+")"}(e):o,s=t.componentId,l=void 0===s?function(e,t,r){var n="string"!=typeof t?"sc":Pe(t),a=(Ze[n]||0)+1;Ze[n]=a;var o=n+"-"+e.generateName(n+a);return r?r+"-"+o:o}(je,t.displayName,t.parentComponentId):s,u=t.ParentComponent,f=void 0===u?Ke:u,d=t.attrs,p=void 0===d?C:d,m=t.displayName&&t.componentId?Pe(t.displayName)+"-"+t.componentId:t.componentId||l,g=n&&e.attrs?Array.prototype.concat(e.attrs,p).filter(Boolean):p,v=new je(n?e.componentStyle.rules.concat(r):r,g,m),b=void 0,w=function(e,t){return c.a.createElement(f,y({},e,{forwardedComponent:b,forwardedRef:t}))};return w.displayName=i,(b=c.a.forwardRef(w)).displayName=i,b.attrs=g,b.componentStyle=v,b.foldedComponentIds=n?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):C,b.styledComponentId=m,b.target=n?e.target:e,b.withComponent=function(e){var n=t.componentId,a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(t,["componentId"]),o=n&&n+"-"+(Ne(e)?e:Pe(S(e)));return Qe(e,y({},a,{attrs:g,componentId:o,ParentComponent:f}),r)},Object.defineProperty(b,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=n?Object(h.a)(e.defaultProps,t):t}}),b.toString=function(){return"."+b.styledComponentId},a&&qe(b,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,styledComponentId:!0,target:!0,withComponent:!0}),b}var et=function(e){return ke(Qe,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){et[e]=et(e)}));!function(){function e(t,r){g(this,e),this.rules=t,this.componentId=r,this.isStatic=Se(t,C),de.master.hasId(r)||de.master.deferredInject(r,[])}e.prototype.createStyles=function(e,t){var r=U(be(this.rules,e,t),"");t.inject(this.componentId,r)},e.prototype.removeStyles=function(e){var t=this.componentId;e.hasId(t)&&e.remove(t)},e.prototype.renderStyles=function(e,t){this.removeStyles(t),this.createStyles(e,t)}}();E&&(window.scCGSHMRCache={});t.a=et}).call(this,r(229))},229:function(e,t){var r,n,a=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(e){if(r===setTimeout)return setTimeout(e,0);if((r===o||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:o}catch(e){r=o}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var c,l=[],u=!1,f=-1;function d(){u&&c&&(u=!1,c.length?l=c.concat(l):f=-1,l.length&&h())}function h(){if(!u){var e=s(d);u=!0;for(var t=l.length;t;){for(c=l,l=[];++f1)for(var r=1;r])/g,y=/([[}=:>])\s+/g,b=/(\{[^{]+?);(?=\})/g,w=/\s{2,}/g,k=/([^\(])(:+) */g,C=/[svh]\w+-[tblr]{2}/,A=/\(\s*(.*)\s*\)/g,x=/([\s\S]*?);/g,S=/-self|flex-/g,O=/[^]*?(:[rp][el]a[\w-]+)[^]*/,I=/stretch|:\s*\w+\-(?:conte|avail)/,j=/([^-])(image-set\()/,T="-webkit-",E="-moz-",R="-ms-",P=59,N=125,M=123,L=40,D=41,$=91,F=93,_=10,H=13,z=9,B=64,G=32,W=38,q=45,U=95,Y=42,V=44,X=58,J=39,Z=34,K=47,Q=62,ee=43,te=126,re=0,ne=12,ae=11,oe=107,ie=109,se=115,ce=112,le=111,ue=105,fe=99,de=100,he=112,pe=1,me=1,ge=0,ve=1,ye=1,be=1,we=0,ke=0,Ce=0,Ae=[],xe=[],Se=0,Oe=null,Ie=-2,je=-1,Te=0,Ee=1,Re=2,Pe=3,Ne=0,Me=1,Le="",De="",$e="";function Fe(e,t,a,o,i){for(var s,c,u=0,f=0,d=0,h=0,v=0,y=0,b=0,w=0,C=0,x=0,S=0,O=0,I=0,j=0,U=0,we=0,xe=0,Oe=0,Ie=0,je=a.length,He=je-1,Ue="",Ye="",Ve="",Xe="",Je="",Ze="";U0&&(Ye=Ye.replace(n,"")),Ye.trim().length>0)){switch(b){case G:case z:case P:case H:case _:break;default:Ye+=a.charAt(U)}b=P}if(1===xe)switch(b){case M:case N:case P:case Z:case J:case L:case D:case V:xe=0;case z:case H:case _:case G:break;default:for(xe=0,Ie=U,v=b,U--,b=P;Ie0&&(++U,b=v);case M:Ie=je}}switch(b){case M:for(v=(Ye=Ye.trim()).charCodeAt(0),S=1,Ie=++U;U0&&(Ye=Ye.replace(n,"")),y=Ye.charCodeAt(1)){case de:case ie:case se:case q:s=t;break;default:s=Ae}if(Ie=(Ve=Fe(t,s,Ve,y,i+1)).length,Ce>0&&0===Ie&&(Ie=Ye.length),Se>0&&(s=_e(Ae,Ye,Oe),c=We(Pe,Ve,s,t,me,pe,Ie,y,i,o),Ye=s.join(""),void 0!==c&&0===(Ie=(Ve=c.trim()).length)&&(y=0,Ve="")),Ie>0)switch(y){case se:Ye=Ye.replace(A,Ge);case de:case ie:case q:Ve=Ye+"{"+Ve+"}";break;case oe:Ve=(Ye=Ye.replace(p,"$1 $2"+(Me>0?Le:"")))+"{"+Ve+"}",Ve=1===ye||2===ye&&Be("@"+Ve,3)?"@"+T+Ve+"@"+Ve:"@"+Ve;break;default:Ve=Ye+Ve,o===he&&(Xe+=Ve,Ve="")}else Ve="";break;default:Ve=Fe(t,_e(t,Ye,Oe),Ve,o,i+1)}Je+=Ve,O=0,xe=0,j=0,we=0,Oe=0,I=0,Ye="",Ve="",b=a.charCodeAt(++U);break;case N:case P:if((Ie=(Ye=(we>0?Ye.replace(n,""):Ye).trim()).length)>1)switch(0===j&&((v=Ye.charCodeAt(0))===q||v>96&&v<123)&&(Ie=(Ye=Ye.replace(" ",":")).length),Se>0&&void 0!==(c=We(Ee,Ye,t,e,me,pe,Xe.length,o,i,o))&&0===(Ie=(Ye=c.trim()).length)&&(Ye="\0\0"),v=Ye.charCodeAt(0),y=Ye.charCodeAt(1),v){case re:break;case B:if(y===ue||y===fe){Ze+=Ye+a.charAt(U);break}default:if(Ye.charCodeAt(Ie-1)===X)break;Xe+=ze(Ye,v,y,Ye.charCodeAt(2))}O=0,xe=0,j=0,we=0,Oe=0,Ye="",b=a.charCodeAt(++U)}}switch(b){case H:case _:if(f+h+d+u+ke===0)switch(x){case D:case J:case Z:case B:case te:case Q:case Y:case ee:case K:case q:case X:case V:case P:case M:case N:break;default:j>0&&(xe=1)}f===K?f=0:ve+O===0&&o!==oe&&Ye.length>0&&(we=1,Ye+="\0"),Se*Ne>0&&We(Te,Ye,t,e,me,pe,Xe.length,o,i,o),pe=1,me++;break;case P:case N:if(f+h+d+u===0){pe++;break}default:switch(pe++,Ue=a.charAt(U),b){case z:case G:if(h+u+f===0)switch(w){case V:case X:case z:case G:Ue="";break;default:b!==G&&(Ue=" ")}break;case re:Ue="\\0";break;case ne:Ue="\\f";break;case ae:Ue="\\v";break;case W:h+f+u===0&&ve>0&&(Oe=1,we=1,Ue="\f"+Ue);break;case 108:if(h+f+u+ge===0&&j>0)switch(U-j){case 2:w===ce&&a.charCodeAt(U-3)===X&&(ge=w);case 8:C===le&&(ge=C)}break;case X:h+f+u===0&&(j=U);break;case V:f+d+h+u===0&&(we=1,Ue+="\r");break;case Z:case J:0===f&&(h=h===b?0:0===h?b:h);break;case $:h+f+d===0&&u++;break;case F:h+f+d===0&&u--;break;case D:h+f+u===0&&d--;break;case L:if(h+f+u===0){if(0===O)switch(2*w+3*C){case 533:break;default:S=0,O=1}d++}break;case B:f+d+h+u+j+I===0&&(I=1);break;case Y:case K:if(h+u+d>0)break;switch(f){case 0:switch(2*b+3*a.charCodeAt(U+1)){case 235:f=K;break;case 220:Ie=U,f=Y}break;case Y:b===K&&w===Y&&Ie+2!==U&&(33===a.charCodeAt(Ie+2)&&(Xe+=a.substring(Ie,U+1)),Ue="",f=0)}}if(0===f){if(ve+h+u+I===0&&o!==oe&&b!==P)switch(b){case V:case te:case Q:case ee:case D:case L:if(0===O){switch(w){case z:case G:case _:case H:Ue+="\0";break;default:Ue="\0"+Ue+(b===V?"":"\0")}we=1}else switch(b){case L:j+7===U&&108===w&&(j=0),O=++S;break;case D:0==(O=--S)&&(we=1,Ue+="\0")}break;case z:case G:switch(w){case re:case M:case N:case P:case V:case ne:case z:case G:case _:case H:break;default:0===O&&(we=1,Ue+="\0")}}Ye+=Ue,b!==G&&b!==z&&(x=b)}}C=w,w=b,U++}if(Ie=Xe.length,Ce>0&&0===Ie&&0===Je.length&&0===t[0].length==0&&(o!==ie||1===t.length&&(ve>0?De:$e)===t[0])&&(Ie=t.join(",").length+2),Ie>0){if(s=0===ve&&o!==oe?function(e){for(var t,r,a=0,o=e.length,i=Array(o);a1)){if(d=c.charCodeAt(c.length-1),h=r.charCodeAt(0),t="",0!==u)switch(d){case Y:case te:case Q:case ee:case G:case L:break;default:t=" "}switch(h){case W:r=t+De;case te:case Q:case ee:case G:case D:case L:break;case $:r=t+r+De;break;case X:switch(2*r.charCodeAt(1)+3*r.charCodeAt(2)){case 530:if(be>0){r=t+r.substring(8,f-1);break}default:(u<1||s[u-1].length<1)&&(r=t+De+r)}break;case V:t="";default:r=f>1&&r.indexOf(":")>0?t+r.replace(k,"$1"+De+"$2"):t+r+De}c+=r}i[a]=c.replace(n,"").trim()}return i}(t):t,Se>0&&void 0!==(c=We(Re,Xe,s,e,me,pe,Ie,o,i,o))&&0===(Xe=c).length)return Ze+Xe+Je;if(Xe=s.join(",")+"{"+Xe+"}",ye*ge!=0){switch(2!==ye||Be(Xe,2)||(ge=0),ge){case le:Xe=Xe.replace(g,":"+E+"$1")+Xe;break;case ce:Xe=Xe.replace(m,"::"+T+"input-$1")+Xe.replace(m,"::"+E+"$1")+Xe.replace(m,":"+R+"input-$1")+Xe}ge=0}}return Ze+Xe+Je}function _e(e,t,r){var n=t.trim().split(u),a=n,o=n.length,i=e.length;switch(i){case 0:case 1:for(var s=0,c=0===i?"":e[0]+" ";s0&&ve>0)return a.replace(d,"$1").replace(f,"$1"+$e);break;default:return e.trim()+a.replace(f,"$1"+e.trim())}default:if(r*ve>0&&a.indexOf("\f")>0)return a.replace(f,(e.charCodeAt(0)===X?"":"$1")+e.trim())}return e+a}function ze(e,t,r,n){var l,u=0,f=e+";",d=2*t+3*r+4*n;if(944===d)return function(e){var t=e.length,r=e.indexOf(":",9)+1,n=e.substring(0,r).trim(),a=e.substring(r,t-1).trim();switch(e.charCodeAt(9)*Me){case 0:break;case q:if(110!==e.charCodeAt(10))break;default:var o=a.split((a="",s)),i=0;for(r=0,t=o.length;iB&&f<90||f>96&&f<123||f===U||f===q&&l.charCodeAt(1)!==q))switch(isNaN(parseFloat(l))+(-1!==l.indexOf("("))){case 1:switch(l){case"infinite":case"alternate":case"backwards":case"running":case"normal":case"forwards":case"both":case"none":case"linear":case"ease":case"ease-in":case"ease-out":case"ease-in-out":case"paused":case"reverse":case"alternate-reverse":case"inherit":case"initial":case"unset":case"step-start":case"step-end":break;default:l+=Le}}u[r++]=l}a+=(0===i?"":",")+u.join(" ")}}return a=n+a+";",1===ye||2===ye&&Be(a,1)?T+a+a:a}(f);if(0===ye||2===ye&&!Be(f,1))return f;switch(d){case 1015:return 97===f.charCodeAt(10)?T+f+f:f;case 951:return 116===f.charCodeAt(3)?T+f+f:f;case 963:return 110===f.charCodeAt(5)?T+f+f:f;case 1009:if(100!==f.charCodeAt(4))break;case 969:case 942:return T+f+f;case 978:return T+f+E+f+f;case 1019:case 983:return T+f+E+f+R+f+f;case 883:return f.charCodeAt(8)===q?T+f+f:f.indexOf("image-set(",11)>0?f.replace(j,"$1"+T+"$2")+f:f;case 932:if(f.charCodeAt(4)===q)switch(f.charCodeAt(5)){case 103:return T+"box-"+f.replace("-grow","")+T+f+R+f.replace("grow","positive")+f;case 115:return T+f+R+f.replace("shrink","negative")+f;case 98:return T+f+R+f.replace("basis","preferred-size")+f}return T+f+R+f+f;case 964:return T+f+R+"flex-"+f+f;case 1023:if(99!==f.charCodeAt(8))break;return l=f.substring(f.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),T+"box-pack"+l+T+f+R+"flex-pack"+l+f;case 1005:return o.test(f)?f.replace(a,":"+T)+f.replace(a,":"+E)+f:f;case 1e3:switch(u=(l=f.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(u)){case 226:l=f.replace(C,"tb");break;case 232:l=f.replace(C,"tb-rl");break;case 220:l=f.replace(C,"lr");break;default:return f}return T+f+R+l+f;case 1017:if(-1===f.indexOf("sticky",9))return f;case 975:switch(u=(f=e).length-10,d=(l=(33===f.charCodeAt(u)?f.substring(0,u):f).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(l.charCodeAt(8)<111)break;case 115:f=f.replace(l,T+l)+";"+f;break;case 207:case 102:f=f.replace(l,T+(d>102?"inline-":"")+"box")+";"+f.replace(l,T+l)+";"+f.replace(l,R+l+"box")+";"+f}return f+";";case 938:if(f.charCodeAt(5)===q)switch(f.charCodeAt(6)){case 105:return l=f.replace("-items",""),T+f+T+"box-"+l+R+"flex-"+l+f;case 115:return T+f+R+"flex-item-"+f.replace(S,"")+f;default:return T+f+R+"flex-line-pack"+f.replace("align-content","").replace(S,"")+f}break;case 973:case 989:if(f.charCodeAt(3)!==q||122===f.charCodeAt(4))break;case 931:case 953:if(!0===I.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?ze(e.replace("stretch","fill-available"),t,r,n).replace(":fill-available",":stretch"):f.replace(l,T+l)+f.replace(l,E+l.replace("fill-",""))+f;break;case 962:if(f=T+f+(102===f.charCodeAt(5)?R+f:"")+f,r+n===211&&105===f.charCodeAt(13)&&f.indexOf("transform",10)>0)return f.substring(0,f.indexOf(";",27)+1).replace(i,"$1"+T+"$2")+f}return f}function Be(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10),a=e.substring(r+1,e.length-1);return Oe(2!==t?n:n.replace(O,"$1"),a,t)}function Ge(e,t){var r=ze(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(x," or ($1)").substring(4):"("+t+")"}function We(e,t,r,n,a,o,i,s,c,l){for(var u,f=0,d=t;f0&&(Le=a.replace(h,o===$?"":"-")),o=1,1===ve?$e=a:De=a;var i,s=[$e];Se>0&&void 0!==(i=We(je,r,s,s,me,pe,0,0,0,0))&&"string"==typeof i&&(r=i);var c=Fe(Ae,s,r,0,0);return Se>0&&void 0!==(i=We(Ie,c,s,s,me,pe,c.length,0,0,0))&&"string"!=typeof(c=i)&&(o=0),Le="",$e="",De="",ge=0,me=1,pe=1,we*o==0?c:c.replace(n,"").replace(v,"").replace(y,"$1").replace(b,"$1").replace(w," ")}return Ye.use=function e(t){switch(t){case void 0:case null:Se=xe.length=0;break;default:if("function"==typeof t)xe[Se++]=t;else if("object"==typeof t)for(var r=0,n=t.length;r=n?null===r?null:0:o}function l(e){var t=e.state,n=function(e){var t=e.state,n=t.suggestions.map((function(e){return e.items.length})).reduce((function(e,t,n){var r=(e[n-1]||0)+t;return e.push(r),e}),[]).reduce((function(e,n){return n<=t.highlightedIndex?e+1:e}),0);return t.suggestions[n]}({state:t});if(!n)return null;var r=n.items[function(e){for(var t=e.state,n=e.suggestion,r=!1,o=0,a=0;!1===r;){var s=t.suggestions[o];if(s===n){r=!0;break}a+=s.items.length,o++}return t.highlightedIndex-a}({state:t,suggestion:n})],o=n.source;return{item:r,itemValue:o.getInputValue({suggestion:r,state:t}),itemUrl:o.getSuggestionUrl({suggestion:r,state:t}),source:o}}function h(e,t){return e===t||e.contains&&e.contains(t)}function g(e){var t=e.state;if(!1===e.props.enableCompletion||!1===t.isOpen||null===t.highlightedIndex||"stalled"===t.status)return null;var n=l({state:t}).itemValue;if(t.query.length>0&&0===n.toLocaleLowerCase().indexOf(t.query.toLocaleLowerCase())){var r=t.query+n.slice(t.query.length);return r===t.query?null:r}return null}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function k(e){for(var t=1;t0)&&D({query:t.getState().query,store:t,props:n,setHighlightedIndex:r,setQuery:o,setSuggestions:a,setIsOpen:s,setStatus:i,setContext:c}),t.send("focus",null)}var h="ontouchstart"in n.environment,m=e||{},p=(m.inputElement,m.maxLength),f=void 0===p?512:p,d=I(m,["inputElement","maxLength"]);return k({"aria-autocomplete":n.enableCompletion?"both":"list","aria-activedescendant":t.getState().isOpen&&null!==t.getState().highlightedIndex?"".concat(n.id,"-item-").concat(t.getState().highlightedIndex):void 0,"aria-controls":t.getState().isOpen?"".concat(n.id,"-menu"):void 0,"aria-labelledby":"".concat(n.id,"-label"),value:t.getState().query,id:"".concat(n.id,"-input"),autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:"false",autoFocus:n.autoFocus,placeholder:n.placeholder,maxLength:f,type:"search",onChange:function(e){D({query:e.currentTarget.value.slice(0,f),store:t,props:n,setHighlightedIndex:r,setQuery:o,setSuggestions:a,setIsOpen:s,setStatus:i,setContext:c})},onKeyDown:function(e){!function(e){var t=e.event,n=e.store,r=e.props,o=e.setHighlightedIndex,a=e.setQuery,s=e.setSuggestions,i=e.setIsOpen,c=e.setStatus,u=e.setContext;if("ArrowUp"===t.key||"ArrowDown"===t.key){t.preventDefault(),n.send(t.key,{shiftKey:t.shiftKey});var h=r.environment.document.getElementById("".concat(r.id,"-item-").concat(n.getState().highlightedIndex));null==h||h.scrollIntoView(!1);var m=l({state:n.getState()});if(null!==n.getState().highlightedIndex&&m){var p=m.item,f=m.itemValue,d=m.itemUrl,v=m.source;v.onHighlight({suggestion:p,suggestionValue:f,suggestionUrl:d,source:v,state:n.getState(),setHighlightedIndex:o,setQuery:a,setSuggestions:s,setIsOpen:i,setStatus:c,setContext:u,event:t})}}else if(("Tab"===t.key||"ArrowRight"===t.key&&t.target.selectionStart===n.getState().query.length)&&r.enableCompletion&&null!==n.getState().highlightedIndex){t.preventDefault();var y=g({state:n.getState(),props:r});y&&D({query:y,store:n,props:r,setHighlightedIndex:o,setQuery:a,setSuggestions:s,setIsOpen:i,setStatus:c,setContext:u})}else if("Escape"===t.key)t.preventDefault(),n.send(t.key,null);else if("Enter"===t.key){if(null===n.getState().highlightedIndex||n.getState().suggestions.every((function(e){return 0===e.items.length})))return;t.preventDefault();var b=l({state:n.getState()}),O=b.item,S=b.itemValue,E=b.itemUrl,w=b.source;t.metaKey||t.ctrlKey?void 0!==E&&r.navigator.navigateNewTab({suggestionUrl:E,suggestion:O,state:n.getState()}):t.shiftKey?void 0!==E&&r.navigator.navigateNewWindow({suggestionUrl:E,suggestion:O,state:n.getState()}):t.altKey||(D({query:S,store:n,props:r,setHighlightedIndex:o,setQuery:a,setSuggestions:s,setIsOpen:i,setStatus:c,setContext:u,nextState:{isOpen:!1}}).then((function(){w.onSelect({suggestion:O,suggestionValue:S,suggestionUrl:E,source:w,state:n.getState(),setHighlightedIndex:o,setQuery:a,setSuggestions:s,setIsOpen:i,setStatus:c,setContext:u,event:t})})),void 0!==E&&r.navigator.navigate({suggestionUrl:E,suggestion:O,state:n.getState()}))}}({event:e,store:t,props:n,setHighlightedIndex:r,setQuery:o,setSuggestions:a,setIsOpen:s,setStatus:i,setContext:c})},onFocus:u,onBlur:function(){h||t.send("blur",null)},onClick:function(){e.inputElement!==n.environment.document.activeElement||t.getState().isOpen||u()}},d)},getDropdownProps:function(e){return k({onMouseDown:function(e){e.preventDefault()},onMouseLeave:function(){t.send("mouseleave",null)}},e)},getMenuProps:function(e){return k({role:"listbox","aria-labelledby":"".concat(n.id,"-label"),id:"".concat(n.id,"-menu")},e)},getItemProps:function(e){var u=e.item,h=e.source,g=I(e,["item","source"]);return k({id:"".concat(n.id,"-item-").concat(u.__autocomplete_id),role:"option","aria-selected":t.getState().highlightedIndex===u.__autocomplete_id,onMouseMove:function(e){if(u.__autocomplete_id!==t.getState().highlightedIndex){t.send("mousemove",u.__autocomplete_id);var n=l({state:t.getState()});if(null!==t.getState().highlightedIndex&&n){var h=n.item,g=n.itemValue,m=n.itemUrl,p=n.source;p.onHighlight({suggestion:h,suggestionValue:g,suggestionUrl:m,source:p,state:t.getState(),setHighlightedIndex:r,setQuery:o,setSuggestions:a,setIsOpen:s,setStatus:i,setContext:c,event:e})}}},onMouseDown:function(e){e.preventDefault()},onClick:function(e){if(void 0===h.getSuggestionUrl({suggestion:u,state:t.getState()})&&!function(e){return 1===e.button||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey}(e)){var l=h.getInputValue({suggestion:u,state:t.getState()});D({query:l,store:t,props:n,setHighlightedIndex:r,setQuery:o,setSuggestions:a,setIsOpen:s,setStatus:i,setContext:c,nextState:{isOpen:!1}}).then((function(){h.onSelect({suggestion:u,suggestionValue:l,suggestionUrl:h.getSuggestionUrl({suggestion:u,state:t.getState()}),source:h,state:t.getState(),setHighlightedIndex:r,setQuery:o,setSuggestions:a,setIsOpen:s,setStatus:i,setContext:c,event:e})}))}}},g)}}}function q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t0});case"blur":return A(A({},t),{},{isOpen:!1,highlightedIndex:null});case"mousemove":return A(A({},t),{},{highlightedIndex:e.value});case"mouseleave":return A(A({},t),{},{highlightedIndex:n.defaultHighlightedIndex});default:return t}};function T(e){var t=function(e){var t,n,r="undefined"!=typeof window?window:{};return S(S({openOnFocus:!1,placeholder:"",autoFocus:!1,defaultHighlightedIndex:null,enableCompletion:!1,stallThreshold:300,environment:r,shouldDropdownShow:function(e){return i(e.state)>0},onStateChange:a,onSubmit:a},e),{},{id:null!==(t=e.id)&&void 0!==t?t:"autocomplete-".concat(s++),initialState:S({highlightedIndex:null,query:"",completion:null,suggestions:[],isOpen:!1,status:"idle",statusContext:{},context:{}},e.initialState),getSources:(n=e.getSources,function(e){return Promise.resolve(n(e)).then((function(e){return Promise.all(e.filter(Boolean).map((function(e){return Promise.resolve(c(e))})))}))}),navigator:S({navigate:function(e){var t=e.suggestionUrl;r.location.assign(t)},navigateNewTab:function(e){var t=e.suggestionUrl,n=r.open(t,"_blank","noopener");n&&n.focus()},navigateNewWindow:function(e){var t=e.suggestionUrl;r.open(t,"_blank","noopener")}},e.navigator)})}(e),n=d(R,t),r=function(e){var t=e.store;return{setHighlightedIndex:function(e){t.send("setHighlightedIndex",e)},setQuery:function(e){t.send("setQuery",e)},setSuggestions:function(e){var n=0,r=e.map((function(e){return y(y({},e),{},{items:e.items.map((function(e){return y(y({},e),{},{__autocomplete_id:n++})}))})}));t.send("setSuggestions",r)},setIsOpen:function(e){t.send("setIsOpen",e)},setStatus:function(e){t.send("setStatus",e)},setContext:function(e){t.send("setContext",e)}}}({store:n}),o=r.setHighlightedIndex,u=r.setQuery,l=r.setSuggestions,h=r.setIsOpen,g=r.setStatus,m=r.setContext,p=H({store:n,props:t,setHighlightedIndex:o,setQuery:u,setSuggestions:l,setIsOpen:h,setStatus:g,setContext:m}),f=p.getEnvironmentProps,v=p.getRootProps,b=p.getFormProps,O=p.getLabelProps,E=p.getInputProps,w=p.getDropdownProps,P=p.getMenuProps,j=p.getItemProps;return{setHighlightedIndex:o,setQuery:u,setSuggestions:l,setIsOpen:h,setStatus:g,setContext:m,getEnvironmentProps:f,getRootProps:v,getFormProps:b,getInputProps:E,getLabelProps:O,getDropdownProps:w,getMenuProps:P,getItemProps:j,refresh:function(){return D({query:n.getState().query,store:n,props:t,setHighlightedIndex:o,setQuery:u,setSuggestions:l,setIsOpen:h,setStatus:g,setContext:m})}}}function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t",highlightPostTag:""},e.params)}})))}var U=n(0),V=n.n(U);function Q(){return V.a.createElement("a",{href:"https://www.algolia.com/docsearch",target:"_blank",rel:"noopener noreferrer"},V.a.createElement("span",{className:"DocSearch-Label"},"Search by"),V.a.createElement("svg",{width:"77",height:"19"},V.a.createElement("path",{d:"M2.5067 0h14.0245c1.384.001 2.5058 1.1205 2.5068 2.5017V16.5c-.0014 1.3808-1.1232 2.4995-2.5068 2.5H2.5067C1.1232 18.9995.0014 17.8808 0 16.5V2.4958A2.495 2.495 0 01.735.7294 2.505 2.505 0 012.5068 0zM37.95 15.0695c-3.7068.0168-3.7068-2.986-3.7068-3.4634L34.2372.3576 36.498 0v11.1794c0 .2715 0 1.9889 1.452 1.994v1.8961zm-9.1666-1.8388c.694 0 1.2086-.0397 1.5678-.1088v-2.2934a5.3639 5.3639 0 00-1.3303-.1679 4.8283 4.8283 0 00-.758.0582 2.2845 2.2845 0 00-.688.2024c-.2029.0979-.371.2362-.4919.4142-.1268.1788-.185.2826-.185.5533 0 .5297.185.8359.5205 1.0375.3355.2016.7928.3053 1.365.3053v-.0008zm-.1969-8.1817c.7463 0 1.3768.092 1.8856.2767.5088.1838.9195.4428 1.2204.7717.3068.334.5147.7777.6423 1.251.1327.4723.196.991.196 1.5603v5.798c-.5235.1036-1.05.192-1.5787.2649-.7048.1037-1.4976.156-2.3774.156-.5832 0-1.1215-.0582-1.6016-.167a3.385 3.385 0 01-1.2432-.5364 2.6034 2.6034 0 01-.8037-.9565c-.191-.3922-.29-.9447-.29-1.5208 0-.5533.11-.905.3246-1.2863a2.7351 2.7351 0 01.8849-.9329c.376-.242.8029-.415 1.2948-.5187a7.4517 7.4517 0 011.5381-.156 7.1162 7.1162 0 011.6667.2024V8.886c0-.259-.0296-.5061-.093-.7372a1.5847 1.5847 0 00-.3245-.6158 1.5079 1.5079 0 00-.6119-.4158 2.6788 2.6788 0 00-.966-.173c-.5206 0-.9948.0634-1.4283.1384a6.5481 6.5481 0 00-1.065.259l-.2712-1.849c.2831-.0986.7048-.1964 1.2491-.2943a9.2979 9.2979 0 011.752-.1501v.0008zm44.6597 8.1193c.6947 0 1.2086-.0405 1.567-.1097v-2.2942a5.3743 5.3743 0 00-1.3303-.1679c-.2485 0-.503.0177-.7573.0582a2.2853 2.2853 0 00-.688.2024 1.2333 1.2333 0 00-.4918.4142c-.1268.1788-.1843.2826-.1843.5533 0 .5297.1843.8359.5198 1.0375.3414.2066.7927.3053 1.365.3053v.0009zm-.191-8.1767c.7463 0 1.3768.0912 1.8856.2759.5087.1847.9195.4436 1.2204.7717.3.329.5147.7786.6414 1.251a5.7248 5.7248 0 01.197 1.562v5.7972c-.3466.0742-.874.1602-1.5788.2648-.7049.1038-1.4976.1552-2.3774.1552-.5832 0-1.1215-.0573-1.6016-.167a3.385 3.385 0 01-1.2432-.5356 2.6034 2.6034 0 01-.8038-.9565c-.191-.3922-.2898-.9447-.2898-1.5216 0-.5533.1098-.905.3245-1.2854a2.7373 2.7373 0 01.8849-.9338c.376-.2412.8029-.4141 1.2947-.5178a7.4545 7.4545 0 012.325-.1097c.2781.0287.5672.081.879.156v-.3686a2.7781 2.7781 0 00-.092-.738 1.5788 1.5788 0 00-.3246-.6166 1.5079 1.5079 0 00-.612-.415 2.6797 2.6797 0 00-.966-.1729c-.5205 0-.9947.0633-1.4282.1384a6.5608 6.5608 0 00-1.065.259l-.2712-1.8498c.283-.0979.7048-.1957 1.2491-.2935a9.8597 9.8597 0 011.752-.1494zm-6.79-1.072c-.7576.001-1.373-.6103-1.3759-1.3664 0-.755.6128-1.3664 1.376-1.3664.764 0 1.3775.6115 1.3775 1.3664s-.6195 1.3664-1.3776 1.3664zm1.1393 11.1507h-2.2726V5.3409l2.2734-.3568v10.0845l-.0008.0017zm-3.984 0c-3.707.0168-3.707-2.986-3.707-3.4642L59.7069.3576 61.9685 0v11.1794c0 .2715 0 1.9889 1.452 1.994V15.0703zm-7.3512-4.979c0-.975-.2138-1.7873-.6305-2.3516-.4167-.571-.9998-.852-1.747-.852-.7454 0-1.3302.281-1.7452.852-.4166.5702-.6195 1.3765-.6195 2.3516 0 .9851.208 1.6473.6254 2.2183.4158.576.9998.8587 1.7461.8587.7454 0 1.3303-.2885 1.747-.8595.4158-.5761.6237-1.2315.6237-2.2184v.0009zm2.3132-.006c0 .7609-.1099 1.3361-.3356 1.9654a4.654 4.654 0 01-.9533 1.6076A4.214 4.214 0 0155.613 14.69c-.579.2412-1.4697.3795-1.9143.3795-.4462-.005-1.3303-.1324-1.9033-.3795a4.307 4.307 0 01-1.474-1.0316c-.4115-.4445-.7293-.9801-.9609-1.6076a5.3423 5.3423 0 01-.3465-1.9653c0-.7608.104-1.493.3356-2.1155a4.683 4.683 0 01.9719-1.5958 4.3383 4.3383 0 011.479-1.0257c.5739-.242 1.2043-.3567 1.8864-.3567.6829 0 1.3125.1197 1.8906.3567a4.1245 4.1245 0 011.4816 1.0257 4.7587 4.7587 0 01.9592 1.5958c.2426.6225.3643 1.3547.3643 2.1155zm-17.0198 0c0 .9448.208 1.9932.6238 2.431.4166.4386.955.6579 1.6142.6579.3584 0 .6998-.0523 1.0176-.1502.3186-.0978.5721-.2134.775-.3517V7.0784a8.8706 8.8706 0 00-1.4926-.1906c-.8206-.0236-1.4452.312-1.8847.8468-.4335.5365-.6533 1.476-.6533 2.3516v-.0008zm6.2863 4.4485c0 1.5385-.3938 2.662-1.1866 3.3773-.791.7136-2.0005 1.0712-3.6308 1.0712-.5958 0-1.834-.1156-2.8228-.334l.3643-1.7865c.8282.173 1.9202.2193 2.4932.2193.9077 0 1.555-.1847 1.943-.5533.388-.3686.578-.916.578-1.643v-.3687a6.8289 6.8289 0 01-.8848.3349c-.3634.1096-.786.167-1.261.167-.6246 0-1.1917-.0979-1.7055-.2944a3.5554 3.5554 0 01-1.3244-.8645c-.3642-.3796-.6541-.8579-.8561-1.4289-.2028-.571-.3068-1.59-.3068-2.339 0-.7034.1099-1.5856.3245-2.1735.2198-.5871.5316-1.0949.9542-1.515.4167-.42.9255-.743 1.5213-.98a5.5923 5.5923 0 012.052-.3855c.7353 0 1.4114.092 2.0707.2024.6592.1088 1.2204.2236 1.6776.35v8.945-.0008zM11.5026 4.2418v-.6511c-.0005-.4553-.3704-.8241-.8266-.8241H8.749c-.4561 0-.826.3688-.8265.824v.669c0 .0742.0693.1264.1445.1096a6.0346 6.0346 0 011.6768-.2362 6.125 6.125 0 011.6202.2185.1116.1116 0 00.1386-.1097zm-5.2806.852l-.3296-.3282a.8266.8266 0 00-1.168 0l-.393.3922a.8199.8199 0 000 1.164l.3237.323c.0524.0515.1268.0397.1733-.0117.191-.259.3989-.507.6305-.7372.2374-.2362.48-.4437.7462-.6335.0575-.0354.0634-.1155.017-.1687zm3.5159 2.069v2.818c0 .081.0879.1392.1622.0987l2.5102-1.2964c.0574-.0287.0752-.0987.0464-.1552a3.1237 3.1237 0 00-2.603-1.574c-.0575 0-.115.0456-.115.1097l-.0008-.0009zm.0008 6.789c-2.0933.0005-3.7915-1.6912-3.7947-3.7804C5.9468 8.0821 7.6452 6.39 9.7387 6.391c2.0932-.0005 3.7911 1.6914 3.794 3.7804a3.7783 3.7783 0 01-1.1124 2.675 3.7936 3.7936 0 01-2.6824 1.1054h.0008zM9.738 4.8002c-1.9218 0-3.6975 1.0232-4.6584 2.6841a5.359 5.359 0 000 5.3683c.9609 1.661 2.7366 2.6841 4.6584 2.6841a5.3891 5.3891 0 003.8073-1.5725 5.3675 5.3675 0 001.578-3.7987 5.3574 5.3574 0 00-1.5771-3.797A5.379 5.379 0 009.7387 4.801l-.0008-.0008z",fill:"currentColor",fillRule:"evenodd"})))}function B(){return V.a.createElement(V.a.Fragment,null,V.a.createElement("div",{className:"DocSearch-Logo"},V.a.createElement(Q,null)),V.a.createElement("ul",{className:"DocSearch-Commands"},V.a.createElement("li",null,V.a.createElement("span",{className:"DocSearch-Commands-Key"},V.a.createElement(J,null,V.a.createElement("path",{d:"M12 3.53088v3c0 1-1 2-2 2H4M7 11.53088l-3-3 3-3"}))),V.a.createElement("span",{className:"DocSearch-Label"},"to select")),V.a.createElement("li",null,V.a.createElement("span",{className:"DocSearch-Commands-Key"},V.a.createElement(J,null,V.a.createElement("path",{d:"M7.5 3.5v8M10.5 8.5l-3 3-3-3"}))),V.a.createElement("span",{className:"DocSearch-Commands-Key"},V.a.createElement(J,null,V.a.createElement("path",{d:"M7.5 11.5v-8M10.5 6.5l-3-3-3 3"}))),V.a.createElement("span",{className:"DocSearch-Label"},"to navigate")),V.a.createElement("li",null,V.a.createElement("span",{className:"DocSearch-Commands-Key"},V.a.createElement(J,null,V.a.createElement("path",{d:"M13.6167 8.936c-.1065.3583-.6883.962-1.4875.962-.7993 0-1.653-.9165-1.653-2.1258v-.5678c0-1.2548.7896-2.1016 1.653-2.1016.8634 0 1.3601.4778 1.4875 1.0724M9 6c-.1352-.4735-.7506-.9219-1.46-.8972-.7092.0246-1.344.57-1.344 1.2166s.4198.8812 1.3445.9805C8.465 7.3992 8.968 7.9337 9 8.5c.032.5663-.454 1.398-1.4595 1.398C6.6593 9.898 6 9 5.963 8.4851m-1.4748.5368c-.2635.5941-.8099.876-1.5443.876s-1.7073-.6248-1.7073-2.204v-.4603c0-1.0416.721-2.131 1.7073-2.131.9864 0 1.6425 1.031 1.5443 2.2492h-2.956"}))),V.a.createElement("span",{className:"DocSearch-Label"},"to close"))))}function J(e){return V.a.createElement("svg",{width:"15",height:"15"},V.a.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.2"},e.children))}function K(e){var t=e.hit,n=e.children;return V.a.createElement("a",{href:t.url},n)}function W(){return V.a.createElement("svg",{width:"40",height:"40",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},V.a.createElement("path",{d:"M19 4.8a16 16 0 00-2-1.2m-3.3-1.2A16 16 0 001.1 4.7M16.7 8a12 12 0 00-2.8-1.4M10 6a12 12 0 00-6.7 2M12.3 14.7a4 4 0 00-4.5 0M14.5 11.4A8 8 0 0010 10M3 16L18 2M10 18h0"}))}function $(){return V.a.createElement("div",{className:"DocSearch-ErrorScreen"},V.a.createElement("div",{className:"DocSearch-Screen-Icon"},V.a.createElement(W,null)),V.a.createElement("p",{className:"DocSearch-Title"},"Unable to fetch results"),V.a.createElement("p",{className:"DocSearch-Help"},"You might want to check your network connection."))}function Y(){return V.a.createElement("svg",{width:"40",height:"40",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},V.a.createElement("path",{d:"M15.5 4.8c2 3 1.7 7-1 9.7h0l4.3 4.3-4.3-4.3a7.8 7.8 0 01-9.8 1m-2.2-2.2A7.8 7.8 0 0113.2 2.4M2 18L18 2"}))}function G(e){return function(e){if(Array.isArray(e))return X(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return X(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return X(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function X(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&V.a.createElement("div",{className:"DocSearch-NoResults-Prefill-List"},V.a.createElement("p",{className:"DocSearch-Help"},"Try searching for:"),V.a.createElement("ul",null,t.slice(0,3).reduce((function(t,n){return[].concat(G(t),[V.a.createElement("li",{key:n},V.a.createElement("button",{className:"DocSearch-Prefill",key:n,onClick:function(){e.setQuery(n.toLowerCase()+" "),e.refresh(),e.inputRef.current.focus()}},n))])}),[]))),V.a.createElement("p",{className:"DocSearch-Help"},"Believe this query should return results?"," ",V.a.createElement("a",{href:"https://github.com/algolia/docsearch-configs/issues/new?template=Missing_results.md&title=[".concat(e.indexName,']+Missing+results+for+query+"').concat(e.state.query,'"'),target:"_blank",rel:"noopener noreferrer"},"Let us know"),"."))}function ee(e){switch(e.type){case"lvl1":return V.a.createElement(te,null);case"content":return V.a.createElement(re,null);default:return V.a.createElement(ne,null)}}function te(){return V.a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},V.a.createElement("path",{d:"M17 6v12c0 .52-.2 1-1 1H4c-.7 0-1-.33-1-1V2c0-.55.42-1 1-1h8l5 5zM14 8h-3.13c-.51 0-.87-.34-.87-.87V4",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function ne(){return V.a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},V.a.createElement("path",{d:"M13 13h4-4V8H7v5h6v4-4H7V8H3h4V3v5h6V3v5h4-4v5zm-6 0v4-4H3h4z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}function re(){return V.a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},V.a.createElement("path",{d:"M17 5H3h14zm0 5H3h14zm0 5H3h14z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function oe(){return V.a.createElement("svg",{className:"DocSearch-Hit-Select-Icon",width:"20",height:"20",viewBox:"0 0 20 20"},V.a.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},V.a.createElement("path",{d:"M18 3v4c0 2-2 4-4 4H2"}),V.a.createElement("path",{d:"M8 17l-6-6 6-6"})))}function ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function se(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function ue(e,t){return t.split(".").reduce((function(e,t){return e&&e[t]}),e)}function le(e){var t=e.hit,n=e.attribute,r=e.tagName,o=void 0===r?"span":r,a=ce(e,["hit","attribute","tagName"]);return Object(U.createElement)(o,se(se({},a),{},{dangerouslySetInnerHTML:{__html:ue(t,"_snippetResult.".concat(n,".value"))||ue(t,n)}}))}function he(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,a=void 0;try{for(var s,i=e[Symbol.iterator]();!(r=(s=i.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(c){o=!0,a=c}finally{try{r||null==i.return||i.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ge(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ge(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ge(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0}));return e.state.query?!1===t?V.a.createElement(Z,e):V.a.createElement(ve,e):V.a.createElement(Ee,we({},e,{hasSuggestions:t}))}),(function(e,t){return"loading"===t.state.status||"stalled"===t.state.status}));function je(){return V.a.createElement("svg",{viewBox:"0 0 38 38",stroke:"currentColor",strokeOpacity:".5"},V.a.createElement("g",{fill:"none",fillRule:"evenodd"},V.a.createElement("g",{transform:"translate(1 1)",strokeWidth:"2"},V.a.createElement("circle",{strokeOpacity:".3",cx:"18",cy:"18",r:"18"}),V.a.createElement("path",{d:"M36 18c0-9.94-8.06-18-18-18"},V.a.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})))))}var xe=n(189);function De(){return(De=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function ke(e){return!1===function(){var e="__TEST_KEY__";try{return localStorage.setItem(e,""),localStorage.removeItem(e),!0}catch(t){return!1}}()?{setItem:function(){},getItem:function(){return[]}}:{setItem:function(t){return window.localStorage.setItem(e,JSON.stringify(t))},getItem:function(){var t=window.localStorage.getItem(e);return t?JSON.parse(t):[]}}}function Ne(e){var t=e.key,n=e.limit,r=void 0===n?5:n,o=ke(t),a=o.getItem().slice(0,r);return{add:function(e){var t=e,n=(t._highlightResult,t._snippetResult,Ce(t,["_highlightResult","_snippetResult"])),s=a.findIndex((function(e){return e.objectID===n.objectID}));s>-1&&a.splice(s,1),a.unshift(n),a=a.slice(0,r),o.setItem(a)},remove:function(e){a=a.filter((function(t){return t.objectID!==e.objectID})),o.setItem(a)},getAll:function(){return a}}}function He(e){const t="algoliasearch-client-js-"+e.key;let n;const r=()=>(void 0===n&&(n=e.localStorage||window.localStorage),n),o=()=>JSON.parse(r().getItem(t)||"{}");return{get:(e,t,n={miss:()=>Promise.resolve()})=>Promise.resolve().then(()=>{const n=JSON.stringify(e),r=o()[n];return Promise.all([r||t(),void 0!==r])}).then(([e,t])=>Promise.all([e,t||n.miss(e)])).then(([e])=>e),set:(e,n)=>Promise.resolve().then(()=>{const a=o();return a[JSON.stringify(e)]=n,r().setItem(t,JSON.stringify(a)),n}),delete:e=>Promise.resolve().then(()=>{const n=o();delete n[JSON.stringify(e)],r().setItem(t,JSON.stringify(n))}),clear:()=>Promise.resolve().then(()=>{r().removeItem(t)})}}function qe(e){const t=[...e.caches],n=t.shift();return void 0===n?{get:(e,t,n={miss:()=>Promise.resolve()})=>t().then(e=>Promise.all([e,n.miss(e)])).then(([e])=>e),set:(e,t)=>Promise.resolve(t),delete:e=>Promise.resolve(),clear:()=>Promise.resolve()}:{get:(e,r,o={miss:()=>Promise.resolve()})=>n.get(e,r,o).catch(()=>qe({caches:t}).get(e,r,o)),set:(e,r)=>n.set(e,r).catch(()=>qe({caches:t}).set(e,r)),delete:e=>n.delete(e).catch(()=>qe({caches:t}).delete(e)),clear:()=>n.clear().catch(()=>qe({caches:t}).clear())}}function Ae(e={serializable:!0}){let t={};return{get(n,r,o={miss:()=>Promise.resolve()}){const a=JSON.stringify(n);if(a in t)return Promise.resolve(e.serializable?JSON.parse(t[a]):t[a]);const s=r(),i=o&&o.miss||(()=>Promise.resolve());return s.then(e=>i(e)).then(()=>s)},set:(n,r)=>(t[JSON.stringify(n)]=e.serializable?JSON.stringify(r):r,Promise.resolve(r)),delete:e=>(delete t[JSON.stringify(e)],Promise.resolve()),clear:()=>(t={},Promise.resolve())}}function Me(e){let t=e.length-1;for(;t>0;t--){const n=Math.floor(Math.random()*(t+1)),r=e[t];e[t]=e[n],e[n]=r}return e}function Re(e,t){return Object.keys(void 0!==t?t:{}).forEach(n=>{e[n]=t[n](e)}),e}function Te(e,...t){let n=0;return e.replace(/%s/g,()=>encodeURIComponent(t[n++]))}const Le="4.5.1",_e={WithinQueryParameters:0,WithinHeaders:1};function Fe(e,t){const n=e||{},r=n.data||{};return Object.keys(n).forEach(e=>{-1===["timeout","headers","queryParameters","data","cacheable"].indexOf(e)&&(r[e]=n[e])}),{data:Object.entries(r).length>0?r:void 0,timeout:n.timeout||t,headers:n.headers||{},queryParameters:n.queryParameters||{},cacheable:n.cacheable}}const ze={Read:1,Write:2,Any:3},Ue=1,Ve=2,Qe=3,Be=12e4;function Je(e,t=Ue){return{...e,status:t,lastUpdate:Date.now()}}function Ke(e){return"string"==typeof e?{protocol:"https",url:e,accept:ze.Any}:{protocol:e.protocol||"https",url:e.url,accept:e.accept||ze.Any}}const We="GET",$e="POST";function Ye(e,t){return Promise.all(t.map(t=>e.get(t,()=>Promise.resolve(Je(t))))).then(e=>{const n=e.filter(e=>function(e){return e.status===Ue||Date.now()-e.lastUpdate>Be}(e)),r=e.filter(e=>function(e){return e.status===Qe&&Date.now()-e.lastUpdate<=Be}(e)),o=[...n,...r];return{getTimeout:(e,t)=>(0===r.length&&0===e?1:r.length+3+e)*t,statelessHosts:o.length>0?o.map(e=>Ke(e)):t}})}function Ge(e,t,n,r){const o=[],a=function(e,t){if(e.method===We||void 0===e.data&&void 0===t.data)return;const n=Array.isArray(e.data)?e.data:{...e.data,...t.data};return JSON.stringify(n)}(n,r),s=function(e,t){const n={...e.headers,...t.headers},r={};return Object.keys(n).forEach(e=>{const t=n[e];r[e.toLowerCase()]=t}),r}(e,r),i=n.method,c=n.method!==We?{}:{...n.data,...r.data},u={"x-algolia-agent":e.userAgent.value,...e.queryParameters,...c,...r.queryParameters};let l=0;const h=(t,c)=>{const g=t.pop();if(void 0===g)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.",transporterStackTrace:tt(o)};const m={data:a,headers:s,method:i,url:Ze(g,n.path,u),connectTimeout:c(l,e.timeouts.connect),responseTimeout:c(l,r.timeout)},p=e=>{const n={request:m,response:e,host:g,triesLeft:t.length};return o.push(n),n},f={onSucess:e=>function(e){try{return JSON.parse(e.content)}catch(t){throw function(e,t){return{name:"DeserializationError",message:e,response:t}}(t.message,e)}}(e),onRetry(n){const r=p(n);return n.isTimedOut&&l++,Promise.all([e.logger.info("Retryable failure",nt(r)),e.hostsCache.set(g,Je(g,n.isTimedOut?Qe:Ve))]).then(()=>h(t,c))},onFail(e){throw p(e),function({content:e,status:t},n){let r=e;try{r=JSON.parse(e).message}catch(o){}return function(e,t,n){return{name:"ApiError",message:e,status:t,transporterStackTrace:n}}(r,t,n)}(e,tt(o))}};return e.requester.send(m).then(e=>((e,t)=>(e=>{const t=e.status;return e.isTimedOut||(({isTimedOut:e,status:t})=>!e&&0==~~t)(e)||2!=~~(t/100)&&4!=~~(t/100)})(e)?t.onRetry(e):(({status:e})=>2==~~(e/100))(e)?t.onSucess(e):t.onFail(e))(e,f))};return Ye(e.hostsCache,t).then(e=>h([...e.statelessHosts].reverse(),e.getTimeout))}function Xe(e){const t={value:`Algolia for JavaScript (${e})`,add(e){const n=`; ${e.segment}${void 0!==e.version?` (${e.version})`:""}`;return-1===t.value.indexOf(n)&&(t.value=`${t.value}${n}`),t}};return t}function Ze(e,t,n){const r=et(n);let o=`${e.protocol}://${e.url}/${"/"===t.charAt(0)?t.substr(1):t}`;return r.length&&(o+="?"+r),o}function et(e){return Object.keys(e).map(t=>{return Te("%s=%s",t,(n=e[t],"[object Object]"===Object.prototype.toString.call(n)||"[object Array]"===Object.prototype.toString.call(n)?JSON.stringify(e[t]):e[t]));var n}).join("&")}function tt(e){return e.map(e=>nt(e))}function nt(e){const t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return{...e,request:{...e.request,headers:{...e.request.headers,...t}}}}const rt=e=>{const t=e.appId,n=function(e,t,n){const r={"x-algolia-api-key":n,"x-algolia-application-id":t};return{headers:()=>e===_e.WithinHeaders?r:{},queryParameters:()=>e===_e.WithinQueryParameters?r:{}}}(void 0!==e.authMode?e.authMode:_e.WithinHeaders,t,e.apiKey),r=function(e){const{hostsCache:t,logger:n,requester:r,requestsCache:o,responsesCache:a,timeouts:s,userAgent:i,hosts:c,queryParameters:u,headers:l}=e,h={hostsCache:t,logger:n,requester:r,requestsCache:o,responsesCache:a,timeouts:s,userAgent:i,headers:l,queryParameters:u,hosts:c.map(e=>Ke(e)),read(e,t){const n=Fe(t,h.timeouts.read),r=()=>Ge(h,h.hosts.filter(e=>0!=(e.accept&ze.Read)),e,n);if(!0!==(void 0!==n.cacheable?n.cacheable:e.cacheable))return r();const o={request:e,mappedRequestOptions:n,transporter:{queryParameters:h.queryParameters,headers:h.headers}};return h.responsesCache.get(o,()=>h.requestsCache.get(o,()=>h.requestsCache.set(o,r()).then(e=>Promise.all([h.requestsCache.delete(o),e]),e=>Promise.all([h.requestsCache.delete(o),Promise.reject(e)])).then(([e,t])=>t)),{miss:e=>h.responsesCache.set(o,e)})},write:(e,t)=>Ge(h,h.hosts.filter(e=>0!=(e.accept&ze.Write)),e,Fe(t,h.timeouts.write))};return h}({hosts:[{url:t+"-dsn.algolia.net",accept:ze.Read},{url:t+".algolia.net",accept:ze.Write}].concat(Me([{url:t+"-1.algolianet.com"},{url:t+"-2.algolianet.com"},{url:t+"-3.algolianet.com"}])),...e,headers:{...n.headers(),"content-type":"application/x-www-form-urlencoded",...e.headers},queryParameters:{...n.queryParameters(),...e.queryParameters}});return Re({transporter:r,appId:t,addAlgoliaAgent(e,t){r.userAgent.add({segment:e,version:t})},clearCache:()=>Promise.all([r.requestsCache.clear(),r.responsesCache.clear()]).then(()=>{})},e.methods)},ot=e=>(t,n={})=>Re({transporter:e.transporter,appId:e.appId,indexName:t},n.methods),at=e=>(t,n)=>{const r=t.map(e=>({...e,params:et(e.params||{})}));return e.transporter.read({method:$e,path:"1/indexes/*/queries",data:{requests:r},cacheable:!0},n)},st=e=>(t,n)=>Promise.all(t.map(t=>{const{facetName:r,facetQuery:o,...a}=t.params;return ot(e)(t.indexName,{methods:{searchForFacetValues:ct}}).searchForFacetValues(r,o,{...n,...a})})),it=e=>(t,n)=>e.transporter.read({method:$e,path:Te("1/indexes/%s/query",e.indexName),data:{query:t},cacheable:!0},n),ct=e=>(t,n,r)=>e.transporter.read({method:$e,path:Te("1/indexes/%s/facets/%s/query",e.indexName,t),data:{facetQuery:n},cacheable:!0},r),ut=1,lt=2,ht=3;function gt(e,t,n){const r={appId:e,apiKey:t,timeouts:{connect:1,read:2,write:30},requester:{send:e=>new Promise(t=>{const n=new XMLHttpRequest;n.open(e.method,e.url,!0),Object.keys(e.headers).forEach(t=>n.setRequestHeader(t,e.headers[t]));const r=(e,r)=>setTimeout(()=>{n.abort(),t({status:0,content:r,isTimedOut:!0})},1e3*e),o=r(e.connectTimeout,"Connection timeout");let a;n.onreadystatechange=()=>{n.readyState>n.OPENED&&void 0===a&&(clearTimeout(o),a=r(e.responseTimeout,"Socket timeout"))},n.onerror=()=>{0===n.status&&(clearTimeout(o),clearTimeout(a),t({content:n.responseText||"Network request failed",status:n.status,isTimedOut:!1}))},n.onload=()=>{clearTimeout(o),clearTimeout(a),t({content:n.responseText,status:n.status,isTimedOut:!1})},n.send(e.data)})},logger:(o=ht,{debug:(e,t)=>(ut>=o&&console.debug(e,t),Promise.resolve()),info:(e,t)=>(lt>=o&&console.info(e,t),Promise.resolve()),error:(e,t)=>(console.error(e,t),Promise.resolve())}),responsesCache:Ae(),requestsCache:Ae({serializable:!1}),hostsCache:qe({caches:[He({key:"4.5.1-"+e}),Ae()]}),userAgent:Xe(Le).add({segment:"Browser",version:"lite"}),authMode:_e.WithinQueryParameters};var o;return rt({...r,...n,methods:{search:at,searchForFacetValues:st,multipleQueries:at,multipleSearchForFacetValues:st,initIndex:e=>t=>ot(e)(t,{methods:{search:it,searchForFacetValues:ct}})}})}gt.version=Le;var mt=gt,pt="1.0.0-alpha.28";function ft(){}function dt(e){return e}function vt(e,t){return e.reduce((function(e,n){var r=t(n);return e.hasOwnProperty(r)||(e[r]=[]),e[r].length<5&&e[r].push(n),e}),{})}function yt(){return(yt=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n",highlightPostTag:"",hitsPerPage:20},i)}]},z({searchClient:t.searchClient,queries:t.queries}).then((function(e){return e.results}))).catch((function(e){throw"RetryError"===e.name&&s("error"),e})).then((function(e){var t=e[0].hits,n=e[0].nbHits,o=vt(t,(function(e){return e.hierarchy.lvl0}));return r.context.searchSuggestions.length0&&(Q(),N.current&&N.current.focus())}),[q,Q]),V.a.createElement("div",yt({ref:I},U({"aria-expanded":!0}),{className:["DocSearch","DocSearch-Container","stalled"===x.status&&"DocSearch-Container--Stalled","error"===x.status&&"DocSearch-Container--Errored"].filter(Boolean).join(" "),onMouseDown:function(e){e.target===e.currentTarget&&u()}}),V.a.createElement("div",{className:"DocSearch-Modal"},V.a.createElement("header",{className:"DocSearch-SearchBar",ref:C},V.a.createElement(Ie,yt({},_,{state:x,autoFocus:0===q.length,onClose:u,inputRef:N}))),V.a.createElement("div",{className:"DocSearch-Dropdown",ref:k},V.a.createElement(Pe,yt({},_,{indexName:o,state:x,hitComponent:m,resultsFooterComponent:f,disableUserPersonalization:E,recentSearches:R,favoriteSearches:M,onItemClick:function(e){L(e),u()},inputRef:N}))),V.a.createElement("footer",{className:"DocSearch-Footer"},V.a.createElement(B,null))))}}}]); \ No newline at end of file diff --git a/103.21ebacb5.js b/103.21ebacb5.js new file mode 100644 index 00000000..7b9169a6 --- /dev/null +++ b/103.21ebacb5.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[103],{240:function(n,i,o){"use strict";o.r(i);var r=o(51);for(var t in r)["default"].indexOf(t)<0&&function(n){o.d(i,n,(function(){return r[n]}))}(t)}}]); \ No newline at end of file diff --git a/104.e09cad56.js b/104.e09cad56.js new file mode 100644 index 00000000..2dd21e92 --- /dev/null +++ b/104.e09cad56.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[104],{184:function(e,t,a){"use strict";a.r(t);var n=a(0),o=a.n(n),l=a(167);t.default=function(){return o.a.createElement(l.a,{title:"Page Not Found"},o.a.createElement("div",{className:"container margin-vert--xl"},o.a.createElement("div",{className:"row"},o.a.createElement("div",{className:"col col--6 col--offset-3"},o.a.createElement("h1",{className:"hero__title"},"Page Not Found"),o.a.createElement("p",null,"We could not find what you were looking for."),o.a.createElement("p",null,"Please contact the owner of the site that linked you to the original URL and let them know their link is broken.")))))}}}]); \ No newline at end of file diff --git a/14833463.175d2e81.js b/14833463.175d2e81.js new file mode 100644 index 00000000..5613c8ba --- /dev/null +++ b/14833463.175d2e81.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{162:function(e,t,a){"use strict";a.d(t,"a",(function(){return s})),a.d(t,"b",(function(){return j}));var n=a(0),i=a.n(n);function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function r(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function p(e){for(var t=1;t=0||(i[a]=e[a]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(i[a]=e[a])}return i}var c=i.a.createContext({}),l=function(e){var t=i.a.useContext(c),a=t;return e&&(a="function"==typeof e?e(t):p(p({},t),e)),a},s=function(e){var t=l(e.components);return i.a.createElement(c.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return i.a.createElement(i.a.Fragment,{},t)}},O=i.a.forwardRef((function(e,t){var a=e.components,n=e.mdxType,o=e.originalType,r=e.parentName,c=b(e,["components","mdxType","originalType","parentName"]),s=l(a),O=n,j=s["".concat(r,".").concat(O)]||s[O]||d[O]||o;return a?i.a.createElement(j,p(p({ref:t},c),{},{components:a})):i.a.createElement(j,p({ref:t},c))}));function j(e,t){var a=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var o=a.length,r=new Array(o);r[0]=O;var p={};for(var b in t)hasOwnProperty.call(t,b)&&(p[b]=t[b]);p.originalType=e,p.mdxType="string"==typeof e?e:n,r[1]=p;for(var c=2;cOptional attributes",id:"optional-attributes",children:[]},{value:"Optional children",id:"optional-children",children:[]},{value:"Optional cursor",id:"optional-cursor",children:[]},{value:"Optional enabled",id:"optional-enabled",children:[]},{value:"Optional flat",id:"optional-flat",children:[]},{value:"Optional geometry",id:"optional-geometry",children:[]},{value:"Optional icon",id:"optional-icon",children:[]},{value:"Optional iconSize",id:"optional-iconsize",children:[]},{value:"Optional id",id:"optional-id",children:[]},{value:"Optional maxSize",id:"optional-maxsize",children:[]},{value:"Optional minSize",id:"optional-minsize",children:[]},{value:"Optional mouseTracking",id:"optional-mousetracking",children:[]},{value:"Optional on",id:"optional-on",children:[]},{value:"Optional pos",id:"optional-pos",children:[]},{value:"Optional ref",id:"optional-ref",children:[]},{value:"Optional size",id:"optional-size",children:[]},{value:"Optional style",id:"optional-style",children:[]},{value:"Optional styleSheet",id:"optional-stylesheet",children:[]},{value:"Optional text",id:"optional-text",children:[]},{value:"Optional visible",id:"optional-visible",children:[]},{value:"Optional windowFlags",id:"optional-windowflags",children:[]},{value:"Optional windowIcon",id:"optional-windowicon",children:[]},{value:"Optional windowOpacity",id:"optional-windowopacity",children:[]},{value:"Optional windowState",id:"optional-windowstate",children:[]},{value:"Optional windowTitle",id:"optional-windowtitle",children:[]}]}],c={rightToc:b};function l(e){var t=e.components,a=Object(i.a)(e,["components"]);return Object(o.b)("wrapper",Object(n.a)({},c,a,{components:t,mdxType:"MDXLayout"}),Object(o.b)("p",null,"The Button component provides ability to add and manipulate native button widgets. It is based on\n",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/QPushButton"}),"NodeGui's QPushButton"),"."),Object(o.b)("h2",{id:"example"},"Example"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-javascript"}),'import React from "react";\nimport { Renderer, Button, Window } from "@nodegui/react-nodegui";\nconst App = () => {\n return (\n \n

Page Not Found

We could not find what you were looking for.

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

+ + + + + \ No newline at end of file diff --git a/44d8735e.154b3e02.js b/44d8735e.154b3e02.js new file mode 100644 index 00000000..7415c461 --- /dev/null +++ b/44d8735e.154b3e02.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[32],{162:function(e,r,t){"use strict";t.d(r,"a",(function(){return d})),t.d(r,"b",(function(){return f}));var n=t(0),a=t.n(n);function i(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function o(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function c(e){for(var r=1;r=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var l=a.a.createContext({}),u=function(e){var r=a.a.useContext(l),t=r;return e&&(t="function"==typeof e?e(r):c(c({},r),e)),t},d=function(e){var r=u(e.components);return a.a.createElement(l.Provider,{value:r},e.children)},s={inlineCode:"code",wrapper:function(e){var r=e.children;return a.a.createElement(a.a.Fragment,{},r)}},b=a.a.forwardRef((function(e,r){var t=e.components,n=e.mdxType,i=e.originalType,o=e.parentName,l=p(e,["components","mdxType","originalType","parentName"]),d=u(t),b=n,f=d["".concat(o,".").concat(b)]||d[b]||s[b]||i;return t?a.a.createElement(f,c(c({ref:r},l),{},{components:t})):a.a.createElement(f,c({ref:r},l))}));function f(e,r){var t=arguments,n=r&&r.mdxType;if("string"==typeof e||n){var i=t.length,o=new Array(i);o[0]=b;var c={};for(var p in r)hasOwnProperty.call(r,p)&&(c[p]=r[p]);c.originalType=e,c.mdxType="string"==typeof e?e:n,o[1]=c;for(var l=2;l=0||(i[a]=e[a]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(i[a]=e[a])}return i}var c=i.a.createContext({}),l=function(e){var t=i.a.useContext(c),a=t;return e&&(a="function"==typeof e?e(t):p(p({},t),e)),a},s=function(e){var t=l(e.components);return i.a.createElement(c.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return i.a.createElement(i.a.Fragment,{},t)}},O=i.a.forwardRef((function(e,t){var a=e.components,r=e.mdxType,o=e.originalType,n=e.parentName,c=b(e,["components","mdxType","originalType","parentName"]),s=l(a),O=r,m=s["".concat(n,".").concat(O)]||s[O]||d[O]||o;return a?i.a.createElement(m,p(p({ref:t},c),{},{components:a})):i.a.createElement(m,p({ref:t},c))}));function m(e,t){var a=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var o=a.length,n=new Array(o);n[0]=O;var p={};for(var b in t)hasOwnProperty.call(t,b)&&(p[b]=t[b]);p.originalType=e,p.mdxType="string"==typeof e?e:r,n[1]=p;for(var c=2;cOptional attributes",id:"optional-attributes",children:[]},{value:"Optional cursor",id:"optional-cursor",children:[]},{value:"Optional enableSizeGrip",id:"optional-enablesizegrip",children:[]},{value:"Optional enabled",id:"optional-enabled",children:[]},{value:"Optional focus",id:"optional-focus",children:[]},{value:"Optional font",id:"optional-font",children:[]},{value:"Optional geometry",id:"optional-geometry",children:[]},{value:"Optional id",id:"optional-id",children:[]},{value:"Optional maxSize",id:"optional-maxsize",children:[]},{value:"message",id:"message",children:[]},{value:"Optional minSize",id:"optional-minsize",children:[]},{value:"Optional modal",id:"optional-modal",children:[]},{value:"Optional mouseTracking",id:"optional-mousetracking",children:[]},{value:"Optional on",id:"optional-on",children:[]},{value:"Optional open",id:"optional-open",children:[]},{value:"Optional pos",id:"optional-pos",children:[]},{value:"Optional ref",id:"optional-ref",children:[]},{value:"Optional reject",id:"optional-reject",children:[]},{value:"Optional result",id:"optional-result",children:[]},{value:"Optional size",id:"optional-size",children:[]},{value:"Optional style",id:"optional-style",children:[]},{value:"Optional styleSheet",id:"optional-stylesheet",children:[]},{value:"Optional visible",id:"optional-visible",children:[]},{value:"Optional windowFlags",id:"optional-windowflags",children:[]},{value:"Optional windowIcon",id:"optional-windowicon",children:[]},{value:"Optional windowOpacity",id:"optional-windowopacity",children:[]},{value:"Optional windowState",id:"optional-windowstate",children:[]},{value:"Optional windowTitle",id:"optional-windowtitle",children:[]}]}],c={rightToc:b};function l(e){var t=e.components,a=Object(i.a)(e,["components"]);return Object(o.b)("wrapper",Object(r.a)({},c,a,{components:t,mdxType:"MDXLayout"}),Object(o.b)("h2",{id:"hierarchy"},"Hierarchy"),Object(o.b)("p",null," \u21b3 ",Object(o.b)("a",Object(r.a)({parentName:"p"},{href:"/docs/api/interfaces/dialogprops"}),"DialogProps"),"\u2039QErrorMessageSignals\u203a"),Object(o.b)("p",null," \u21b3 ",Object(o.b)("strong",{parentName:"p"},"ErrorPromptProps")),Object(o.b)("h2",{id:"index"},"Index"),Object(o.b)("h3",{id:"properties"},"Properties"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/interfaces/errorpromptprops#optional-attributes"}),"attributes")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/interfaces/errorpromptprops#optional-cursor"}),"cursor")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/interfaces/errorpromptprops#optional-enablesizegrip"}),"enableSizeGrip")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/interfaces/errorpromptprops#optional-enabled"}),"enabled")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/interfaces/errorpromptprops#optional-focus"}),"focus")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/interfaces/errorpromptprops#optional-font"}),"font")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/interfaces/errorpromptprops#optional-geometry"}),"geometry")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/interfaces/errorpromptprops#optional-id"}),"id")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/interfaces/errorpromptprops#optional-maxsize"}),"maxSize")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/interfaces/errorpromptprops#message"}),"message")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/interfaces/errorpromptprops#optional-minsize"}),"minSize")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/interfaces/errorpromptprops#optional-modal"}),"modal")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/interfaces/errorpromptprops#optional-mousetracking"}),"mouseTracking")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/interfaces/errorpromptprops#optional-on"}),"on")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/interfaces/errorpromptprops#optional-open"}),"open")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/interfaces/errorpromptprops#optional-pos"}),"pos")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/interfaces/errorpromptprops#optional-ref"}),"ref")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/interfaces/errorpromptprops#optional-reject"}),"reject")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/interfaces/errorpromptprops#optional-result"}),"result")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/interfaces/errorpromptprops#optional-size"}),"size")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/interfaces/errorpromptprops#optional-style"}),"style")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/interfaces/errorpromptprops#optional-stylesheet"}),"styleSheet")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/interfaces/errorpromptprops#optional-visible"}),"visible")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/interfaces/errorpromptprops#optional-windowflags"}),"windowFlags")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/interfaces/errorpromptprops#optional-windowicon"}),"windowIcon")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/interfaces/errorpromptprops#optional-windowopacity"}),"windowOpacity")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/interfaces/errorpromptprops#optional-windowstate"}),"windowState")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/interfaces/errorpromptprops#optional-windowtitle"}),"windowTitle"))),Object(o.b)("h2",{id:"properties-1"},"Properties"),Object(o.b)("h3",{id:"optional-attributes"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," attributes"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"attributes"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/globals#widgetattributesmap"}),"WidgetAttributesMap"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-attributes"}),"attributes"))),Object(o.b)("p",null,"Prop to set the Widget Attributes. example:\n",Object(o.b)("inlineCode",{parentName:"p"},"")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-cursor"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," cursor"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"cursor"),"? : ",Object(o.b)("em",{parentName:"p"},"CursorShape | QCursor")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-cursor"}),"cursor"))),Object(o.b)("p",null,"Sets the window mouse cursor. ",Object(o.b)("a",Object(r.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor"}),"QWidget: setCursor")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-enablesizegrip"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," enableSizeGrip"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"enableSizeGrip"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | false | true")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/dialogprops"}),"DialogProps"),".",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/dialogprops#optional-enablesizegrip"}),"enableSizeGrip"))),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-enabled"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," enabled"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"enabled"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | false | true")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-enabled"}),"enabled"))),Object(o.b)("p",null,"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. ",Object(o.b)("a",Object(r.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled"}),"QWidget: setEnabled")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-focus"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," focus"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"focus"),"? : ",Object(o.b)("em",{parentName:"p"},"FocusReason")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/dialogprops"}),"DialogProps"),".",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/dialogprops#optional-focus"}),"focus"))),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-font"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," font"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"font"),"? : ",Object(o.b)("em",{parentName:"p"},"QFont")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/dialogprops"}),"DialogProps"),".",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/dialogprops#optional-font"}),"font"))),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-geometry"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," geometry"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"geometry"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/globals#geometry"}),"Geometry"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-geometry"}),"geometry"))),Object(o.b)("p",null,"Sets the screen position as well as size of the widget. ",Object(o.b)("a",Object(r.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height"}),"QWidget: setGeometry")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-id"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," id"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"id"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | string")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-id"}),"id"))),Object(o.b)("p",null,"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. ",Object(o.b)("a",Object(r.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname"}),"QWidget: setObjectName")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-maxsize"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," maxSize"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"maxSize"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/globals#size"}),"Size"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-maxsize"}),"maxSize"))),Object(o.b)("p",null,"Sets the maximum size of the widget. ",Object(o.b)("a",Object(r.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height"}),"QWidget: setMaximumSize")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"message"},"message"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"message"),": ",Object(o.b)("em",{parentName:"p"},"string")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-minsize"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," minSize"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"minSize"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/globals#size"}),"Size"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-minsize"}),"minSize"))),Object(o.b)("p",null,"Sets the minimum size of the widget. ",Object(o.b)("a",Object(r.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height"}),"QWidget: setMinimumSize")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-modal"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," modal"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"modal"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | false | true")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/dialogprops"}),"DialogProps"),".",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/dialogprops#optional-modal"}),"modal"))),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-mousetracking"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," mouseTracking"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"mouseTracking"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | false | true")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-mousetracking"}),"mouseTracking"))),Object(o.b)("p",null,"Sets the property that tells whether mouseTracking is enabled for the widget. ",Object(o.b)("a",Object(r.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked"}),"QWidget: setMouseTracking")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-on"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," on"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"on"),"? : ",Object(o.b)("em",{parentName:"p"},"Partial\u2039",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/globals#widgeteventlisteners"}),"WidgetEventListeners")," | QErrorMessageSignals\u203a")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-on"}),"on"))),Object(o.b)("p",null,"Prop to set the event listener map. See ",Object(o.b)("a",Object(r.a)({parentName:"p"},{href:"/docs/guides/handle-events"}),"Handlong Events")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-open"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," open"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"open"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | false | true")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/dialogprops"}),"DialogProps"),".",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/dialogprops#optional-open"}),"open"))),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-pos"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," pos"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"pos"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/globals#position"}),"Position"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-pos"}),"pos"))),Object(o.b)("p",null,"Sets the screen position of the widget. ",Object(o.b)("a",Object(r.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y"}),"QWidget: move")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-ref"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," ref"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"ref"),"? : ",Object(o.b)("em",{parentName:"p"},"any")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-ref"}),"ref"))),Object(o.b)("p",null,"Prop to set the ref. The ref will return the underlying nodegui widget."),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-reject"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," reject"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"reject"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | false | true")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/dialogprops"}),"DialogProps"),".",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/dialogprops#optional-reject"}),"reject"))),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-result"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," result"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"result"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | number")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/dialogprops"}),"DialogProps"),".",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/dialogprops#optional-result"}),"result"))),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-size"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," size"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"size"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/globals#viewsize"}),"ViewSize"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-size"}),"size"))),Object(o.b)("p",null,"Sets both the minimum and maximum sizes of the widget. ",Object(o.b)("a",Object(r.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height"}),"QWidget: setFixedSize")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-style"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," style"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"style"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | string")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-style"}),"style"))),Object(o.b)("p",null,"Sets the inline stylesheet property. ",Object(o.b)("a",Object(r.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle"}),"QWidget: setInlineStyle")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-stylesheet"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," styleSheet"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"styleSheet"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | string")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-stylesheet"}),"styleSheet"))),Object(o.b)("p",null,"Sets the property that holds the widget's style sheet. ",Object(o.b)("a",Object(r.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet"}),"QWidget: setStyleSheet")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-visible"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," visible"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"visible"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | false | true")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-visible"}),"visible"))),Object(o.b)("p",null,"Shows or hides the widget and its children. ",Object(o.b)("a",Object(r.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetshow"}),"QWidget: show")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-windowflags"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," windowFlags"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"windowFlags"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/globals#windowflagsmap"}),"WindowFlagsMap"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowflags"}),"windowFlags"))),Object(o.b)("p",null,"Prop to set the Widget flags. example:\n",Object(o.b)("inlineCode",{parentName:"p"},"")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-windowicon"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," windowIcon"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"windowIcon"),"? : ",Object(o.b)("em",{parentName:"p"},"QIcon")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowicon"}),"windowIcon"))),Object(o.b)("p",null,"Sets the window icon. ",Object(o.b)("a",Object(r.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon"}),"QWidget: setWindowIcon")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-windowopacity"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," windowOpacity"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"windowOpacity"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | number")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowopacity"}),"windowOpacity"))),Object(o.b)("p",null,"This property holds the level of opacity for the window. ",Object(o.b)("a",Object(r.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity"}),"QWidget: setWindowOpacity")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-windowstate"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," windowState"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"windowState"),"? : ",Object(o.b)("em",{parentName:"p"},"WindowState")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowstate"}),"windowState"))),Object(o.b)("p",null,"Sets the window state. ",Object(o.b)("a",Object(r.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate"}),"QWidget: setWindowState")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-windowtitle"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," windowTitle"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"windowTitle"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | string")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowtitle"}),"windowTitle"))),Object(o.b)("p",null,"Sets the window title property. ",Object(o.b)("a",Object(r.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle"}),"QWidget: setWindowTitle")))}l.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/48998fba.f4927784.js b/48998fba.f4927784.js new file mode 100644 index 00000000..00a0b906 --- /dev/null +++ b/48998fba.f4927784.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[34],{162:function(e,t,a){"use strict";a.d(t,"a",(function(){return i})),a.d(t,"b",(function(){return s}));var b=a(0),n=a.n(b);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function c(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(e);t&&(b=b.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,b)}return a}function l(e){for(var t=1;t=0||(n[a]=e[a]);return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(b=0;b=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}var O=n.a.createContext({}),j=function(e){var t=n.a.useContext(O),a=t;return e&&(a="function"==typeof e?e(t):l(l({},t),e)),a},i=function(e){var t=j(e.components);return n.a.createElement(O.Provider,{value:t},e.children)},m={inlineCode:"code",wrapper:function(e){var t=e.children;return n.a.createElement(n.a.Fragment,{},t)}},o=n.a.forwardRef((function(e,t){var a=e.components,b=e.mdxType,r=e.originalType,c=e.parentName,O=p(e,["components","mdxType","originalType","parentName"]),i=j(a),o=b,s=i["".concat(c,".").concat(o)]||i[o]||m[o]||r;return a?n.a.createElement(s,l(l({ref:t},O),{},{components:a})):n.a.createElement(s,l({ref:t},O))}));function s(e,t){var a=arguments,b=t&&t.mdxType;if("string"==typeof e||b){var r=a.length,c=new Array(r);c[0]=o;var l={};for(var p in t)hasOwnProperty.call(t,p)&&(l[p]=t[p]);l.originalType=e,l.mdxType="string"==typeof e?e:b,c[1]=l;for(var O=2;OOptional _layout",id:"optional-_layout",children:[]},{value:"_rawInlineStyle",id:"_rawinlinestyle",children:[]},{value:"actions",id:"actions",children:[]},{value:"native",id:"native",children:[]},{value:"nodeChildren",id:"nodechildren",children:[]},{value:"Optional nodeParent",id:"optional-nodeparent",children:[]},{value:"type",id:"type",children:[]},{value:"Static tagName",id:"static-tagname",children:[]}]},{value:"Accessors",id:"accessors-1",children:[{value:"layout",id:"layout",children:[]}]},{value:"Methods",id:"methods-1",children:[{value:"acceptDrops",id:"acceptdrops",children:[]},{value:"activateWindow",id:"activatewindow",children:[]},{value:"addAction",id:"addaction",children:[]},{value:"addEventListener",id:"addeventlistener",children:[]},{value:"addSeparator",id:"addseparator",children:[]},{value:"adjustSize",id:"adjustsize",children:[]},{value:"appendChild",id:"appendchild",children:[]},{value:"appendInitialChild",id:"appendinitialchild",children:[]},{value:"clear",id:"clear",children:[]},{value:"clearFocus",id:"clearfocus",children:[]},{value:"close",id:"close",children:[]},{value:"eventProcessed",id:"eventprocessed",children:[]},{value:"exec",id:"exec",children:[]},{value:"font",id:"font",children:[]},{value:"geometry",id:"geometry",children:[]},{value:"getFlexNode",id:"getflexnode",children:[]},{value:"hasMouseTracking",id:"hasmousetracking",children:[]},{value:"hide",id:"hide",children:[]},{value:"inherits",id:"inherits",children:[]},{value:"insertBefore",id:"insertbefore",children:[]},{value:"isActiveWindow",id:"isactivewindow",children:[]},{value:"isEnabled",id:"isenabled",children:[]},{value:"isVisible",id:"isvisible",children:[]},{value:"lower",id:"lower",children:[]},{value:"mapFromGlobal",id:"mapfromglobal",children:[]},{value:"mapFromParent",id:"mapfromparent",children:[]},{value:"mapToGlobal",id:"maptoglobal",children:[]},{value:"mapToParent",id:"maptoparent",children:[]},{value:"maximumSize",id:"maximumsize",children:[]},{value:"minimumSize",id:"minimumsize",children:[]},{value:"move",id:"move",children:[]},{value:"objectName",id:"objectname",children:[]},{value:"popup",id:"popup",children:[]},{value:"pos",id:"pos",children:[]},{value:"property",id:"property",children:[]},{value:"raise",id:"raise",children:[]},{value:"removeAction",id:"removeaction",children:[]},{value:"removeChild",id:"removechild",children:[]},{value:"removeEventListener",id:"removeeventlistener",children:[]},{value:"repaint",id:"repaint",children:[]},{value:"repolish",id:"repolish",children:[]},{value:"resize",id:"resize",children:[]},{value:"setAcceptDrops",id:"setacceptdrops",children:[]},{value:"setAttribute",id:"setattribute",children:[]},{value:"setContextMenuPolicy",id:"setcontextmenupolicy",children:[]},{value:"setCursor",id:"setcursor",children:[]},{value:"setEnabled",id:"setenabled",children:[]},{value:"setEventProcessed",id:"seteventprocessed",children:[]},{value:"setFixedSize",id:"setfixedsize",children:[]},{value:"setFlexNodeSizeControlled",id:"setflexnodesizecontrolled",children:[]},{value:"setFocus",id:"setfocus",children:[]},{value:"setFocusPolicy",id:"setfocuspolicy",children:[]},{value:"setFont",id:"setfont",children:[]},{value:"setGeometry",id:"setgeometry",children:[]},{value:"setGraphicsEffect",id:"setgraphicseffect",children:[]},{value:"setInlineStyle",id:"setinlinestyle",children:[]},{value:"setLayout",id:"setlayout",children:[]},{value:"setMaximumSize",id:"setmaximumsize",children:[]},{value:"setMinimumSize",id:"setminimumsize",children:[]},{value:"setMouseTracking",id:"setmousetracking",children:[]},{value:"setNodeParent",id:"setnodeparent",children:[]},{value:"setObjectName",id:"setobjectname",children:[]},{value:"setProperty",id:"setproperty",children:[]},{value:"setProps",id:"setprops",children:[]},{value:"setStyleSheet",id:"setstylesheet",children:[]},{value:"setTitle",id:"settitle",children:[]},{value:"setWindowFlag",id:"setwindowflag",children:[]},{value:"setWindowIcon",id:"setwindowicon",children:[]},{value:"setWindowOpacity",id:"setwindowopacity",children:[]},{value:"setWindowState",id:"setwindowstate",children:[]},{value:"setWindowTitle",id:"setwindowtitle",children:[]},{value:"show",id:"show",children:[]},{value:"showFullScreen",id:"showfullscreen",children:[]},{value:"showMaximized",id:"showmaximized",children:[]},{value:"showMinimized",id:"showminimized",children:[]},{value:"showNormal",id:"shownormal",children:[]},{value:"size",id:"size",children:[]},{value:"styleSheet",id:"stylesheet",children:[]},{value:"testAttribute",id:"testattribute",children:[]},{value:"update",id:"update",children:[]},{value:"updateGeometry",id:"updategeometry",children:[]},{value:"windowOpacity",id:"windowopacity",children:[]},{value:"windowState",id:"windowstate",children:[]},{value:"windowTitle",id:"windowtitle",children:[]}]}],O={rightToc:p};function j(e){var t=e.components,a=Object(n.a)(e,["components"]);return Object(r.b)("wrapper",Object(b.a)({},O,a,{components:t,mdxType:"MDXLayout"}),Object(r.b)("h2",{id:"hierarchy"},"Hierarchy"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("p",{parentName:"li"},"QMenu"),Object(r.b)("p",{parentName:"li"},"\u21b3 ",Object(r.b)("strong",{parentName:"p"},"RNMenu")))),Object(r.b)("h2",{id:"implements"},"Implements"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},"RNWidget")),Object(r.b)("h2",{id:"index"},"Index"),Object(r.b)("h3",{id:"constructors"},"Constructors"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#constructor"}),"constructor"))),Object(r.b)("h3",{id:"properties"},"Properties"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#optional-_layout"}),"_layout")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#_rawinlinestyle"}),"_rawInlineStyle")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#actions"}),"actions")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#native"}),"native")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#nodechildren"}),"nodeChildren")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#optional-nodeparent"}),"nodeParent")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#type"}),"type")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#static-tagname"}),"tagName"))),Object(r.b)("h3",{id:"accessors"},"Accessors"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#layout"}),"layout"))),Object(r.b)("h3",{id:"methods"},"Methods"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#acceptdrops"}),"acceptDrops")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#activatewindow"}),"activateWindow")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#addaction"}),"addAction")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#addeventlistener"}),"addEventListener")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#addseparator"}),"addSeparator")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#adjustsize"}),"adjustSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#appendchild"}),"appendChild")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#appendinitialchild"}),"appendInitialChild")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#clear"}),"clear")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#clearfocus"}),"clearFocus")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#close"}),"close")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#eventprocessed"}),"eventProcessed")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#exec"}),"exec")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#font"}),"font")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#geometry"}),"geometry")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#getflexnode"}),"getFlexNode")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#hasmousetracking"}),"hasMouseTracking")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#hide"}),"hide")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#inherits"}),"inherits")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#insertbefore"}),"insertBefore")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#isactivewindow"}),"isActiveWindow")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#isenabled"}),"isEnabled")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#isvisible"}),"isVisible")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#lower"}),"lower")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#mapfromglobal"}),"mapFromGlobal")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#mapfromparent"}),"mapFromParent")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#maptoglobal"}),"mapToGlobal")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#maptoparent"}),"mapToParent")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#maximumsize"}),"maximumSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#minimumsize"}),"minimumSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#move"}),"move")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#objectname"}),"objectName")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#popup"}),"popup")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#pos"}),"pos")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#property"}),"property")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#raise"}),"raise")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#removeaction"}),"removeAction")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#removechild"}),"removeChild")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#removeeventlistener"}),"removeEventListener")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#repaint"}),"repaint")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#repolish"}),"repolish")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#resize"}),"resize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#setacceptdrops"}),"setAcceptDrops")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#setattribute"}),"setAttribute")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#setcontextmenupolicy"}),"setContextMenuPolicy")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#setcursor"}),"setCursor")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#setenabled"}),"setEnabled")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#seteventprocessed"}),"setEventProcessed")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#setfixedsize"}),"setFixedSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#setflexnodesizecontrolled"}),"setFlexNodeSizeControlled")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#setfocus"}),"setFocus")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#setfocuspolicy"}),"setFocusPolicy")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#setfont"}),"setFont")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#setgeometry"}),"setGeometry")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#setgraphicseffect"}),"setGraphicsEffect")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#setinlinestyle"}),"setInlineStyle")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#setlayout"}),"setLayout")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#setmaximumsize"}),"setMaximumSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#setminimumsize"}),"setMinimumSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#setmousetracking"}),"setMouseTracking")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#setnodeparent"}),"setNodeParent")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#setobjectname"}),"setObjectName")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#setproperty"}),"setProperty")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#setprops"}),"setProps")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#setstylesheet"}),"setStyleSheet")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#settitle"}),"setTitle")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#setwindowflag"}),"setWindowFlag")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#setwindowicon"}),"setWindowIcon")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#setwindowopacity"}),"setWindowOpacity")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#setwindowstate"}),"setWindowState")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#setwindowtitle"}),"setWindowTitle")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#show"}),"show")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#showfullscreen"}),"showFullScreen")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#showmaximized"}),"showMaximized")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#showminimized"}),"showMinimized")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#shownormal"}),"showNormal")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#size"}),"size")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#stylesheet"}),"styleSheet")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#testattribute"}),"testAttribute")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#update"}),"update")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#updategeometry"}),"updateGeometry")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#windowopacity"}),"windowOpacity")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#windowstate"}),"windowState")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnmenu#windowtitle"}),"windowTitle"))),Object(r.b)("h2",{id:"constructors-1"},"Constructors"),Object(r.b)("h3",{id:"constructor"},"constructor"),Object(r.b)("p",null,"+"," ",Object(r.b)("strong",{parentName:"p"},"new RNMenu"),"(): ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnmenu"}),"RNMenu"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnmenu"}),"RNMenu"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnmenu#constructor"}),"constructor"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Overrides void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnmenu"}),"RNMenu"))),Object(r.b)("p",null,"+"," ",Object(r.b)("strong",{parentName:"p"},"new RNMenu"),"(",Object(r.b)("inlineCode",{parentName:"p"},"parent"),": NodeWidget\u2039any\u203a): ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnmenu"}),"RNMenu"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnmenu"}),"RNMenu"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnmenu#constructor"}),"constructor"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Overrides void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"parent")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"NodeWidget\u2039any\u203a")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnmenu"}),"RNMenu"))),Object(r.b)("h2",{id:"properties-1"},"Properties"),Object(r.b)("h3",{id:"optional-_layout"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," _layout"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"_layout"),"? : ",Object(r.b)("em",{parentName:"p"},"NodeLayout\u2039QMenuSignals\u203a")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"_rawinlinestyle"},"_rawInlineStyle"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"_rawInlineStyle"),": ",Object(r.b)("em",{parentName:"p"},"string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"actions"},"actions"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"actions"),": ",Object(r.b)("em",{parentName:"p"},"Set\u2039QAction\u203a")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"native"},"native"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"native"),": ",Object(r.b)("em",{parentName:"p"},"NativeElement")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnmenu"}),"RNMenu"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnmenu#native"}),"native"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Overrides void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"nodechildren"},"nodeChildren"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"nodeChildren"),": ",Object(r.b)("em",{parentName:"p"},"Set\u2039Component\u203a")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#nodechildren"}),"nodeChildren"))),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-nodeparent"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," nodeParent"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"nodeParent"),"? : ",Object(r.b)("em",{parentName:"p"},"Component")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#optional-nodeparent"}),"nodeParent"))),Object(r.b)("hr",null),Object(r.b)("h3",{id:"type"},"type"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"type"),": ",Object(r.b)("em",{parentName:"p"},"string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"static-tagname"},Object(r.b)("inlineCode",{parentName:"h3"},"Static")," tagName"),Object(r.b)("p",null,"\u25aa ",Object(r.b)("strong",{parentName:"p"},"tagName"),": ",Object(r.b)("em",{parentName:"p"},"string"),' = "menu"'),Object(r.b)("h2",{id:"accessors-1"},"Accessors"),Object(r.b)("h3",{id:"layout"},"layout"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"get layout"),"(): ",Object(r.b)("em",{parentName:"p"},"NodeLayout\u2039QMenuSignals\u203a | undefined")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"NodeLayout\u2039QMenuSignals\u203a | undefined")),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"set layout"),"(",Object(r.b)("inlineCode",{parentName:"p"},"l"),": NodeLayout\u2039QMenuSignals\u203a | undefined): ",Object(r.b)("em",{parentName:"p"},"any")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"l")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"NodeLayout\u2039QMenuSignals\u203a ","|"," undefined")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"any")),Object(r.b)("h2",{id:"methods-1"},"Methods"),Object(r.b)("h3",{id:"acceptdrops"},"acceptDrops"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"acceptDrops"),"(): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"activatewindow"},"activateWindow"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"activateWindow"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"addaction"},"addAction"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"addAction"),"(",Object(r.b)("inlineCode",{parentName:"p"},"action"),": QAction | string): ",Object(r.b)("em",{parentName:"p"},"QAction")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"action")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QAction ","|"," string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QAction")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"addeventlistener"},"addEventListener"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"addEventListener"),"\u2039",Object(r.b)("strong",{parentName:"p"},"SignalType"),"\u203a(",Object(r.b)("inlineCode",{parentName:"p"},"signalType"),": SignalType, ",Object(r.b)("inlineCode",{parentName:"p"},"callback"),": QMenuSignals","[SignalType]","): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#addeventlistener"}),"addEventListener"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Type parameters:")),Object(r.b)("p",null,"\u25aa ",Object(r.b)("strong",{parentName:"p"},"SignalType"),": ",Object(r.b)("em",{parentName:"p"},"keyof QMenuSignals")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Description"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"signalType")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"SignalType"),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"SignalType is a signal from the widgets signals interface.")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"callback")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QMenuSignals","[SignalType]"),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"Corresponding callback for the signal as mentioned in the widget's signal interface")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,"void"),Object(r.b)("p",null,"For example in the case of QPushButton:"),Object(r.b)("pre",null,Object(r.b)("code",Object(b.a)({parentName:"pre"},{className:"language-js"}),"const button = new QPushButton();\nbutton.addEventListener('clicked',(checked)=>console.log(\"clicked\"));\n// here clicked is a value from QPushButtonSignals interface\n")),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"addEventListener"),"(",Object(r.b)("inlineCode",{parentName:"p"},"eventType"),": WidgetEventTypes, ",Object(r.b)("inlineCode",{parentName:"p"},"callback"),": function): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#addeventlistener"}),"addEventListener"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("p",null,"\u25aa ",Object(r.b)("strong",{parentName:"p"},"eventType"),": ",Object(r.b)("em",{parentName:"p"},"WidgetEventTypes")),Object(r.b)("p",null,"\u25aa ",Object(r.b)("strong",{parentName:"p"},"callback"),": ",Object(r.b)("em",{parentName:"p"},"function")),Object(r.b)("p",null,"For example in the case of QPushButton:"),Object(r.b)("pre",null,Object(r.b)("code",Object(b.a)({parentName:"pre"},{className:"language-js"}),'const button = new QPushButton();\nbutton.addEventListener(WidgetEventTypes.HoverEnter,()=>console.log("hovered"));\n')),Object(r.b)("p",null,"\u25b8 (",Object(r.b)("inlineCode",{parentName:"p"},"event?"),': NativeRawPointer\u2039"QEvent"\u203a): ',Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"event?")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),'NativeRawPointer\u2039"QEvent"\u203a')))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"addseparator"},"addSeparator"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"addSeparator"),"(): ",Object(r.b)("em",{parentName:"p"},"QAction")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnmenu"}),"RNMenu"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnmenu#addseparator"}),"addSeparator"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QAction")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"adjustsize"},"adjustSize"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"adjustSize"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"appendchild"},"appendChild"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"appendChild"),"(",Object(r.b)("inlineCode",{parentName:"p"},"child"),": Component): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"child")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"Component")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"appendinitialchild"},"appendInitialChild"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"appendInitialChild"),"(",Object(r.b)("inlineCode",{parentName:"p"},"child"),": Component): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"child")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"Component")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"clear"},"clear"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"clear"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnmenu"}),"RNMenu"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnmenu#clear"}),"clear"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"clearfocus"},"clearFocus"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"clearFocus"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"close"},"close"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"close"),"(): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"eventprocessed"},"eventProcessed"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"eventProcessed"),"(): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#eventprocessed"}),"eventProcessed"))),Object(r.b)("p",null,"Get the state of the event processed flag"),Object(r.b)("p",null,"See ",Object(r.b)("inlineCode",{parentName:"p"},"setEventProcessed()"),"."),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,"boolean True if the current event is flagged as processed."),Object(r.b)("hr",null),Object(r.b)("h3",{id:"exec"},"exec"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"exec"),"(",Object(r.b)("inlineCode",{parentName:"p"},"point?"),": QPoint, ",Object(r.b)("inlineCode",{parentName:"p"},"action?"),": QAction | null): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnmenu"}),"RNMenu"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnmenu#exec"}),"exec"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"point?")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QPoint")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"action?")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QAction ","|"," null")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"font"},"font"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"font"),"(): ",Object(r.b)("em",{parentName:"p"},"QFont")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QFont")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"geometry"},"geometry"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"geometry"),"(): ",Object(r.b)("em",{parentName:"p"},"QRect")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QRect")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"getflexnode"},"getFlexNode"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"getFlexNode"),"(): ",Object(r.b)("em",{parentName:"p"},"FlexNode")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"FlexNode")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"hasmousetracking"},"hasMouseTracking"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"hasMouseTracking"),"(): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"hide"},"hide"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"hide"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"inherits"},"inherits"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"inherits"),"(",Object(r.b)("inlineCode",{parentName:"p"},"className"),": string): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#inherits"}),"inherits"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"className")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"insertbefore"},"insertBefore"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"insertBefore"),"(",Object(r.b)("inlineCode",{parentName:"p"},"child"),": Component, ",Object(r.b)("inlineCode",{parentName:"p"},"beforeChild"),": Component): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"child")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"Component")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"beforeChild")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"Component")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"isactivewindow"},"isActiveWindow"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"isActiveWindow"),"(): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"isenabled"},"isEnabled"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"isEnabled"),"(): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"isvisible"},"isVisible"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"isVisible"),"(): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"lower"},"lower"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"lower"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"mapfromglobal"},"mapFromGlobal"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"mapFromGlobal"),"(",Object(r.b)("inlineCode",{parentName:"p"},"pos"),": QPoint): ",Object(r.b)("em",{parentName:"p"},"QPoint")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"pos")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QPoint")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QPoint")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"mapfromparent"},"mapFromParent"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"mapFromParent"),"(",Object(r.b)("inlineCode",{parentName:"p"},"pos"),": QPoint): ",Object(r.b)("em",{parentName:"p"},"QPoint")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"pos")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QPoint")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QPoint")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"maptoglobal"},"mapToGlobal"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"mapToGlobal"),"(",Object(r.b)("inlineCode",{parentName:"p"},"pos"),": QPoint): ",Object(r.b)("em",{parentName:"p"},"QPoint")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"pos")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QPoint")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QPoint")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"maptoparent"},"mapToParent"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"mapToParent"),"(",Object(r.b)("inlineCode",{parentName:"p"},"pos"),": QPoint): ",Object(r.b)("em",{parentName:"p"},"QPoint")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"pos")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QPoint")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QPoint")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"maximumsize"},"maximumSize"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"maximumSize"),"(): ",Object(r.b)("em",{parentName:"p"},"QSize")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QSize")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"minimumsize"},"minimumSize"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"minimumSize"),"(): ",Object(r.b)("em",{parentName:"p"},"QSize")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QSize")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"move"},"move"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"move"),"(",Object(r.b)("inlineCode",{parentName:"p"},"x"),": number, ",Object(r.b)("inlineCode",{parentName:"p"},"y"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"x")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"y")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"objectname"},"objectName"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"objectName"),"(): ",Object(r.b)("em",{parentName:"p"},"string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#objectname"}),"objectName"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"string")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"popup"},"popup"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"popup"),"(",Object(r.b)("inlineCode",{parentName:"p"},"point"),": QPoint, ",Object(r.b)("inlineCode",{parentName:"p"},"action?"),": QAction): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnmenu"}),"RNMenu"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnmenu#popup"}),"popup"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"point")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QPoint")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"action?")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QAction")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"pos"},"pos"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"pos"),"(): ",Object(r.b)("em",{parentName:"p"},"object")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"object")),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("p",{parentName:"li"},Object(r.b)("strong",{parentName:"p"},"x"),": ",Object(r.b)("em",{parentName:"p"},"number"))),Object(r.b)("li",{parentName:"ul"},Object(r.b)("p",{parentName:"li"},Object(r.b)("strong",{parentName:"p"},"y"),": ",Object(r.b)("em",{parentName:"p"},"number")))),Object(r.b)("hr",null),Object(r.b)("h3",{id:"property"},"property"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"property"),"(",Object(r.b)("inlineCode",{parentName:"p"},"name"),": string): ",Object(r.b)("em",{parentName:"p"},"QVariant")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#property"}),"property"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"name")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QVariant")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"raise"},"raise"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"raise"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"removeaction"},"removeAction"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"removeAction"),"(",Object(r.b)("inlineCode",{parentName:"p"},"action"),": QAction): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"action")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QAction")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"removechild"},"removeChild"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"removeChild"),"(",Object(r.b)("inlineCode",{parentName:"p"},"child"),": Component): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"child")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"Component")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"removeeventlistener"},"removeEventListener"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"removeEventListener"),"\u2039",Object(r.b)("strong",{parentName:"p"},"SignalType"),"\u203a(",Object(r.b)("inlineCode",{parentName:"p"},"signalType"),": SignalType, ",Object(r.b)("inlineCode",{parentName:"p"},"callback"),": QMenuSignals","[SignalType]","): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#removeeventlistener"}),"removeEventListener"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Type parameters:")),Object(r.b)("p",null,"\u25aa ",Object(r.b)("strong",{parentName:"p"},"SignalType"),": ",Object(r.b)("em",{parentName:"p"},"keyof QMenuSignals")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"signalType")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"SignalType")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"callback")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QMenuSignals","[SignalType]")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"removeEventListener"),"(",Object(r.b)("inlineCode",{parentName:"p"},"eventType"),": WidgetEventTypes, ",Object(r.b)("inlineCode",{parentName:"p"},"callback"),": function): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#removeeventlistener"}),"removeEventListener"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("p",null,"\u25aa ",Object(r.b)("strong",{parentName:"p"},"eventType"),": ",Object(r.b)("em",{parentName:"p"},"WidgetEventTypes")),Object(r.b)("p",null,"\u25aa ",Object(r.b)("strong",{parentName:"p"},"callback"),": ",Object(r.b)("em",{parentName:"p"},"function")),Object(r.b)("p",null,"\u25b8 (",Object(r.b)("inlineCode",{parentName:"p"},"event?"),': NativeRawPointer\u2039"QEvent"\u203a): ',Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"event?")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),'NativeRawPointer\u2039"QEvent"\u203a')))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"repaint"},"repaint"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"repaint"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"repolish"},"repolish"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"repolish"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"resize"},"resize"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"resize"),"(",Object(r.b)("inlineCode",{parentName:"p"},"width"),": number, ",Object(r.b)("inlineCode",{parentName:"p"},"height"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"width")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"height")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setacceptdrops"},"setAcceptDrops"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setAcceptDrops"),"(",Object(r.b)("inlineCode",{parentName:"p"},"on"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"on")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setattribute"},"setAttribute"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setAttribute"),"(",Object(r.b)("inlineCode",{parentName:"p"},"attribute"),": WidgetAttribute, ",Object(r.b)("inlineCode",{parentName:"p"},"switchOn"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"attribute")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"WidgetAttribute")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"switchOn")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setcontextmenupolicy"},"setContextMenuPolicy"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setContextMenuPolicy"),"(",Object(r.b)("inlineCode",{parentName:"p"},"contextMenuPolicy"),": ContextMenuPolicy): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"contextMenuPolicy")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"ContextMenuPolicy")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setcursor"},"setCursor"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setCursor"),"(",Object(r.b)("inlineCode",{parentName:"p"},"cursor"),": CursorShape | QCursor): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"cursor")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"CursorShape ","|"," QCursor")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setenabled"},"setEnabled"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setEnabled"),"(",Object(r.b)("inlineCode",{parentName:"p"},"enabled"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"enabled")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"seteventprocessed"},"setEventProcessed"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setEventProcessed"),"(",Object(r.b)("inlineCode",{parentName:"p"},"isProcessed"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#seteventprocessed"}),"setEventProcessed"))),Object(r.b)("p",null,"Mark the current event as having been processed"),Object(r.b)("p",null,"This method is used to indicate that the currently dispatched event\nhas been processed and no further processing by superclasses is\nrequired. It only makes sense to call this method from an event\nhandler."),Object(r.b)("p",null,"When set, this flag will cause NodeGui's ",Object(r.b)("inlineCode",{parentName:"p"},"QObject::event()")," method to\nreturn true and not call the superclass ",Object(r.b)("inlineCode",{parentName:"p"},"event()"),", effectively preventing\nany further processing on this event."),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Description"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"isProcessed")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean"),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"true if the event has been processed.")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setfixedsize"},"setFixedSize"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setFixedSize"),"(",Object(r.b)("inlineCode",{parentName:"p"},"width"),": number, ",Object(r.b)("inlineCode",{parentName:"p"},"height"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"width")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"height")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setflexnodesizecontrolled"},"setFlexNodeSizeControlled"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setFlexNodeSizeControlled"),"(",Object(r.b)("inlineCode",{parentName:"p"},"isSizeControlled"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,"sets whether the widget's size is controlled by someone else (for example a window's size is controlled by its frame when dragged)."),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Description"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"isSizeControlled")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean"),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}))))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setfocus"},"setFocus"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setFocus"),"(",Object(r.b)("inlineCode",{parentName:"p"},"reason?"),": FocusReason): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"reason?")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"FocusReason")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setfocuspolicy"},"setFocusPolicy"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setFocusPolicy"),"(",Object(r.b)("inlineCode",{parentName:"p"},"policy"),": FocusPolicy): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"policy")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"FocusPolicy")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setfont"},"setFont"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setFont"),"(",Object(r.b)("inlineCode",{parentName:"p"},"font"),": QFont): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"font")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QFont")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setgeometry"},"setGeometry"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setGeometry"),"(",Object(r.b)("inlineCode",{parentName:"p"},"x"),": number, ",Object(r.b)("inlineCode",{parentName:"p"},"y"),": number, ",Object(r.b)("inlineCode",{parentName:"p"},"w"),": number, ",Object(r.b)("inlineCode",{parentName:"p"},"h"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"x")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"y")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"w")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"h")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setgraphicseffect"},"setGraphicsEffect"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setGraphicsEffect"),"(",Object(r.b)("inlineCode",{parentName:"p"},"effect"),": QGraphicsEffect\u2039any\u203a): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"effect")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QGraphicsEffect\u2039any\u203a")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setinlinestyle"},"setInlineStyle"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setInlineStyle"),"(",Object(r.b)("inlineCode",{parentName:"p"},"style"),": string): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"style")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setlayout"},"setLayout"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setLayout"),"(",Object(r.b)("inlineCode",{parentName:"p"},"parentLayout"),": NodeLayout\u2039QMenuSignals\u203a): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"parentLayout")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"NodeLayout\u2039QMenuSignals\u203a")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setmaximumsize"},"setMaximumSize"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setMaximumSize"),"(",Object(r.b)("inlineCode",{parentName:"p"},"maxw"),": number, ",Object(r.b)("inlineCode",{parentName:"p"},"maxh"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"maxw")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"maxh")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setminimumsize"},"setMinimumSize"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setMinimumSize"),"(",Object(r.b)("inlineCode",{parentName:"p"},"minw"),": number, ",Object(r.b)("inlineCode",{parentName:"p"},"minh"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"minw")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"minh")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setmousetracking"},"setMouseTracking"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setMouseTracking"),"(",Object(r.b)("inlineCode",{parentName:"p"},"isMouseTracked"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"isMouseTracked")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setnodeparent"},"setNodeParent"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setNodeParent"),"(",Object(r.b)("inlineCode",{parentName:"p"},"parent?"),": Component): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#setnodeparent"}),"setNodeParent"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"parent?")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"Component")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setobjectname"},"setObjectName"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setObjectName"),"(",Object(r.b)("inlineCode",{parentName:"p"},"objectName"),": string): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Overrides ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#setobjectname"}),"setObjectName"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"objectName")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setproperty"},"setProperty"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setProperty"),"(",Object(r.b)("inlineCode",{parentName:"p"},"name"),": string, ",Object(r.b)("inlineCode",{parentName:"p"},"value"),": QVariantType): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#setproperty"}),"setProperty"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"name")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"value")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QVariantType")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setprops"},"setProps"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setProps"),"(",Object(r.b)("inlineCode",{parentName:"p"},"newProps"),": ",Object(r.b)("a",Object(b.a)({parentName:"p"},{href:"/docs/api/interfaces/menuprops"}),"MenuProps"),", ",Object(r.b)("inlineCode",{parentName:"p"},"oldProps"),": ",Object(r.b)("a",Object(b.a)({parentName:"p"},{href:"/docs/api/interfaces/menuprops"}),"MenuProps"),"): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"newProps")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("a",Object(b.a)({parentName:"td"},{href:"/docs/api/interfaces/menuprops"}),"MenuProps"))),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"oldProps")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("a",Object(b.a)({parentName:"td"},{href:"/docs/api/interfaces/menuprops"}),"MenuProps"))))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setstylesheet"},"setStyleSheet"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setStyleSheet"),"(",Object(r.b)("inlineCode",{parentName:"p"},"styleSheet"),": string): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"styleSheet")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"settitle"},"setTitle"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setTitle"),"(",Object(r.b)("inlineCode",{parentName:"p"},"title"),": string): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnmenu"}),"RNMenu"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnmenu#settitle"}),"setTitle"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"title")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setwindowflag"},"setWindowFlag"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setWindowFlag"),"(",Object(r.b)("inlineCode",{parentName:"p"},"windowType"),": WindowType, ",Object(r.b)("inlineCode",{parentName:"p"},"switchOn"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"windowType")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"WindowType")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"switchOn")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setwindowicon"},"setWindowIcon"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setWindowIcon"),"(",Object(r.b)("inlineCode",{parentName:"p"},"icon"),": QIcon): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"icon")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QIcon")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setwindowopacity"},"setWindowOpacity"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setWindowOpacity"),"(",Object(r.b)("inlineCode",{parentName:"p"},"opacity"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"opacity")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setwindowstate"},"setWindowState"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setWindowState"),"(",Object(r.b)("inlineCode",{parentName:"p"},"state"),": WindowState): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"state")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"WindowState")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setwindowtitle"},"setWindowTitle"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setWindowTitle"),"(",Object(r.b)("inlineCode",{parentName:"p"},"title"),": string): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"title")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"show"},"show"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"show"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"showfullscreen"},"showFullScreen"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"showFullScreen"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"showmaximized"},"showMaximized"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"showMaximized"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"showminimized"},"showMinimized"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"showMinimized"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"shownormal"},"showNormal"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"showNormal"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"size"},"size"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"size"),"(): ",Object(r.b)("em",{parentName:"p"},"QSize")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QSize")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"stylesheet"},"styleSheet"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"styleSheet"),"(): ",Object(r.b)("em",{parentName:"p"},"string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"string")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"testattribute"},"testAttribute"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"testAttribute"),"(",Object(r.b)("inlineCode",{parentName:"p"},"attribute"),": WidgetAttribute): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"attribute")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"WidgetAttribute")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"update"},"update"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"update"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"updategeometry"},"updateGeometry"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"updateGeometry"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"windowopacity"},"windowOpacity"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"windowOpacity"),"(): ",Object(r.b)("em",{parentName:"p"},"number")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"number")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"windowstate"},"windowState"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"windowState"),"(): ",Object(r.b)("em",{parentName:"p"},"number")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"number")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"windowtitle"},"windowTitle"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"windowTitle"),"(): ",Object(r.b)("em",{parentName:"p"},"string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"string")))}j.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/5061811a.09c0dd3b.js b/5061811a.09c0dd3b.js new file mode 100644 index 00000000..81c9e10c --- /dev/null +++ b/5061811a.09c0dd3b.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[35],{162:function(e,t,r){"use strict";r.d(t,"a",(function(){return d})),r.d(t,"b",(function(){return O}));var n=r(0),a=r.n(n);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var p=a.a.createContext({}),l=function(e){var t=a.a.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},d=function(e){var t=l(e.components);return a.a.createElement(p.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return a.a.createElement(a.a.Fragment,{},t)}},u=a.a.forwardRef((function(e,t){var r=e.components,n=e.mdxType,c=e.originalType,i=e.parentName,p=b(e,["components","mdxType","originalType","parentName"]),d=l(r),u=n,O=d["".concat(i,".").concat(u)]||d[u]||s[u]||c;return r?a.a.createElement(O,o(o({ref:t},p),{},{components:r})):a.a.createElement(O,o({ref:t},p))}));function O(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var c=r.length,i=new Array(c);i[0]=u;var o={};for(var b in t)hasOwnProperty.call(t,b)&&(o[b]=t[b]);o.originalType=e,o.mdxType="string"==typeof e?e:n,i[1]=o;for(var p=2;pStatic Optional container",id:"static-optional-container",children:[]}]},{value:"Methods",id:"methods-1",children:[{value:"Static forceUpdate",id:"static-forceupdate",children:[]},{value:"Static render",id:"static-render",children:[]}]}],p={rightToc:b};function l(e){var t=e.components,r=Object(a.a)(e,["components"]);return Object(c.b)("wrapper",Object(n.a)({},p,r,{components:t,mdxType:"MDXLayout"}),Object(c.b)("h2",{id:"hierarchy"},"Hierarchy"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Renderer"))),Object(c.b)("h2",{id:"index"},"Index"),Object(c.b)("h3",{id:"properties"},"Properties"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/renderer#static-optional-container"}),"container"))),Object(c.b)("h3",{id:"methods"},"Methods"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/renderer#static-forceupdate"}),"forceUpdate")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/renderer#static-render"}),"render"))),Object(c.b)("h2",{id:"properties-1"},"Properties"),Object(c.b)("h3",{id:"static-optional-container"},Object(c.b)("inlineCode",{parentName:"h3"},"Static")," ",Object(c.b)("inlineCode",{parentName:"h3"},"Optional")," container"),Object(c.b)("p",null,"\u25aa ",Object(c.b)("strong",{parentName:"p"},"container"),"? : ",Object(c.b)("em",{parentName:"p"},"ReactReconciler.FiberRoot")),Object(c.b)("h2",{id:"methods-1"},"Methods"),Object(c.b)("h3",{id:"static-forceupdate"},Object(c.b)("inlineCode",{parentName:"h3"},"Static")," forceUpdate"),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"forceUpdate"),"(): ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("hr",null),Object(c.b)("h3",{id:"static-render"},Object(c.b)("inlineCode",{parentName:"h3"},"Static")," render"),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"render"),"(",Object(c.b)("inlineCode",{parentName:"p"},"element"),": React.ReactNode, ",Object(c.b)("inlineCode",{parentName:"p"},"options?"),": ",Object(c.b)("a",Object(n.a)({parentName:"p"},{href:"/docs/api/globals#rendereroptions"}),"RendererOptions"),"): ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Parameters:")),Object(c.b)("table",null,Object(c.b)("thead",{parentName:"table"},Object(c.b)("tr",{parentName:"thead"},Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Name"),Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Type"))),Object(c.b)("tbody",{parentName:"table"},Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"element")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),"React.ReactNode")),Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"options?")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("a",Object(n.a)({parentName:"td"},{href:"/docs/api/globals#rendereroptions"}),"RendererOptions"))))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"void")))}l.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/544de4a8.32ba98db.js b/544de4a8.32ba98db.js new file mode 100644 index 00000000..f2365cd2 --- /dev/null +++ b/544de4a8.32ba98db.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[36],{162:function(e,t,r){"use strict";r.d(t,"a",(function(){return s})),r.d(t,"b",(function(){return m}));var n=r(0),i=r.n(n);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var l=i.a.createContext({}),b=function(e){var t=i.a.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},s=function(e){var t=b(e.components);return i.a.createElement(l.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return i.a.createElement(i.a.Fragment,{},t)}},d=i.a.forwardRef((function(e,t){var r=e.components,n=e.mdxType,a=e.originalType,o=e.parentName,l=p(e,["components","mdxType","originalType","parentName"]),s=b(r),d=n,m=s["".concat(o,".").concat(d)]||s[d]||u[d]||a;return r?i.a.createElement(m,c(c({ref:t},l),{},{components:r})):i.a.createElement(m,c({ref:t},l))}));function m(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var a=r.length,o=new Array(a);o[0]=d;var c={};for(var p in t)hasOwnProperty.call(t,p)&&(c[p]=t[p]);c.originalType=e,c.mdxType="string"==typeof e?e:n,o[1]=c;for(var l=2;lOptional icon",id:"optional-icon",children:[]},{value:"Optional title",id:"optional-title",children:[]}]}],l={rightToc:p};function b(e){var t=e.components,r=Object(i.a)(e,["components"]);return Object(a.b)("wrapper",Object(n.a)({},l,r,{components:t,mdxType:"MDXLayout"}),Object(a.b)("h2",{id:"hierarchy"},"Hierarchy"),Object(a.b)("ul",null,Object(a.b)("li",{parentName:"ul"},Object(a.b)("strong",{parentName:"li"},"TabItemProps"))),Object(a.b)("h2",{id:"index"},"Index"),Object(a.b)("h3",{id:"properties"},"Properties"),Object(a.b)("ul",null,Object(a.b)("li",{parentName:"ul"},Object(a.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/tabitemprops#optional-icon"}),"icon")),Object(a.b)("li",{parentName:"ul"},Object(a.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/tabitemprops#optional-title"}),"title"))),Object(a.b)("h2",{id:"properties-1"},"Properties"),Object(a.b)("h3",{id:"optional-icon"},Object(a.b)("inlineCode",{parentName:"h3"},"Optional")," icon"),Object(a.b)("p",null,"\u2022 ",Object(a.b)("strong",{parentName:"p"},"icon"),"? : ",Object(a.b)("em",{parentName:"p"},"QIcon")),Object(a.b)("hr",null),Object(a.b)("h3",{id:"optional-title"},Object(a.b)("inlineCode",{parentName:"h3"},"Optional")," title"),Object(a.b)("p",null,"\u2022 ",Object(a.b)("strong",{parentName:"p"},"title"),"? : ",Object(a.b)("em",{parentName:"p"},"undefined | string")))}b.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/59e7a846.8785634d.js b/59e7a846.8785634d.js new file mode 100644 index 00000000..b8de583e --- /dev/null +++ b/59e7a846.8785634d.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[37],{162:function(e,r,t){"use strict";t.d(r,"a",(function(){return b})),t.d(r,"b",(function(){return f}));var n=t(0),a=t.n(n);function c(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function l(e){for(var r=1;r=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var p=a.a.createContext({}),u=function(e){var r=a.a.useContext(p),t=r;return e&&(t="function"==typeof e?e(r):l(l({},r),e)),t},b=function(e){var r=u(e.components);return a.a.createElement(p.Provider,{value:r},e.children)},s={inlineCode:"code",wrapper:function(e){var r=e.children;return a.a.createElement(a.a.Fragment,{},r)}},d=a.a.forwardRef((function(e,r){var t=e.components,n=e.mdxType,c=e.originalType,i=e.parentName,p=o(e,["components","mdxType","originalType","parentName"]),b=u(t),d=n,f=b["".concat(i,".").concat(d)]||b[d]||s[d]||c;return t?a.a.createElement(f,l(l({ref:r},p),{},{components:t})):a.a.createElement(f,l({ref:r},p))}));function f(e,r){var t=arguments,n=r&&r.mdxType;if("string"==typeof e||n){var c=t.length,i=new Array(c);i[0]=d;var l={};for(var o in r)hasOwnProperty.call(r,o)&&(l[o]=r[o]);l.originalType=e,l.mdxType="string"==typeof e?e:n,i[1]=l;for(var p=2;p=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var u=a.a.createContext({}),s=function(e){var t=a.a.useContext(u),n=t;return e&&(n="function"==typeof e?e(t):c(c({},t),e)),n},l=function(e){var t=s(e.components);return a.a.createElement(u.Provider,{value:t},e.children)},b={inlineCode:"code",wrapper:function(e){var t=e.children;return a.a.createElement(a.a.Fragment,{},t)}},d=a.a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,i=e.originalType,o=e.parentName,u=p(e,["components","mdxType","originalType","parentName"]),l=s(n),d=r,g=l["".concat(o,".").concat(d)]||l[d]||b[d]||i;return n?a.a.createElement(g,c(c({ref:t},u),{},{components:n})):a.a.createElement(g,c({ref:t},u))}));function g(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=n.length,o=new Array(i);o[0]=d;var c={};for(var p in t)hasOwnProperty.call(t,p)&&(c[p]=t[p]);c.originalType=e,c.mdxType="string"==typeof e?e:r,o[1]=c;for(var u=2;u=0||(o[r]=e[r]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=o.a.createContext({}),f=function(e){var n=o.a.useContext(p),r=n;return e&&(r="function"==typeof e?e(n):i(i({},n),e)),r},l=function(e){var n=f(e.components);return o.a.createElement(p.Provider,{value:n},e.children)},s={inlineCode:"code",wrapper:function(e){var n=e.children;return o.a.createElement(o.a.Fragment,{},n)}},d=o.a.forwardRef((function(e,n){var r=e.components,t=e.mdxType,a=e.originalType,c=e.parentName,p=u(e,["components","mdxType","originalType","parentName"]),l=f(r),d=t,y=l["".concat(c,".").concat(d)]||l[d]||s[d]||a;return r?o.a.createElement(y,i(i({ref:n},p),{},{components:r})):o.a.createElement(y,i({ref:n},p))}));function y(e,n){var r=arguments,t=n&&n.mdxType;if("string"==typeof e||t){var a=r.length,c=new Array(a);c[0]=d;var i={};for(var u in n)hasOwnProperty.call(n,u)&&(i[u]=n[u]);i.originalType=e,i.mdxType="string"==typeof e?e:t,c[1]=i;for(var p=2;p=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var l=i.a.createContext({}),b=function(e){var t=i.a.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):p(p({},t),e)),r},u=function(e){var t=b(e.components);return i.a.createElement(l.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return i.a.createElement(i.a.Fragment,{},t)}},d=i.a.forwardRef((function(e,t){var r=e.components,n=e.mdxType,o=e.originalType,a=e.parentName,l=c(e,["components","mdxType","originalType","parentName"]),u=b(r),d=n,f=u["".concat(a,".").concat(d)]||u[d]||s[d]||o;return r?i.a.createElement(f,p(p({ref:t},l),{},{components:r})):i.a.createElement(f,p({ref:t},l))}));function f(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var o=r.length,a=new Array(o);a[0]=d;var p={};for(var c in t)hasOwnProperty.call(t,c)&&(p[c]=t[c]);p.originalType=e,p.mdxType="string"==typeof e?e:n,a[1]=p;for(var l=2;l=0||(i[a]=e[a]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(i[a]=e[a])}return i}var b=i.a.createContext({}),l=function(e){var t=i.a.useContext(b),a=t;return e&&(a="function"==typeof e?e(t):p(p({},t),e)),a},s=function(e){var t=l(e.components);return i.a.createElement(b.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return i.a.createElement(i.a.Fragment,{},t)}},O=i.a.forwardRef((function(e,t){var a=e.components,n=e.mdxType,r=e.originalType,o=e.parentName,b=c(e,["components","mdxType","originalType","parentName"]),s=l(a),O=n,m=s["".concat(o,".").concat(O)]||s[O]||d[O]||r;return a?i.a.createElement(m,p(p({ref:t},b),{},{components:a})):i.a.createElement(m,p({ref:t},b))}));function m(e,t){var a=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var r=a.length,o=new Array(r);o[0]=O;var p={};for(var c in t)hasOwnProperty.call(t,c)&&(p[c]=t[c]);p.originalType=e,p.mdxType="string"==typeof e?e:n,o[1]=p;for(var b=2;bOptional aspectRatioMode",id:"optional-aspectratiomode",children:[]},{value:"Optional attributes",id:"optional-attributes",children:[]},{value:"Optional buffer",id:"optional-buffer",children:[]},{value:"Optional children",id:"optional-children",children:[]},{value:"Optional cursor",id:"optional-cursor",children:[]},{value:"Optional enabled",id:"optional-enabled",children:[]},{value:"Optional geometry",id:"optional-geometry",children:[]},{value:"Optional id",id:"optional-id",children:[]},{value:"Optional maxSize",id:"optional-maxsize",children:[]},{value:"Optional minSize",id:"optional-minsize",children:[]},{value:"Optional mouseTracking",id:"optional-mousetracking",children:[]},{value:"Optional on",id:"optional-on",children:[]},{value:"Optional openExternalLinks",id:"optional-openexternallinks",children:[]},{value:"Optional pos",id:"optional-pos",children:[]},{value:"Optional ref",id:"optional-ref",children:[]},{value:"Optional scaledContents",id:"optional-scaledcontents",children:[]},{value:"Optional size",id:"optional-size",children:[]},{value:"Optional src",id:"optional-src",children:[]},{value:"Optional style",id:"optional-style",children:[]},{value:"Optional styleSheet",id:"optional-stylesheet",children:[]},{value:"Optional textInteractionFlags",id:"optional-textinteractionflags",children:[]},{value:"Optional transformationMode",id:"optional-transformationmode",children:[]},{value:"Optional visible",id:"optional-visible",children:[]},{value:"Optional windowFlags",id:"optional-windowflags",children:[]},{value:"Optional windowIcon",id:"optional-windowicon",children:[]},{value:"Optional windowOpacity",id:"optional-windowopacity",children:[]},{value:"Optional windowState",id:"optional-windowstate",children:[]},{value:"Optional windowTitle",id:"optional-windowtitle",children:[]},{value:"Optional wordWrap",id:"optional-wordwrap",children:[]}]}],b={rightToc:c};function l(e){var t=e.components,a=Object(i.a)(e,["components"]);return Object(r.b)("wrapper",Object(n.a)({},b,a,{components:t,mdxType:"MDXLayout"}),Object(r.b)("p",null,"The Image component provides the ability to render images. It is based on\n",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/generated/classes/qpixmap"}),"NodeGui's QPixmap"),"."),Object(r.b)("h2",{id:"example"},"Example"),Object(r.b)("pre",null,Object(r.b)("code",Object(n.a)({parentName:"pre"},{className:"language-javascript"}),'import React from "react";\nimport { Renderer, Image, Window } from "@nodegui/react-nodegui";\nimport { AspectRatioMode } from "@nodegui/nodegui";\nconst App = () => {\n return (\n \n \n \n );\n};\nRenderer.render();\n')),Object(r.b)("h2",{id:"hierarchy"},"Hierarchy"),Object(r.b)("p",null," \u21b3 ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"/docs/api/interfaces/textprops"}),"TextProps")),Object(r.b)("p",null," \u21b3 ",Object(r.b)("strong",{parentName:"p"},"ImageProps")),Object(r.b)("h2",{id:"index"},"Index"),Object(r.b)("h3",{id:"properties"},"Properties"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/imageprops#optional-aspectratiomode"}),"aspectRatioMode")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/imageprops#optional-attributes"}),"attributes")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/imageprops#optional-buffer"}),"buffer")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/imageprops#optional-children"}),"children")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/imageprops#optional-cursor"}),"cursor")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/imageprops#optional-enabled"}),"enabled")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/imageprops#optional-geometry"}),"geometry")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/imageprops#optional-id"}),"id")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/imageprops#optional-maxsize"}),"maxSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/imageprops#optional-minsize"}),"minSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/imageprops#optional-mousetracking"}),"mouseTracking")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/imageprops#optional-on"}),"on")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/imageprops#optional-openexternallinks"}),"openExternalLinks")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/imageprops#optional-pos"}),"pos")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/imageprops#optional-ref"}),"ref")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/imageprops#optional-scaledcontents"}),"scaledContents")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/imageprops#optional-size"}),"size")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/imageprops#optional-src"}),"src")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/imageprops#optional-style"}),"style")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/imageprops#optional-stylesheet"}),"styleSheet")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/imageprops#optional-textinteractionflags"}),"textInteractionFlags")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/imageprops#optional-transformationmode"}),"transformationMode")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/imageprops#optional-visible"}),"visible")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/imageprops#optional-windowflags"}),"windowFlags")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/imageprops#optional-windowicon"}),"windowIcon")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/imageprops#optional-windowopacity"}),"windowOpacity")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/imageprops#optional-windowstate"}),"windowState")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/imageprops#optional-windowtitle"}),"windowTitle")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/imageprops#optional-wordwrap"}),"wordWrap"))),Object(r.b)("h2",{id:"properties-1"},"Properties"),Object(r.b)("h3",{id:"optional-aspectratiomode"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," aspectRatioMode"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"aspectRatioMode"),"? : ",Object(r.b)("em",{parentName:"p"},"AspectRatioMode")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-attributes"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," attributes"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"attributes"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#widgetattributesmap"}),"WidgetAttributesMap"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-attributes"}),"attributes"))),Object(r.b)("p",null,"Prop to set the Widget Attributes. example:\n",Object(r.b)("inlineCode",{parentName:"p"},"")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-buffer"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," buffer"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"buffer"),"? : ",Object(r.b)("em",{parentName:"p"},"Buffer")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-children"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," children"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"children"),"? : ",Object(r.b)("em",{parentName:"p"},"string | number | Array\u2039string | number\u203a")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/textprops"}),"TextProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/textprops#optional-children"}),"children"))),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-cursor"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," cursor"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"cursor"),"? : ",Object(r.b)("em",{parentName:"p"},"CursorShape | QCursor")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-cursor"}),"cursor"))),Object(r.b)("p",null,"Sets the window mouse cursor. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor"}),"QWidget: setCursor")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-enabled"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," enabled"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"enabled"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | false | true")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-enabled"}),"enabled"))),Object(r.b)("p",null,"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. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled"}),"QWidget: setEnabled")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-geometry"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," geometry"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"geometry"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#geometry"}),"Geometry"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-geometry"}),"geometry"))),Object(r.b)("p",null,"Sets the screen position as well as size of the widget. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height"}),"QWidget: setGeometry")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-id"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," id"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"id"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-id"}),"id"))),Object(r.b)("p",null,"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. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname"}),"QWidget: setObjectName")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-maxsize"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," maxSize"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"maxSize"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#size"}),"Size"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-maxsize"}),"maxSize"))),Object(r.b)("p",null,"Sets the maximum size of the widget. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height"}),"QWidget: setMaximumSize")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-minsize"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," minSize"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"minSize"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#size"}),"Size"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-minsize"}),"minSize"))),Object(r.b)("p",null,"Sets the minimum size of the widget. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height"}),"QWidget: setMinimumSize")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-mousetracking"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," mouseTracking"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"mouseTracking"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | false | true")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-mousetracking"}),"mouseTracking"))),Object(r.b)("p",null,"Sets the property that tells whether mouseTracking is enabled for the widget. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked"}),"QWidget: setMouseTracking")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-on"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," on"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"on"),"? : ",Object(r.b)("em",{parentName:"p"},"Partial\u2039",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#widgeteventlisteners"}),"WidgetEventListeners")," | QLabelSignals\u203a")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-on"}),"on"))),Object(r.b)("p",null,"Prop to set the event listener map. See ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"/docs/guides/handle-events"}),"Handlong Events")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-openexternallinks"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," openExternalLinks"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"openExternalLinks"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | false | true")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/textprops"}),"TextProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/textprops#optional-openexternallinks"}),"openExternalLinks"))),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-pos"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," pos"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"pos"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#position"}),"Position"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-pos"}),"pos"))),Object(r.b)("p",null,"Sets the screen position of the widget. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y"}),"QWidget: move")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-ref"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," ref"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"ref"),"? : ",Object(r.b)("em",{parentName:"p"},"any")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-ref"}),"ref"))),Object(r.b)("p",null,"Prop to set the ref. The ref will return the underlying nodegui widget."),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-scaledcontents"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," scaledContents"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"scaledContents"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | false | true")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/textprops"}),"TextProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/textprops#optional-scaledcontents"}),"scaledContents"))),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-size"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," size"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"size"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#viewsize"}),"ViewSize"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-size"}),"size"))),Object(r.b)("p",null,"Sets both the minimum and maximum sizes of the widget. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height"}),"QWidget: setFixedSize")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-src"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," src"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"src"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | string")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-style"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," style"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"style"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-style"}),"style"))),Object(r.b)("p",null,"Sets the inline stylesheet property. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle"}),"QWidget: setInlineStyle")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-stylesheet"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," styleSheet"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"styleSheet"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-stylesheet"}),"styleSheet"))),Object(r.b)("p",null,"Sets the property that holds the widget's style sheet. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet"}),"QWidget: setStyleSheet")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-textinteractionflags"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," textInteractionFlags"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"textInteractionFlags"),"? : ",Object(r.b)("em",{parentName:"p"},"TextInteractionFlag")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/textprops"}),"TextProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/textprops#optional-textinteractionflags"}),"textInteractionFlags"))),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-transformationmode"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," transformationMode"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"transformationMode"),"? : ",Object(r.b)("em",{parentName:"p"},"TransformationMode")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-visible"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," visible"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"visible"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | false | true")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-visible"}),"visible"))),Object(r.b)("p",null,"Shows or hides the widget and its children. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetshow"}),"QWidget: show")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowflags"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowFlags"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowFlags"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#windowflagsmap"}),"WindowFlagsMap"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowflags"}),"windowFlags"))),Object(r.b)("p",null,"Prop to set the Widget flags. example:\n",Object(r.b)("inlineCode",{parentName:"p"},"")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowicon"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowIcon"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowIcon"),"? : ",Object(r.b)("em",{parentName:"p"},"QIcon")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowicon"}),"windowIcon"))),Object(r.b)("p",null,"Sets the window icon. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon"}),"QWidget: setWindowIcon")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowopacity"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowOpacity"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowOpacity"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | number")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowopacity"}),"windowOpacity"))),Object(r.b)("p",null,"This property holds the level of opacity for the window. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity"}),"QWidget: setWindowOpacity")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowstate"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowState"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowState"),"? : ",Object(r.b)("em",{parentName:"p"},"WindowState")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowstate"}),"windowState"))),Object(r.b)("p",null,"Sets the window state. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate"}),"QWidget: setWindowState")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowtitle"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowTitle"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowTitle"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowtitle"}),"windowTitle"))),Object(r.b)("p",null,"Sets the window title property. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle"}),"QWidget: setWindowTitle")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-wordwrap"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," wordWrap"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"wordWrap"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | false | true")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/textprops"}),"TextProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/textprops#optional-wordwrap"}),"wordWrap"))))}l.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/63263d59.fe69e788.js b/63263d59.fe69e788.js new file mode 100644 index 00000000..3a4e1ec3 --- /dev/null +++ b/63263d59.fe69e788.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[42],{100:function(e,t,n){"use strict";n.r(t),n.d(t,"frontMatter",(function(){return u})),n.d(t,"metadata",(function(){return a})),n.d(t,"rightToc",(function(){return c})),n.d(t,"default",(function(){return s}));var r=n(2),o=n(6),i=(n(0),n(162)),u={sidebar_label:"Custom React NodeGui Plugin",title:"Custom React NodeGui Plugin"},a={unversionedId:"guides/custom-nodegui-native-plugin",id:"guides/custom-nodegui-native-plugin",isDocsHomePage:!1,title:"Custom React NodeGui Plugin",description:"WIP",source:"@site/docs/guides/custom-nodegui-native-plugin.md",slug:"/guides/custom-nodegui-native-plugin",permalink:"/docs/guides/custom-nodegui-native-plugin",version:"current",sidebar_label:"Custom React NodeGui Plugin",sidebar:"guides",previous:{title:"Using native Node Modules",permalink:"/docs/guides/using-native-node-modules"}},c=[],l={rightToc:c};function s(e){var t=e.components,n=Object(o.a)(e,["components"]);return Object(i.b)("wrapper",Object(r.a)({},l,n,{components:t,mdxType:"MDXLayout"}),Object(i.b)("p",null,"WIP"))}s.isMDXComponent=!0},162:function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return g}));var r=n(0),o=n.n(r);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var l=o.a.createContext({}),s=function(e){var t=o.a.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},p=function(e){var t=s(e.components);return o.a.createElement(l.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return o.a.createElement(o.a.Fragment,{},t)}},f=o.a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,i=e.originalType,u=e.parentName,l=c(e,["components","mdxType","originalType","parentName"]),p=s(n),f=r,g=p["".concat(u,".").concat(f)]||p[f]||d[f]||i;return n?o.a.createElement(g,a(a({ref:t},l),{},{components:n})):o.a.createElement(g,a({ref:t},l))}));function g(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=n.length,u=new Array(i);u[0]=f;var a={};for(var c in t)hasOwnProperty.call(t,c)&&(a[c]=t[c]);a.originalType=e,a.mdxType="string"==typeof e?e:r,u[1]=a;for(var l=2;lOptional attributes",id:"optional-attributes",children:[]},{value:"Optional count",id:"optional-count",children:[]},{value:"Optional currentData",id:"optional-currentdata",children:[]},{value:"Optional currentIndex",id:"optional-currentindex",children:[]},{value:"Optional currentText",id:"optional-currenttext",children:[]},{value:"Optional cursor",id:"optional-cursor",children:[]},{value:"Optional duplicatesEnabled",id:"optional-duplicatesenabled",children:[]},{value:"Optional editable",id:"optional-editable",children:[]},{value:"Optional enabled",id:"optional-enabled",children:[]},{value:"Optional frame",id:"optional-frame",children:[]},{value:"Optional geometry",id:"optional-geometry",children:[]},{value:"Optional iconSize",id:"optional-iconsize",children:[]},{value:"Optional id",id:"optional-id",children:[]},{value:"Optional insertPolicy",id:"optional-insertpolicy",children:[]},{value:"Optional items",id:"optional-items",children:[]},{value:"Optional maxCount",id:"optional-maxcount",children:[]},{value:"Optional maxSize",id:"optional-maxsize",children:[]},{value:"Optional maxVisibleItems",id:"optional-maxvisibleitems",children:[]},{value:"Optional minSize",id:"optional-minsize",children:[]},{value:"Optional minimumContentsLength",id:"optional-minimumcontentslength",children:[]},{value:"Optional modelColumn",id:"optional-modelcolumn",children:[]},{value:"Optional mouseTracking",id:"optional-mousetracking",children:[]},{value:"Optional on",id:"optional-on",children:[]},{value:"Optional pos",id:"optional-pos",children:[]},{value:"Optional ref",id:"optional-ref",children:[]},{value:"Optional size",id:"optional-size",children:[]},{value:"Optional sizeAdjustPolicy",id:"optional-sizeadjustpolicy",children:[]},{value:"Optional style",id:"optional-style",children:[]},{value:"Optional styleSheet",id:"optional-stylesheet",children:[]},{value:"Optional visible",id:"optional-visible",children:[]},{value:"Optional windowFlags",id:"optional-windowflags",children:[]},{value:"Optional windowIcon",id:"optional-windowicon",children:[]},{value:"Optional windowOpacity",id:"optional-windowopacity",children:[]},{value:"Optional windowState",id:"optional-windowstate",children:[]},{value:"Optional windowTitle",id:"optional-windowtitle",children:[]}]}],c={rightToc:p};function l(e){var t=e.components,a=Object(i.a)(e,["components"]);return Object(o.b)("wrapper",Object(n.a)({},c,a,{components:t,mdxType:"MDXLayout"}),Object(o.b)("h2",{id:"hierarchy"},"Hierarchy"),Object(o.b)("p",null," \u21b3 ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),"\u2039QComboBoxSignals\u203a"),Object(o.b)("p",null," \u21b3 ",Object(o.b)("strong",{parentName:"p"},"ComboBoxProps")),Object(o.b)("h2",{id:"index"},"Index"),Object(o.b)("h3",{id:"properties"},"Properties"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-attributes"}),"attributes")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-count"}),"count")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-currentdata"}),"currentData")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-currentindex"}),"currentIndex")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-currenttext"}),"currentText")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-cursor"}),"cursor")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-duplicatesenabled"}),"duplicatesEnabled")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-editable"}),"editable")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-enabled"}),"enabled")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-frame"}),"frame")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-geometry"}),"geometry")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-iconsize"}),"iconSize")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-id"}),"id")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-insertpolicy"}),"insertPolicy")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-items"}),"items")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-maxcount"}),"maxCount")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-maxsize"}),"maxSize")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-maxvisibleitems"}),"maxVisibleItems")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-minsize"}),"minSize")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-minimumcontentslength"}),"minimumContentsLength")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-modelcolumn"}),"modelColumn")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-mousetracking"}),"mouseTracking")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-on"}),"on")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-pos"}),"pos")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-ref"}),"ref")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-size"}),"size")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-sizeadjustpolicy"}),"sizeAdjustPolicy")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-style"}),"style")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-stylesheet"}),"styleSheet")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-visible"}),"visible")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-windowflags"}),"windowFlags")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-windowicon"}),"windowIcon")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-windowopacity"}),"windowOpacity")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-windowstate"}),"windowState")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/comboboxprops#optional-windowtitle"}),"windowTitle"))),Object(o.b)("h2",{id:"properties-1"},"Properties"),Object(o.b)("h3",{id:"optional-attributes"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," attributes"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"attributes"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#widgetattributesmap"}),"WidgetAttributesMap"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-attributes"}),"attributes"))),Object(o.b)("p",null,"Prop to set the Widget Attributes. example:\n",Object(o.b)("inlineCode",{parentName:"p"},"")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-count"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," count"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"count"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | number")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-currentdata"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," currentData"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"currentData"),"? : ",Object(o.b)("em",{parentName:"p"},"QVariant")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-currentindex"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," currentIndex"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"currentIndex"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | number")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-currenttext"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," currentText"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"currentText"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | string")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-cursor"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," cursor"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"cursor"),"? : ",Object(o.b)("em",{parentName:"p"},"CursorShape | QCursor")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-cursor"}),"cursor"))),Object(o.b)("p",null,"Sets the window mouse cursor. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor"}),"QWidget: setCursor")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-duplicatesenabled"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," duplicatesEnabled"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"duplicatesEnabled"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | false | true")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-editable"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," editable"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"editable"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | false | true")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-enabled"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," enabled"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"enabled"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | false | true")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-enabled"}),"enabled"))),Object(o.b)("p",null,"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. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled"}),"QWidget: setEnabled")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-frame"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," frame"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"frame"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | false | true")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-geometry"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," geometry"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"geometry"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#geometry"}),"Geometry"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-geometry"}),"geometry"))),Object(o.b)("p",null,"Sets the screen position as well as size of the widget. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height"}),"QWidget: setGeometry")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-iconsize"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," iconSize"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"iconSize"),"? : ",Object(o.b)("em",{parentName:"p"},"QSize")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-id"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," id"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"id"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | string")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-id"}),"id"))),Object(o.b)("p",null,"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. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname"}),"QWidget: setObjectName")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-insertpolicy"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," insertPolicy"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"insertPolicy"),"? : ",Object(o.b)("em",{parentName:"p"},"InsertPolicy")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-items"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," items"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"items"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#comboboxitem"}),"ComboBoxItem"),"[]")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-maxcount"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," maxCount"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"maxCount"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | number")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-maxsize"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," maxSize"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"maxSize"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#size"}),"Size"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-maxsize"}),"maxSize"))),Object(o.b)("p",null,"Sets the maximum size of the widget. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height"}),"QWidget: setMaximumSize")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-maxvisibleitems"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," maxVisibleItems"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"maxVisibleItems"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | number")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-minsize"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," minSize"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"minSize"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#size"}),"Size"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-minsize"}),"minSize"))),Object(o.b)("p",null,"Sets the minimum size of the widget. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height"}),"QWidget: setMinimumSize")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-minimumcontentslength"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," minimumContentsLength"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"minimumContentsLength"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | number")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-modelcolumn"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," modelColumn"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"modelColumn"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | number")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-mousetracking"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," mouseTracking"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"mouseTracking"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | false | true")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-mousetracking"}),"mouseTracking"))),Object(o.b)("p",null,"Sets the property that tells whether mouseTracking is enabled for the widget. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked"}),"QWidget: setMouseTracking")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-on"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," on"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"on"),"? : ",Object(o.b)("em",{parentName:"p"},"Partial\u2039",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#widgeteventlisteners"}),"WidgetEventListeners")," | QComboBoxSignals\u203a")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-on"}),"on"))),Object(o.b)("p",null,"Prop to set the event listener map. See ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"/docs/guides/handle-events"}),"Handlong Events")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-pos"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," pos"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"pos"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#position"}),"Position"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-pos"}),"pos"))),Object(o.b)("p",null,"Sets the screen position of the widget. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y"}),"QWidget: move")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-ref"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," ref"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"ref"),"? : ",Object(o.b)("em",{parentName:"p"},"any")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-ref"}),"ref"))),Object(o.b)("p",null,"Prop to set the ref. The ref will return the underlying nodegui widget."),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-size"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," size"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"size"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#viewsize"}),"ViewSize"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-size"}),"size"))),Object(o.b)("p",null,"Sets both the minimum and maximum sizes of the widget. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height"}),"QWidget: setFixedSize")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-sizeadjustpolicy"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," sizeAdjustPolicy"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"sizeAdjustPolicy"),"? : ",Object(o.b)("em",{parentName:"p"},"SizeAdjustPolicy")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-style"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," style"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"style"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | string")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-style"}),"style"))),Object(o.b)("p",null,"Sets the inline stylesheet property. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle"}),"QWidget: setInlineStyle")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-stylesheet"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," styleSheet"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"styleSheet"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | string")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-stylesheet"}),"styleSheet"))),Object(o.b)("p",null,"Sets the property that holds the widget's style sheet. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet"}),"QWidget: setStyleSheet")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-visible"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," visible"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"visible"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | false | true")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-visible"}),"visible"))),Object(o.b)("p",null,"Shows or hides the widget and its children. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetshow"}),"QWidget: show")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-windowflags"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," windowFlags"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"windowFlags"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#windowflagsmap"}),"WindowFlagsMap"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowflags"}),"windowFlags"))),Object(o.b)("p",null,"Prop to set the Widget flags. example:\n",Object(o.b)("inlineCode",{parentName:"p"},"")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-windowicon"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," windowIcon"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"windowIcon"),"? : ",Object(o.b)("em",{parentName:"p"},"QIcon")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowicon"}),"windowIcon"))),Object(o.b)("p",null,"Sets the window icon. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon"}),"QWidget: setWindowIcon")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-windowopacity"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," windowOpacity"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"windowOpacity"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | number")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowopacity"}),"windowOpacity"))),Object(o.b)("p",null,"This property holds the level of opacity for the window. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity"}),"QWidget: setWindowOpacity")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-windowstate"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," windowState"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"windowState"),"? : ",Object(o.b)("em",{parentName:"p"},"WindowState")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowstate"}),"windowState"))),Object(o.b)("p",null,"Sets the window state. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate"}),"QWidget: setWindowState")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-windowtitle"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," windowTitle"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"windowTitle"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | string")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowtitle"}),"windowTitle"))),Object(o.b)("p",null,"Sets the window title property. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle"}),"QWidget: setWindowTitle")))}l.isMDXComponent=!0},162:function(e,t,a){"use strict";a.d(t,"a",(function(){return s})),a.d(t,"b",(function(){return O}));var n=a(0),i=a.n(n);function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function b(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function r(e){for(var t=1;t=0||(i[a]=e[a]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(i[a]=e[a])}return i}var c=i.a.createContext({}),l=function(e){var t=i.a.useContext(c),a=t;return e&&(a="function"==typeof e?e(t):r(r({},t),e)),a},s=function(e){var t=l(e.components);return i.a.createElement(c.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return i.a.createElement(i.a.Fragment,{},t)}},m=i.a.forwardRef((function(e,t){var a=e.components,n=e.mdxType,o=e.originalType,b=e.parentName,c=p(e,["components","mdxType","originalType","parentName"]),s=l(a),m=n,O=s["".concat(b,".").concat(m)]||s[m]||d[m]||o;return a?i.a.createElement(O,r(r({ref:t},c),{},{components:a})):i.a.createElement(O,r({ref:t},c))}));function O(e,t){var a=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var o=a.length,b=new Array(o);b[0]=m;var r={};for(var p in t)hasOwnProperty.call(t,p)&&(r[p]=t[p]);r.originalType=e,r.mdxType="string"==typeof e?e:n,b[1]=r;for(var c=2;cOptional order",id:"optional-order",children:[]}]}],l={rightToc:p};function s(e){var r=e.components,t=Object(o.a)(e,["components"]);return Object(i.b)("wrapper",Object(n.a)({},l,t,{components:r,mdxType:"MDXLayout"}),Object(i.b)("h2",{id:"hierarchy"},"Hierarchy"),Object(i.b)("ul",null,Object(i.b)("li",{parentName:"ul"},Object(i.b)("p",{parentName:"li"},"object"),Object(i.b)("p",{parentName:"li"},"\u21b3 ",Object(i.b)("strong",{parentName:"p"},"Sort")))),Object(i.b)("h2",{id:"index"},"Index"),Object(i.b)("h3",{id:"properties"},"Properties"),Object(i.b)("ul",null,Object(i.b)("li",{parentName:"ul"},Object(i.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/sort#optional-order"}),"order"))),Object(i.b)("h2",{id:"properties-1"},"Properties"),Object(i.b)("h3",{id:"optional-order"},Object(i.b)("inlineCode",{parentName:"h3"},"Optional")," order"),Object(i.b)("p",null,"\u2022 ",Object(i.b)("strong",{parentName:"p"},"order"),"? : ",Object(i.b)("em",{parentName:"p"},"SortOrder")))}s.isMDXComponent=!0},162:function(e,r,t){"use strict";t.d(r,"a",(function(){return u})),t.d(r,"b",(function(){return f}));var n=t(0),o=t.n(n);function i(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function a(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function c(e){for(var r=1;r=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var l=o.a.createContext({}),s=function(e){var r=o.a.useContext(l),t=r;return e&&(t="function"==typeof e?e(r):c(c({},r),e)),t},u=function(e){var r=s(e.components);return o.a.createElement(l.Provider,{value:r},e.children)},b={inlineCode:"code",wrapper:function(e){var r=e.children;return o.a.createElement(o.a.Fragment,{},r)}},d=o.a.forwardRef((function(e,r){var t=e.components,n=e.mdxType,i=e.originalType,a=e.parentName,l=p(e,["components","mdxType","originalType","parentName"]),u=s(t),d=n,f=u["".concat(a,".").concat(d)]||u[d]||b[d]||i;return t?o.a.createElement(f,c(c({ref:r},l),{},{components:t})):o.a.createElement(f,c({ref:r},l))}));function f(e,r){var t=arguments,n=r&&r.mdxType;if("string"==typeof e||n){var i=t.length,a=new Array(i);a[0]=d;var c={};for(var p in r)hasOwnProperty.call(r,p)&&(c[p]=r[p]);c.originalType=e,c.mdxType="string"==typeof e?e:n,a[1]=c;for(var l=2;l1?a+"s":a}(s,"post"),' tagged with "',o,'"'),n.a.createElement(c.a,{href:r},"View All Tags"),n.a.createElement("div",{className:"margin-vert--xl"},t.map((function(e){var a=e.content;return n.a.createElement(m.a,{key:a.metadata.permalink,frontMatter:a.frontMatter,metadata:a.metadata,truncated:!0},n.a.createElement(a,null))})))))))}},172:function(e,a,t){"use strict";var r=t(0),n=t.n(r),l=t(165),m=t(162),c=t(168),o=t(164),s=t(176),i=t(166),g=t(48),u=t.n(g),E=["January","February","March","April","May","June","July","August","September","October","November","December"];a.a=function(e){var a,t,r,g,d,h=e.children,v=e.frontMatter,p=e.metadata,b=e.truncated,f=e.isBlogPostPage,N=void 0!==f&&f,_=p.date,w=p.permalink,k=p.tags,y=p.readingTime,T=v.author,M=v.title,P=v.image,J=v.keywords,F=v.author_url||v.authorURL,I=v.author_title||v.authorTitle,R=v.author_image_url||v.authorImageURL,j=Object(i.a)(P,{absolute:!0});return n.a.createElement(n.a.Fragment,null,n.a.createElement(c.a,null,J&&J.length&&n.a.createElement("meta",{name:"keywords",content:J.join(",")}),P&&n.a.createElement("meta",{property:"og:image",content:j}),P&&n.a.createElement("meta",{property:"twitter:image",content:j}),P&&n.a.createElement("meta",{name:"twitter:image:alt",content:"Image for "+M})),n.a.createElement("article",{className:N?void 0:"margin-bottom--xl"},(a=N?"h1":"h2",t=_.substring(0,10).split("-"),r=t[0],g=E[parseInt(t[1],10)-1],d=parseInt(t[2],10),n.a.createElement("header",null,n.a.createElement(a,{className:Object(l.a)("margin-bottom--sm",u.a.blogPostTitle)},N?M:n.a.createElement(o.a,{to:w},M)),n.a.createElement("div",{className:"margin-vert--md"},n.a.createElement("time",{dateTime:_,className:u.a.blogPostDate},g," ",d,", ",r," ",y&&n.a.createElement(n.a.Fragment,null," \xb7 ",Math.ceil(y)," min read"))),n.a.createElement("div",{className:"avatar margin-vert--md"},R&&n.a.createElement("a",{className:"avatar__photo-link avatar__photo",href:F,target:"_blank",rel:"noreferrer noopener"},n.a.createElement("img",{src:R,alt:T})),n.a.createElement("div",{className:"avatar__intro"},T&&n.a.createElement(n.a.Fragment,null,n.a.createElement("h4",{className:"avatar__name"},n.a.createElement("a",{href:F,target:"_blank",rel:"noreferrer noopener"},T)),n.a.createElement("small",{className:"avatar__subtitle"},I)))))),n.a.createElement("section",{className:"markdown"},n.a.createElement(m.a,{components:s.a},h)),(k.length>0||b)&&n.a.createElement("footer",{className:"row margin-vert--lg"},k.length>0&&n.a.createElement("div",{className:"col"},n.a.createElement("strong",null,"Tags:"),k.map((function(e){var a=e.label,t=e.permalink;return n.a.createElement(o.a,{key:t,className:"margin-horiz--sm",to:t},a)}))),b&&n.a.createElement("div",{className:"col text--right"},n.a.createElement(o.a,{to:p.permalink,"aria-label":"Read more about "+M},n.a.createElement("strong",null,"Read More"))))))}}}]); \ No newline at end of file diff --git a/6a2bbfa2.7125e493.js b/6a2bbfa2.7125e493.js new file mode 100644 index 00000000..7bbc119f --- /dev/null +++ b/6a2bbfa2.7125e493.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[46],{104:function(e,t,r){"use strict";r.r(t),r.d(t,"frontMatter",(function(){return c})),r.d(t,"metadata",(function(){return o})),r.d(t,"rightToc",(function(){return l})),r.d(t,"default",(function(){return b}));var a=r(2),n=r(6),i=(r(0),r(162)),c={id:"tabledata",title:"TableData",sidebar_label:"TableData"},o={unversionedId:"api/interfaces/tabledata",id:"api/interfaces/tabledata",isDocsHomePage:!1,title:"TableData",description:"Hierarchy",source:"@site/docs/api/interfaces/tabledata.md",slug:"/api/interfaces/tabledata",permalink:"/docs/api/interfaces/tabledata",version:"current",sidebar_label:"TableData",sidebar:"api",previous:{title:"TabProps",permalink:"/docs/api/interfaces/tabprops"},next:{title:"TableItemProps",permalink:"/docs/api/interfaces/tableitemprops"}},l=[{value:"Hierarchy",id:"hierarchy",children:[]},{value:"Index",id:"index",children:[{value:"Properties",id:"properties",children:[]}]},{value:"Properties",id:"properties-1",children:[{value:"role",id:"role",children:[]},{value:"value",id:"value",children:[]}]}],p={rightToc:l};function b(e){var t=e.components,r=Object(n.a)(e,["components"]);return Object(i.b)("wrapper",Object(a.a)({},p,r,{components:t,mdxType:"MDXLayout"}),Object(i.b)("h2",{id:"hierarchy"},"Hierarchy"),Object(i.b)("ul",null,Object(i.b)("li",{parentName:"ul"},Object(i.b)("strong",{parentName:"li"},"TableData"))),Object(i.b)("h2",{id:"index"},"Index"),Object(i.b)("h3",{id:"properties"},"Properties"),Object(i.b)("ul",null,Object(i.b)("li",{parentName:"ul"},Object(i.b)("a",Object(a.a)({parentName:"li"},{href:"/docs/api/interfaces/tabledata#role"}),"role")),Object(i.b)("li",{parentName:"ul"},Object(i.b)("a",Object(a.a)({parentName:"li"},{href:"/docs/api/interfaces/tabledata#value"}),"value"))),Object(i.b)("h2",{id:"properties-1"},"Properties"),Object(i.b)("h3",{id:"role"},"role"),Object(i.b)("p",null,"\u2022 ",Object(i.b)("strong",{parentName:"p"},"role"),": ",Object(i.b)("em",{parentName:"p"},"number")),Object(i.b)("hr",null),Object(i.b)("h3",{id:"value"},"value"),Object(i.b)("p",null,"\u2022 ",Object(i.b)("strong",{parentName:"p"},"value"),": ",Object(i.b)("em",{parentName:"p"},"QVariant")))}b.isMDXComponent=!0},162:function(e,t,r){"use strict";r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return f}));var a=r(0),n=r.n(a);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var p=n.a.createContext({}),b=function(e){var t=n.a.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},u=function(e){var t=b(e.components);return n.a.createElement(p.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.a.createElement(n.a.Fragment,{},t)}},d=n.a.forwardRef((function(e,t){var r=e.components,a=e.mdxType,i=e.originalType,c=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),u=b(r),d=a,f=u["".concat(c,".").concat(d)]||u[d]||s[d]||i;return r?n.a.createElement(f,o(o({ref:t},p),{},{components:r})):n.a.createElement(f,o({ref:t},p))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=r.length,c=new Array(i);c[0]=d;var o={};for(var l in t)hasOwnProperty.call(t,l)&&(o[l]=t[l]);o.originalType=e,o.mdxType="string"==typeof e?e:a,c[1]=o;for(var p=2;pOptional attributes",id:"optional-attributes",children:[]},{value:"Optional cursor",id:"optional-cursor",children:[]},{value:"Optional enabled",id:"optional-enabled",children:[]},{value:"Optional geometry",id:"optional-geometry",children:[]},{value:"Optional id",id:"optional-id",children:[]},{value:"Optional maxSize",id:"optional-maxsize",children:[]},{value:"Optional minSize",id:"optional-minsize",children:[]},{value:"Optional mouseTracking",id:"optional-mousetracking",children:[]},{value:"Optional on",id:"optional-on",children:[]},{value:"Optional pos",id:"optional-pos",children:[]},{value:"Optional ref",id:"optional-ref",children:[]},{value:"Optional size",id:"optional-size",children:[]},{value:"Optional style",id:"optional-style",children:[]},{value:"Optional styleSheet",id:"optional-stylesheet",children:[]},{value:"Optional tabPosition",id:"optional-tabposition",children:[]},{value:"Optional visible",id:"optional-visible",children:[]},{value:"Optional windowFlags",id:"optional-windowflags",children:[]},{value:"Optional windowIcon",id:"optional-windowicon",children:[]},{value:"Optional windowOpacity",id:"optional-windowopacity",children:[]},{value:"Optional windowState",id:"optional-windowstate",children:[]},{value:"Optional windowTitle",id:"optional-windowtitle",children:[]}]}],c={rightToc:b};function l(e){var t=e.components,a=Object(n.a)(e,["components"]);return Object(o.b)("wrapper",Object(i.a)({},c,a,{components:t,mdxType:"MDXLayout"}),Object(o.b)("h2",{id:"hierarchy"},"Hierarchy"),Object(o.b)("p",null," \u21b3 ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),"\u2039QTabWidgetSignals\u203a"),Object(o.b)("p",null," \u21b3 ",Object(o.b)("strong",{parentName:"p"},"TabProps")),Object(o.b)("h2",{id:"index"},"Index"),Object(o.b)("h3",{id:"properties"},"Properties"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/tabprops#optional-attributes"}),"attributes")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/tabprops#optional-cursor"}),"cursor")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/tabprops#optional-enabled"}),"enabled")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/tabprops#optional-geometry"}),"geometry")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/tabprops#optional-id"}),"id")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/tabprops#optional-maxsize"}),"maxSize")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/tabprops#optional-minsize"}),"minSize")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/tabprops#optional-mousetracking"}),"mouseTracking")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/tabprops#optional-on"}),"on")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/tabprops#optional-pos"}),"pos")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/tabprops#optional-ref"}),"ref")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/tabprops#optional-size"}),"size")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/tabprops#optional-style"}),"style")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/tabprops#optional-stylesheet"}),"styleSheet")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/tabprops#optional-tabposition"}),"tabPosition")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/tabprops#optional-visible"}),"visible")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/tabprops#optional-windowflags"}),"windowFlags")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/tabprops#optional-windowicon"}),"windowIcon")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/tabprops#optional-windowopacity"}),"windowOpacity")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/tabprops#optional-windowstate"}),"windowState")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/tabprops#optional-windowtitle"}),"windowTitle"))),Object(o.b)("h2",{id:"properties-1"},"Properties"),Object(o.b)("h3",{id:"optional-attributes"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," attributes"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"attributes"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#widgetattributesmap"}),"WidgetAttributesMap"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-attributes"}),"attributes"))),Object(o.b)("p",null,"Prop to set the Widget Attributes. example:\n",Object(o.b)("inlineCode",{parentName:"p"},"")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-cursor"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," cursor"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"cursor"),"? : ",Object(o.b)("em",{parentName:"p"},"CursorShape | QCursor")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-cursor"}),"cursor"))),Object(o.b)("p",null,"Sets the window mouse cursor. ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor"}),"QWidget: setCursor")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-enabled"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," enabled"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"enabled"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | false | true")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-enabled"}),"enabled"))),Object(o.b)("p",null,"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. ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled"}),"QWidget: setEnabled")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-geometry"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," geometry"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"geometry"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#geometry"}),"Geometry"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-geometry"}),"geometry"))),Object(o.b)("p",null,"Sets the screen position as well as size of the widget. ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height"}),"QWidget: setGeometry")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-id"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," id"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"id"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | string")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-id"}),"id"))),Object(o.b)("p",null,"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. ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname"}),"QWidget: setObjectName")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-maxsize"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," maxSize"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"maxSize"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#size"}),"Size"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-maxsize"}),"maxSize"))),Object(o.b)("p",null,"Sets the maximum size of the widget. ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height"}),"QWidget: setMaximumSize")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-minsize"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," minSize"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"minSize"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#size"}),"Size"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-minsize"}),"minSize"))),Object(o.b)("p",null,"Sets the minimum size of the widget. ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height"}),"QWidget: setMinimumSize")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-mousetracking"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," mouseTracking"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"mouseTracking"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | false | true")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-mousetracking"}),"mouseTracking"))),Object(o.b)("p",null,"Sets the property that tells whether mouseTracking is enabled for the widget. ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked"}),"QWidget: setMouseTracking")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-on"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," on"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"on"),"? : ",Object(o.b)("em",{parentName:"p"},"Partial\u2039",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#widgeteventlisteners"}),"WidgetEventListeners")," | QTabWidgetSignals\u203a")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-on"}),"on"))),Object(o.b)("p",null,"Prop to set the event listener map. See ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"/docs/guides/handle-events"}),"Handlong Events")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-pos"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," pos"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"pos"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#position"}),"Position"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-pos"}),"pos"))),Object(o.b)("p",null,"Sets the screen position of the widget. ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y"}),"QWidget: move")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-ref"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," ref"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"ref"),"? : ",Object(o.b)("em",{parentName:"p"},"any")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-ref"}),"ref"))),Object(o.b)("p",null,"Prop to set the ref. The ref will return the underlying nodegui widget."),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-size"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," size"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"size"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#viewsize"}),"ViewSize"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-size"}),"size"))),Object(o.b)("p",null,"Sets both the minimum and maximum sizes of the widget. ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height"}),"QWidget: setFixedSize")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-style"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," style"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"style"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | string")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-style"}),"style"))),Object(o.b)("p",null,"Sets the inline stylesheet property. ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle"}),"QWidget: setInlineStyle")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-stylesheet"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," styleSheet"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"styleSheet"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | string")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-stylesheet"}),"styleSheet"))),Object(o.b)("p",null,"Sets the property that holds the widget's style sheet. ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet"}),"QWidget: setStyleSheet")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-tabposition"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," tabPosition"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"tabPosition"),"? : ",Object(o.b)("em",{parentName:"p"},"TabPosition")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-visible"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," visible"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"visible"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | false | true")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-visible"}),"visible"))),Object(o.b)("p",null,"Shows or hides the widget and its children. ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetshow"}),"QWidget: show")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-windowflags"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," windowFlags"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"windowFlags"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#windowflagsmap"}),"WindowFlagsMap"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowflags"}),"windowFlags"))),Object(o.b)("p",null,"Prop to set the Widget flags. example:\n",Object(o.b)("inlineCode",{parentName:"p"},"")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-windowicon"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," windowIcon"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"windowIcon"),"? : ",Object(o.b)("em",{parentName:"p"},"QIcon")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowicon"}),"windowIcon"))),Object(o.b)("p",null,"Sets the window icon. ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon"}),"QWidget: setWindowIcon")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-windowopacity"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," windowOpacity"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"windowOpacity"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | number")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowopacity"}),"windowOpacity"))),Object(o.b)("p",null,"This property holds the level of opacity for the window. ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity"}),"QWidget: setWindowOpacity")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-windowstate"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," windowState"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"windowState"),"? : ",Object(o.b)("em",{parentName:"p"},"WindowState")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowstate"}),"windowState"))),Object(o.b)("p",null,"Sets the window state. ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate"}),"QWidget: setWindowState")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-windowtitle"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," windowTitle"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"windowTitle"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | string")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowtitle"}),"windowTitle"))),Object(o.b)("p",null,"Sets the window title property. ",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle"}),"QWidget: setWindowTitle")))}l.isMDXComponent=!0},162:function(e,t,a){"use strict";a.d(t,"a",(function(){return s})),a.d(t,"b",(function(){return m}));var i=a(0),n=a.n(i);function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function r(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}function p(e){for(var t=1;t=0||(n[a]=e[a]);return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}var c=n.a.createContext({}),l=function(e){var t=n.a.useContext(c),a=t;return e&&(a="function"==typeof e?e(t):p(p({},t),e)),a},s=function(e){var t=l(e.components);return n.a.createElement(c.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.a.createElement(n.a.Fragment,{},t)}},O=n.a.forwardRef((function(e,t){var a=e.components,i=e.mdxType,o=e.originalType,r=e.parentName,c=b(e,["components","mdxType","originalType","parentName"]),s=l(a),O=i,m=s["".concat(r,".").concat(O)]||s[O]||d[O]||o;return a?n.a.createElement(m,p(p({ref:t},c),{},{components:a})):n.a.createElement(m,p({ref:t},c))}));function m(e,t){var a=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var o=a.length,r=new Array(o);r[0]=O;var p={};for(var b in t)hasOwnProperty.call(t,b)&&(p[b]=t[b]);p.originalType=e,p.mdxType="string"==typeof e?e:i,r[1]=p;for(var c=2;c=0||(i[t]=e[t]);return i}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}var l=i.a.createContext({}),s=function(e){var r=i.a.useContext(l),t=r;return e&&(t="function"==typeof e?e(r):c(c({},r),e)),t},u=function(e){var r=s(e.components);return i.a.createElement(l.Provider,{value:r},e.children)},b={inlineCode:"code",wrapper:function(e){var r=e.children;return i.a.createElement(i.a.Fragment,{},r)}},d=i.a.forwardRef((function(e,r){var t=e.components,n=e.mdxType,a=e.originalType,o=e.parentName,l=p(e,["components","mdxType","originalType","parentName"]),u=s(t),d=n,f=u["".concat(o,".").concat(d)]||u[d]||b[d]||a;return t?i.a.createElement(f,c(c({ref:r},l),{},{components:t})):i.a.createElement(f,c({ref:r},l))}));function f(e,r){var t=arguments,n=r&&r.mdxType;if("string"==typeof e||n){var a=t.length,o=new Array(a);o[0]=d;var c={};for(var p in r)hasOwnProperty.call(r,p)&&(c[p]=r[p]);c.originalType=e,c.mdxType="string"==typeof e?e:n,o[1]=c;for(var l=2;lOptional attributes",id:"optional-attributes",children:[]},{value:"Optional cursor",id:"optional-cursor",children:[]},{value:"Optional enabled",id:"optional-enabled",children:[]},{value:"Optional geometry",id:"optional-geometry",children:[]},{value:"Optional id",id:"optional-id",children:[]},{value:"Optional maxSize",id:"optional-maxsize",children:[]},{value:"Optional minSize",id:"optional-minsize",children:[]},{value:"Optional mouseTracking",id:"optional-mousetracking",children:[]},{value:"Optional nativeMenuBar",id:"optional-nativemenubar",children:[]},{value:"Optional on",id:"optional-on",children:[]},{value:"Optional pos",id:"optional-pos",children:[]},{value:"Optional ref",id:"optional-ref",children:[]},{value:"Optional size",id:"optional-size",children:[]},{value:"Optional style",id:"optional-style",children:[]},{value:"Optional styleSheet",id:"optional-stylesheet",children:[]},{value:"Optional visible",id:"optional-visible",children:[]},{value:"Optional windowFlags",id:"optional-windowflags",children:[]},{value:"Optional windowIcon",id:"optional-windowicon",children:[]},{value:"Optional windowOpacity",id:"optional-windowopacity",children:[]},{value:"Optional windowState",id:"optional-windowstate",children:[]},{value:"Optional windowTitle",id:"optional-windowtitle",children:[]}]}],c={rightToc:b};function l(e){var t=e.components,a=Object(i.a)(e,["components"]);return Object(r.b)("wrapper",Object(n.a)({},c,a,{components:t,mdxType:"MDXLayout"}),Object(r.b)("h2",{id:"hierarchy"},"Hierarchy"),Object(r.b)("p",null," \u21b3 ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),"\u2039QMenuBarSignals\u203a"),Object(r.b)("p",null," \u21b3 ",Object(r.b)("strong",{parentName:"p"},"MenuBarProps")),Object(r.b)("h2",{id:"index"},"Index"),Object(r.b)("h3",{id:"properties"},"Properties"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/menubarprops#optional-attributes"}),"attributes")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/menubarprops#optional-cursor"}),"cursor")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/menubarprops#optional-enabled"}),"enabled")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/menubarprops#optional-geometry"}),"geometry")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/menubarprops#optional-id"}),"id")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/menubarprops#optional-maxsize"}),"maxSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/menubarprops#optional-minsize"}),"minSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/menubarprops#optional-mousetracking"}),"mouseTracking")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/menubarprops#optional-nativemenubar"}),"nativeMenuBar")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/menubarprops#optional-on"}),"on")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/menubarprops#optional-pos"}),"pos")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/menubarprops#optional-ref"}),"ref")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/menubarprops#optional-size"}),"size")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/menubarprops#optional-style"}),"style")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/menubarprops#optional-stylesheet"}),"styleSheet")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/menubarprops#optional-visible"}),"visible")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/menubarprops#optional-windowflags"}),"windowFlags")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/menubarprops#optional-windowicon"}),"windowIcon")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/menubarprops#optional-windowopacity"}),"windowOpacity")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/menubarprops#optional-windowstate"}),"windowState")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/menubarprops#optional-windowtitle"}),"windowTitle"))),Object(r.b)("h2",{id:"properties-1"},"Properties"),Object(r.b)("h3",{id:"optional-attributes"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," attributes"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"attributes"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#widgetattributesmap"}),"WidgetAttributesMap"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-attributes"}),"attributes"))),Object(r.b)("p",null,"Prop to set the Widget Attributes. example:\n",Object(r.b)("inlineCode",{parentName:"p"},"")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-cursor"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," cursor"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"cursor"),"? : ",Object(r.b)("em",{parentName:"p"},"CursorShape | QCursor")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-cursor"}),"cursor"))),Object(r.b)("p",null,"Sets the window mouse cursor. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor"}),"QWidget: setCursor")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-enabled"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," enabled"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"enabled"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | false | true")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-enabled"}),"enabled"))),Object(r.b)("p",null,"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. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled"}),"QWidget: setEnabled")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-geometry"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," geometry"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"geometry"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#geometry"}),"Geometry"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-geometry"}),"geometry"))),Object(r.b)("p",null,"Sets the screen position as well as size of the widget. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height"}),"QWidget: setGeometry")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-id"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," id"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"id"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-id"}),"id"))),Object(r.b)("p",null,"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. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname"}),"QWidget: setObjectName")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-maxsize"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," maxSize"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"maxSize"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#size"}),"Size"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-maxsize"}),"maxSize"))),Object(r.b)("p",null,"Sets the maximum size of the widget. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height"}),"QWidget: setMaximumSize")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-minsize"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," minSize"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"minSize"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#size"}),"Size"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-minsize"}),"minSize"))),Object(r.b)("p",null,"Sets the minimum size of the widget. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height"}),"QWidget: setMinimumSize")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-mousetracking"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," mouseTracking"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"mouseTracking"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | false | true")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-mousetracking"}),"mouseTracking"))),Object(r.b)("p",null,"Sets the property that tells whether mouseTracking is enabled for the widget. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked"}),"QWidget: setMouseTracking")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-nativemenubar"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," nativeMenuBar"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"nativeMenuBar"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | false | true")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-on"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," on"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"on"),"? : ",Object(r.b)("em",{parentName:"p"},"Partial\u2039",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#widgeteventlisteners"}),"WidgetEventListeners")," | QMenuBarSignals\u203a")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-on"}),"on"))),Object(r.b)("p",null,"Prop to set the event listener map. See ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"/docs/guides/handle-events"}),"Handlong Events")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-pos"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," pos"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"pos"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#position"}),"Position"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-pos"}),"pos"))),Object(r.b)("p",null,"Sets the screen position of the widget. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y"}),"QWidget: move")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-ref"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," ref"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"ref"),"? : ",Object(r.b)("em",{parentName:"p"},"any")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-ref"}),"ref"))),Object(r.b)("p",null,"Prop to set the ref. The ref will return the underlying nodegui widget."),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-size"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," size"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"size"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#viewsize"}),"ViewSize"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-size"}),"size"))),Object(r.b)("p",null,"Sets both the minimum and maximum sizes of the widget. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height"}),"QWidget: setFixedSize")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-style"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," style"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"style"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-style"}),"style"))),Object(r.b)("p",null,"Sets the inline stylesheet property. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle"}),"QWidget: setInlineStyle")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-stylesheet"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," styleSheet"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"styleSheet"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-stylesheet"}),"styleSheet"))),Object(r.b)("p",null,"Sets the property that holds the widget's style sheet. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet"}),"QWidget: setStyleSheet")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-visible"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," visible"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"visible"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | false | true")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-visible"}),"visible"))),Object(r.b)("p",null,"Shows or hides the widget and its children. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetshow"}),"QWidget: show")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowflags"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowFlags"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowFlags"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#windowflagsmap"}),"WindowFlagsMap"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowflags"}),"windowFlags"))),Object(r.b)("p",null,"Prop to set the Widget flags. example:\n",Object(r.b)("inlineCode",{parentName:"p"},"")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowicon"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowIcon"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowIcon"),"? : ",Object(r.b)("em",{parentName:"p"},"QIcon")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowicon"}),"windowIcon"))),Object(r.b)("p",null,"Sets the window icon. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon"}),"QWidget: setWindowIcon")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowopacity"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowOpacity"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowOpacity"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | number")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowopacity"}),"windowOpacity"))),Object(r.b)("p",null,"This property holds the level of opacity for the window. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity"}),"QWidget: setWindowOpacity")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowstate"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowState"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowState"),"? : ",Object(r.b)("em",{parentName:"p"},"WindowState")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowstate"}),"windowState"))),Object(r.b)("p",null,"Sets the window state. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate"}),"QWidget: setWindowState")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowtitle"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowTitle"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowTitle"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowtitle"}),"windowTitle"))),Object(r.b)("p",null,"Sets the window title property. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle"}),"QWidget: setWindowTitle")))}l.isMDXComponent=!0},162:function(e,t,a){"use strict";a.d(t,"a",(function(){return s})),a.d(t,"b",(function(){return m}));var n=a(0),i=a.n(n);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function p(e){for(var t=1;t=0||(i[a]=e[a]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(i[a]=e[a])}return i}var c=i.a.createContext({}),l=function(e){var t=i.a.useContext(c),a=t;return e&&(a="function"==typeof e?e(t):p(p({},t),e)),a},s=function(e){var t=l(e.components);return i.a.createElement(c.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return i.a.createElement(i.a.Fragment,{},t)}},O=i.a.forwardRef((function(e,t){var a=e.components,n=e.mdxType,r=e.originalType,o=e.parentName,c=b(e,["components","mdxType","originalType","parentName"]),s=l(a),O=n,m=s["".concat(o,".").concat(O)]||s[O]||d[O]||r;return a?i.a.createElement(m,p(p({ref:t},c),{},{components:a})):i.a.createElement(m,p({ref:t},c))}));function m(e,t){var a=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var r=a.length,o=new Array(r);o[0]=O;var p={};for(var b in t)hasOwnProperty.call(t,b)&&(p[b]=t[b]);p.originalType=e,p.mdxType="string"==typeof e?e:n,o[1]=p;for(var c=2;cOptional height",id:"optional-height",children:[]},{value:"Optional latestProps",id:"optional-latestprops",children:[]},{value:"native",id:"native",children:[]},{value:"nodeChildren",id:"nodechildren",children:[]},{value:"Optional nodeParent",id:"optional-nodeparent",children:[]},{value:"Optional parentGrid",id:"optional-parentgrid",children:[]},{value:"Optional prevProps",id:"optional-prevprops",children:[]},{value:"Optional rowIndex",id:"optional-rowindex",children:[]},{value:"Static tagName",id:"static-tagname",children:[]}]},{value:"Methods",id:"methods-1",children:[{value:"appendChild",id:"appendchild",children:[]},{value:"appendInitialChild",id:"appendinitialchild",children:[]},{value:"insertBefore",id:"insertbefore",children:[]},{value:"remove",id:"remove",children:[]},{value:"removeChild",id:"removechild",children:[]},{value:"setNodeParent",id:"setnodeparent",children:[]},{value:"setParentGridAndUpdateProps",id:"setparentgridandupdateprops",children:[]},{value:"setProps",id:"setprops",children:[]},{value:"updateChildren",id:"updatechildren",children:[]}]}],i={rightToc:p};function o(e){var t=e.components,a=Object(n.a)(e,["components"]);return Object(b.b)("wrapper",Object(r.a)({},i,a,{components:t,mdxType:"MDXLayout"}),Object(b.b)("h2",{id:"hierarchy"},"Hierarchy"),Object(b.b)("ul",null,Object(b.b)("li",{parentName:"ul"},Object(b.b)("p",{parentName:"li"},"Component"),Object(b.b)("p",{parentName:"li"},"\u21b3 ",Object(b.b)("strong",{parentName:"p"},"RNGridRow")))),Object(b.b)("h2",{id:"implements"},"Implements"),Object(b.b)("ul",null,Object(b.b)("li",{parentName:"ul"},"RNComponent")),Object(b.b)("h2",{id:"index"},"Index"),Object(b.b)("h3",{id:"constructors"},"Constructors"),Object(b.b)("ul",null,Object(b.b)("li",{parentName:"ul"},Object(b.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/classes/rngridrow#constructor"}),"constructor"))),Object(b.b)("h3",{id:"properties"},"Properties"),Object(b.b)("ul",null,Object(b.b)("li",{parentName:"ul"},Object(b.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/classes/rngridrow#childcolumns"}),"childColumns")),Object(b.b)("li",{parentName:"ul"},Object(b.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/classes/rngridrow#optional-height"}),"height")),Object(b.b)("li",{parentName:"ul"},Object(b.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/classes/rngridrow#optional-latestprops"}),"latestProps")),Object(b.b)("li",{parentName:"ul"},Object(b.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/classes/rngridrow#native"}),"native")),Object(b.b)("li",{parentName:"ul"},Object(b.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/classes/rngridrow#nodechildren"}),"nodeChildren")),Object(b.b)("li",{parentName:"ul"},Object(b.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/classes/rngridrow#optional-nodeparent"}),"nodeParent")),Object(b.b)("li",{parentName:"ul"},Object(b.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/classes/rngridrow#optional-parentgrid"}),"parentGrid")),Object(b.b)("li",{parentName:"ul"},Object(b.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/classes/rngridrow#optional-prevprops"}),"prevProps")),Object(b.b)("li",{parentName:"ul"},Object(b.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/classes/rngridrow#optional-rowindex"}),"rowIndex")),Object(b.b)("li",{parentName:"ul"},Object(b.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/classes/rngridrow#static-tagname"}),"tagName"))),Object(b.b)("h3",{id:"methods"},"Methods"),Object(b.b)("ul",null,Object(b.b)("li",{parentName:"ul"},Object(b.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/classes/rngridrow#appendchild"}),"appendChild")),Object(b.b)("li",{parentName:"ul"},Object(b.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/classes/rngridrow#appendinitialchild"}),"appendInitialChild")),Object(b.b)("li",{parentName:"ul"},Object(b.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/classes/rngridrow#insertbefore"}),"insertBefore")),Object(b.b)("li",{parentName:"ul"},Object(b.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/classes/rngridrow#remove"}),"remove")),Object(b.b)("li",{parentName:"ul"},Object(b.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/classes/rngridrow#removechild"}),"removeChild")),Object(b.b)("li",{parentName:"ul"},Object(b.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/classes/rngridrow#setnodeparent"}),"setNodeParent")),Object(b.b)("li",{parentName:"ul"},Object(b.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/classes/rngridrow#setparentgridandupdateprops"}),"setParentGridAndUpdateProps")),Object(b.b)("li",{parentName:"ul"},Object(b.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/classes/rngridrow#setprops"}),"setProps")),Object(b.b)("li",{parentName:"ul"},Object(b.b)("a",Object(r.a)({parentName:"li"},{href:"/docs/api/classes/rngridrow#updatechildren"}),"updateChildren"))),Object(b.b)("h2",{id:"constructors-1"},"Constructors"),Object(b.b)("h3",{id:"constructor"},"constructor"),Object(b.b)("p",null,"+"," ",Object(b.b)("strong",{parentName:"p"},"new RNGridRow"),"(): ",Object(b.b)("em",{parentName:"p"},Object(b.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/classes/rngridrow"}),"RNGridRow"))),Object(b.b)("p",null,Object(b.b)("em",{parentName:"p"},"Inherited from ",Object(b.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/classes/rngridcolumn"}),"RNGridColumn"),".",Object(b.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/classes/rngridcolumn#constructor"}),"constructor"))),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"Returns:")," ",Object(b.b)("em",{parentName:"p"},Object(b.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/classes/rngridrow"}),"RNGridRow"))),Object(b.b)("h2",{id:"properties-1"},"Properties"),Object(b.b)("h3",{id:"childcolumns"},"childColumns"),Object(b.b)("p",null,"\u2022 ",Object(b.b)("strong",{parentName:"p"},"childColumns"),": ",Object(b.b)("em",{parentName:"p"},"Array\u2039",Object(b.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/interfaces/datawithoffset"}),"DataWithOffset"),"\u2039",Object(b.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/classes/rngridcolumn"}),"RNGridColumn"),"\u203a\u203a")," = []"),Object(b.b)("hr",null),Object(b.b)("h3",{id:"optional-height"},Object(b.b)("inlineCode",{parentName:"h3"},"Optional")," height"),Object(b.b)("p",null,"\u2022 ",Object(b.b)("strong",{parentName:"p"},"height"),"? : ",Object(b.b)("em",{parentName:"p"},"undefined | number")),Object(b.b)("hr",null),Object(b.b)("h3",{id:"optional-latestprops"},Object(b.b)("inlineCode",{parentName:"h3"},"Optional")," latestProps"),Object(b.b)("p",null,"\u2022 ",Object(b.b)("strong",{parentName:"p"},"latestProps"),"? : ",Object(b.b)("em",{parentName:"p"},Object(b.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/globals#gridrowprops"}),"GridRowProps"))),Object(b.b)("hr",null),Object(b.b)("h3",{id:"native"},"native"),Object(b.b)("p",null,"\u2022 ",Object(b.b)("strong",{parentName:"p"},"native"),": ",Object(b.b)("em",{parentName:"p"},"any")),Object(b.b)("p",null,Object(b.b)("em",{parentName:"p"},"Overrides void")),Object(b.b)("hr",null),Object(b.b)("h3",{id:"nodechildren"},"nodeChildren"),Object(b.b)("p",null,"\u2022 ",Object(b.b)("strong",{parentName:"p"},"nodeChildren"),": ",Object(b.b)("em",{parentName:"p"},"Set\u2039Component\u203a")),Object(b.b)("p",null,Object(b.b)("em",{parentName:"p"},"Inherited from ",Object(b.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(b.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#nodechildren"}),"nodeChildren"))),Object(b.b)("hr",null),Object(b.b)("h3",{id:"optional-nodeparent"},Object(b.b)("inlineCode",{parentName:"h3"},"Optional")," nodeParent"),Object(b.b)("p",null,"\u2022 ",Object(b.b)("strong",{parentName:"p"},"nodeParent"),"? : ",Object(b.b)("em",{parentName:"p"},"Component")),Object(b.b)("p",null,Object(b.b)("em",{parentName:"p"},"Inherited from ",Object(b.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(b.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#optional-nodeparent"}),"nodeParent"))),Object(b.b)("hr",null),Object(b.b)("h3",{id:"optional-parentgrid"},Object(b.b)("inlineCode",{parentName:"h3"},"Optional")," parentGrid"),Object(b.b)("p",null,"\u2022 ",Object(b.b)("strong",{parentName:"p"},"parentGrid"),"? : ",Object(b.b)("em",{parentName:"p"},"RNGridView")),Object(b.b)("hr",null),Object(b.b)("h3",{id:"optional-prevprops"},Object(b.b)("inlineCode",{parentName:"h3"},"Optional")," prevProps"),Object(b.b)("p",null,"\u2022 ",Object(b.b)("strong",{parentName:"p"},"prevProps"),"? : ",Object(b.b)("em",{parentName:"p"},Object(b.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/globals#gridrowprops"}),"GridRowProps"))),Object(b.b)("hr",null),Object(b.b)("h3",{id:"optional-rowindex"},Object(b.b)("inlineCode",{parentName:"h3"},"Optional")," rowIndex"),Object(b.b)("p",null,"\u2022 ",Object(b.b)("strong",{parentName:"p"},"rowIndex"),"? : ",Object(b.b)("em",{parentName:"p"},"undefined | number")),Object(b.b)("hr",null),Object(b.b)("h3",{id:"static-tagname"},Object(b.b)("inlineCode",{parentName:"h3"},"Static")," tagName"),Object(b.b)("p",null,"\u25aa ",Object(b.b)("strong",{parentName:"p"},"tagName"),": ",Object(b.b)("em",{parentName:"p"},"string"),' = "gridrow"'),Object(b.b)("h2",{id:"methods-1"},"Methods"),Object(b.b)("h3",{id:"appendchild"},"appendChild"),Object(b.b)("p",null,"\u25b8 ",Object(b.b)("strong",{parentName:"p"},"appendChild"),"(",Object(b.b)("inlineCode",{parentName:"p"},"child"),": ",Object(b.b)("a",Object(r.a)({parentName:"p"},{href:"/docs/api/classes/rngridcolumn"}),"RNGridColumn"),"): ",Object(b.b)("em",{parentName:"p"},"void")),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"Parameters:")),Object(b.b)("table",null,Object(b.b)("thead",{parentName:"table"},Object(b.b)("tr",{parentName:"thead"},Object(b.b)("th",Object(r.a)({parentName:"tr"},{align:null}),"Name"),Object(b.b)("th",Object(r.a)({parentName:"tr"},{align:null}),"Type"))),Object(b.b)("tbody",{parentName:"table"},Object(b.b)("tr",{parentName:"tbody"},Object(b.b)("td",Object(r.a)({parentName:"tr"},{align:null}),Object(b.b)("inlineCode",{parentName:"td"},"child")),Object(b.b)("td",Object(r.a)({parentName:"tr"},{align:null}),Object(b.b)("a",Object(r.a)({parentName:"td"},{href:"/docs/api/classes/rngridcolumn"}),"RNGridColumn"))))),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"Returns:")," ",Object(b.b)("em",{parentName:"p"},"void")),Object(b.b)("hr",null),Object(b.b)("h3",{id:"appendinitialchild"},"appendInitialChild"),Object(b.b)("p",null,"\u25b8 ",Object(b.b)("strong",{parentName:"p"},"appendInitialChild"),"(",Object(b.b)("inlineCode",{parentName:"p"},"child"),": ",Object(b.b)("a",Object(r.a)({parentName:"p"},{href:"/docs/api/classes/rngridcolumn"}),"RNGridColumn"),"): ",Object(b.b)("em",{parentName:"p"},"void")),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"Parameters:")),Object(b.b)("table",null,Object(b.b)("thead",{parentName:"table"},Object(b.b)("tr",{parentName:"thead"},Object(b.b)("th",Object(r.a)({parentName:"tr"},{align:null}),"Name"),Object(b.b)("th",Object(r.a)({parentName:"tr"},{align:null}),"Type"))),Object(b.b)("tbody",{parentName:"table"},Object(b.b)("tr",{parentName:"tbody"},Object(b.b)("td",Object(r.a)({parentName:"tr"},{align:null}),Object(b.b)("inlineCode",{parentName:"td"},"child")),Object(b.b)("td",Object(r.a)({parentName:"tr"},{align:null}),Object(b.b)("a",Object(r.a)({parentName:"td"},{href:"/docs/api/classes/rngridcolumn"}),"RNGridColumn"))))),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"Returns:")," ",Object(b.b)("em",{parentName:"p"},"void")),Object(b.b)("hr",null),Object(b.b)("h3",{id:"insertbefore"},"insertBefore"),Object(b.b)("p",null,"\u25b8 ",Object(b.b)("strong",{parentName:"p"},"insertBefore"),"(",Object(b.b)("inlineCode",{parentName:"p"},"child"),": ",Object(b.b)("a",Object(r.a)({parentName:"p"},{href:"/docs/api/classes/rngridcolumn"}),"RNGridColumn"),", ",Object(b.b)("inlineCode",{parentName:"p"},"beforeChild"),": ",Object(b.b)("a",Object(r.a)({parentName:"p"},{href:"/docs/api/classes/rngridcolumn"}),"RNGridColumn"),"): ",Object(b.b)("em",{parentName:"p"},"void")),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"Parameters:")),Object(b.b)("table",null,Object(b.b)("thead",{parentName:"table"},Object(b.b)("tr",{parentName:"thead"},Object(b.b)("th",Object(r.a)({parentName:"tr"},{align:null}),"Name"),Object(b.b)("th",Object(r.a)({parentName:"tr"},{align:null}),"Type"))),Object(b.b)("tbody",{parentName:"table"},Object(b.b)("tr",{parentName:"tbody"},Object(b.b)("td",Object(r.a)({parentName:"tr"},{align:null}),Object(b.b)("inlineCode",{parentName:"td"},"child")),Object(b.b)("td",Object(r.a)({parentName:"tr"},{align:null}),Object(b.b)("a",Object(r.a)({parentName:"td"},{href:"/docs/api/classes/rngridcolumn"}),"RNGridColumn"))),Object(b.b)("tr",{parentName:"tbody"},Object(b.b)("td",Object(r.a)({parentName:"tr"},{align:null}),Object(b.b)("inlineCode",{parentName:"td"},"beforeChild")),Object(b.b)("td",Object(r.a)({parentName:"tr"},{align:null}),Object(b.b)("a",Object(r.a)({parentName:"td"},{href:"/docs/api/classes/rngridcolumn"}),"RNGridColumn"))))),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"Returns:")," ",Object(b.b)("em",{parentName:"p"},"void")),Object(b.b)("hr",null),Object(b.b)("h3",{id:"remove"},"remove"),Object(b.b)("p",null,"\u25b8 ",Object(b.b)("strong",{parentName:"p"},"remove"),"(): ",Object(b.b)("em",{parentName:"p"},"void")),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"Returns:")," ",Object(b.b)("em",{parentName:"p"},"void")),Object(b.b)("hr",null),Object(b.b)("h3",{id:"removechild"},"removeChild"),Object(b.b)("p",null,"\u25b8 ",Object(b.b)("strong",{parentName:"p"},"removeChild"),"(",Object(b.b)("inlineCode",{parentName:"p"},"child"),": ",Object(b.b)("a",Object(r.a)({parentName:"p"},{href:"/docs/api/classes/rngridcolumn"}),"RNGridColumn"),"): ",Object(b.b)("em",{parentName:"p"},"void")),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"Parameters:")),Object(b.b)("table",null,Object(b.b)("thead",{parentName:"table"},Object(b.b)("tr",{parentName:"thead"},Object(b.b)("th",Object(r.a)({parentName:"tr"},{align:null}),"Name"),Object(b.b)("th",Object(r.a)({parentName:"tr"},{align:null}),"Type"))),Object(b.b)("tbody",{parentName:"table"},Object(b.b)("tr",{parentName:"tbody"},Object(b.b)("td",Object(r.a)({parentName:"tr"},{align:null}),Object(b.b)("inlineCode",{parentName:"td"},"child")),Object(b.b)("td",Object(r.a)({parentName:"tr"},{align:null}),Object(b.b)("a",Object(r.a)({parentName:"td"},{href:"/docs/api/classes/rngridcolumn"}),"RNGridColumn"))))),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"Returns:")," ",Object(b.b)("em",{parentName:"p"},"void")),Object(b.b)("hr",null),Object(b.b)("h3",{id:"setnodeparent"},"setNodeParent"),Object(b.b)("p",null,"\u25b8 ",Object(b.b)("strong",{parentName:"p"},"setNodeParent"),"(",Object(b.b)("inlineCode",{parentName:"p"},"parent?"),": Component): ",Object(b.b)("em",{parentName:"p"},"void")),Object(b.b)("p",null,Object(b.b)("em",{parentName:"p"},"Inherited from ",Object(b.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(b.b)("a",Object(r.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#setnodeparent"}),"setNodeParent"))),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"Parameters:")),Object(b.b)("table",null,Object(b.b)("thead",{parentName:"table"},Object(b.b)("tr",{parentName:"thead"},Object(b.b)("th",Object(r.a)({parentName:"tr"},{align:null}),"Name"),Object(b.b)("th",Object(r.a)({parentName:"tr"},{align:null}),"Type"))),Object(b.b)("tbody",{parentName:"table"},Object(b.b)("tr",{parentName:"tbody"},Object(b.b)("td",Object(r.a)({parentName:"tr"},{align:null}),Object(b.b)("inlineCode",{parentName:"td"},"parent?")),Object(b.b)("td",Object(r.a)({parentName:"tr"},{align:null}),"Component")))),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"Returns:")," ",Object(b.b)("em",{parentName:"p"},"void")),Object(b.b)("hr",null),Object(b.b)("h3",{id:"setparentgridandupdateprops"},"setParentGridAndUpdateProps"),Object(b.b)("p",null,"\u25b8 ",Object(b.b)("strong",{parentName:"p"},"setParentGridAndUpdateProps"),"(",Object(b.b)("inlineCode",{parentName:"p"},"parentGrid"),": RNGridView, ",Object(b.b)("inlineCode",{parentName:"p"},"index"),": number): ",Object(b.b)("em",{parentName:"p"},"void")),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"Parameters:")),Object(b.b)("table",null,Object(b.b)("thead",{parentName:"table"},Object(b.b)("tr",{parentName:"thead"},Object(b.b)("th",Object(r.a)({parentName:"tr"},{align:null}),"Name"),Object(b.b)("th",Object(r.a)({parentName:"tr"},{align:null}),"Type"))),Object(b.b)("tbody",{parentName:"table"},Object(b.b)("tr",{parentName:"tbody"},Object(b.b)("td",Object(r.a)({parentName:"tr"},{align:null}),Object(b.b)("inlineCode",{parentName:"td"},"parentGrid")),Object(b.b)("td",Object(r.a)({parentName:"tr"},{align:null}),"RNGridView")),Object(b.b)("tr",{parentName:"tbody"},Object(b.b)("td",Object(r.a)({parentName:"tr"},{align:null}),Object(b.b)("inlineCode",{parentName:"td"},"index")),Object(b.b)("td",Object(r.a)({parentName:"tr"},{align:null}),"number")))),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"Returns:")," ",Object(b.b)("em",{parentName:"p"},"void")),Object(b.b)("hr",null),Object(b.b)("h3",{id:"setprops"},"setProps"),Object(b.b)("p",null,"\u25b8 ",Object(b.b)("strong",{parentName:"p"},"setProps"),"(",Object(b.b)("inlineCode",{parentName:"p"},"newProps"),": ",Object(b.b)("a",Object(r.a)({parentName:"p"},{href:"/docs/api/globals#gridrowprops"}),"GridRowProps"),", ",Object(b.b)("inlineCode",{parentName:"p"},"oldProps"),": ",Object(b.b)("a",Object(r.a)({parentName:"p"},{href:"/docs/api/globals#gridrowprops"}),"GridRowProps"),"): ",Object(b.b)("em",{parentName:"p"},"void")),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"Parameters:")),Object(b.b)("table",null,Object(b.b)("thead",{parentName:"table"},Object(b.b)("tr",{parentName:"thead"},Object(b.b)("th",Object(r.a)({parentName:"tr"},{align:null}),"Name"),Object(b.b)("th",Object(r.a)({parentName:"tr"},{align:null}),"Type"))),Object(b.b)("tbody",{parentName:"table"},Object(b.b)("tr",{parentName:"tbody"},Object(b.b)("td",Object(r.a)({parentName:"tr"},{align:null}),Object(b.b)("inlineCode",{parentName:"td"},"newProps")),Object(b.b)("td",Object(r.a)({parentName:"tr"},{align:null}),Object(b.b)("a",Object(r.a)({parentName:"td"},{href:"/docs/api/globals#gridrowprops"}),"GridRowProps"))),Object(b.b)("tr",{parentName:"tbody"},Object(b.b)("td",Object(r.a)({parentName:"tr"},{align:null}),Object(b.b)("inlineCode",{parentName:"td"},"oldProps")),Object(b.b)("td",Object(r.a)({parentName:"tr"},{align:null}),Object(b.b)("a",Object(r.a)({parentName:"td"},{href:"/docs/api/globals#gridrowprops"}),"GridRowProps"))))),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"Returns:")," ",Object(b.b)("em",{parentName:"p"},"void")),Object(b.b)("hr",null),Object(b.b)("h3",{id:"updatechildren"},"updateChildren"),Object(b.b)("p",null,"\u25b8 ",Object(b.b)("strong",{parentName:"p"},"updateChildren"),"(",Object(b.b)("inlineCode",{parentName:"p"},"startIndex"),": number): ",Object(b.b)("em",{parentName:"p"},"void")),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"Parameters:")),Object(b.b)("table",null,Object(b.b)("thead",{parentName:"table"},Object(b.b)("tr",{parentName:"thead"},Object(b.b)("th",Object(r.a)({parentName:"tr"},{align:null}),"Name"),Object(b.b)("th",Object(r.a)({parentName:"tr"},{align:null}),"Type"),Object(b.b)("th",Object(r.a)({parentName:"tr"},{align:null}),"Default"))),Object(b.b)("tbody",{parentName:"table"},Object(b.b)("tr",{parentName:"tbody"},Object(b.b)("td",Object(r.a)({parentName:"tr"},{align:null}),Object(b.b)("inlineCode",{parentName:"td"},"startIndex")),Object(b.b)("td",Object(r.a)({parentName:"tr"},{align:null}),"number"),Object(b.b)("td",Object(r.a)({parentName:"tr"},{align:null}),"0")))),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"Returns:")," ",Object(b.b)("em",{parentName:"p"},"void")))}o.isMDXComponent=!0},162:function(e,t,a){"use strict";a.d(t,"a",(function(){return d})),a.d(t,"b",(function(){return s}));var r=a(0),n=a.n(r);function b(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function c(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function l(e){for(var t=1;t=0||(n[a]=e[a]);return n}(e,t);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}var i=n.a.createContext({}),o=function(e){var t=n.a.useContext(i),a=t;return e&&(a="function"==typeof e?e(t):l(l({},t),e)),a},d=function(e){var t=o(e.components);return n.a.createElement(i.Provider,{value:t},e.children)},O={inlineCode:"code",wrapper:function(e){var t=e.children;return n.a.createElement(n.a.Fragment,{},t)}},j=n.a.forwardRef((function(e,t){var a=e.components,r=e.mdxType,b=e.originalType,c=e.parentName,i=p(e,["components","mdxType","originalType","parentName"]),d=o(a),j=r,s=d["".concat(c,".").concat(j)]||d[j]||O[j]||b;return a?n.a.createElement(s,l(l({ref:t},i),{},{components:a})):n.a.createElement(s,l({ref:t},i))}));function s(e,t){var a=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var b=a.length,c=new Array(b);c[0]=j;var l={};for(var p in t)hasOwnProperty.call(t,p)&&(l[p]=t[p]);l.originalType=e,l.mdxType="string"==typeof e?e:r,c[1]=l;for(var i=2;i {\n return (\n \n \n \n {`\n Contrary to popular belief, \n Lorem Ipsum is not simply random text. \n It has roots in a piece of classical Latin literature from 45 BC, \n making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, \n looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, \n and going through the cites of the word in classical literature, \n discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 \n and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. \n This book is a treatise on the theory of ethics, very popular during the Renaissance. \n The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.\n\n The standard chunk of Lorem Ipsum used since the 1500s\n is reproduced below for those interested. \n Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also \n reproduced in their exact original form, accompanied \n by English versions from the 1914 translation by H. Rackham.\n\n\n Why do we use it?\n\n It is a long established \n fact that a reader will be distracted by \n the readable content of a page when looking at its layout. \n The point of using Lorem Ipsum is that it has \n a more-or-less normal distribution of letters, \n as opposed to using \'Content here, content here\', \n making it look like readable English. \n Many desktop publishing packages and web page \n editors now use Lorem Ipsum as their default model text, \n and a search for \'lorem ipsum\' will uncover many web \n sites still in their infancy. Various versions \n have evolved over the years, sometimes by accident, \n sometimes on purpose (injected humour and the like).\n\n `}\n \n \n \n );\n};\n\nRenderer.render();\n')),Object(a.b)("p",null,Object(a.b)("strong",{parentName:"p"},"TLDR;")),Object(a.b)("p",null,"We create a ",Object(a.b)("inlineCode",{parentName:"p"},"")," instance and then set the target widget as its child."),Object(a.b)("p",null,"The result would look like this:"),Object(a.b)("img",{src:"https://github.com/nodegui/react-nodegui/releases/download/assets/scrollarea.gif",alt:"scroll area",style:{width:"100%",maxWidth:400}}))}d.isMDXComponent=!0},162:function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return f}));var r=n(0),o=n.n(r);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var c=o.a.createContext({}),d=function(e){var t=o.a.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):s(s({},t),e)),n},u=function(e){var t=d(e.components);return o.a.createElement(c.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return o.a.createElement(o.a.Fragment,{},t)}},m=o.a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,a=e.originalType,i=e.parentName,c=l(e,["components","mdxType","originalType","parentName"]),u=d(n),m=r,f=u["".concat(i,".").concat(m)]||u[m]||p[m]||a;return n?o.a.createElement(f,s(s({ref:t},c),{},{components:n})):o.a.createElement(f,s({ref:t},c))}));function f(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var a=n.length,i=new Array(a);i[0]=m;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s.mdxType="string"==typeof e?e:r,i[1]=s;for(var c=2;c=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var s=n.a.createContext({}),f=function(e){var t=n.a.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},l=function(e){var t=f(e.components);return n.a.createElement(s.Provider,{value:t},e.children)},b={inlineCode:"code",wrapper:function(e){var t=e.children;return n.a.createElement(n.a.Fragment,{},t)}},u=n.a.forwardRef((function(e,t){var r=e.components,a=e.mdxType,i=e.originalType,o=e.parentName,s=p(e,["components","mdxType","originalType","parentName"]),l=f(r),u=a,d=l["".concat(o,".").concat(u)]||l[u]||b[u]||i;return r?n.a.createElement(d,c(c({ref:t},s),{},{components:r})):n.a.createElement(d,c({ref:t},s))}));function d(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=r.length,o=new Array(i);o[0]=u;var c={};for(var p in t)hasOwnProperty.call(t,p)&&(c[p]=t[p]);c.originalType=e,c.mdxType="string"==typeof e?e:a,o[1]=c;for(var s=2;sOptional icon",id:"optional-icon",children:[]},{value:"Optional menu",id:"optional-menu",children:[]},{value:"native",id:"native",children:[]},{value:"nodeChildren",id:"nodechildren",children:[]},{value:"Optional nodeParent",id:"optional-nodeparent",children:[]},{value:"Static tagName",id:"static-tagname",children:[]}]},{value:"Methods",id:"methods-1",children:[{value:"addEventListener",id:"addeventlistener",children:[]},{value:"appendChild",id:"appendchild",children:[]},{value:"appendInitialChild",id:"appendinitialchild",children:[]},{value:"data",id:"data",children:[]},{value:"eventProcessed",id:"eventprocessed",children:[]},{value:"font",id:"font",children:[]},{value:"inherits",id:"inherits",children:[]},{value:"insertBefore",id:"insertbefore",children:[]},{value:"isCheckable",id:"ischeckable",children:[]},{value:"isChecked",id:"ischecked",children:[]},{value:"isSeparator",id:"isseparator",children:[]},{value:"objectName",id:"objectname",children:[]},{value:"property",id:"property",children:[]},{value:"removeChild",id:"removechild",children:[]},{value:"removeEventListener",id:"removeeventlistener",children:[]},{value:"setCheckable",id:"setcheckable",children:[]},{value:"setChecked",id:"setchecked",children:[]},{value:"setData",id:"setdata",children:[]},{value:"setEnabled",id:"setenabled",children:[]},{value:"setEventProcessed",id:"seteventprocessed",children:[]},{value:"setFont",id:"setfont",children:[]},{value:"setIcon",id:"seticon",children:[]},{value:"setMenu",id:"setmenu",children:[]},{value:"setNodeParent",id:"setnodeparent",children:[]},{value:"setObjectName",id:"setobjectname",children:[]},{value:"setProperty",id:"setproperty",children:[]},{value:"setProps",id:"setprops",children:[]},{value:"setSeparator",id:"setseparator",children:[]},{value:"setShortcut",id:"setshortcut",children:[]},{value:"setShortcutContext",id:"setshortcutcontext",children:[]},{value:"setText",id:"settext",children:[]}]}],i={rightToc:p};function O(e){var t=e.components,a=Object(b.a)(e,["components"]);return Object(c.b)("wrapper",Object(n.a)({},i,a,{components:t,mdxType:"MDXLayout"}),Object(c.b)("h2",{id:"hierarchy"},"Hierarchy"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("p",{parentName:"li"},"QAction"),Object(c.b)("p",{parentName:"li"},"\u21b3 ",Object(c.b)("strong",{parentName:"p"},"RNAction")))),Object(c.b)("h2",{id:"implements"},"Implements"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},"RNComponent")),Object(c.b)("h2",{id:"index"},"Index"),Object(c.b)("h3",{id:"constructors"},"Constructors"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#constructor"}),"constructor"))),Object(c.b)("h3",{id:"properties"},"Properties"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#optional-icon"}),"icon")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#optional-menu"}),"menu")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#native"}),"native")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#nodechildren"}),"nodeChildren")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#optional-nodeparent"}),"nodeParent")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#static-tagname"}),"tagName"))),Object(c.b)("h3",{id:"methods"},"Methods"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#addeventlistener"}),"addEventListener")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#appendchild"}),"appendChild")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#appendinitialchild"}),"appendInitialChild")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#data"}),"data")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#eventprocessed"}),"eventProcessed")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#font"}),"font")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#inherits"}),"inherits")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#insertbefore"}),"insertBefore")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#ischeckable"}),"isCheckable")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#ischecked"}),"isChecked")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#isseparator"}),"isSeparator")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#objectname"}),"objectName")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#property"}),"property")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#removechild"}),"removeChild")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#removeeventlistener"}),"removeEventListener")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#setcheckable"}),"setCheckable")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#setchecked"}),"setChecked")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#setdata"}),"setData")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#setenabled"}),"setEnabled")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#seteventprocessed"}),"setEventProcessed")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#setfont"}),"setFont")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#seticon"}),"setIcon")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#setmenu"}),"setMenu")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#setnodeparent"}),"setNodeParent")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#setobjectname"}),"setObjectName")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#setproperty"}),"setProperty")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#setprops"}),"setProps")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#setseparator"}),"setSeparator")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#setshortcut"}),"setShortcut")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#setshortcutcontext"}),"setShortcutContext")),Object(c.b)("li",{parentName:"ul"},Object(c.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/classes/rnaction#settext"}),"setText"))),Object(c.b)("h2",{id:"constructors-1"},"Constructors"),Object(c.b)("h3",{id:"constructor"},"constructor"),Object(c.b)("p",null,"+"," ",Object(c.b)("strong",{parentName:"p"},"new RNAction"),"(): ",Object(c.b)("em",{parentName:"p"},Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"))),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#constructor"}),"constructor"))),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Overrides void")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"))),Object(c.b)("p",null,"+"," ",Object(c.b)("strong",{parentName:"p"},"new RNAction"),"(",Object(c.b)("inlineCode",{parentName:"p"},"native"),": NativeElement): ",Object(c.b)("em",{parentName:"p"},Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"))),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#constructor"}),"constructor"))),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Overrides void")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Parameters:")),Object(c.b)("table",null,Object(c.b)("thead",{parentName:"table"},Object(c.b)("tr",{parentName:"thead"},Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Name"),Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Type"))),Object(c.b)("tbody",{parentName:"table"},Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"native")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),"NativeElement")))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"))),Object(c.b)("p",null,"+"," ",Object(c.b)("strong",{parentName:"p"},"new RNAction"),"(",Object(c.b)("inlineCode",{parentName:"p"},"parent"),": NodeWidget\u2039any\u203a): ",Object(c.b)("em",{parentName:"p"},Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"))),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#constructor"}),"constructor"))),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Overrides void")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Parameters:")),Object(c.b)("table",null,Object(c.b)("thead",{parentName:"table"},Object(c.b)("tr",{parentName:"thead"},Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Name"),Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Type"))),Object(c.b)("tbody",{parentName:"table"},Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"parent")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),"NodeWidget\u2039any\u203a")))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"))),Object(c.b)("h2",{id:"properties-1"},"Properties"),Object(c.b)("h3",{id:"optional-icon"},Object(c.b)("inlineCode",{parentName:"h3"},"Optional")," icon"),Object(c.b)("p",null,"\u2022 ",Object(c.b)("strong",{parentName:"p"},"icon"),"? : ",Object(c.b)("em",{parentName:"p"},"QIcon")),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#optional-icon"}),"icon"))),Object(c.b)("hr",null),Object(c.b)("h3",{id:"optional-menu"},Object(c.b)("inlineCode",{parentName:"h3"},"Optional")," menu"),Object(c.b)("p",null,"\u2022 ",Object(c.b)("strong",{parentName:"p"},"menu"),"? : ",Object(c.b)("em",{parentName:"p"},"QMenu")),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#optional-menu"}),"menu"))),Object(c.b)("hr",null),Object(c.b)("h3",{id:"native"},"native"),Object(c.b)("p",null,"\u2022 ",Object(c.b)("strong",{parentName:"p"},"native"),": ",Object(c.b)("em",{parentName:"p"},"NativeElement")),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#native"}),"native"))),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Overrides void")),Object(c.b)("hr",null),Object(c.b)("h3",{id:"nodechildren"},"nodeChildren"),Object(c.b)("p",null,"\u2022 ",Object(c.b)("strong",{parentName:"p"},"nodeChildren"),": ",Object(c.b)("em",{parentName:"p"},"Set\u2039Component\u203a")),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#nodechildren"}),"nodeChildren"))),Object(c.b)("hr",null),Object(c.b)("h3",{id:"optional-nodeparent"},Object(c.b)("inlineCode",{parentName:"h3"},"Optional")," nodeParent"),Object(c.b)("p",null,"\u2022 ",Object(c.b)("strong",{parentName:"p"},"nodeParent"),"? : ",Object(c.b)("em",{parentName:"p"},"Component")),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#optional-nodeparent"}),"nodeParent"))),Object(c.b)("hr",null),Object(c.b)("h3",{id:"static-tagname"},Object(c.b)("inlineCode",{parentName:"h3"},"Static")," tagName"),Object(c.b)("p",null,"\u25aa ",Object(c.b)("strong",{parentName:"p"},"tagName"),": ",Object(c.b)("em",{parentName:"p"},"string"),' = "action"'),Object(c.b)("h2",{id:"methods-1"},"Methods"),Object(c.b)("h3",{id:"addeventlistener"},"addEventListener"),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"addEventListener"),"\u2039",Object(c.b)("strong",{parentName:"p"},"SignalType"),"\u203a(",Object(c.b)("inlineCode",{parentName:"p"},"signalType"),": SignalType, ",Object(c.b)("inlineCode",{parentName:"p"},"callback"),": QActionSignals","[SignalType]","): ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#addeventlistener"}),"addEventListener"))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Type parameters:")),Object(c.b)("p",null,"\u25aa ",Object(c.b)("strong",{parentName:"p"},"SignalType"),": ",Object(c.b)("em",{parentName:"p"},"keyof QActionSignals")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Parameters:")),Object(c.b)("table",null,Object(c.b)("thead",{parentName:"table"},Object(c.b)("tr",{parentName:"thead"},Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Name"),Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Type"),Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Description"))),Object(c.b)("tbody",{parentName:"table"},Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"signalType")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),"SignalType"),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),"SignalType is a signal from the widgets signals interface.")),Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"callback")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),"QActionSignals","[SignalType]"),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),"Corresponding callback for the signal as mentioned in the widget's signal interface")))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("p",null,"void"),Object(c.b)("p",null,"For example in the case of QPushButton:"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-js"}),"const button = new QPushButton();\nbutton.addEventListener('clicked',(checked)=>console.log(\"clicked\"));\n// here clicked is a value from QPushButtonSignals interface\n")),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"addEventListener"),"(",Object(c.b)("inlineCode",{parentName:"p"},"eventType"),": WidgetEventTypes, ",Object(c.b)("inlineCode",{parentName:"p"},"callback"),": function): ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#addeventlistener"}),"addEventListener"))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Parameters:")),Object(c.b)("p",null,"\u25aa ",Object(c.b)("strong",{parentName:"p"},"eventType"),": ",Object(c.b)("em",{parentName:"p"},"WidgetEventTypes")),Object(c.b)("p",null,"\u25aa ",Object(c.b)("strong",{parentName:"p"},"callback"),": ",Object(c.b)("em",{parentName:"p"},"function")),Object(c.b)("p",null,"For example in the case of QPushButton:"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-js"}),'const button = new QPushButton();\nbutton.addEventListener(WidgetEventTypes.HoverEnter,()=>console.log("hovered"));\n')),Object(c.b)("p",null,"\u25b8 (",Object(c.b)("inlineCode",{parentName:"p"},"event?"),': NativeRawPointer\u2039"QEvent"\u203a): ',Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Parameters:")),Object(c.b)("table",null,Object(c.b)("thead",{parentName:"table"},Object(c.b)("tr",{parentName:"thead"},Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Name"),Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Type"))),Object(c.b)("tbody",{parentName:"table"},Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"event?")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),'NativeRawPointer\u2039"QEvent"\u203a')))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("hr",null),Object(c.b)("h3",{id:"appendchild"},"appendChild"),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"appendChild"),"(",Object(c.b)("inlineCode",{parentName:"p"},"child"),": Component): ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Parameters:")),Object(c.b)("table",null,Object(c.b)("thead",{parentName:"table"},Object(c.b)("tr",{parentName:"thead"},Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Name"),Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Type"))),Object(c.b)("tbody",{parentName:"table"},Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"child")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),"Component")))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("hr",null),Object(c.b)("h3",{id:"appendinitialchild"},"appendInitialChild"),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"appendInitialChild"),"(",Object(c.b)("inlineCode",{parentName:"p"},"child"),": Component): ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Parameters:")),Object(c.b)("table",null,Object(c.b)("thead",{parentName:"table"},Object(c.b)("tr",{parentName:"thead"},Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Name"),Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Type"))),Object(c.b)("tbody",{parentName:"table"},Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"child")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),"Component")))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("hr",null),Object(c.b)("h3",{id:"data"},"data"),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"data"),"(): ",Object(c.b)("em",{parentName:"p"},"QVariant")),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#data"}),"data"))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"QVariant")),Object(c.b)("hr",null),Object(c.b)("h3",{id:"eventprocessed"},"eventProcessed"),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"eventProcessed"),"(): ",Object(c.b)("em",{parentName:"p"},"boolean")),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#eventprocessed"}),"eventProcessed"))),Object(c.b)("p",null,"Get the state of the event processed flag"),Object(c.b)("p",null,"See ",Object(c.b)("inlineCode",{parentName:"p"},"setEventProcessed()"),"."),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"boolean")),Object(c.b)("p",null,"boolean True if the current event is flagged as processed."),Object(c.b)("hr",null),Object(c.b)("h3",{id:"font"},"font"),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"font"),"(): ",Object(c.b)("em",{parentName:"p"},"QFont")),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#font"}),"font"))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"QFont")),Object(c.b)("hr",null),Object(c.b)("h3",{id:"inherits"},"inherits"),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"inherits"),"(",Object(c.b)("inlineCode",{parentName:"p"},"className"),": string): ",Object(c.b)("em",{parentName:"p"},"boolean")),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#inherits"}),"inherits"))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Parameters:")),Object(c.b)("table",null,Object(c.b)("thead",{parentName:"table"},Object(c.b)("tr",{parentName:"thead"},Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Name"),Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Type"))),Object(c.b)("tbody",{parentName:"table"},Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"className")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),"string")))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"boolean")),Object(c.b)("hr",null),Object(c.b)("h3",{id:"insertbefore"},"insertBefore"),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"insertBefore"),"(",Object(c.b)("inlineCode",{parentName:"p"},"child"),": Component, ",Object(c.b)("inlineCode",{parentName:"p"},"beforeChild"),": Component): ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Parameters:")),Object(c.b)("table",null,Object(c.b)("thead",{parentName:"table"},Object(c.b)("tr",{parentName:"thead"},Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Name"),Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Type"))),Object(c.b)("tbody",{parentName:"table"},Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"child")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),"Component")),Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"beforeChild")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),"Component")))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("hr",null),Object(c.b)("h3",{id:"ischeckable"},"isCheckable"),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"isCheckable"),"(): ",Object(c.b)("em",{parentName:"p"},"boolean")),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#ischeckable"}),"isCheckable"))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"boolean")),Object(c.b)("hr",null),Object(c.b)("h3",{id:"ischecked"},"isChecked"),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"isChecked"),"(): ",Object(c.b)("em",{parentName:"p"},"boolean")),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#ischecked"}),"isChecked"))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"boolean")),Object(c.b)("hr",null),Object(c.b)("h3",{id:"isseparator"},"isSeparator"),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"isSeparator"),"(): ",Object(c.b)("em",{parentName:"p"},"boolean")),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#isseparator"}),"isSeparator"))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"boolean")),Object(c.b)("hr",null),Object(c.b)("h3",{id:"objectname"},"objectName"),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"objectName"),"(): ",Object(c.b)("em",{parentName:"p"},"string")),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#objectname"}),"objectName"))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"string")),Object(c.b)("hr",null),Object(c.b)("h3",{id:"property"},"property"),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"property"),"(",Object(c.b)("inlineCode",{parentName:"p"},"name"),": string): ",Object(c.b)("em",{parentName:"p"},"QVariant")),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#property"}),"property"))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Parameters:")),Object(c.b)("table",null,Object(c.b)("thead",{parentName:"table"},Object(c.b)("tr",{parentName:"thead"},Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Name"),Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Type"))),Object(c.b)("tbody",{parentName:"table"},Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"name")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),"string")))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"QVariant")),Object(c.b)("hr",null),Object(c.b)("h3",{id:"removechild"},"removeChild"),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"removeChild"),"(",Object(c.b)("inlineCode",{parentName:"p"},"child"),": Component): ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Parameters:")),Object(c.b)("table",null,Object(c.b)("thead",{parentName:"table"},Object(c.b)("tr",{parentName:"thead"},Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Name"),Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Type"))),Object(c.b)("tbody",{parentName:"table"},Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"child")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),"Component")))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("hr",null),Object(c.b)("h3",{id:"removeeventlistener"},"removeEventListener"),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"removeEventListener"),"\u2039",Object(c.b)("strong",{parentName:"p"},"SignalType"),"\u203a(",Object(c.b)("inlineCode",{parentName:"p"},"signalType"),": SignalType, ",Object(c.b)("inlineCode",{parentName:"p"},"callback"),": QActionSignals","[SignalType]","): ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#removeeventlistener"}),"removeEventListener"))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Type parameters:")),Object(c.b)("p",null,"\u25aa ",Object(c.b)("strong",{parentName:"p"},"SignalType"),": ",Object(c.b)("em",{parentName:"p"},"keyof QActionSignals")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Parameters:")),Object(c.b)("table",null,Object(c.b)("thead",{parentName:"table"},Object(c.b)("tr",{parentName:"thead"},Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Name"),Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Type"))),Object(c.b)("tbody",{parentName:"table"},Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"signalType")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),"SignalType")),Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"callback")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),"QActionSignals","[SignalType]")))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"removeEventListener"),"(",Object(c.b)("inlineCode",{parentName:"p"},"eventType"),": WidgetEventTypes, ",Object(c.b)("inlineCode",{parentName:"p"},"callback"),": function): ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#removeeventlistener"}),"removeEventListener"))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Parameters:")),Object(c.b)("p",null,"\u25aa ",Object(c.b)("strong",{parentName:"p"},"eventType"),": ",Object(c.b)("em",{parentName:"p"},"WidgetEventTypes")),Object(c.b)("p",null,"\u25aa ",Object(c.b)("strong",{parentName:"p"},"callback"),": ",Object(c.b)("em",{parentName:"p"},"function")),Object(c.b)("p",null,"\u25b8 (",Object(c.b)("inlineCode",{parentName:"p"},"event?"),': NativeRawPointer\u2039"QEvent"\u203a): ',Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Parameters:")),Object(c.b)("table",null,Object(c.b)("thead",{parentName:"table"},Object(c.b)("tr",{parentName:"thead"},Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Name"),Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Type"))),Object(c.b)("tbody",{parentName:"table"},Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"event?")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),'NativeRawPointer\u2039"QEvent"\u203a')))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("hr",null),Object(c.b)("h3",{id:"setcheckable"},"setCheckable"),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"setCheckable"),"(",Object(c.b)("inlineCode",{parentName:"p"},"isCheckable"),": boolean): ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#setcheckable"}),"setCheckable"))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Parameters:")),Object(c.b)("table",null,Object(c.b)("thead",{parentName:"table"},Object(c.b)("tr",{parentName:"thead"},Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Name"),Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Type"))),Object(c.b)("tbody",{parentName:"table"},Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"isCheckable")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),"boolean")))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("hr",null),Object(c.b)("h3",{id:"setchecked"},"setChecked"),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"setChecked"),"(",Object(c.b)("inlineCode",{parentName:"p"},"isChecked"),": boolean): ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#setchecked"}),"setChecked"))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Parameters:")),Object(c.b)("table",null,Object(c.b)("thead",{parentName:"table"},Object(c.b)("tr",{parentName:"thead"},Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Name"),Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Type"))),Object(c.b)("tbody",{parentName:"table"},Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"isChecked")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),"boolean")))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("hr",null),Object(c.b)("h3",{id:"setdata"},"setData"),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"setData"),"(",Object(c.b)("inlineCode",{parentName:"p"},"value"),": QVariant): ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#setdata"}),"setData"))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Parameters:")),Object(c.b)("table",null,Object(c.b)("thead",{parentName:"table"},Object(c.b)("tr",{parentName:"thead"},Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Name"),Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Type"))),Object(c.b)("tbody",{parentName:"table"},Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"value")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),"QVariant")))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("hr",null),Object(c.b)("h3",{id:"setenabled"},"setEnabled"),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"setEnabled"),"(",Object(c.b)("inlineCode",{parentName:"p"},"enabled"),": boolean): ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#setenabled"}),"setEnabled"))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Parameters:")),Object(c.b)("table",null,Object(c.b)("thead",{parentName:"table"},Object(c.b)("tr",{parentName:"thead"},Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Name"),Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Type"))),Object(c.b)("tbody",{parentName:"table"},Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"enabled")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),"boolean")))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("hr",null),Object(c.b)("h3",{id:"seteventprocessed"},"setEventProcessed"),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"setEventProcessed"),"(",Object(c.b)("inlineCode",{parentName:"p"},"isProcessed"),": boolean): ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#seteventprocessed"}),"setEventProcessed"))),Object(c.b)("p",null,"Mark the current event as having been processed"),Object(c.b)("p",null,"This method is used to indicate that the currently dispatched event\nhas been processed and no further processing by superclasses is\nrequired. It only makes sense to call this method from an event\nhandler."),Object(c.b)("p",null,"When set, this flag will cause NodeGui's ",Object(c.b)("inlineCode",{parentName:"p"},"QObject::event()")," method to\nreturn true and not call the superclass ",Object(c.b)("inlineCode",{parentName:"p"},"event()"),", effectively preventing\nany further processing on this event."),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Parameters:")),Object(c.b)("table",null,Object(c.b)("thead",{parentName:"table"},Object(c.b)("tr",{parentName:"thead"},Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Name"),Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Type"),Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Description"))),Object(c.b)("tbody",{parentName:"table"},Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"isProcessed")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),"boolean"),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),"true if the event has been processed.")))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("hr",null),Object(c.b)("h3",{id:"setfont"},"setFont"),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"setFont"),"(",Object(c.b)("inlineCode",{parentName:"p"},"font"),": QFont): ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#setfont"}),"setFont"))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Parameters:")),Object(c.b)("table",null,Object(c.b)("thead",{parentName:"table"},Object(c.b)("tr",{parentName:"thead"},Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Name"),Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Type"))),Object(c.b)("tbody",{parentName:"table"},Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"font")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),"QFont")))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("hr",null),Object(c.b)("h3",{id:"seticon"},"setIcon"),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"setIcon"),"(",Object(c.b)("inlineCode",{parentName:"p"},"icon"),": QIcon): ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#seticon"}),"setIcon"))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Parameters:")),Object(c.b)("table",null,Object(c.b)("thead",{parentName:"table"},Object(c.b)("tr",{parentName:"thead"},Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Name"),Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Type"))),Object(c.b)("tbody",{parentName:"table"},Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"icon")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),"QIcon")))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("hr",null),Object(c.b)("h3",{id:"setmenu"},"setMenu"),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"setMenu"),"(",Object(c.b)("inlineCode",{parentName:"p"},"menu"),": QMenu): ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#setmenu"}),"setMenu"))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Parameters:")),Object(c.b)("table",null,Object(c.b)("thead",{parentName:"table"},Object(c.b)("tr",{parentName:"thead"},Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Name"),Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Type"))),Object(c.b)("tbody",{parentName:"table"},Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"menu")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),"QMenu")))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("hr",null),Object(c.b)("h3",{id:"setnodeparent"},"setNodeParent"),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"setNodeParent"),"(",Object(c.b)("inlineCode",{parentName:"p"},"parent?"),": Component): ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#setnodeparent"}),"setNodeParent"))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Parameters:")),Object(c.b)("table",null,Object(c.b)("thead",{parentName:"table"},Object(c.b)("tr",{parentName:"thead"},Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Name"),Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Type"))),Object(c.b)("tbody",{parentName:"table"},Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"parent?")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),"Component")))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("hr",null),Object(c.b)("h3",{id:"setobjectname"},"setObjectName"),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"setObjectName"),"(",Object(c.b)("inlineCode",{parentName:"p"},"objectName"),": string): ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#setobjectname"}),"setObjectName"))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Parameters:")),Object(c.b)("table",null,Object(c.b)("thead",{parentName:"table"},Object(c.b)("tr",{parentName:"thead"},Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Name"),Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Type"))),Object(c.b)("tbody",{parentName:"table"},Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"objectName")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),"string")))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("hr",null),Object(c.b)("h3",{id:"setproperty"},"setProperty"),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"setProperty"),"(",Object(c.b)("inlineCode",{parentName:"p"},"name"),": string, ",Object(c.b)("inlineCode",{parentName:"p"},"value"),": QVariantType): ",Object(c.b)("em",{parentName:"p"},"boolean")),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#setproperty"}),"setProperty"))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Parameters:")),Object(c.b)("table",null,Object(c.b)("thead",{parentName:"table"},Object(c.b)("tr",{parentName:"thead"},Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Name"),Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Type"))),Object(c.b)("tbody",{parentName:"table"},Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"name")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),"string")),Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"value")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),"QVariantType")))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"boolean")),Object(c.b)("hr",null),Object(c.b)("h3",{id:"setprops"},"setProps"),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"setProps"),"(",Object(c.b)("inlineCode",{parentName:"p"},"newProps"),": ",Object(c.b)("a",Object(n.a)({parentName:"p"},{href:"/docs/api/interfaces/actionprops"}),"ActionProps"),", ",Object(c.b)("inlineCode",{parentName:"p"},"oldProps"),": ",Object(c.b)("a",Object(n.a)({parentName:"p"},{href:"/docs/api/interfaces/actionprops"}),"ActionProps"),"): ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Parameters:")),Object(c.b)("table",null,Object(c.b)("thead",{parentName:"table"},Object(c.b)("tr",{parentName:"thead"},Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Name"),Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Type"))),Object(c.b)("tbody",{parentName:"table"},Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"newProps")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("a",Object(n.a)({parentName:"td"},{href:"/docs/api/interfaces/actionprops"}),"ActionProps"))),Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"oldProps")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("a",Object(n.a)({parentName:"td"},{href:"/docs/api/interfaces/actionprops"}),"ActionProps"))))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("hr",null),Object(c.b)("h3",{id:"setseparator"},"setSeparator"),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"setSeparator"),"(",Object(c.b)("inlineCode",{parentName:"p"},"isSeparator"),": boolean): ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#setseparator"}),"setSeparator"))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Parameters:")),Object(c.b)("table",null,Object(c.b)("thead",{parentName:"table"},Object(c.b)("tr",{parentName:"thead"},Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Name"),Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Type"))),Object(c.b)("tbody",{parentName:"table"},Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"isSeparator")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),"boolean")))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("hr",null),Object(c.b)("h3",{id:"setshortcut"},"setShortcut"),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"setShortcut"),"(",Object(c.b)("inlineCode",{parentName:"p"},"keysequence"),": QKeySequence): ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#setshortcut"}),"setShortcut"))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Parameters:")),Object(c.b)("table",null,Object(c.b)("thead",{parentName:"table"},Object(c.b)("tr",{parentName:"thead"},Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Name"),Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Type"))),Object(c.b)("tbody",{parentName:"table"},Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"keysequence")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),"QKeySequence")))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("hr",null),Object(c.b)("h3",{id:"setshortcutcontext"},"setShortcutContext"),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"setShortcutContext"),"(",Object(c.b)("inlineCode",{parentName:"p"},"shortcutContext"),": ShortcutContext): ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#setshortcutcontext"}),"setShortcutContext"))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Parameters:")),Object(c.b)("table",null,Object(c.b)("thead",{parentName:"table"},Object(c.b)("tr",{parentName:"thead"},Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Name"),Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Type"))),Object(c.b)("tbody",{parentName:"table"},Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"shortcutContext")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),"ShortcutContext")))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("hr",null),Object(c.b)("h3",{id:"settext"},"setText"),Object(c.b)("p",null,"\u25b8 ",Object(c.b)("strong",{parentName:"p"},"setText"),"(",Object(c.b)("inlineCode",{parentName:"p"},"text"),": string): ",Object(c.b)("em",{parentName:"p"},"void")),Object(c.b)("p",null,Object(c.b)("em",{parentName:"p"},"Inherited from ",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(c.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#settext"}),"setText"))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Parameters:")),Object(c.b)("table",null,Object(c.b)("thead",{parentName:"table"},Object(c.b)("tr",{parentName:"thead"},Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Name"),Object(c.b)("th",Object(n.a)({parentName:"tr"},{align:null}),"Type"))),Object(c.b)("tbody",{parentName:"table"},Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),Object(c.b)("inlineCode",{parentName:"td"},"text")),Object(c.b)("td",Object(n.a)({parentName:"tr"},{align:null}),"string")))),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Returns:")," ",Object(c.b)("em",{parentName:"p"},"void")))}O.isMDXComponent=!0},162:function(e,t,a){"use strict";a.d(t,"a",(function(){return j})),a.d(t,"b",(function(){return m}));var n=a(0),b=a.n(n);function c(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function r(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function l(e){for(var t=1;t=0||(b[a]=e[a]);return b}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(b[a]=e[a])}return b}var i=b.a.createContext({}),O=function(e){var t=b.a.useContext(i),a=t;return e&&(a="function"==typeof e?e(t):l(l({},t),e)),a},j=function(e){var t=O(e.components);return b.a.createElement(i.Provider,{value:t},e.children)},o={inlineCode:"code",wrapper:function(e){var t=e.children;return b.a.createElement(b.a.Fragment,{},t)}},s=b.a.forwardRef((function(e,t){var a=e.components,n=e.mdxType,c=e.originalType,r=e.parentName,i=p(e,["components","mdxType","originalType","parentName"]),j=O(a),s=n,m=j["".concat(r,".").concat(s)]||j[s]||o[s]||c;return a?b.a.createElement(m,l(l({ref:t},i),{},{components:a})):b.a.createElement(m,l({ref:t},i))}));function m(e,t){var a=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var c=a.length,r=new Array(c);r[0]=s;var l={};for(var p in t)hasOwnProperty.call(t,p)&&(l[p]=t[p]);l.originalType=e,l.mdxType="string"==typeof e?e:n,r[1]=l;for(var i=2;iOptional attributes",id:"optional-attributes",children:[]},{value:"Optional cursor",id:"optional-cursor",children:[]},{value:"Optional enabled",id:"optional-enabled",children:[]},{value:"Optional geometry",id:"optional-geometry",children:[]},{value:"Optional id",id:"optional-id",children:[]},{value:"Optional maxSize",id:"optional-maxsize",children:[]},{value:"Optional minSize",id:"optional-minsize",children:[]},{value:"Optional mouseTracking",id:"optional-mousetracking",children:[]},{value:"Optional on",id:"optional-on",children:[]},{value:"Optional pos",id:"optional-pos",children:[]},{value:"Optional ref",id:"optional-ref",children:[]},{value:"Optional size",id:"optional-size",children:[]},{value:"Optional style",id:"optional-style",children:[]},{value:"Optional styleSheet",id:"optional-stylesheet",children:[]},{value:"Optional visible",id:"optional-visible",children:[]},{value:"Optional windowFlags",id:"optional-windowflags",children:[]},{value:"Optional windowIcon",id:"optional-windowicon",children:[]},{value:"Optional windowOpacity",id:"optional-windowopacity",children:[]},{value:"Optional windowState",id:"optional-windowstate",children:[]},{value:"Optional windowTitle",id:"optional-windowtitle",children:[]}]}],c={rightToc:b};function l(e){var t=e.components,a=Object(n.a)(e,["components"]);return Object(o.b)("wrapper",Object(i.a)({},c,a,{components:t,mdxType:"MDXLayout"}),Object(o.b)("p",null,"The View component can be used to encapsulate other components and provide structure.\nIt functions similar to a div in the web world. It is based on\n",Object(o.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/QWidget"}),"NodeGui's QWidget"),"."),Object(o.b)("h2",{id:"example"},"Example"),Object(o.b)("pre",null,Object(o.b)("code",Object(i.a)({parentName:"pre"},{className:"language-javascript"}),'import React from "react";\nimport { Renderer, Button, Window, View } from "./index";\nconst App = () => {\n return (\n \n \n

Welcome

Atul R

Atul R

Maintainer @NodeGui

This is the new blog site for NodeGui. This will be updated soon.

+ + + + + + + + + + \ No newline at end of file diff --git a/blog/index.html b/blog/index.html new file mode 100644 index 00000000..8f74469b --- /dev/null +++ b/blog/index.html @@ -0,0 +1,34 @@ + + + + + + + + + +Blog | React NodeGui + + + + + + + + + + + +
+

Welcome

Atul R

Atul R

Maintainer @NodeGui

This is the new blog site for NodeGui. This will be updated soon.

+ + + + + + + + + + + \ No newline at end of file diff --git a/blog/tags/hello/index.html b/blog/tags/hello/index.html new file mode 100644 index 00000000..d56d6eb5 --- /dev/null +++ b/blog/tags/hello/index.html @@ -0,0 +1,34 @@ + + + + + + + + + +Posts tagged "hello" | React NodeGui + + + + + + + + + + + +
+

1 post tagged with "hello"

View All Tags
+ + + + + + + + + + + \ No newline at end of file diff --git a/blog/tags/index.html b/blog/tags/index.html new file mode 100644 index 00000000..fe06280b --- /dev/null +++ b/blog/tags/index.html @@ -0,0 +1,30 @@ + + + + + + + + + +Tags | React NodeGui + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/blog/tags/nodegui/index.html b/blog/tags/nodegui/index.html new file mode 100644 index 00000000..b32238d4 --- /dev/null +++ b/blog/tags/nodegui/index.html @@ -0,0 +1,34 @@ + + + + + + + + + +Posts tagged "nodegui" | React NodeGui + + + + + + + + + + + +
+

1 post tagged with "nodegui"

View All Tags
+ + + + + + + + + + + \ No newline at end of file diff --git a/c4f5d8e4.fdb7cc50.js b/c4f5d8e4.fdb7cc50.js new file mode 100644 index 00000000..5f3e26ca --- /dev/null +++ b/c4f5d8e4.fdb7cc50.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[79],{156:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n.n(a),l=n(163),c=n(167),i=n(170),o=n(171);function u(){var e=Object(i.a)(["\n font-weight: 600;\n"]);return u=function(){return e},e}function m(){var e=Object(i.a)([""]);return m=function(){return e},e}function s(){var e=Object(i.a)([""]);return s=function(){return e},e}function d(){var e=Object(i.a)(["\n font-size: 20px;\n"]);return d=function(){return e},e}function p(){var e=Object(i.a)([""]);return p=function(){return e},e}function f(){var e=Object(i.a)(["\n flex-direction: column;\n display: flex;\n align-items: center;\n"]);return f=function(){return e},e}function g(){var e=Object(i.a)(["\n margin-left: auto;\n margin-right: auto;\n max-width: 1140px;\n max-width: var(--ifm-container-width);\n padding-left: 1rem;\n padding-left: var(--ifm-spacing-horizontal);\n padding-right: 1rem;\n padding-right: var(--ifm-spacing-horizontal);\n width: 100%;\n"]);return g=function(){return e},e}function E(){var e=Object(i.a)(["\n display: flex;\n align-items: center;\n padding: 2rem 0 0 0;\n width: 100%;\n margin: 0 auto;\n"]);return E=function(){return e},e}function v(){var e=Object(i.a)([""]);return v=function(){return e},e}var h=o.a.header(v()),b=o.a.section(E()),w=o.a.div(g()),x=o.a.div(f()),y=(o.a.ol(p()),o.a.li(d()),o.a.h1(s())),j=o.a.h2(m());o.a.h4(u());function O(){var e=Object(i.a)(["\n width: 600px;\n max-width: 100%;\n"]);return O=function(){return e},e}function k(){var e=Object(i.a)(["\n font-weight: 400;\n"]);return k=function(){return e},e}function N(){var e=Object(i.a)(['\n background: black;\n display: flex;\n flex-direction: column;\n border: 1px solid gray;\n border-bottom: none;\n border-top-left-radius: 10px;\n border-top-right-radius: 10px;\n padding: 50px 30px 30px 30px;\n width: 600px;\n max-width: 100%;\n position: relative;\n margin-bottom: 20px;\n &::before {\n content: "\u25cb \u25cb \u25cb";\n color: gray;\n font-size: 14px;\n position: absolute;\n left: 15px;\n top: 5px;\n }\n']);return N=function(){return e},e}function R(){var e=Object(i.a)(['\n color: white !important;\n background: black;\n font-size: 14px;\n position: relative;\n &::before {\n content: "$";\n position: absolute;\n left: -13px;\n color: gray;\n }\n']);return R=function(){return e},e}var C=o.a.code(R()),z=o.a.div(N()),S=o.a.h4(k()),G=o.a.div(O()),T=function(){return r.a.createElement(b,{id:"quick-start"},r.a.createElement(w,null,r.a.createElement(x,null,r.a.createElement(j,null,"Give it a try"),r.a.createElement(G,null,r.a.createElement(S,null,"1. Use the CRA template"),r.a.createElement(z,null,r.a.createElement(C,null,"create-react-app --template react-nodegui rn-starter"),r.a.createElement(C,null,"cd rn-starter"),r.a.createElement(C,null,"npm run dev"),r.a.createElement(C,null,"npm start")),r.a.createElement(S,null,"2. Run these commands"),r.a.createElement(z,null,r.a.createElement(C,null,"git clone https://github.com/nodegui/react-nodegui-starter"),r.a.createElement(C,null,"cd react-nodegui-starter"),r.a.createElement(C,null,"npm install"),r.a.createElement(C,null,"npm run dev"),r.a.createElement(C,null,"npm start")),r.a.createElement(S,null,"3."," ",r.a.createElement("a",{className:"LinkBasics",href:"docs/guides/getting-started"},"Learn the basics")," ","or dive deeper and take a"," ",r.a.createElement("a",{className:"LinkBasics",href:"docs/api/interfaces/buttonprops"},"look at the APIs."))))))},J=n(49),L=n.n(J),_=n(166);function F(){var e=Object(i.a)(["\n padding-bottom: 40px;\n"]);return F=function(){return e},e}function U(){var e=Object(i.a)(["\n max-width: 170px;\n"]);return U=function(){return e},e}function W(){var e=Object(i.a)(["\n font-size: 1.6em;\n text-align: center;\n"]);return W=function(){return e},e}function I(){var e=Object(i.a)(["\n font-size: 3em;\n font-weight: 600;\n"]);return I=function(){return e},e}function P(){var e=Object(i.a)(["\n ","\n padding: 0.7rem 1.1rem;\n font-size: 1.2em;\n"]);return P=function(){return e},e}var q=o.a.a(P(),(function(e){switch(e.type){case"primary":return"\n color: white; \n background: var(--ifm-color-primary);\n &:hover {\n color: white;\n text-decoration: none;\n background: var(--ifm-color-primary-dark);\n }\n ";case"secondary":return'\n &::after {\n content: "\u203a";\n font-size: 24px;\n margin-left: 5px;\n text-align: center;\n }\n '}})),A=Object(o.a)(y)(I()),B=o.a.p(W()),Q=o.a.img(U()),H=Object(o.a)(h)(F());function K(){return r.a.createElement("div",null,r.a.createElement(q,{type:"primary",href:"#quick-start",target:"_self"},"Quick start"),r.a.createElement(q,{type:"secondary",href:Object(_.a)("docs/guides/getting-started"),target:"_self"},"Learn basics"))}var M=function(){var e=Object(l.a)().siteConfig,t=void 0===e?{}:e;return r.a.createElement(H,null,r.a.createElement(w,null,r.a.createElement(x,null,r.a.createElement(Q,{src:"img/logox200.png"}),r.a.createElement(A,null,t.title),r.a.createElement(B,null,t.tagline),r.a.createElement("div",{className:L.a.buttons},r.a.createElement(K,null)))))},D=n(190),V=n.n(D),$=[{title:r.a.createElement(r.a.Fragment,null,"Powered by React"),imageUrl:"img/undraw_react.svg",description:r.a.createElement(r.a.Fragment,null,"With React NodeGui, you can build truly native apps with React. If you dont want to use React, there is also a pure"," ",r.a.createElement("a",{href:"https://nodegui.org"},"JavaScript based version"),".")},{title:r.a.createElement(r.a.Fragment,null,"Open Source"),imageUrl:"img/undraw_code_review.svg",description:r.a.createElement(r.a.Fragment,null,"React NodeGui is an open source project maintained by an active community of contributors.")},{title:r.a.createElement(r.a.Fragment,null," Cross Platform"),imageUrl:"img/undraw_windows.svg",description:r.a.createElement(r.a.Fragment,null,"React NodeGui apps build and run on Mac, Windows, and Linux platforms.")}],X=function(){return r.a.createElement("section",{className:L.a.features},r.a.createElement("div",{className:"container"},r.a.createElement("div",{className:"row"},$.map((function(e,t){var n=e.imageUrl,a=e.title,l=e.description;return r.a.createElement("div",{key:t,className:V()("col col--4",L.a.feature)},n&&r.a.createElement("div",{className:"text--center"},r.a.createElement("img",{className:L.a.featureImage,src:Object(_.a)(n),alt:a})),r.a.createElement("h3",{className:"text--center"},a),r.a.createElement("p",{className:"text--center"},l))})))))},Y=(n(138),function(e){return r.a.createElement(b,null,r.a.createElement("div",{className:"SplitView"},r.a.createElement("div",{className:"column first left "+e.columnOneClass},e.columnOne),r.a.createElement("div",{className:"column last right "+e.columnTwoClass},e.columnTwo)))});function Z(){var e=Object(i.a)(["\n max-height: 300px;\n padding-bottom: 40px;\n"]);return Z=function(){return e},e}var ee=o.a.img(Z()),te=function(){var e=function(){return r.a.createElement(ee,{src:"/img/demo.png"})},t=function(){return r.a.createElement("div",null,r.a.createElement("h3",null,"Create native apps for Windows, MacOs and Linux using React and CSS"),r.a.createElement("p",null,"lets you create truly native apps and doesn't compromise on your users' experience. It provides a core set of platform agnostic native widgets that map directly to the platform\u2019s native UI building blocks."),r.a.createElement("p",null,"React NodeGui widgets are built on top of"," ",r.a.createElement("a",{href:"https://www.qt.io/",target:"_blank"},"Qt")," ","which is a mature desktop apps framework. React NodeGui components are extremely customizable just like in the web but does"," ",r.a.createElement("strong",null,"NOT")," use a Web browser under the hood."))};return r.a.createElement(Y,{columnTwoClass:"text",columnOne:r.a.createElement(e,null),columnTwo:r.a.createElement(t,null)})};function ne(){var e=Object(i.a)(["\n max-height: 300px;\n padding-bottom: 40px;\n"]);return ne=function(){return e},e}var ae=o.a.img(ne()),re=function(){var e=function(){return r.a.createElement("div",null,r.a.createElement(ae,{src:"img/code-sample.png"}))},t=function(){return r.a.createElement("div",null,r.a.createElement("h3",null,"Written in React\u2014rendered with native code by Qt"),r.a.createElement("p",null,"Apps can be built completely in JavaScript. This enables native app development for whole new teams of developers, and can let existing native teams work much faster."),r.a.createElement("p",null,"With NodeGui you get flexibility of web and performance of Native desktop apps."))};return r.a.createElement(Y,{columnOneClass:"text",columnOne:r.a.createElement(t,null),columnTwo:r.a.createElement(e,null)})};function le(){var e=Object(i.a)(["\n padding: 40px;\n"]);return le=function(){return e},e}function ce(){var e=Object(i.a)(["\n margin-top: 20px;\n margin-bottom: 40px;\n"]);return ce=function(){return e},e}var ie=o.a.h2(ce()),oe=o.a.div(le()),ue=function(){return Object(a.useEffect)((function(){var e=document.createElement("script");e.src="//cdn.changelog.com/embed.js",e.async=!0,document.body.appendChild(e)}),[]),r.a.createElement(b,{id:"quick-start"},r.a.createElement(w,null,r.a.createElement(x,null,r.a.createElement(ie,null,"Talks"),r.a.createElement("ul",null,r.a.createElement("li",null,r.a.createElement("div",null,r.a.createElement("p",null,r.a.createElement("a",{href:"https://changelog.com/jsparty/96"},"JS Party 96: Performant Node desktop apps with NodeGui")," ","\u2013 Listen on Changelog.com"),r.a.createElement("audio",{"data-theme":"night","data-src":"https://changelog.com/jsparty/96/embed",src:"https://cdn.changelog.com/uploads/jsparty/96/js-party-96.mp3",preload:"none",class:"changelog-episode",controls:!0}))),r.a.createElement("li",null,r.a.createElement("div",null,r.a.createElement("p",null,r.a.createElement("a",{href:"https://www.meetup.com/KarmaJS/events/265554520/"},"KarmaJS Nov'19 Stockholm")),r.a.createElement("iframe",{width:"560",height:"315",src:"https://www.youtube.com/embed/8jH5gaEEDv4",frameborder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:!0})))),r.a.createElement(oe,null))))};t.default=function(){var e=Object(l.a)().siteConfig,t=void 0===e?{}:e;return r.a.createElement(c.a,{title:"Hello from "+t.title,description:"Build performant, native and cross-platform desktop applications with React \ud83d\ude80"},r.a.createElement(M,null),r.a.createElement("main",null,r.a.createElement(X,null),r.a.createElement(te,null),r.a.createElement(re,null),r.a.createElement(T,null),r.a.createElement(ue,null)))}}}]); \ No newline at end of file diff --git a/c615f064.f50aaf0d.js b/c615f064.f50aaf0d.js new file mode 100644 index 00000000..cb5d8f81 --- /dev/null +++ b/c615f064.f50aaf0d.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[80],{139:function(e,t,a){"use strict";a.r(t),a.d(t,"frontMatter",(function(){return p})),a.d(t,"metadata",(function(){return r})),a.d(t,"rightToc",(function(){return b})),a.d(t,"default",(function(){return l}));var n=a(2),i=a(6),o=(a(0),a(162)),p={id:"spinboxprops",title:"SpinBoxProps",sidebar_label:"SpinBoxProps"},r={unversionedId:"api/interfaces/spinboxprops",id:"api/interfaces/spinboxprops",isDocsHomePage:!1,title:"SpinBoxProps",description:"The SpinBox component provides the ability to add and manipulate native spin box widgets. It is based on",source:"@site/docs/api/interfaces/spinboxprops.md",slug:"/api/interfaces/spinboxprops",permalink:"/docs/api/interfaces/spinboxprops",version:"current",sidebar_label:"SpinBoxProps",sidebar:"api",previous:{title:"ScrollAreaProps",permalink:"/docs/api/interfaces/scrollareaprops"},next:{title:"TextProps",permalink:"/docs/api/interfaces/textprops"}},b=[{value:"Example",id:"example",children:[]},{value:"Hierarchy",id:"hierarchy",children:[]},{value:"Index",id:"index",children:[{value:"Properties",id:"properties",children:[]}]},{value:"Properties",id:"properties-1",children:[{value:"Optional attributes",id:"optional-attributes",children:[]},{value:"Optional cursor",id:"optional-cursor",children:[]},{value:"Optional enabled",id:"optional-enabled",children:[]},{value:"Optional geometry",id:"optional-geometry",children:[]},{value:"Optional id",id:"optional-id",children:[]},{value:"Optional maxSize",id:"optional-maxsize",children:[]},{value:"Optional minSize",id:"optional-minsize",children:[]},{value:"Optional mouseTracking",id:"optional-mousetracking",children:[]},{value:"Optional on",id:"optional-on",children:[]},{value:"Optional pos",id:"optional-pos",children:[]},{value:"Optional prefix",id:"optional-prefix",children:[]},{value:"Optional range",id:"optional-range",children:[]},{value:"Optional ref",id:"optional-ref",children:[]},{value:"Optional singleStep",id:"optional-singlestep",children:[]},{value:"Optional size",id:"optional-size",children:[]},{value:"Optional style",id:"optional-style",children:[]},{value:"Optional styleSheet",id:"optional-stylesheet",children:[]},{value:"Optional suffix",id:"optional-suffix",children:[]},{value:"Optional value",id:"optional-value",children:[]},{value:"Optional visible",id:"optional-visible",children:[]},{value:"Optional windowFlags",id:"optional-windowflags",children:[]},{value:"Optional windowIcon",id:"optional-windowicon",children:[]},{value:"Optional windowOpacity",id:"optional-windowopacity",children:[]},{value:"Optional windowState",id:"optional-windowstate",children:[]},{value:"Optional windowTitle",id:"optional-windowtitle",children:[]}]}],c={rightToc:b};function l(e){var t=e.components,a=Object(i.a)(e,["components"]);return Object(o.b)("wrapper",Object(n.a)({},c,a,{components:t,mdxType:"MDXLayout"}),Object(o.b)("p",null,"The SpinBox component provides the ability to add and manipulate native spin box widgets. It is based on\n",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/generated/classes/qspinbox/"}),"NodeGui's QSpinBox"),"."),Object(o.b)("h2",{id:"example"},"Example"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-javascript"}),'import React from "react";\nimport { Renderer, SpinBox, Window } from "@nodegui/react-nodegui";\nconst App = () => {\n const handleValuehanged = {\n valueChanged: (newValue) => {\n console.log(newValue);\n },\n };\n return (\n \n \n \n );\n};\nRenderer.render();\n\n')),Object(o.b)("h2",{id:"hierarchy"},"Hierarchy"),Object(o.b)("p",null," \u21b3 ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),"\u2039QSpinBoxSignals\u203a"),Object(o.b)("p",null," \u21b3 ",Object(o.b)("strong",{parentName:"p"},"SpinBoxProps")),Object(o.b)("h2",{id:"index"},"Index"),Object(o.b)("h3",{id:"properties"},"Properties"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/spinboxprops#optional-attributes"}),"attributes")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/spinboxprops#optional-cursor"}),"cursor")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/spinboxprops#optional-enabled"}),"enabled")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/spinboxprops#optional-geometry"}),"geometry")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/spinboxprops#optional-id"}),"id")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/spinboxprops#optional-maxsize"}),"maxSize")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/spinboxprops#optional-minsize"}),"minSize")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/spinboxprops#optional-mousetracking"}),"mouseTracking")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/spinboxprops#optional-on"}),"on")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/spinboxprops#optional-pos"}),"pos")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/spinboxprops#optional-prefix"}),"prefix")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/spinboxprops#optional-range"}),"range")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/spinboxprops#optional-ref"}),"ref")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/spinboxprops#optional-singlestep"}),"singleStep")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/spinboxprops#optional-size"}),"size")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/spinboxprops#optional-style"}),"style")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/spinboxprops#optional-stylesheet"}),"styleSheet")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/spinboxprops#optional-suffix"}),"suffix")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/spinboxprops#optional-value"}),"value")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/spinboxprops#optional-visible"}),"visible")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/spinboxprops#optional-windowflags"}),"windowFlags")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/spinboxprops#optional-windowicon"}),"windowIcon")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/spinboxprops#optional-windowopacity"}),"windowOpacity")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/spinboxprops#optional-windowstate"}),"windowState")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/spinboxprops#optional-windowtitle"}),"windowTitle"))),Object(o.b)("h2",{id:"properties-1"},"Properties"),Object(o.b)("h3",{id:"optional-attributes"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," attributes"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"attributes"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#widgetattributesmap"}),"WidgetAttributesMap"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-attributes"}),"attributes"))),Object(o.b)("p",null,"Prop to set the Widget Attributes. example:\n",Object(o.b)("inlineCode",{parentName:"p"},"")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-cursor"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," cursor"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"cursor"),"? : ",Object(o.b)("em",{parentName:"p"},"CursorShape | QCursor")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-cursor"}),"cursor"))),Object(o.b)("p",null,"Sets the window mouse cursor. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor"}),"QWidget: setCursor")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-enabled"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," enabled"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"enabled"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | false | true")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-enabled"}),"enabled"))),Object(o.b)("p",null,"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. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled"}),"QWidget: setEnabled")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-geometry"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," geometry"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"geometry"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#geometry"}),"Geometry"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-geometry"}),"geometry"))),Object(o.b)("p",null,"Sets the screen position as well as size of the widget. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height"}),"QWidget: setGeometry")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-id"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," id"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"id"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | string")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-id"}),"id"))),Object(o.b)("p",null,"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. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname"}),"QWidget: setObjectName")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-maxsize"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," maxSize"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"maxSize"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#size"}),"Size"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-maxsize"}),"maxSize"))),Object(o.b)("p",null,"Sets the maximum size of the widget. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height"}),"QWidget: setMaximumSize")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-minsize"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," minSize"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"minSize"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#size"}),"Size"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-minsize"}),"minSize"))),Object(o.b)("p",null,"Sets the minimum size of the widget. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height"}),"QWidget: setMinimumSize")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-mousetracking"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," mouseTracking"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"mouseTracking"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | false | true")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-mousetracking"}),"mouseTracking"))),Object(o.b)("p",null,"Sets the property that tells whether mouseTracking is enabled for the widget. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked"}),"QWidget: setMouseTracking")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-on"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," on"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"on"),"? : ",Object(o.b)("em",{parentName:"p"},"Partial\u2039",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#widgeteventlisteners"}),"WidgetEventListeners")," | QSpinBoxSignals\u203a")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-on"}),"on"))),Object(o.b)("p",null,"Prop to set the event listener map. See ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"/docs/guides/handle-events"}),"Handlong Events")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-pos"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," pos"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"pos"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#position"}),"Position"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-pos"}),"pos"))),Object(o.b)("p",null,"Sets the screen position of the widget. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y"}),"QWidget: move")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-prefix"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," prefix"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"prefix"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | string")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-range"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," range"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"range"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#range"}),"Range"))),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-ref"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," ref"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"ref"),"? : ",Object(o.b)("em",{parentName:"p"},"any")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-ref"}),"ref"))),Object(o.b)("p",null,"Prop to set the ref. The ref will return the underlying nodegui widget."),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-singlestep"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," singleStep"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"singleStep"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | number")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-size"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," size"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"size"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#viewsize"}),"ViewSize"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-size"}),"size"))),Object(o.b)("p",null,"Sets both the minimum and maximum sizes of the widget. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height"}),"QWidget: setFixedSize")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-style"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," style"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"style"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | string")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-style"}),"style"))),Object(o.b)("p",null,"Sets the inline stylesheet property. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle"}),"QWidget: setInlineStyle")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-stylesheet"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," styleSheet"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"styleSheet"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | string")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-stylesheet"}),"styleSheet"))),Object(o.b)("p",null,"Sets the property that holds the widget's style sheet. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet"}),"QWidget: setStyleSheet")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-suffix"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," suffix"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"suffix"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | string")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-value"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," value"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"value"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | number")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-visible"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," visible"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"visible"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | false | true")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-visible"}),"visible"))),Object(o.b)("p",null,"Shows or hides the widget and its children. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetshow"}),"QWidget: show")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-windowflags"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," windowFlags"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"windowFlags"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#windowflagsmap"}),"WindowFlagsMap"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowflags"}),"windowFlags"))),Object(o.b)("p",null,"Prop to set the Widget flags. example:\n",Object(o.b)("inlineCode",{parentName:"p"},"")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-windowicon"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," windowIcon"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"windowIcon"),"? : ",Object(o.b)("em",{parentName:"p"},"QIcon")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowicon"}),"windowIcon"))),Object(o.b)("p",null,"Sets the window icon. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon"}),"QWidget: setWindowIcon")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-windowopacity"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," windowOpacity"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"windowOpacity"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | number")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowopacity"}),"windowOpacity"))),Object(o.b)("p",null,"This property holds the level of opacity for the window. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity"}),"QWidget: setWindowOpacity")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-windowstate"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," windowState"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"windowState"),"? : ",Object(o.b)("em",{parentName:"p"},"WindowState")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowstate"}),"windowState"))),Object(o.b)("p",null,"Sets the window state. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate"}),"QWidget: setWindowState")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-windowtitle"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," windowTitle"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"windowTitle"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | string")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowtitle"}),"windowTitle"))),Object(o.b)("p",null,"Sets the window title property. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle"}),"QWidget: setWindowTitle")))}l.isMDXComponent=!0},162:function(e,t,a){"use strict";a.d(t,"a",(function(){return s})),a.d(t,"b",(function(){return m}));var n=a(0),i=a.n(n);function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function p(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function r(e){for(var t=1;t=0||(i[a]=e[a]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(i[a]=e[a])}return i}var c=i.a.createContext({}),l=function(e){var t=i.a.useContext(c),a=t;return e&&(a="function"==typeof e?e(t):r(r({},t),e)),a},s=function(e){var t=l(e.components);return i.a.createElement(c.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return i.a.createElement(i.a.Fragment,{},t)}},O=i.a.forwardRef((function(e,t){var a=e.components,n=e.mdxType,o=e.originalType,p=e.parentName,c=b(e,["components","mdxType","originalType","parentName"]),s=l(a),O=n,m=s["".concat(p,".").concat(O)]||s[O]||d[O]||o;return a?i.a.createElement(m,r(r({ref:t},c),{},{components:a})):i.a.createElement(m,r({ref:t},c))}));function m(e,t){var a=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var o=a.length,p=new Array(o);p[0]=O;var r={};for(var b in t)hasOwnProperty.call(t,b)&&(r[b]=t[b]);r.originalType=e,r.mdxType="string"==typeof e?e:n,p[1]=r;for(var c=2;c=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var u=a.a.createContext({}),c=function(e){var t=a.a.useContext(u),n=t;return e&&(n="function"==typeof e?e(t):s(s({},t),e)),n},p=function(e){var t=c(e.components);return a.a.createElement(u.Provider,{value:t},e.children)},b={inlineCode:"code",wrapper:function(e){var t=e.children;return a.a.createElement(a.a.Fragment,{},t)}},d=a.a.forwardRef((function(e,t){var n=e.components,o=e.mdxType,r=e.originalType,i=e.parentName,u=l(e,["components","mdxType","originalType","parentName"]),p=c(n),d=o,m=p["".concat(i,".").concat(d)]||p[d]||b[d]||r;return n?a.a.createElement(m,s(s({ref:t},u),{},{components:n})):a.a.createElement(m,s({ref:t},u))}));function m(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var r=n.length,i=new Array(r);i[0]=d;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s.mdxType="string"==typeof e?e:o,i[1]=s;for(var u=2;u0||_)&&r.a.createElement("footer",{className:"row margin-vert--lg"},w.length>0&&r.a.createElement("div",{className:"col"},r.a.createElement("strong",null,"Tags:"),w.map((function(e){var a=e.label,t=e.permalink;return r.a.createElement(c.a,{key:t,className:"margin-horiz--sm",to:t},a)}))),_&&r.a.createElement("div",{className:"col text--right"},r.a.createElement(c.a,{to:p.permalink,"aria-label":"Read more about "+x},r.a.createElement("strong",null,"Read More"))))))}},183:function(e,a,t){"use strict";var n=t(0),r=t.n(n);var l=function(e,a,t){var r=Object(n.useState)(void 0),l=r[0],m=r[1];Object(n.useEffect)((function(){var n,r;function i(){var i=function(){var e=0,a=null;for(n=document.getElementsByClassName("anchor");e=0&&l<=t&&(a=r),e+=1}return a}();if(i){var c=0,o=!1;for(r=document.getElementsByClassName(e);c=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=o.a.createContext({}),l=function(e){var t=o.a.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},s=function(e){var t=l(e.components);return o.a.createElement(p.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return o.a.createElement(o.a.Fragment,{},t)}},f=o.a.forwardRef((function(e,t){var r=e.components,n=e.mdxType,a=e.originalType,c=e.parentName,p=u(e,["components","mdxType","originalType","parentName"]),s=l(r),f=n,b=s["".concat(c,".").concat(f)]||s[f]||d[f]||a;return r?o.a.createElement(b,i(i({ref:t},p),{},{components:r})):o.a.createElement(b,i({ref:t},p))}));function b(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var a=r.length,c=new Array(a);c[0]=f;var i={};for(var u in t)hasOwnProperty.call(t,u)&&(i[u]=t[u]);i.originalType=e,i.mdxType="string"==typeof e?e:n,c[1]=i;for(var p=2;p=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var s=a.a.createContext({}),l=function(e){var r=a.a.useContext(s),t=r;return e&&(t="function"==typeof e?e(r):c(c({},r),e)),t},b=function(e){var r=l(e.components);return a.a.createElement(s.Provider,{value:r},e.children)},u={inlineCode:"code",wrapper:function(e){var r=e.children;return a.a.createElement(a.a.Fragment,{},r)}},d=a.a.forwardRef((function(e,r){var t=e.components,n=e.mdxType,i=e.originalType,o=e.parentName,s=p(e,["components","mdxType","originalType","parentName"]),b=l(t),d=n,m=b["".concat(o,".").concat(d)]||b[d]||u[d]||i;return t?a.a.createElement(m,c(c({ref:r},s),{},{components:t})):a.a.createElement(m,c({ref:r},s))}));function m(e,r){var t=arguments,n=r&&r.mdxType;if("string"==typeof e||n){var i=t.length,o=new Array(i);o[0]=d;var c={};for(var p in r)hasOwnProperty.call(r,p)&&(c[p]=r[p]);c.originalType=e,c.mdxType="string"==typeof e?e:n,o[1]=c;for(var s=2;sOptional attributes",id:"optional-attributes",children:[]},{value:"Optional cursor",id:"optional-cursor",children:[]},{value:"Optional enabled",id:"optional-enabled",children:[]},{value:"Optional geometry",id:"optional-geometry",children:[]},{value:"Optional id",id:"optional-id",children:[]},{value:"Optional maxSize",id:"optional-maxsize",children:[]},{value:"Optional minSize",id:"optional-minsize",children:[]},{value:"Optional mouseTracking",id:"optional-mousetracking",children:[]},{value:"Optional on",id:"optional-on",children:[]},{value:"Optional pos",id:"optional-pos",children:[]},{value:"Optional ref",id:"optional-ref",children:[]},{value:"Optional size",id:"optional-size",children:[]},{value:"Optional style",id:"optional-style",children:[]},{value:"Optional styleSheet",id:"optional-stylesheet",children:[]},{value:"Optional visible",id:"optional-visible",children:[]},{value:"Optional widgetResizable",id:"optional-widgetresizable",children:[]},{value:"Optional windowFlags",id:"optional-windowflags",children:[]},{value:"Optional windowIcon",id:"optional-windowicon",children:[]},{value:"Optional windowOpacity",id:"optional-windowopacity",children:[]},{value:"Optional windowState",id:"optional-windowstate",children:[]},{value:"Optional windowTitle",id:"optional-windowtitle",children:[]}]}],b={rightToc:c};function l(e){var t=e.components,a=Object(n.a)(e,["components"]);return Object(r.b)("wrapper",Object(i.a)({},b,a,{components:t,mdxType:"MDXLayout"}),Object(r.b)("h2",{id:"hierarchy"},"Hierarchy"),Object(r.b)("p",null," \u21b3 ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),"\u2039QScrollAreaSignals\u203a"),Object(r.b)("p",null," \u21b3 ",Object(r.b)("strong",{parentName:"p"},"ScrollAreaProps")),Object(r.b)("h2",{id:"index"},"Index"),Object(r.b)("h3",{id:"properties"},"Properties"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/scrollareaprops#optional-attributes"}),"attributes")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/scrollareaprops#optional-cursor"}),"cursor")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/scrollareaprops#optional-enabled"}),"enabled")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/scrollareaprops#optional-geometry"}),"geometry")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/scrollareaprops#optional-id"}),"id")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/scrollareaprops#optional-maxsize"}),"maxSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/scrollareaprops#optional-minsize"}),"minSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/scrollareaprops#optional-mousetracking"}),"mouseTracking")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/scrollareaprops#optional-on"}),"on")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/scrollareaprops#optional-pos"}),"pos")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/scrollareaprops#optional-ref"}),"ref")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/scrollareaprops#optional-size"}),"size")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/scrollareaprops#optional-style"}),"style")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/scrollareaprops#optional-stylesheet"}),"styleSheet")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/scrollareaprops#optional-visible"}),"visible")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/scrollareaprops#optional-widgetresizable"}),"widgetResizable")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/scrollareaprops#optional-windowflags"}),"windowFlags")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/scrollareaprops#optional-windowicon"}),"windowIcon")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/scrollareaprops#optional-windowopacity"}),"windowOpacity")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/scrollareaprops#optional-windowstate"}),"windowState")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/scrollareaprops#optional-windowtitle"}),"windowTitle"))),Object(r.b)("h2",{id:"properties-1"},"Properties"),Object(r.b)("h3",{id:"optional-attributes"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," attributes"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"attributes"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#widgetattributesmap"}),"WidgetAttributesMap"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-attributes"}),"attributes"))),Object(r.b)("p",null,"Prop to set the Widget Attributes. example:\n",Object(r.b)("inlineCode",{parentName:"p"},"")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-cursor"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," cursor"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"cursor"),"? : ",Object(r.b)("em",{parentName:"p"},"CursorShape | QCursor")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-cursor"}),"cursor"))),Object(r.b)("p",null,"Sets the window mouse cursor. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor"}),"QWidget: setCursor")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-enabled"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," enabled"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"enabled"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | false | true")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-enabled"}),"enabled"))),Object(r.b)("p",null,"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. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled"}),"QWidget: setEnabled")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-geometry"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," geometry"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"geometry"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#geometry"}),"Geometry"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-geometry"}),"geometry"))),Object(r.b)("p",null,"Sets the screen position as well as size of the widget. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height"}),"QWidget: setGeometry")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-id"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," id"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"id"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-id"}),"id"))),Object(r.b)("p",null,"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. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname"}),"QWidget: setObjectName")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-maxsize"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," maxSize"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"maxSize"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#size"}),"Size"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-maxsize"}),"maxSize"))),Object(r.b)("p",null,"Sets the maximum size of the widget. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height"}),"QWidget: setMaximumSize")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-minsize"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," minSize"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"minSize"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#size"}),"Size"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-minsize"}),"minSize"))),Object(r.b)("p",null,"Sets the minimum size of the widget. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height"}),"QWidget: setMinimumSize")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-mousetracking"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," mouseTracking"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"mouseTracking"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | false | true")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-mousetracking"}),"mouseTracking"))),Object(r.b)("p",null,"Sets the property that tells whether mouseTracking is enabled for the widget. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked"}),"QWidget: setMouseTracking")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-on"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," on"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"on"),"? : ",Object(r.b)("em",{parentName:"p"},"Partial\u2039",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#widgeteventlisteners"}),"WidgetEventListeners")," | QScrollAreaSignals\u203a")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-on"}),"on"))),Object(r.b)("p",null,"Prop to set the event listener map. See ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"/docs/guides/handle-events"}),"Handlong Events")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-pos"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," pos"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"pos"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#position"}),"Position"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-pos"}),"pos"))),Object(r.b)("p",null,"Sets the screen position of the widget. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y"}),"QWidget: move")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-ref"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," ref"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"ref"),"? : ",Object(r.b)("em",{parentName:"p"},"any")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-ref"}),"ref"))),Object(r.b)("p",null,"Prop to set the ref. The ref will return the underlying nodegui widget."),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-size"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," size"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"size"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#viewsize"}),"ViewSize"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-size"}),"size"))),Object(r.b)("p",null,"Sets both the minimum and maximum sizes of the widget. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height"}),"QWidget: setFixedSize")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-style"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," style"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"style"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-style"}),"style"))),Object(r.b)("p",null,"Sets the inline stylesheet property. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle"}),"QWidget: setInlineStyle")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-stylesheet"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," styleSheet"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"styleSheet"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-stylesheet"}),"styleSheet"))),Object(r.b)("p",null,"Sets the property that holds the widget's style sheet. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet"}),"QWidget: setStyleSheet")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-visible"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," visible"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"visible"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | false | true")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-visible"}),"visible"))),Object(r.b)("p",null,"Shows or hides the widget and its children. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetshow"}),"QWidget: show")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-widgetresizable"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," widgetResizable"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"widgetResizable"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | false | true")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowflags"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowFlags"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowFlags"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#windowflagsmap"}),"WindowFlagsMap"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowflags"}),"windowFlags"))),Object(r.b)("p",null,"Prop to set the Widget flags. example:\n",Object(r.b)("inlineCode",{parentName:"p"},"")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowicon"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowIcon"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowIcon"),"? : ",Object(r.b)("em",{parentName:"p"},"QIcon")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowicon"}),"windowIcon"))),Object(r.b)("p",null,"Sets the window icon. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon"}),"QWidget: setWindowIcon")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowopacity"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowOpacity"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowOpacity"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | number")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowopacity"}),"windowOpacity"))),Object(r.b)("p",null,"This property holds the level of opacity for the window. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity"}),"QWidget: setWindowOpacity")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowstate"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowState"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowState"),"? : ",Object(r.b)("em",{parentName:"p"},"WindowState")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowstate"}),"windowState"))),Object(r.b)("p",null,"Sets the window state. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate"}),"QWidget: setWindowState")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowtitle"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowTitle"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowTitle"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowtitle"}),"windowTitle"))),Object(r.b)("p",null,"Sets the window title property. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle"}),"QWidget: setWindowTitle")))}l.isMDXComponent=!0},162:function(e,t,a){"use strict";a.d(t,"a",(function(){return s})),a.d(t,"b",(function(){return m}));var i=a(0),n=a.n(i);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}function p(e){for(var t=1;t=0||(n[a]=e[a]);return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}var b=n.a.createContext({}),l=function(e){var t=n.a.useContext(b),a=t;return e&&(a="function"==typeof e?e(t):p(p({},t),e)),a},s=function(e){var t=l(e.components);return n.a.createElement(b.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.a.createElement(n.a.Fragment,{},t)}},O=n.a.forwardRef((function(e,t){var a=e.components,i=e.mdxType,r=e.originalType,o=e.parentName,b=c(e,["components","mdxType","originalType","parentName"]),s=l(a),O=i,m=s["".concat(o,".").concat(O)]||s[O]||d[O]||r;return a?n.a.createElement(m,p(p({ref:t},b),{},{components:a})):n.a.createElement(m,p({ref:t},b))}));function m(e,t){var a=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var r=a.length,o=new Array(r);o[0]=O;var p={};for(var c in t)hasOwnProperty.call(t,c)&&(p[c]=t[c]);p.originalType=e,p.mdxType="string"==typeof e?e:i,o[1]=p;for(var b=2;bOptional attributes",id:"optional-attributes",children:[]},{value:"Optional cursor",id:"optional-cursor",children:[]},{value:"Optional enabled",id:"optional-enabled",children:[]},{value:"Optional geometry",id:"optional-geometry",children:[]},{value:"Optional id",id:"optional-id",children:[]},{value:"Optional maxSize",id:"optional-maxsize",children:[]},{value:"Optional minSize",id:"optional-minsize",children:[]},{value:"Optional mouseTracking",id:"optional-mousetracking",children:[]},{value:"Optional on",id:"optional-on",children:[]},{value:"Optional pos",id:"optional-pos",children:[]},{value:"Optional ref",id:"optional-ref",children:[]},{value:"Optional size",id:"optional-size",children:[]},{value:"Optional style",id:"optional-style",children:[]},{value:"Optional styleSheet",id:"optional-stylesheet",children:[]},{value:"Optional title",id:"optional-title",children:[]},{value:"Optional visible",id:"optional-visible",children:[]},{value:"Optional windowFlags",id:"optional-windowflags",children:[]},{value:"Optional windowIcon",id:"optional-windowicon",children:[]},{value:"Optional windowOpacity",id:"optional-windowopacity",children:[]},{value:"Optional windowState",id:"optional-windowstate",children:[]},{value:"Optional windowTitle",id:"optional-windowtitle",children:[]}]}],c={rightToc:b};function l(e){var t=e.components,a=Object(n.a)(e,["components"]);return Object(r.b)("wrapper",Object(i.a)({},c,a,{components:t,mdxType:"MDXLayout"}),Object(r.b)("h2",{id:"hierarchy"},"Hierarchy"),Object(r.b)("p",null," \u21b3 ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),"\u2039QMenuSignals\u203a"),Object(r.b)("p",null," \u21b3 ",Object(r.b)("strong",{parentName:"p"},"MenuProps")),Object(r.b)("h2",{id:"index"},"Index"),Object(r.b)("h3",{id:"properties"},"Properties"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/menuprops#optional-attributes"}),"attributes")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/menuprops#optional-cursor"}),"cursor")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/menuprops#optional-enabled"}),"enabled")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/menuprops#optional-geometry"}),"geometry")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/menuprops#optional-id"}),"id")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/menuprops#optional-maxsize"}),"maxSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/menuprops#optional-minsize"}),"minSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/menuprops#optional-mousetracking"}),"mouseTracking")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/menuprops#optional-on"}),"on")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/menuprops#optional-pos"}),"pos")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/menuprops#optional-ref"}),"ref")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/menuprops#optional-size"}),"size")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/menuprops#optional-style"}),"style")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/menuprops#optional-stylesheet"}),"styleSheet")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/menuprops#optional-title"}),"title")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/menuprops#optional-visible"}),"visible")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/menuprops#optional-windowflags"}),"windowFlags")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/menuprops#optional-windowicon"}),"windowIcon")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/menuprops#optional-windowopacity"}),"windowOpacity")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/menuprops#optional-windowstate"}),"windowState")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/menuprops#optional-windowtitle"}),"windowTitle"))),Object(r.b)("h2",{id:"properties-1"},"Properties"),Object(r.b)("h3",{id:"optional-attributes"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," attributes"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"attributes"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#widgetattributesmap"}),"WidgetAttributesMap"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-attributes"}),"attributes"))),Object(r.b)("p",null,"Prop to set the Widget Attributes. example:\n",Object(r.b)("inlineCode",{parentName:"p"},"")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-cursor"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," cursor"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"cursor"),"? : ",Object(r.b)("em",{parentName:"p"},"CursorShape | QCursor")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-cursor"}),"cursor"))),Object(r.b)("p",null,"Sets the window mouse cursor. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor"}),"QWidget: setCursor")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-enabled"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," enabled"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"enabled"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | false | true")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-enabled"}),"enabled"))),Object(r.b)("p",null,"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. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled"}),"QWidget: setEnabled")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-geometry"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," geometry"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"geometry"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#geometry"}),"Geometry"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-geometry"}),"geometry"))),Object(r.b)("p",null,"Sets the screen position as well as size of the widget. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height"}),"QWidget: setGeometry")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-id"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," id"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"id"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-id"}),"id"))),Object(r.b)("p",null,"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. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname"}),"QWidget: setObjectName")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-maxsize"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," maxSize"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"maxSize"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#size"}),"Size"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-maxsize"}),"maxSize"))),Object(r.b)("p",null,"Sets the maximum size of the widget. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height"}),"QWidget: setMaximumSize")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-minsize"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," minSize"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"minSize"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#size"}),"Size"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-minsize"}),"minSize"))),Object(r.b)("p",null,"Sets the minimum size of the widget. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height"}),"QWidget: setMinimumSize")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-mousetracking"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," mouseTracking"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"mouseTracking"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | false | true")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-mousetracking"}),"mouseTracking"))),Object(r.b)("p",null,"Sets the property that tells whether mouseTracking is enabled for the widget. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked"}),"QWidget: setMouseTracking")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-on"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," on"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"on"),"? : ",Object(r.b)("em",{parentName:"p"},"Partial\u2039",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#widgeteventlisteners"}),"WidgetEventListeners")," | QMenuSignals\u203a")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-on"}),"on"))),Object(r.b)("p",null,"Prop to set the event listener map. See ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"/docs/guides/handle-events"}),"Handlong Events")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-pos"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," pos"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"pos"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#position"}),"Position"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-pos"}),"pos"))),Object(r.b)("p",null,"Sets the screen position of the widget. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y"}),"QWidget: move")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-ref"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," ref"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"ref"),"? : ",Object(r.b)("em",{parentName:"p"},"any")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-ref"}),"ref"))),Object(r.b)("p",null,"Prop to set the ref. The ref will return the underlying nodegui widget."),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-size"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," size"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"size"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#viewsize"}),"ViewSize"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-size"}),"size"))),Object(r.b)("p",null,"Sets both the minimum and maximum sizes of the widget. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height"}),"QWidget: setFixedSize")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-style"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," style"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"style"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-style"}),"style"))),Object(r.b)("p",null,"Sets the inline stylesheet property. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle"}),"QWidget: setInlineStyle")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-stylesheet"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," styleSheet"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"styleSheet"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-stylesheet"}),"styleSheet"))),Object(r.b)("p",null,"Sets the property that holds the widget's style sheet. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet"}),"QWidget: setStyleSheet")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-title"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," title"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"title"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | string")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-visible"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," visible"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"visible"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | false | true")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-visible"}),"visible"))),Object(r.b)("p",null,"Shows or hides the widget and its children. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetshow"}),"QWidget: show")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowflags"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowFlags"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowFlags"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#windowflagsmap"}),"WindowFlagsMap"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowflags"}),"windowFlags"))),Object(r.b)("p",null,"Prop to set the Widget flags. example:\n",Object(r.b)("inlineCode",{parentName:"p"},"")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowicon"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowIcon"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowIcon"),"? : ",Object(r.b)("em",{parentName:"p"},"QIcon")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowicon"}),"windowIcon"))),Object(r.b)("p",null,"Sets the window icon. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon"}),"QWidget: setWindowIcon")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowopacity"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowOpacity"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowOpacity"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | number")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowopacity"}),"windowOpacity"))),Object(r.b)("p",null,"This property holds the level of opacity for the window. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity"}),"QWidget: setWindowOpacity")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowstate"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowState"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowState"),"? : ",Object(r.b)("em",{parentName:"p"},"WindowState")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowstate"}),"windowState"))),Object(r.b)("p",null,"Sets the window state. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate"}),"QWidget: setWindowState")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowtitle"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowTitle"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowTitle"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowtitle"}),"windowTitle"))),Object(r.b)("p",null,"Sets the window title property. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle"}),"QWidget: setWindowTitle")))}l.isMDXComponent=!0},162:function(e,t,a){"use strict";a.d(t,"a",(function(){return s})),a.d(t,"b",(function(){return m}));var i=a(0),n=a.n(i);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}function p(e){for(var t=1;t=0||(n[a]=e[a]);return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}var c=n.a.createContext({}),l=function(e){var t=n.a.useContext(c),a=t;return e&&(a="function"==typeof e?e(t):p(p({},t),e)),a},s=function(e){var t=l(e.components);return n.a.createElement(c.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.a.createElement(n.a.Fragment,{},t)}},O=n.a.forwardRef((function(e,t){var a=e.components,i=e.mdxType,r=e.originalType,o=e.parentName,c=b(e,["components","mdxType","originalType","parentName"]),s=l(a),O=i,m=s["".concat(o,".").concat(O)]||s[O]||d[O]||r;return a?n.a.createElement(m,p(p({ref:t},c),{},{components:a})):n.a.createElement(m,p({ref:t},c))}));function m(e,t){var a=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var r=a.length,o=new Array(r);o[0]=O;var p={};for(var b in t)hasOwnProperty.call(t,b)&&(p[b]=t[b]);p.originalType=e,p.mdxType="string"==typeof e?e:i,o[1]=p;for(var c=2;c {\n return (\n \n \n \n );\n};\n\nconst viewStyle = `\n width:50px;\n height:30px; \n background-color: yellow;\n`;\n\nRenderer.render();\n')),Object(a.b)("h2",{id:"dynamic-layouts"},"Dynamic Layouts"),Object(a.b)("p",null,"Dynamic layouts automatically position and resize components when the amount of space available for them changes, ensuring that they are consistently arranged and that the user interface as a whole remains usable."),Object(a.b)("p",null,"React NodeGui currently supports layouting using FlexLayout."),Object(a.b)("h2",{id:"flexlayout"},"FlexLayout"),Object(a.b)("p",null,"FlexLayout allows the children to expand and shrink dynamically based on available space. Normally you will use ",Object(a.b)("inlineCode",{parentName:"p"},"flex: 1"),", which tells a component to fill all available space, shared evenly amongst other components with the same parent. The larger the flex given, the higher the ratio of space a component will take compared to its siblings."),Object(a.b)("blockquote",null,Object(a.b)("p",{parentName:"blockquote"},"A component can only expand to fill available space if its parent has dimensions greater than 0. If a parent does not have either a fixed width and height or flex, the parent will have dimensions of 0 and the flex children will not be visible.")),Object(a.b)("p",null,"Flexbox is designed to provide a consistent layout on different screen sizes. You will normally use a combination of flex-direction, align-items,and justify-content to achieve the right layout."),Object(a.b)("h3",{id:"example"},"Example:"),Object(a.b)("p",null,"Lets say you want to build a UI that has a parent view which has two child components. One a label with text Hello and another a view with background color white. Now you want the label to occupy 1/3 of the available space while the white colored child view to occupy the remaining 2/3 space."),Object(a.b)("img",{src:"https://github.com/nodegui/react-nodegui/raw/gh-pages/img/flex-layout-1.png",alt:"flex layout example 1",style:{maxWidth:700,width:"100%"}}),Object(a.b)("p",null,"The code for that would look something like this:"),Object(a.b)("pre",null,Object(a.b)("code",Object(o.a)({parentName:"pre"},{className:"language-javascript"}),'import React from "react";\nimport { Renderer, View, Text, Window } from "@nodegui/react-nodegui";\n\nconst App = () => {\n return (\n \n \n Hello\n \n \n \n );\n};\n\nconst styleSheet = `\n #rootView{\n height: \'100%\';\n background-color: blue;\n }\n #label {\n flex: 1;\n color: white;\n background-color: green;\n }\n #view {\n flex: 3;\n background-color: white;\n }\n`;\n\nRenderer.render();\n')),Object(a.b)("blockquote",null,Object(a.b)("p",{parentName:"blockquote"},"To know more on how FlexBox layout works in depth you can visit: ",Object(a.b)("a",Object(o.a)({parentName:"p"},{href:"https://facebook.github.io/react-native/docs/0.60/flexbox"}),"https://facebook.github.io/react-native/docs/0.60/flexbox"),"."),Object(a.b)("p",{parentName:"blockquote"},"NodeGui uses the same library that React Native uses underneath for FlexBox (",Object(a.b)("a",Object(o.a)({parentName:"p"},{href:"https://github.com/facebook/yoga"}),"Yoga"),").")),Object(a.b)("ul",null,Object(a.b)("li",{parentName:"ul"},"You can specify layout properties via inline styles also.")),Object(a.b)("h2",{id:"boxview-layout"},"BoxView Layout"),Object(a.b)("p",null,"BoxView Layout is an implementation of QBoxLayout of NodeGui."),Object(a.b)("pre",null,Object(a.b)("code",Object(o.a)({parentName:"pre"},{className:"language-jsx"}),'import React, { useState } from "react";\nimport { Renderer, Window, BoxView, Button } from "@nodegui/react-nodegui";\nimport { useEventHandler } from "./hooks";\nimport { QPushButtonSignals, Direction } from "@nodegui/nodegui";\n\nconst App = () => {\n const [additionalButtons, setAdditionalButtons] = useState([]);\n const [direction, setDirection] = useState(Direction.LeftToRight);\n\n const addHandler = useEventHandler(\n {\n clicked: () =>\n setAdditionalButtons((buttons) => [\n ...buttons,\n `Button ${buttons.length}`,\n ]),\n },\n []\n );\n\n const removeHandler = useEventHandler(\n {\n clicked: () =>\n setAdditionalButtons((buttons) => buttons.slice(0, buttons.length - 1)),\n },\n []\n );\n\n const toggleDirection = useEventHandler(\n {\n clicked: () =>\n setDirection((prevDirection) => ((prevDirection + 1) % 4) as Direction),\n },\n []\n );\n\n return (\n \n \n

Renderer

Hierarchy

  • Renderer

Index

Properties

Methods

Properties

Static Optional container

container? : ReactReconciler.FiberRoot

Methods

Static forceUpdate

forceUpdate(): void

Returns: void


Static render

render(element: React.ReactNode, options?: RendererOptions): void

Parameters:

NameType
elementReact.ReactNode
options?RendererOptions

Returns: void

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/classes/rnaction/index.html b/docs/api/classes/rnaction/index.html new file mode 100644 index 00000000..9037e8ee --- /dev/null +++ b/docs/api/classes/rnaction/index.html @@ -0,0 +1,43 @@ + + + + + + + + + +RNAction | React NodeGui + + + + + + + + + + + + + +
+

RNAction

Hierarchy

  • QAction

    RNAction

Implements

  • RNComponent

Index

Constructors

Properties

Methods

Constructors

constructor

+ new RNAction(): RNAction

Inherited from RNAction.constructor

Overrides void

Returns: RNAction

+ new RNAction(native: NativeElement): RNAction

Inherited from RNAction.constructor

Overrides void

Parameters:

NameType
nativeNativeElement

Returns: RNAction

+ new RNAction(parent: NodeWidget‹any›): RNAction

Inherited from RNAction.constructor

Overrides void

Parameters:

NameType
parentNodeWidget‹any›

Returns: RNAction

Properties

Optional icon

icon? : QIcon

Inherited from RNAction.icon


Optional menu

menu? : QMenu

Inherited from RNAction.menu


native

native: NativeElement

Inherited from RNAction.native

Overrides void


nodeChildren

nodeChildren: Set‹Component›

Inherited from RNAction.nodeChildren


Optional nodeParent

nodeParent? : Component

Inherited from RNAction.nodeParent


Static tagName

tagName: string = "action"

Methods

addEventListener

addEventListenerSignalType›(signalType: SignalType, callback: QActionSignals[SignalType]): void

Inherited from RNAction.addEventListener

Type parameters:

SignalType: keyof QActionSignals

Parameters:

NameTypeDescription
signalTypeSignalTypeSignalType is a signal from the widgets signals interface.
callbackQActionSignals[SignalType]Corresponding callback for the signal as mentioned in the widget's signal interface

Returns: void

void

For example in the case of QPushButton:

const button = new QPushButton();
button.addEventListener('clicked',(checked)=>console.log("clicked"));
// here clicked is a value from QPushButtonSignals interface

addEventListener(eventType: WidgetEventTypes, callback: function): void

Inherited from RNAction.addEventListener

Parameters:

eventType: WidgetEventTypes

callback: function

For example in the case of QPushButton:

const button = new QPushButton();
button.addEventListener(WidgetEventTypes.HoverEnter,()=>console.log("hovered"));

▸ (event?: NativeRawPointer‹"QEvent"›): void

Parameters:

NameType
event?NativeRawPointer‹"QEvent"›

Returns: void


appendChild

appendChild(child: Component): void

Parameters:

NameType
childComponent

Returns: void


appendInitialChild

appendInitialChild(child: Component): void

Parameters:

NameType
childComponent

Returns: void


data

data(): QVariant

Inherited from RNAction.data

Returns: QVariant


eventProcessed

eventProcessed(): boolean

Inherited from RNAction.eventProcessed

Get the state of the event processed flag

See setEventProcessed().

Returns: boolean

boolean True if the current event is flagged as processed.


font

font(): QFont

Inherited from RNAction.font

Returns: QFont


inherits

inherits(className: string): boolean

Inherited from RNAction.inherits

Parameters:

NameType
classNamestring

Returns: boolean


insertBefore

insertBefore(child: Component, beforeChild: Component): void

Parameters:

NameType
childComponent
beforeChildComponent

Returns: void


isCheckable

isCheckable(): boolean

Inherited from RNAction.isCheckable

Returns: boolean


isChecked

isChecked(): boolean

Inherited from RNAction.isChecked

Returns: boolean


isSeparator

isSeparator(): boolean

Inherited from RNAction.isSeparator

Returns: boolean


objectName

objectName(): string

Inherited from RNAction.objectName

Returns: string


property

property(name: string): QVariant

Inherited from RNAction.property

Parameters:

NameType
namestring

Returns: QVariant


removeChild

removeChild(child: Component): void

Parameters:

NameType
childComponent

Returns: void


removeEventListener

removeEventListenerSignalType›(signalType: SignalType, callback: QActionSignals[SignalType]): void

Inherited from RNAction.removeEventListener

Type parameters:

SignalType: keyof QActionSignals

Parameters:

NameType
signalTypeSignalType
callbackQActionSignals[SignalType]

Returns: void

removeEventListener(eventType: WidgetEventTypes, callback: function): void

Inherited from RNAction.removeEventListener

Parameters:

eventType: WidgetEventTypes

callback: function

▸ (event?: NativeRawPointer‹"QEvent"›): void

Parameters:

NameType
event?NativeRawPointer‹"QEvent"›

Returns: void


setCheckable

setCheckable(isCheckable: boolean): void

Inherited from RNAction.setCheckable

Parameters:

NameType
isCheckableboolean

Returns: void


setChecked

setChecked(isChecked: boolean): void

Inherited from RNAction.setChecked

Parameters:

NameType
isCheckedboolean

Returns: void


setData

setData(value: QVariant): void

Inherited from RNAction.setData

Parameters:

NameType
valueQVariant

Returns: void


setEnabled

setEnabled(enabled: boolean): void

Inherited from RNAction.setEnabled

Parameters:

NameType
enabledboolean

Returns: void


setEventProcessed

setEventProcessed(isProcessed: boolean): void

Inherited from RNAction.setEventProcessed

Mark the current event as having been processed

This method is used to indicate that the currently dispatched event +has been processed and no further processing by superclasses is +required. It only makes sense to call this method from an event +handler.

When set, this flag will cause NodeGui's QObject::event() method to +return true and not call the superclass event(), effectively preventing +any further processing on this event.

Parameters:

NameTypeDescription
isProcessedbooleantrue if the event has been processed.

Returns: void


setFont

setFont(font: QFont): void

Inherited from RNAction.setFont

Parameters:

NameType
fontQFont

Returns: void


setIcon

setIcon(icon: QIcon): void

Inherited from RNAction.setIcon

Parameters:

NameType
iconQIcon

Returns: void


setMenu

setMenu(menu: QMenu): void

Inherited from RNAction.setMenu

Parameters:

NameType
menuQMenu

Returns: void


setNodeParent

setNodeParent(parent?: Component): void

Inherited from RNAction.setNodeParent

Parameters:

NameType
parent?Component

Returns: void


setObjectName

setObjectName(objectName: string): void

Inherited from RNAction.setObjectName

Parameters:

NameType
objectNamestring

Returns: void


setProperty

setProperty(name: string, value: QVariantType): boolean

Inherited from RNAction.setProperty

Parameters:

NameType
namestring
valueQVariantType

Returns: boolean


setProps

setProps(newProps: ActionProps, oldProps: ActionProps): void

Parameters:

NameType
newPropsActionProps
oldPropsActionProps

Returns: void


setSeparator

setSeparator(isSeparator: boolean): void

Inherited from RNAction.setSeparator

Parameters:

NameType
isSeparatorboolean

Returns: void


setShortcut

setShortcut(keysequence: QKeySequence): void

Inherited from RNAction.setShortcut

Parameters:

NameType
keysequenceQKeySequence

Returns: void


setShortcutContext

setShortcutContext(shortcutContext: ShortcutContext): void

Inherited from RNAction.setShortcutContext

Parameters:

NameType
shortcutContextShortcutContext

Returns: void


setText

setText(text: string): void

Inherited from RNAction.setText

Parameters:

NameType
textstring

Returns: void

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/classes/rncolordialog/index.html b/docs/api/classes/rncolordialog/index.html new file mode 100644 index 00000000..0c3a5657 --- /dev/null +++ b/docs/api/classes/rncolordialog/index.html @@ -0,0 +1,43 @@ + + + + + + + + + +RNColorDialog | React NodeGui + + + + + + + + + + + + + +
+

RNColorDialog

Hierarchy

  • QColorDialog

    RNColorDialog

Implements

  • RNWidget

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

+ new RNColorDialog(): RNColorDialog

Inherited from RNColorDialog.constructor

Overrides void

Returns: RNColorDialog

+ new RNColorDialog(parent: NodeWidget‹any›): RNColorDialog

Inherited from RNColorDialog.constructor

Overrides void

Parameters:

NameType
parentNodeWidget‹any›

Returns: RNColorDialog

Properties

Optional _layout

_layout? : NodeLayout‹QColorDialogSignals›

Inherited from void


_rawInlineStyle

_rawInlineStyle: string

Inherited from void


actions

actions: Set‹QAction›

Inherited from void


native

native: NativeElement

Inherited from RNColorDialog.native

Overrides void


nodeChildren

nodeChildren: Set‹Component›

Inherited from RNAction.nodeChildren


Optional nodeParent

nodeParent? : Component

Inherited from RNAction.nodeParent


type

type: string

Inherited from void


Static tagName

tagName: string = "color-dialog"

Accessors

layout

get layout(): NodeLayout‹QColorDialogSignals› | undefined

Inherited from void

Returns: NodeLayout‹QColorDialogSignals› | undefined

set layout(l: NodeLayout‹QColorDialogSignals› | undefined): any

Inherited from void

Parameters:

NameType
lNodeLayout‹QColorDialogSignals› | undefined

Returns: any

Methods

acceptDrops

acceptDrops(): boolean

Inherited from void

Returns: boolean


activateWindow

activateWindow(): void

Inherited from void

Returns: void


addAction

addAction(action: QAction | string): QAction

Inherited from void

Parameters:

NameType
actionQAction | string

Returns: QAction


addEventListener

addEventListenerSignalType›(signalType: SignalType, callback: QColorDialogSignals[SignalType]): void

Inherited from RNAction.addEventListener

Type parameters:

SignalType: keyof QColorDialogSignals

Parameters:

NameTypeDescription
signalTypeSignalTypeSignalType is a signal from the widgets signals interface.
callbackQColorDialogSignals[SignalType]Corresponding callback for the signal as mentioned in the widget's signal interface

Returns: void

void

For example in the case of QPushButton:

const button = new QPushButton();
button.addEventListener('clicked',(checked)=>console.log("clicked"));
// here clicked is a value from QPushButtonSignals interface

addEventListener(eventType: WidgetEventTypes, callback: function): void

Inherited from RNAction.addEventListener

Parameters:

eventType: WidgetEventTypes

callback: function

For example in the case of QPushButton:

const button = new QPushButton();
button.addEventListener(WidgetEventTypes.HoverEnter,()=>console.log("hovered"));

▸ (event?: NativeRawPointer‹"QEvent"›): void

Parameters:

NameType
event?NativeRawPointer‹"QEvent"›

Returns: void


adjustSize

adjustSize(): void

Inherited from void

Returns: void


appendChild

appendChild(child: NodeWidget‹any›): void

Parameters:

NameType
childNodeWidget‹any›

Returns: void


appendInitialChild

appendInitialChild(child: NodeWidget‹any›): void

Parameters:

NameType
childNodeWidget‹any›

Returns: void


clearFocus

clearFocus(): void

Inherited from void

Returns: void


close

close(): boolean

Inherited from void

Returns: boolean


currentColor

currentColor(): QColor

Inherited from RNColorDialog.currentColor

Returns: QColor


eventProcessed

eventProcessed(): boolean

Inherited from RNAction.eventProcessed

Get the state of the event processed flag

See setEventProcessed().

Returns: boolean

boolean True if the current event is flagged as processed.


exec

exec(): DialogCode

Inherited from RNDialog.exec

Returns: DialogCode


font

font(): QFont

Inherited from void

Returns: QFont


geometry

geometry(): QRect

Inherited from void

Returns: QRect


getFlexNode

getFlexNode(): FlexNode

Inherited from void

Returns: FlexNode


hasMouseTracking

hasMouseTracking(): boolean

Inherited from void

Returns: boolean


hide

hide(): void

Inherited from void

Returns: void


inherits

inherits(className: string): boolean

Inherited from RNAction.inherits

Parameters:

NameType
classNamestring

Returns: boolean


insertBefore

insertBefore(child: NodeWidget‹any›, beforeChild: NodeWidget‹any›): void

Parameters:

NameType
childNodeWidget‹any›
beforeChildNodeWidget‹any›

Returns: void


isActiveWindow

isActiveWindow(): boolean

Inherited from void

Returns: boolean


isEnabled

isEnabled(): boolean

Inherited from void

Returns: boolean


isSizeGripEnabled

isSizeGripEnabled(): boolean

Inherited from RNDialog.isSizeGripEnabled

Returns: boolean


isVisible

isVisible(): boolean

Inherited from void

Returns: boolean


lower

lower(): void

Inherited from void

Returns: void


mapFromGlobal

mapFromGlobal(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


mapFromParent

mapFromParent(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


mapToGlobal

mapToGlobal(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


mapToParent

mapToParent(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


maximumSize

maximumSize(): QSize

Inherited from void

Returns: QSize


minimumSize

minimumSize(): QSize

Inherited from void

Returns: QSize


move

move(x: number, y: number): void

Inherited from void

Parameters:

NameType
xnumber
ynumber

Returns: void


objectName

objectName(): string

Inherited from RNAction.objectName

Returns: string


open

open(): void

Inherited from RNDialog.open

Returns: void


options

options(): ColorDialogOption

Inherited from RNColorDialog.options

Returns: ColorDialogOption


pos

pos(): object

Inherited from void

Returns: object

  • x: number

  • y: number


property

property(name: string): QVariant

Inherited from RNAction.property

Parameters:

NameType
namestring

Returns: QVariant


raise

raise(): void

Inherited from void

Returns: void


reject

reject(): void

Inherited from RNDialog.reject

Returns: void


removeAction

removeAction(action: QAction): void

Inherited from void

Parameters:

NameType
actionQAction

Returns: void


removeChild

removeChild(child: NodeWidget‹any›): void

Parameters:

NameType
childNodeWidget‹any›

Returns: void


removeEventListener

removeEventListenerSignalType›(signalType: SignalType, callback: QColorDialogSignals[SignalType]): void

Inherited from RNAction.removeEventListener

Type parameters:

SignalType: keyof QColorDialogSignals

Parameters:

NameType
signalTypeSignalType
callbackQColorDialogSignals[SignalType]

Returns: void

removeEventListener(eventType: WidgetEventTypes, callback: function): void

Inherited from RNAction.removeEventListener

Parameters:

eventType: WidgetEventTypes

callback: function

▸ (event?: NativeRawPointer‹"QEvent"›): void

Parameters:

NameType
event?NativeRawPointer‹"QEvent"›

Returns: void


repaint

repaint(): void

Inherited from void

Returns: void


repolish

repolish(): void

Inherited from void

Returns: void


resize

resize(width: number, height: number): void

Inherited from void

Parameters:

NameType
widthnumber
heightnumber

Returns: void


result

result(): number

Inherited from RNDialog.result

Returns: number


selectedColor

selectedColor(): QColor

Inherited from RNColorDialog.selectedColor

Returns: QColor


setAcceptDrops

setAcceptDrops(on: boolean): void

Inherited from void

Parameters:

NameType
onboolean

Returns: void


setAttribute

setAttribute(attribute: WidgetAttribute, switchOn: boolean): void

Inherited from void

Parameters:

NameType
attributeWidgetAttribute
switchOnboolean

Returns: void


setContextMenuPolicy

setContextMenuPolicy(contextMenuPolicy: ContextMenuPolicy): void

Inherited from void

Parameters:

NameType
contextMenuPolicyContextMenuPolicy

Returns: void


setCurrentColor

setCurrentColor(color: QColor): void

Inherited from RNColorDialog.setCurrentColor

Parameters:

NameType
colorQColor

Returns: void


setCursor

setCursor(cursor: CursorShape | QCursor): void

Inherited from void

Parameters:

NameType
cursorCursorShape | QCursor

Returns: void


setEnabled

setEnabled(enabled: boolean): void

Inherited from void

Parameters:

NameType
enabledboolean

Returns: void


setEventProcessed

setEventProcessed(isProcessed: boolean): void

Inherited from RNAction.setEventProcessed

Mark the current event as having been processed

This method is used to indicate that the currently dispatched event +has been processed and no further processing by superclasses is +required. It only makes sense to call this method from an event +handler.

When set, this flag will cause NodeGui's QObject::event() method to +return true and not call the superclass event(), effectively preventing +any further processing on this event.

Parameters:

NameTypeDescription
isProcessedbooleantrue if the event has been processed.

Returns: void


setFixedSize

setFixedSize(width: number, height: number): void

Inherited from void

Parameters:

NameType
widthnumber
heightnumber

Returns: void


setFlexNodeSizeControlled

setFlexNodeSizeControlled(isSizeControlled: boolean): void

Inherited from void

sets whether the widget's size is controlled by someone else (for example a window's size is controlled by its frame when dragged).

Parameters:

NameTypeDescription
isSizeControlledboolean

Returns: void


setFocus

setFocus(reason?: FocusReason): void

Inherited from void

Parameters:

NameType
reason?FocusReason

Returns: void


setFocusPolicy

setFocusPolicy(policy: FocusPolicy): void

Inherited from void

Parameters:

NameType
policyFocusPolicy

Returns: void


setFont

setFont(font: QFont): void

Inherited from void

Parameters:

NameType
fontQFont

Returns: void


setGeometry

setGeometry(x: number, y: number, w: number, h: number): void

Inherited from void

Parameters:

NameType
xnumber
ynumber
wnumber
hnumber

Returns: void


setGraphicsEffect

setGraphicsEffect(effect: QGraphicsEffect‹any›): void

Inherited from void

Parameters:

NameType
effectQGraphicsEffect‹any›

Returns: void


setInlineStyle

setInlineStyle(style: string): void

Inherited from void

Parameters:

NameType
stylestring

Returns: void


setLayout

setLayout(parentLayout: NodeLayout‹QColorDialogSignals›): void

Inherited from void

Parameters:

NameType
parentLayoutNodeLayout‹QColorDialogSignals›

Returns: void


setMaximumSize

setMaximumSize(maxw: number, maxh: number): void

Inherited from void

Parameters:

NameType
maxwnumber
maxhnumber

Returns: void


setMinimumSize

setMinimumSize(minw: number, minh: number): void

Inherited from void

Parameters:

NameType
minwnumber
minhnumber

Returns: void


setModal

setModal(modal: boolean): void

Inherited from RNDialog.setModal

Parameters:

NameType
modalboolean

Returns: void


setMouseTracking

setMouseTracking(isMouseTracked: boolean): void

Inherited from void

Parameters:

NameType
isMouseTrackedboolean

Returns: void


setNodeParent

setNodeParent(parent?: Component): void

Inherited from RNAction.setNodeParent

Parameters:

NameType
parent?Component

Returns: void


setObjectName

setObjectName(objectName: string): void

Inherited from void

Overrides RNAction.setObjectName

Parameters:

NameType
objectNamestring

Returns: void


setOption

setOption(option: ColorDialogOption, on?: undefined | false | true): void

Inherited from RNColorDialog.setOption

Parameters:

NameType
optionColorDialogOption
on?undefined | false | true

Returns: void


setOptions

setOptions(options: ColorDialogOption): void

Inherited from RNColorDialog.setOptions

Parameters:

NameType
optionsColorDialogOption

Returns: void


setProperty

setProperty(name: string, value: QVariantType): boolean

Inherited from RNAction.setProperty

Parameters:

NameType
namestring
valueQVariantType

Returns: boolean


setProps

setProps(newProps: ColorDialogProps, oldProps: ColorDialogProps): void

Parameters:

NameType
newPropsColorDialogProps
oldPropsColorDialogProps

Returns: void


setResult

setResult(i: number): void

Inherited from RNDialog.setResult

Parameters:

NameType
inumber

Returns: void


setSizeGripEnabled

setSizeGripEnabled(enabled: boolean): void

Inherited from RNDialog.setSizeGripEnabled

Parameters:

NameType
enabledboolean

Returns: void


setStyleSheet

setStyleSheet(styleSheet: string): void

Inherited from void

Parameters:

NameType
styleSheetstring

Returns: void


setWindowFlag

setWindowFlag(windowType: WindowType, switchOn: boolean): void

Inherited from void

Parameters:

NameType
windowTypeWindowType
switchOnboolean

Returns: void


setWindowIcon

setWindowIcon(icon: QIcon): void

Inherited from void

Parameters:

NameType
iconQIcon

Returns: void


setWindowOpacity

setWindowOpacity(opacity: number): void

Inherited from void

Parameters:

NameType
opacitynumber

Returns: void


setWindowState

setWindowState(state: WindowState): void

Inherited from void

Parameters:

NameType
stateWindowState

Returns: void


setWindowTitle

setWindowTitle(title: string): void

Inherited from void

Parameters:

NameType
titlestring

Returns: void


show

show(): void

Inherited from void

Returns: void


showFullScreen

showFullScreen(): void

Inherited from void

Returns: void


showMaximized

showMaximized(): void

Inherited from void

Returns: void


showMinimized

showMinimized(): void

Inherited from void

Returns: void


showNormal

showNormal(): void

Inherited from void

Returns: void


size

size(): QSize

Inherited from void

Returns: QSize


styleSheet

styleSheet(): string

Inherited from void

Returns: string


testAttribute

testAttribute(attribute: WidgetAttribute): boolean

Inherited from void

Parameters:

NameType
attributeWidgetAttribute

Returns: boolean


testOption

testOption(option: ColorDialogOption): boolean

Inherited from RNColorDialog.testOption

Parameters:

NameType
optionColorDialogOption

Returns: boolean


update

update(): void

Inherited from void

Returns: void


updateGeometry

updateGeometry(): void

Inherited from void

Returns: void


windowOpacity

windowOpacity(): number

Inherited from void

Returns: number


windowState

windowState(): number

Inherited from void

Returns: number


windowTitle

windowTitle(): string

Inherited from void

Returns: string


Static customColor

customColor(index: number): QColor

Inherited from RNColorDialog.customColor

Parameters:

NameType
indexnumber

Returns: QColor


Static customCount

customCount(): number

Inherited from RNColorDialog.customCount

Returns: number


Static setCustomColor

setCustomColor(index: number, color: QColor): void

Inherited from RNColorDialog.setCustomColor

Parameters:

NameType
indexnumber
colorQColor

Returns: void


Static setStandardColor

setStandardColor(index: number, color: QColor): void

Inherited from RNColorDialog.setStandardColor

Parameters:

NameType
indexnumber
colorQColor

Returns: void


Static standardColor

standardColor(index: number): QColor

Inherited from RNColorDialog.standardColor

Parameters:

NameType
indexnumber

Returns: QColor

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/classes/rndialog/index.html b/docs/api/classes/rndialog/index.html new file mode 100644 index 00000000..28fdd136 --- /dev/null +++ b/docs/api/classes/rndialog/index.html @@ -0,0 +1,43 @@ + + + + + + + + + +RNDialog | React NodeGui + + + + + + + + + + + + + +
+

RNDialog

Hierarchy

  • QDialog

    RNDialog

Implements

  • RNWidget

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

+ new RNDialog(arg?: NodeDialog‹QDialogSignals› | NativeElement): RNDialog

Inherited from RNDialog.constructor

Overrides void

Parameters:

NameType
arg?NodeDialog‹QDialogSignals› | NativeElement

Returns: RNDialog

Properties

Optional _layout

_layout? : NodeLayout‹QDialogSignals›

Inherited from void


_rawInlineStyle

_rawInlineStyle: string

Inherited from void


actions

actions: Set‹QAction›

Inherited from void


native

native: NativeElement

Inherited from RNDialog.native

Overrides void


nodeChildren

nodeChildren: Set‹Component›

Inherited from RNAction.nodeChildren


Optional nodeParent

nodeParent? : Component

Inherited from RNAction.nodeParent


type

type: string

Inherited from void


Static tagName

tagName: string = "dialog"

Accessors

layout

get layout(): NodeLayout‹QDialogSignals› | undefined

Inherited from void

Returns: NodeLayout‹QDialogSignals› | undefined

set layout(l: NodeLayout‹QDialogSignals› | undefined): any

Inherited from void

Parameters:

NameType
lNodeLayout‹QDialogSignals› | undefined

Returns: any

Methods

acceptDrops

acceptDrops(): boolean

Inherited from void

Returns: boolean


activateWindow

activateWindow(): void

Inherited from void

Returns: void


addAction

addAction(action: QAction | string): QAction

Inherited from void

Parameters:

NameType
actionQAction | string

Returns: QAction


addEventListener

addEventListenerSignalType›(signalType: SignalType, callback: QDialogSignals[SignalType]): void

Inherited from RNAction.addEventListener

Type parameters:

SignalType: keyof QDialogSignals

Parameters:

NameTypeDescription
signalTypeSignalTypeSignalType is a signal from the widgets signals interface.
callbackQDialogSignals[SignalType]Corresponding callback for the signal as mentioned in the widget's signal interface

Returns: void

void

For example in the case of QPushButton:

const button = new QPushButton();
button.addEventListener('clicked',(checked)=>console.log("clicked"));
// here clicked is a value from QPushButtonSignals interface

addEventListener(eventType: WidgetEventTypes, callback: function): void

Inherited from RNAction.addEventListener

Parameters:

eventType: WidgetEventTypes

callback: function

For example in the case of QPushButton:

const button = new QPushButton();
button.addEventListener(WidgetEventTypes.HoverEnter,()=>console.log("hovered"));

▸ (event?: NativeRawPointer‹"QEvent"›): void

Parameters:

NameType
event?NativeRawPointer‹"QEvent"›

Returns: void


adjustSize

adjustSize(): void

Inherited from void

Returns: void


appendChild

appendChild(child: NodeWidget‹any›): void

Parameters:

NameType
childNodeWidget‹any›

Returns: void


appendInitialChild

appendInitialChild(child: NodeWidget‹any›): void

Parameters:

NameType
childNodeWidget‹any›

Returns: void


clearFocus

clearFocus(): void

Inherited from void

Returns: void


close

close(): boolean

Inherited from void

Returns: boolean


eventProcessed

eventProcessed(): boolean

Inherited from RNAction.eventProcessed

Get the state of the event processed flag

See setEventProcessed().

Returns: boolean

boolean True if the current event is flagged as processed.


exec

exec(): DialogCode

Inherited from RNDialog.exec

Returns: DialogCode


font

font(): QFont

Inherited from void

Returns: QFont


geometry

geometry(): QRect

Inherited from void

Returns: QRect


getFlexNode

getFlexNode(): FlexNode

Inherited from void

Returns: FlexNode


hasMouseTracking

hasMouseTracking(): boolean

Inherited from void

Returns: boolean


hide

hide(): void

Inherited from void

Returns: void


inherits

inherits(className: string): boolean

Inherited from RNAction.inherits

Parameters:

NameType
classNamestring

Returns: boolean


insertBefore

insertBefore(child: NodeWidget‹any›, beforeChild: NodeWidget‹any›): void

Parameters:

NameType
childNodeWidget‹any›
beforeChildNodeWidget‹any›

Returns: void


isActiveWindow

isActiveWindow(): boolean

Inherited from void

Returns: boolean


isEnabled

isEnabled(): boolean

Inherited from void

Returns: boolean


isSizeGripEnabled

isSizeGripEnabled(): boolean

Inherited from RNDialog.isSizeGripEnabled

Returns: boolean


isVisible

isVisible(): boolean

Inherited from void

Returns: boolean


lower

lower(): void

Inherited from void

Returns: void


mapFromGlobal

mapFromGlobal(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


mapFromParent

mapFromParent(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


mapToGlobal

mapToGlobal(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


mapToParent

mapToParent(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


maximumSize

maximumSize(): QSize

Inherited from void

Returns: QSize


minimumSize

minimumSize(): QSize

Inherited from void

Returns: QSize


move

move(x: number, y: number): void

Inherited from void

Parameters:

NameType
xnumber
ynumber

Returns: void


objectName

objectName(): string

Inherited from RNAction.objectName

Returns: string


open

open(): void

Inherited from RNDialog.open

Returns: void


pos

pos(): object

Inherited from void

Returns: object

  • x: number

  • y: number


property

property(name: string): QVariant

Inherited from RNAction.property

Parameters:

NameType
namestring

Returns: QVariant


raise

raise(): void

Inherited from void

Returns: void


reject

reject(): void

Inherited from RNDialog.reject

Returns: void


removeAction

removeAction(action: QAction): void

Inherited from void

Parameters:

NameType
actionQAction

Returns: void


removeChild

removeChild(child: NodeWidget‹any›): void

Parameters:

NameType
childNodeWidget‹any›

Returns: void


removeEventListener

removeEventListenerSignalType›(signalType: SignalType, callback: QDialogSignals[SignalType]): void

Inherited from RNAction.removeEventListener

Type parameters:

SignalType: keyof QDialogSignals

Parameters:

NameType
signalTypeSignalType
callbackQDialogSignals[SignalType]

Returns: void

removeEventListener(eventType: WidgetEventTypes, callback: function): void

Inherited from RNAction.removeEventListener

Parameters:

eventType: WidgetEventTypes

callback: function

▸ (event?: NativeRawPointer‹"QEvent"›): void

Parameters:

NameType
event?NativeRawPointer‹"QEvent"›

Returns: void


repaint

repaint(): void

Inherited from void

Returns: void


repolish

repolish(): void

Inherited from void

Returns: void


resize

resize(width: number, height: number): void

Inherited from void

Parameters:

NameType
widthnumber
heightnumber

Returns: void


result

result(): number

Inherited from RNDialog.result

Returns: number


setAcceptDrops

setAcceptDrops(on: boolean): void

Inherited from void

Parameters:

NameType
onboolean

Returns: void


setAttribute

setAttribute(attribute: WidgetAttribute, switchOn: boolean): void

Inherited from void

Parameters:

NameType
attributeWidgetAttribute
switchOnboolean

Returns: void


setContextMenuPolicy

setContextMenuPolicy(contextMenuPolicy: ContextMenuPolicy): void

Inherited from void

Parameters:

NameType
contextMenuPolicyContextMenuPolicy

Returns: void


setCursor

setCursor(cursor: CursorShape | QCursor): void

Inherited from void

Parameters:

NameType
cursorCursorShape | QCursor

Returns: void


setEnabled

setEnabled(enabled: boolean): void

Inherited from void

Parameters:

NameType
enabledboolean

Returns: void


setEventProcessed

setEventProcessed(isProcessed: boolean): void

Inherited from RNAction.setEventProcessed

Mark the current event as having been processed

This method is used to indicate that the currently dispatched event +has been processed and no further processing by superclasses is +required. It only makes sense to call this method from an event +handler.

When set, this flag will cause NodeGui's QObject::event() method to +return true and not call the superclass event(), effectively preventing +any further processing on this event.

Parameters:

NameTypeDescription
isProcessedbooleantrue if the event has been processed.

Returns: void


setFixedSize

setFixedSize(width: number, height: number): void

Inherited from void

Parameters:

NameType
widthnumber
heightnumber

Returns: void


setFlexNodeSizeControlled

setFlexNodeSizeControlled(isSizeControlled: boolean): void

Inherited from void

sets whether the widget's size is controlled by someone else (for example a window's size is controlled by its frame when dragged).

Parameters:

NameTypeDescription
isSizeControlledboolean

Returns: void


setFocus

setFocus(reason?: FocusReason): void

Inherited from void

Parameters:

NameType
reason?FocusReason

Returns: void


setFocusPolicy

setFocusPolicy(policy: FocusPolicy): void

Inherited from void

Parameters:

NameType
policyFocusPolicy

Returns: void


setFont

setFont(font: QFont): void

Inherited from void

Parameters:

NameType
fontQFont

Returns: void


setGeometry

setGeometry(x: number, y: number, w: number, h: number): void

Inherited from void

Parameters:

NameType
xnumber
ynumber
wnumber
hnumber

Returns: void


setGraphicsEffect

setGraphicsEffect(effect: QGraphicsEffect‹any›): void

Inherited from void

Parameters:

NameType
effectQGraphicsEffect‹any›

Returns: void


setInlineStyle

setInlineStyle(style: string): void

Inherited from void

Parameters:

NameType
stylestring

Returns: void


setLayout

setLayout(parentLayout: NodeLayout‹QDialogSignals›): void

Inherited from void

Parameters:

NameType
parentLayoutNodeLayout‹QDialogSignals›

Returns: void


setMaximumSize

setMaximumSize(maxw: number, maxh: number): void

Inherited from void

Parameters:

NameType
maxwnumber
maxhnumber

Returns: void


setMinimumSize

setMinimumSize(minw: number, minh: number): void

Inherited from void

Parameters:

NameType
minwnumber
minhnumber

Returns: void


setModal

setModal(modal: boolean): void

Inherited from RNDialog.setModal

Parameters:

NameType
modalboolean

Returns: void


setMouseTracking

setMouseTracking(isMouseTracked: boolean): void

Inherited from void

Parameters:

NameType
isMouseTrackedboolean

Returns: void


setNodeParent

setNodeParent(parent?: Component): void

Inherited from RNAction.setNodeParent

Parameters:

NameType
parent?Component

Returns: void


setObjectName

setObjectName(objectName: string): void

Inherited from void

Overrides RNAction.setObjectName

Parameters:

NameType
objectNamestring

Returns: void


setProperty

setProperty(name: string, value: QVariantType): boolean

Inherited from RNAction.setProperty

Parameters:

NameType
namestring
valueQVariantType

Returns: boolean


setProps

setProps(newProps: DialogProps, oldProps: DialogProps): void

Parameters:

NameType
newPropsDialogProps
oldPropsDialogProps

Returns: void


setResult

setResult(i: number): void

Inherited from RNDialog.setResult

Parameters:

NameType
inumber

Returns: void


setSizeGripEnabled

setSizeGripEnabled(enabled: boolean): void

Inherited from RNDialog.setSizeGripEnabled

Parameters:

NameType
enabledboolean

Returns: void


setStyleSheet

setStyleSheet(styleSheet: string): void

Inherited from void

Parameters:

NameType
styleSheetstring

Returns: void


setWindowFlag

setWindowFlag(windowType: WindowType, switchOn: boolean): void

Inherited from void

Parameters:

NameType
windowTypeWindowType
switchOnboolean

Returns: void


setWindowIcon

setWindowIcon(icon: QIcon): void

Inherited from void

Parameters:

NameType
iconQIcon

Returns: void


setWindowOpacity

setWindowOpacity(opacity: number): void

Inherited from void

Parameters:

NameType
opacitynumber

Returns: void


setWindowState

setWindowState(state: WindowState): void

Inherited from void

Parameters:

NameType
stateWindowState

Returns: void


setWindowTitle

setWindowTitle(title: string): void

Inherited from void

Parameters:

NameType
titlestring

Returns: void


show

show(): void

Inherited from void

Returns: void


showFullScreen

showFullScreen(): void

Inherited from void

Returns: void


showMaximized

showMaximized(): void

Inherited from void

Returns: void


showMinimized

showMinimized(): void

Inherited from void

Returns: void


showNormal

showNormal(): void

Inherited from void

Returns: void


size

size(): QSize

Inherited from void

Returns: QSize


styleSheet

styleSheet(): string

Inherited from void

Returns: string


testAttribute

testAttribute(attribute: WidgetAttribute): boolean

Inherited from void

Parameters:

NameType
attributeWidgetAttribute

Returns: boolean


update

update(): void

Inherited from void

Returns: void


updateGeometry

updateGeometry(): void

Inherited from void

Returns: void


windowOpacity

windowOpacity(): number

Inherited from void

Returns: number


windowState

windowState(): number

Inherited from void

Returns: number


windowTitle

windowTitle(): string

Inherited from void

Returns: string

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/classes/rnerrorprompt/index.html b/docs/api/classes/rnerrorprompt/index.html new file mode 100644 index 00000000..1f7b0abb --- /dev/null +++ b/docs/api/classes/rnerrorprompt/index.html @@ -0,0 +1,43 @@ + + + + + + + + + +RNErrorPrompt | React NodeGui + + + + + + + + + + + + + +
+

RNErrorPrompt

Hierarchy

  • QErrorMessage

    RNErrorPrompt

Implements

  • RNWidget

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

+ new RNErrorPrompt(): RNErrorPrompt

Inherited from RNErrorPrompt.constructor

Overrides void

Returns: RNErrorPrompt

+ new RNErrorPrompt(parent: NodeWidget‹any›): RNErrorPrompt

Inherited from RNErrorPrompt.constructor

Overrides void

Parameters:

NameType
parentNodeWidget‹any›

Returns: RNErrorPrompt

Properties

Optional _layout

_layout? : NodeLayout‹QErrorMessageSignals›

Inherited from void


_rawInlineStyle

_rawInlineStyle: string

Inherited from void


actions

actions: Set‹QAction›

Inherited from void


native

native: NativeElement

Inherited from RNErrorPrompt.native

Overrides void


nodeChildren

nodeChildren: Set‹Component›

Inherited from RNAction.nodeChildren


Optional nodeParent

nodeParent? : Component

Inherited from RNAction.nodeParent


type

type: string

Inherited from void


Static tagName

tagName: string = "error-prompt"

Accessors

layout

get layout(): NodeLayout‹QErrorMessageSignals› | undefined

Inherited from void

Returns: NodeLayout‹QErrorMessageSignals› | undefined

set layout(l: NodeLayout‹QErrorMessageSignals› | undefined): any

Inherited from void

Parameters:

NameType
lNodeLayout‹QErrorMessageSignals› | undefined

Returns: any

Methods

acceptDrops

acceptDrops(): boolean

Inherited from void

Returns: boolean


activateWindow

activateWindow(): void

Inherited from void

Returns: void


addAction

addAction(action: QAction | string): QAction

Inherited from void

Parameters:

NameType
actionQAction | string

Returns: QAction


addEventListener

addEventListenerSignalType›(signalType: SignalType, callback: QErrorMessageSignals[SignalType]): void

Inherited from RNAction.addEventListener

Type parameters:

SignalType: keyof QErrorMessageSignals

Parameters:

NameTypeDescription
signalTypeSignalTypeSignalType is a signal from the widgets signals interface.
callbackQErrorMessageSignals[SignalType]Corresponding callback for the signal as mentioned in the widget's signal interface

Returns: void

void

For example in the case of QPushButton:

const button = new QPushButton();
button.addEventListener('clicked',(checked)=>console.log("clicked"));
// here clicked is a value from QPushButtonSignals interface

addEventListener(eventType: WidgetEventTypes, callback: function): void

Inherited from RNAction.addEventListener

Parameters:

eventType: WidgetEventTypes

callback: function

For example in the case of QPushButton:

const button = new QPushButton();
button.addEventListener(WidgetEventTypes.HoverEnter,()=>console.log("hovered"));

▸ (event?: NativeRawPointer‹"QEvent"›): void

Parameters:

NameType
event?NativeRawPointer‹"QEvent"›

Returns: void


adjustSize

adjustSize(): void

Inherited from void

Returns: void


appendChild

appendChild(child: NodeWidget‹any›): void

Parameters:

NameType
childNodeWidget‹any›

Returns: void


appendInitialChild

appendInitialChild(child: NodeWidget‹any›): void

Parameters:

NameType
childNodeWidget‹any›

Returns: void


clearFocus

clearFocus(): void

Inherited from void

Returns: void


close

close(): boolean

Inherited from void

Returns: boolean


eventProcessed

eventProcessed(): boolean

Inherited from RNAction.eventProcessed

Get the state of the event processed flag

See setEventProcessed().

Returns: boolean

boolean True if the current event is flagged as processed.


exec

exec(): DialogCode

Inherited from RNDialog.exec

Returns: DialogCode


font

font(): QFont

Inherited from void

Returns: QFont


geometry

geometry(): QRect

Inherited from void

Returns: QRect


getFlexNode

getFlexNode(): FlexNode

Inherited from void

Returns: FlexNode


hasMouseTracking

hasMouseTracking(): boolean

Inherited from void

Returns: boolean


hide

hide(): void

Inherited from void

Returns: void


inherits

inherits(className: string): boolean

Inherited from RNAction.inherits

Parameters:

NameType
classNamestring

Returns: boolean


insertBefore

insertBefore(child: NodeWidget‹any›, beforeChild: NodeWidget‹any›): void

Parameters:

NameType
childNodeWidget‹any›
beforeChildNodeWidget‹any›

Returns: void


isActiveWindow

isActiveWindow(): boolean

Inherited from void

Returns: boolean


isEnabled

isEnabled(): boolean

Inherited from void

Returns: boolean


isSizeGripEnabled

isSizeGripEnabled(): boolean

Inherited from RNDialog.isSizeGripEnabled

Returns: boolean


isVisible

isVisible(): boolean

Inherited from void

Returns: boolean


lower

lower(): void

Inherited from void

Returns: void


mapFromGlobal

mapFromGlobal(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


mapFromParent

mapFromParent(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


mapToGlobal

mapToGlobal(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


mapToParent

mapToParent(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


maximumSize

maximumSize(): QSize

Inherited from void

Returns: QSize


minimumSize

minimumSize(): QSize

Inherited from void

Returns: QSize


move

move(x: number, y: number): void

Inherited from void

Parameters:

NameType
xnumber
ynumber

Returns: void


objectName

objectName(): string

Inherited from RNAction.objectName

Returns: string


open

open(): void

Inherited from RNDialog.open

Returns: void


pos

pos(): object

Inherited from void

Returns: object

  • x: number

  • y: number


property

property(name: string): QVariant

Inherited from RNAction.property

Parameters:

NameType
namestring

Returns: QVariant


raise

raise(): void

Inherited from void

Returns: void


reject

reject(): void

Inherited from RNDialog.reject

Returns: void


removeAction

removeAction(action: QAction): void

Inherited from void

Parameters:

NameType
actionQAction

Returns: void


removeChild

removeChild(child: NodeWidget‹any›): void

Parameters:

NameType
childNodeWidget‹any›

Returns: void


removeEventListener

removeEventListenerSignalType›(signalType: SignalType, callback: QErrorMessageSignals[SignalType]): void

Inherited from RNAction.removeEventListener

Type parameters:

SignalType: keyof QErrorMessageSignals

Parameters:

NameType
signalTypeSignalType
callbackQErrorMessageSignals[SignalType]

Returns: void

removeEventListener(eventType: WidgetEventTypes, callback: function): void

Inherited from RNAction.removeEventListener

Parameters:

eventType: WidgetEventTypes

callback: function

▸ (event?: NativeRawPointer‹"QEvent"›): void

Parameters:

NameType
event?NativeRawPointer‹"QEvent"›

Returns: void


repaint

repaint(): void

Inherited from void

Returns: void


repolish

repolish(): void

Inherited from void

Returns: void


resize

resize(width: number, height: number): void

Inherited from void

Parameters:

NameType
widthnumber
heightnumber

Returns: void


result

result(): number

Inherited from RNDialog.result

Returns: number


setAcceptDrops

setAcceptDrops(on: boolean): void

Inherited from void

Parameters:

NameType
onboolean

Returns: void


setAttribute

setAttribute(attribute: WidgetAttribute, switchOn: boolean): void

Inherited from void

Parameters:

NameType
attributeWidgetAttribute
switchOnboolean

Returns: void


setContextMenuPolicy

setContextMenuPolicy(contextMenuPolicy: ContextMenuPolicy): void

Inherited from void

Parameters:

NameType
contextMenuPolicyContextMenuPolicy

Returns: void


setCursor

setCursor(cursor: CursorShape | QCursor): void

Inherited from void

Parameters:

NameType
cursorCursorShape | QCursor

Returns: void


setEnabled

setEnabled(enabled: boolean): void

Inherited from void

Parameters:

NameType
enabledboolean

Returns: void


setEventProcessed

setEventProcessed(isProcessed: boolean): void

Inherited from RNAction.setEventProcessed

Mark the current event as having been processed

This method is used to indicate that the currently dispatched event +has been processed and no further processing by superclasses is +required. It only makes sense to call this method from an event +handler.

When set, this flag will cause NodeGui's QObject::event() method to +return true and not call the superclass event(), effectively preventing +any further processing on this event.

Parameters:

NameTypeDescription
isProcessedbooleantrue if the event has been processed.

Returns: void


setFixedSize

setFixedSize(width: number, height: number): void

Inherited from void

Parameters:

NameType
widthnumber
heightnumber

Returns: void


setFlexNodeSizeControlled

setFlexNodeSizeControlled(isSizeControlled: boolean): void

Inherited from void

sets whether the widget's size is controlled by someone else (for example a window's size is controlled by its frame when dragged).

Parameters:

NameTypeDescription
isSizeControlledboolean

Returns: void


setFocus

setFocus(reason?: FocusReason): void

Inherited from void

Parameters:

NameType
reason?FocusReason

Returns: void


setFocusPolicy

setFocusPolicy(policy: FocusPolicy): void

Inherited from void

Parameters:

NameType
policyFocusPolicy

Returns: void


setFont

setFont(font: QFont): void

Inherited from void

Parameters:

NameType
fontQFont

Returns: void


setGeometry

setGeometry(x: number, y: number, w: number, h: number): void

Inherited from void

Parameters:

NameType
xnumber
ynumber
wnumber
hnumber

Returns: void


setGraphicsEffect

setGraphicsEffect(effect: QGraphicsEffect‹any›): void

Inherited from void

Parameters:

NameType
effectQGraphicsEffect‹any›

Returns: void


setInlineStyle

setInlineStyle(style: string): void

Inherited from void

Parameters:

NameType
stylestring

Returns: void


setLayout

setLayout(parentLayout: NodeLayout‹QErrorMessageSignals›): void

Inherited from void

Parameters:

NameType
parentLayoutNodeLayout‹QErrorMessageSignals›

Returns: void


setMaximumSize

setMaximumSize(maxw: number, maxh: number): void

Inherited from void

Parameters:

NameType
maxwnumber
maxhnumber

Returns: void


setMinimumSize

setMinimumSize(minw: number, minh: number): void

Inherited from void

Parameters:

NameType
minwnumber
minhnumber

Returns: void


setModal

setModal(modal: boolean): void

Inherited from RNDialog.setModal

Parameters:

NameType
modalboolean

Returns: void


setMouseTracking

setMouseTracking(isMouseTracked: boolean): void

Inherited from void

Parameters:

NameType
isMouseTrackedboolean

Returns: void


setNodeParent

setNodeParent(parent?: Component): void

Inherited from RNAction.setNodeParent

Parameters:

NameType
parent?Component

Returns: void


setObjectName

setObjectName(objectName: string): void

Inherited from void

Overrides RNAction.setObjectName

Parameters:

NameType
objectNamestring

Returns: void


setProperty

setProperty(name: string, value: QVariantType): boolean

Inherited from RNAction.setProperty

Parameters:

NameType
namestring
valueQVariantType

Returns: boolean


setProps

setProps(newProps: ErrorPromptProps, oldProps: ErrorPromptProps): void

Parameters:

NameType
newPropsErrorPromptProps
oldPropsErrorPromptProps

Returns: void


setResult

setResult(i: number): void

Inherited from RNDialog.setResult

Parameters:

NameType
inumber

Returns: void


setSizeGripEnabled

setSizeGripEnabled(enabled: boolean): void

Inherited from RNDialog.setSizeGripEnabled

Parameters:

NameType
enabledboolean

Returns: void


setStyleSheet

setStyleSheet(styleSheet: string): void

Inherited from void

Parameters:

NameType
styleSheetstring

Returns: void


setWindowFlag

setWindowFlag(windowType: WindowType, switchOn: boolean): void

Inherited from void

Parameters:

NameType
windowTypeWindowType
switchOnboolean

Returns: void


setWindowIcon

setWindowIcon(icon: QIcon): void

Inherited from void

Parameters:

NameType
iconQIcon

Returns: void


setWindowOpacity

setWindowOpacity(opacity: number): void

Inherited from void

Parameters:

NameType
opacitynumber

Returns: void


setWindowState

setWindowState(state: WindowState): void

Inherited from void

Parameters:

NameType
stateWindowState

Returns: void


setWindowTitle

setWindowTitle(title: string): void

Inherited from void

Parameters:

NameType
titlestring

Returns: void


show

show(): void

Inherited from void

Returns: void


showFullScreen

showFullScreen(): void

Inherited from void

Returns: void


showMaximized

showMaximized(): void

Inherited from void

Returns: void


showMessage

showMessage(message: string): void

Inherited from RNErrorPrompt.showMessage

Parameters:

NameType
messagestring

Returns: void


showMinimized

showMinimized(): void

Inherited from void

Returns: void


showNormal

showNormal(): void

Inherited from void

Returns: void


size

size(): QSize

Inherited from void

Returns: QSize


styleSheet

styleSheet(): string

Inherited from void

Returns: string


testAttribute

testAttribute(attribute: WidgetAttribute): boolean

Inherited from void

Parameters:

NameType
attributeWidgetAttribute

Returns: boolean


update

update(): void

Inherited from void

Returns: void


updateGeometry

updateGeometry(): void

Inherited from void

Returns: void


windowOpacity

windowOpacity(): number

Inherited from void

Returns: number


windowState

windowState(): number

Inherited from void

Returns: number


windowTitle

windowTitle(): string

Inherited from void

Returns: string

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/classes/rnfiledialog/index.html b/docs/api/classes/rnfiledialog/index.html new file mode 100644 index 00000000..504e5047 --- /dev/null +++ b/docs/api/classes/rnfiledialog/index.html @@ -0,0 +1,43 @@ + + + + + + + + + +RNFileDialog | React NodeGui + + + + + + + + + + + + + +
+

RNFileDialog

Hierarchy

  • QFileDialog

    RNFileDialog

Implements

  • RNWidget

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

+ new RNFileDialog(): RNFileDialog

Inherited from RNFileDialog.constructor

Overrides void

Returns: RNFileDialog

+ new RNFileDialog(parent: NodeWidget‹any›, caption?: undefined | string, directory?: undefined | string, filter?: undefined | string): RNFileDialog

Inherited from RNFileDialog.constructor

Overrides void

Parameters:

NameType
parentNodeWidget‹any›
caption?undefined | string
directory?undefined | string
filter?undefined | string

Returns: RNFileDialog

Properties

Optional _layout

_layout? : NodeLayout‹QFileDialogSignals›

Inherited from void


_rawInlineStyle

_rawInlineStyle: string

Inherited from void


actions

actions: Set‹QAction›

Inherited from void


native

native: NativeElement

Inherited from RNFileDialog.native

Overrides void


nodeChildren

nodeChildren: Set‹Component›

Inherited from RNAction.nodeChildren


Optional nodeParent

nodeParent? : Component

Inherited from RNAction.nodeParent


type

type: string

Inherited from void


Static tagName

tagName: string = "file-dialog"

Accessors

layout

get layout(): NodeLayout‹QFileDialogSignals› | undefined

Inherited from void

Returns: NodeLayout‹QFileDialogSignals› | undefined

set layout(l: NodeLayout‹QFileDialogSignals› | undefined): any

Inherited from void

Parameters:

NameType
lNodeLayout‹QFileDialogSignals› | undefined

Returns: any

Methods

acceptDrops

acceptDrops(): boolean

Inherited from void

Returns: boolean


acceptMode

acceptMode(): AcceptMode

Inherited from RNFileDialog.acceptMode

Returns: AcceptMode


activateWindow

activateWindow(): void

Inherited from void

Returns: void


addAction

addAction(action: QAction | string): QAction

Inherited from void

Parameters:

NameType
actionQAction | string

Returns: QAction


addEventListener

addEventListenerSignalType›(signalType: SignalType, callback: QFileDialogSignals[SignalType]): void

Inherited from RNAction.addEventListener

Type parameters:

SignalType: keyof QFileDialogSignals

Parameters:

NameTypeDescription
signalTypeSignalTypeSignalType is a signal from the widgets signals interface.
callbackQFileDialogSignals[SignalType]Corresponding callback for the signal as mentioned in the widget's signal interface

Returns: void

void

For example in the case of QPushButton:

const button = new QPushButton();
button.addEventListener('clicked',(checked)=>console.log("clicked"));
// here clicked is a value from QPushButtonSignals interface

addEventListener(eventType: WidgetEventTypes, callback: function): void

Inherited from RNAction.addEventListener

Parameters:

eventType: WidgetEventTypes

callback: function

For example in the case of QPushButton:

const button = new QPushButton();
button.addEventListener(WidgetEventTypes.HoverEnter,()=>console.log("hovered"));

▸ (event?: NativeRawPointer‹"QEvent"›): void

Parameters:

NameType
event?NativeRawPointer‹"QEvent"›

Returns: void


adjustSize

adjustSize(): void

Inherited from void

Returns: void


appendChild

appendChild(child: NodeWidget‹any›): void

Parameters:

NameType
childNodeWidget‹any›

Returns: void


appendInitialChild

appendInitialChild(child: NodeWidget‹any›): void

Parameters:

NameType
childNodeWidget‹any›

Returns: void


clearFocus

clearFocus(): void

Inherited from void

Returns: void


close

close(): boolean

Inherited from void

Returns: boolean


defaultSuffix

defaultSuffix(): string

Inherited from RNFileDialog.defaultSuffix

Returns: string


eventProcessed

eventProcessed(): boolean

Inherited from RNAction.eventProcessed

Get the state of the event processed flag

See setEventProcessed().

Returns: boolean

boolean True if the current event is flagged as processed.


exec

exec(): DialogCode

Inherited from RNDialog.exec

Returns: DialogCode


fileMode

fileMode(): FileMode

Inherited from RNFileDialog.fileMode

Returns: FileMode


font

font(): QFont

Inherited from void

Returns: QFont


geometry

geometry(): QRect

Inherited from void

Returns: QRect


getFlexNode

getFlexNode(): FlexNode

Inherited from void

Returns: FlexNode


hasMouseTracking

hasMouseTracking(): boolean

Inherited from void

Returns: boolean


hide

hide(): void

Inherited from void

Returns: void


inherits

inherits(className: string): boolean

Inherited from RNAction.inherits

Parameters:

NameType
classNamestring

Returns: boolean


insertBefore

insertBefore(child: NodeWidget‹any›, beforeChild: NodeWidget‹any›): void

Parameters:

NameType
childNodeWidget‹any›
beforeChildNodeWidget‹any›

Returns: void


isActiveWindow

isActiveWindow(): boolean

Inherited from void

Returns: boolean


isEnabled

isEnabled(): boolean

Inherited from void

Returns: boolean


isSizeGripEnabled

isSizeGripEnabled(): boolean

Inherited from RNDialog.isSizeGripEnabled

Returns: boolean


isVisible

isVisible(): boolean

Inherited from void

Returns: boolean


labelText

labelText(label: DialogLabel): string

Inherited from RNFileDialog.labelText

Parameters:

NameType
labelDialogLabel

Returns: string


lower

lower(): void

Inherited from void

Returns: void


mapFromGlobal

mapFromGlobal(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


mapFromParent

mapFromParent(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


mapToGlobal

mapToGlobal(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


mapToParent

mapToParent(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


maximumSize

maximumSize(): QSize

Inherited from void

Returns: QSize


minimumSize

minimumSize(): QSize

Inherited from void

Returns: QSize


move

move(x: number, y: number): void

Inherited from void

Parameters:

NameType
xnumber
ynumber

Returns: void


objectName

objectName(): string

Inherited from RNAction.objectName

Returns: string


open

open(): void

Inherited from RNDialog.open

Returns: void


options

options(): Option

Inherited from RNFileDialog.options

Returns: Option


pos

pos(): object

Inherited from void

Returns: object

  • x: number

  • y: number


property

property(name: string): QVariant

Inherited from RNAction.property

Parameters:

NameType
namestring

Returns: QVariant


raise

raise(): void

Inherited from void

Returns: void


reject

reject(): void

Inherited from RNDialog.reject

Returns: void


removeAction

removeAction(action: QAction): void

Inherited from void

Parameters:

NameType
actionQAction

Returns: void


removeChild

removeChild(child: NodeWidget‹any›): void

Parameters:

NameType
childNodeWidget‹any›

Returns: void


removeEventListener

removeEventListenerSignalType›(signalType: SignalType, callback: QFileDialogSignals[SignalType]): void

Inherited from RNAction.removeEventListener

Type parameters:

SignalType: keyof QFileDialogSignals

Parameters:

NameType
signalTypeSignalType
callbackQFileDialogSignals[SignalType]

Returns: void

removeEventListener(eventType: WidgetEventTypes, callback: function): void

Inherited from RNAction.removeEventListener

Parameters:

eventType: WidgetEventTypes

callback: function

▸ (event?: NativeRawPointer‹"QEvent"›): void

Parameters:

NameType
event?NativeRawPointer‹"QEvent"›

Returns: void


repaint

repaint(): void

Inherited from void

Returns: void


repolish

repolish(): void

Inherited from void

Returns: void


resize

resize(width: number, height: number): void

Inherited from void

Parameters:

NameType
widthnumber
heightnumber

Returns: void


result

result(): number

Inherited from RNDialog.result

Returns: number


selectedFiles

selectedFiles(): string[]

Inherited from RNFileDialog.selectedFiles

Returns: string[]


setAcceptDrops

setAcceptDrops(on: boolean): void

Inherited from void

Parameters:

NameType
onboolean

Returns: void


setAcceptMode

setAcceptMode(acceptMode: AcceptMode): void

Inherited from RNFileDialog.setAcceptMode

Parameters:

NameType
acceptModeAcceptMode

Returns: void


setAttribute

setAttribute(attribute: WidgetAttribute, switchOn: boolean): void

Inherited from void

Parameters:

NameType
attributeWidgetAttribute
switchOnboolean

Returns: void


setContextMenuPolicy

setContextMenuPolicy(contextMenuPolicy: ContextMenuPolicy): void

Inherited from void

Parameters:

NameType
contextMenuPolicyContextMenuPolicy

Returns: void


setCursor

setCursor(cursor: CursorShape | QCursor): void

Inherited from void

Parameters:

NameType
cursorCursorShape | QCursor

Returns: void


setDefaultSuffix

setDefaultSuffix(defaultSuffix: string): void

Inherited from RNFileDialog.setDefaultSuffix

Parameters:

NameType
defaultSuffixstring

Returns: void


setEnabled

setEnabled(enabled: boolean): void

Inherited from void

Parameters:

NameType
enabledboolean

Returns: void


setEventProcessed

setEventProcessed(isProcessed: boolean): void

Inherited from RNAction.setEventProcessed

Mark the current event as having been processed

This method is used to indicate that the currently dispatched event +has been processed and no further processing by superclasses is +required. It only makes sense to call this method from an event +handler.

When set, this flag will cause NodeGui's QObject::event() method to +return true and not call the superclass event(), effectively preventing +any further processing on this event.

Parameters:

NameTypeDescription
isProcessedbooleantrue if the event has been processed.

Returns: void


setFileMode

setFileMode(fileMode: FileMode): void

Inherited from RNFileDialog.setFileMode

Parameters:

NameType
fileModeFileMode

Returns: void


setFixedSize

setFixedSize(width: number, height: number): void

Inherited from void

Parameters:

NameType
widthnumber
heightnumber

Returns: void


setFlexNodeSizeControlled

setFlexNodeSizeControlled(isSizeControlled: boolean): void

Inherited from void

sets whether the widget's size is controlled by someone else (for example a window's size is controlled by its frame when dragged).

Parameters:

NameTypeDescription
isSizeControlledboolean

Returns: void


setFocus

setFocus(reason?: FocusReason): void

Inherited from void

Parameters:

NameType
reason?FocusReason

Returns: void


setFocusPolicy

setFocusPolicy(policy: FocusPolicy): void

Inherited from void

Parameters:

NameType
policyFocusPolicy

Returns: void


setFont

setFont(font: QFont): void

Inherited from void

Parameters:

NameType
fontQFont

Returns: void


setGeometry

setGeometry(x: number, y: number, w: number, h: number): void

Inherited from void

Parameters:

NameType
xnumber
ynumber
wnumber
hnumber

Returns: void


setGraphicsEffect

setGraphicsEffect(effect: QGraphicsEffect‹any›): void

Inherited from void

Parameters:

NameType
effectQGraphicsEffect‹any›

Returns: void


setInlineStyle

setInlineStyle(style: string): void

Inherited from void

Parameters:

NameType
stylestring

Returns: void


setLabelText

setLabelText(label: DialogLabel, text: string): void

Inherited from RNFileDialog.setLabelText

Parameters:

NameType
labelDialogLabel
textstring

Returns: void


setLayout

setLayout(parentLayout: NodeLayout‹QFileDialogSignals›): void

Inherited from void

Parameters:

NameType
parentLayoutNodeLayout‹QFileDialogSignals›

Returns: void


setMaximumSize

setMaximumSize(maxw: number, maxh: number): void

Inherited from void

Parameters:

NameType
maxwnumber
maxhnumber

Returns: void


setMinimumSize

setMinimumSize(minw: number, minh: number): void

Inherited from void

Parameters:

NameType
minwnumber
minhnumber

Returns: void


setModal

setModal(modal: boolean): void

Inherited from RNDialog.setModal

Parameters:

NameType
modalboolean

Returns: void


setMouseTracking

setMouseTracking(isMouseTracked: boolean): void

Inherited from void

Parameters:

NameType
isMouseTrackedboolean

Returns: void


setNameFilter

setNameFilter(filter: string): void

Inherited from RNFileDialog.setNameFilter

Parameters:

NameType
filterstring

Returns: void


setNodeParent

setNodeParent(parent?: Component): void

Inherited from RNAction.setNodeParent

Parameters:

NameType
parent?Component

Returns: void


setObjectName

setObjectName(objectName: string): void

Inherited from void

Overrides RNAction.setObjectName

Parameters:

NameType
objectNamestring

Returns: void


setOption

setOption(option: Option, on?: undefined | false | true): void

Inherited from RNFileDialog.setOption

Parameters:

NameType
optionOption
on?undefined | false | true

Returns: void


setOptions

setOptions(options: Option): void

Inherited from RNFileDialog.setOptions

Parameters:

NameType
optionsOption

Returns: void


setProperty

setProperty(name: string, value: QVariantType): boolean

Inherited from RNAction.setProperty

Parameters:

NameType
namestring
valueQVariantType

Returns: boolean


setProps

setProps(newProps: FileDialogProps, oldProps: FileDialogProps): void

Parameters:

NameType
newPropsFileDialogProps
oldPropsFileDialogProps

Returns: void


setResult

setResult(i: number): void

Inherited from RNDialog.setResult

Parameters:

NameType
inumber

Returns: void


setSizeGripEnabled

setSizeGripEnabled(enabled: boolean): void

Inherited from RNDialog.setSizeGripEnabled

Parameters:

NameType
enabledboolean

Returns: void


setStyleSheet

setStyleSheet(styleSheet: string): void

Inherited from void

Parameters:

NameType
styleSheetstring

Returns: void


setSupportedSchemes

setSupportedSchemes(schemes: string[]): void

Inherited from RNFileDialog.setSupportedSchemes

Parameters:

NameType
schemesstring[]

Returns: void


setWindowFlag

setWindowFlag(windowType: WindowType, switchOn: boolean): void

Inherited from void

Parameters:

NameType
windowTypeWindowType
switchOnboolean

Returns: void


setWindowIcon

setWindowIcon(icon: QIcon): void

Inherited from void

Parameters:

NameType
iconQIcon

Returns: void


setWindowOpacity

setWindowOpacity(opacity: number): void

Inherited from void

Parameters:

NameType
opacitynumber

Returns: void


setWindowState

setWindowState(state: WindowState): void

Inherited from void

Parameters:

NameType
stateWindowState

Returns: void


setWindowTitle

setWindowTitle(title: string): void

Inherited from void

Parameters:

NameType
titlestring

Returns: void


show

show(): void

Inherited from void

Returns: void


showFullScreen

showFullScreen(): void

Inherited from void

Returns: void


showMaximized

showMaximized(): void

Inherited from void

Returns: void


showMinimized

showMinimized(): void

Inherited from void

Returns: void


showNormal

showNormal(): void

Inherited from void

Returns: void


size

size(): QSize

Inherited from void

Returns: QSize


styleSheet

styleSheet(): string

Inherited from void

Returns: string


supportedSchemes

supportedSchemes(): string[]

Inherited from RNFileDialog.supportedSchemes

Returns: string[]


testAttribute

testAttribute(attribute: WidgetAttribute): boolean

Inherited from void

Parameters:

NameType
attributeWidgetAttribute

Returns: boolean


update

update(): void

Inherited from void

Returns: void


updateGeometry

updateGeometry(): void

Inherited from void

Returns: void


viewMode

viewMode(): ViewMode

Inherited from RNFileDialog.viewMode

Returns: ViewMode


windowOpacity

windowOpacity(): number

Inherited from void

Returns: number


windowState

windowState(): number

Inherited from void

Returns: number


windowTitle

windowTitle(): string

Inherited from void

Returns: string

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/classes/rnfontdialog/index.html b/docs/api/classes/rnfontdialog/index.html new file mode 100644 index 00000000..44b5e45f --- /dev/null +++ b/docs/api/classes/rnfontdialog/index.html @@ -0,0 +1,43 @@ + + + + + + + + + +RNFontDialog | React NodeGui + + + + + + + + + + + + + +
+

RNFontDialog

Hierarchy

  • QFontDialog

    RNFontDialog

Implements

  • RNWidget

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

+ new RNFontDialog(): RNFontDialog

Inherited from RNFontDialog.constructor

Overrides void

Returns: RNFontDialog

+ new RNFontDialog(parent: NodeWidget‹any›): RNFontDialog

Inherited from RNFontDialog.constructor

Overrides void

Parameters:

NameType
parentNodeWidget‹any›

Returns: RNFontDialog

Properties

Optional _layout

_layout? : NodeLayout‹QFontDialogSignals›

Inherited from void


_rawInlineStyle

_rawInlineStyle: string

Inherited from void


actions

actions: Set‹QAction›

Inherited from void


native

native: NativeElement

Inherited from RNFontDialog.native

Overrides void


nodeChildren

nodeChildren: Set‹Component›

Inherited from RNAction.nodeChildren


Optional nodeParent

nodeParent? : Component

Inherited from RNAction.nodeParent


type

type: string

Inherited from void


Static tagName

tagName: string = "font-dialog"

Accessors

layout

get layout(): NodeLayout‹QFontDialogSignals› | undefined

Inherited from void

Returns: NodeLayout‹QFontDialogSignals› | undefined

set layout(l: NodeLayout‹QFontDialogSignals› | undefined): any

Inherited from void

Parameters:

NameType
lNodeLayout‹QFontDialogSignals› | undefined

Returns: any

Methods

acceptDrops

acceptDrops(): boolean

Inherited from void

Returns: boolean


activateWindow

activateWindow(): void

Inherited from void

Returns: void


addAction

addAction(action: QAction | string): QAction

Inherited from void

Parameters:

NameType
actionQAction | string

Returns: QAction


addEventListener

addEventListenerSignalType›(signalType: SignalType, callback: QFontDialogSignals[SignalType]): void

Inherited from RNAction.addEventListener

Type parameters:

SignalType: keyof QFontDialogSignals

Parameters:

NameTypeDescription
signalTypeSignalTypeSignalType is a signal from the widgets signals interface.
callbackQFontDialogSignals[SignalType]Corresponding callback for the signal as mentioned in the widget's signal interface

Returns: void

void

For example in the case of QPushButton:

const button = new QPushButton();
button.addEventListener('clicked',(checked)=>console.log("clicked"));
// here clicked is a value from QPushButtonSignals interface

addEventListener(eventType: WidgetEventTypes, callback: function): void

Inherited from RNAction.addEventListener

Parameters:

eventType: WidgetEventTypes

callback: function

For example in the case of QPushButton:

const button = new QPushButton();
button.addEventListener(WidgetEventTypes.HoverEnter,()=>console.log("hovered"));

▸ (event?: NativeRawPointer‹"QEvent"›): void

Parameters:

NameType
event?NativeRawPointer‹"QEvent"›

Returns: void


adjustSize

adjustSize(): void

Inherited from void

Returns: void


appendChild

appendChild(child: NodeWidget‹any›): void

Parameters:

NameType
childNodeWidget‹any›

Returns: void


appendInitialChild

appendInitialChild(child: NodeWidget‹any›): void

Parameters:

NameType
childNodeWidget‹any›

Returns: void


clearFocus

clearFocus(): void

Inherited from void

Returns: void


close

close(): boolean

Inherited from void

Returns: boolean


currentFont

currentFont(): QFont

Inherited from RNFontDialog.currentFont

Returns: QFont


eventProcessed

eventProcessed(): boolean

Inherited from RNAction.eventProcessed

Get the state of the event processed flag

See setEventProcessed().

Returns: boolean

boolean True if the current event is flagged as processed.


exec

exec(): DialogCode

Inherited from RNDialog.exec

Returns: DialogCode


font

font(): QFont

Inherited from void

Returns: QFont


geometry

geometry(): QRect

Inherited from void

Returns: QRect


getFlexNode

getFlexNode(): FlexNode

Inherited from void

Returns: FlexNode


hasMouseTracking

hasMouseTracking(): boolean

Inherited from void

Returns: boolean


hide

hide(): void

Inherited from void

Returns: void


inherits

inherits(className: string): boolean

Inherited from RNAction.inherits

Parameters:

NameType
classNamestring

Returns: boolean


insertBefore

insertBefore(child: NodeWidget‹any›, beforeChild: NodeWidget‹any›): void

Parameters:

NameType
childNodeWidget‹any›
beforeChildNodeWidget‹any›

Returns: void


isActiveWindow

isActiveWindow(): boolean

Inherited from void

Returns: boolean


isEnabled

isEnabled(): boolean

Inherited from void

Returns: boolean


isSizeGripEnabled

isSizeGripEnabled(): boolean

Inherited from RNDialog.isSizeGripEnabled

Returns: boolean


isVisible

isVisible(): boolean

Inherited from void

Returns: boolean


lower

lower(): void

Inherited from void

Returns: void


mapFromGlobal

mapFromGlobal(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


mapFromParent

mapFromParent(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


mapToGlobal

mapToGlobal(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


mapToParent

mapToParent(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


maximumSize

maximumSize(): QSize

Inherited from void

Returns: QSize


minimumSize

minimumSize(): QSize

Inherited from void

Returns: QSize


move

move(x: number, y: number): void

Inherited from void

Parameters:

NameType
xnumber
ynumber

Returns: void


objectName

objectName(): string

Inherited from RNAction.objectName

Returns: string


open

open(): void

Inherited from RNDialog.open

Returns: void


options

options(): FontDialogOption

Inherited from RNFontDialog.options

Returns: FontDialogOption


pos

pos(): object

Inherited from void

Returns: object

  • x: number

  • y: number


property

property(name: string): QVariant

Inherited from RNAction.property

Parameters:

NameType
namestring

Returns: QVariant


raise

raise(): void

Inherited from void

Returns: void


reject

reject(): void

Inherited from RNDialog.reject

Returns: void


removeAction

removeAction(action: QAction): void

Inherited from void

Parameters:

NameType
actionQAction

Returns: void


removeChild

removeChild(child: NodeWidget‹any›): void

Parameters:

NameType
childNodeWidget‹any›

Returns: void


removeEventListener

removeEventListenerSignalType›(signalType: SignalType, callback: QFontDialogSignals[SignalType]): void

Inherited from RNAction.removeEventListener

Type parameters:

SignalType: keyof QFontDialogSignals

Parameters:

NameType
signalTypeSignalType
callbackQFontDialogSignals[SignalType]

Returns: void

removeEventListener(eventType: WidgetEventTypes, callback: function): void

Inherited from RNAction.removeEventListener

Parameters:

eventType: WidgetEventTypes

callback: function

▸ (event?: NativeRawPointer‹"QEvent"›): void

Parameters:

NameType
event?NativeRawPointer‹"QEvent"›

Returns: void


repaint

repaint(): void

Inherited from void

Returns: void


repolish

repolish(): void

Inherited from void

Returns: void


resize

resize(width: number, height: number): void

Inherited from void

Parameters:

NameType
widthnumber
heightnumber

Returns: void


result

result(): number

Inherited from RNDialog.result

Returns: number


selectedFont

selectedFont(): QFont

Inherited from RNFontDialog.selectedFont

Returns: QFont


setAcceptDrops

setAcceptDrops(on: boolean): void

Inherited from void

Parameters:

NameType
onboolean

Returns: void


setAttribute

setAttribute(attribute: WidgetAttribute, switchOn: boolean): void

Inherited from void

Parameters:

NameType
attributeWidgetAttribute
switchOnboolean

Returns: void


setContextMenuPolicy

setContextMenuPolicy(contextMenuPolicy: ContextMenuPolicy): void

Inherited from void

Parameters:

NameType
contextMenuPolicyContextMenuPolicy

Returns: void


setCurrentFont

setCurrentFont(font: QFont): void

Inherited from RNFontDialog.setCurrentFont

Parameters:

NameType
fontQFont

Returns: void


setCursor

setCursor(cursor: CursorShape | QCursor): void

Inherited from void

Parameters:

NameType
cursorCursorShape | QCursor

Returns: void


setEnabled

setEnabled(enabled: boolean): void

Inherited from void

Parameters:

NameType
enabledboolean

Returns: void


setEventProcessed

setEventProcessed(isProcessed: boolean): void

Inherited from RNAction.setEventProcessed

Mark the current event as having been processed

This method is used to indicate that the currently dispatched event +has been processed and no further processing by superclasses is +required. It only makes sense to call this method from an event +handler.

When set, this flag will cause NodeGui's QObject::event() method to +return true and not call the superclass event(), effectively preventing +any further processing on this event.

Parameters:

NameTypeDescription
isProcessedbooleantrue if the event has been processed.

Returns: void


setFixedSize

setFixedSize(width: number, height: number): void

Inherited from void

Parameters:

NameType
widthnumber
heightnumber

Returns: void


setFlexNodeSizeControlled

setFlexNodeSizeControlled(isSizeControlled: boolean): void

Inherited from void

sets whether the widget's size is controlled by someone else (for example a window's size is controlled by its frame when dragged).

Parameters:

NameTypeDescription
isSizeControlledboolean

Returns: void


setFocus

setFocus(reason?: FocusReason): void

Inherited from void

Parameters:

NameType
reason?FocusReason

Returns: void


setFocusPolicy

setFocusPolicy(policy: FocusPolicy): void

Inherited from void

Parameters:

NameType
policyFocusPolicy

Returns: void


setFont

setFont(font: QFont): void

Inherited from void

Parameters:

NameType
fontQFont

Returns: void


setGeometry

setGeometry(x: number, y: number, w: number, h: number): void

Inherited from void

Parameters:

NameType
xnumber
ynumber
wnumber
hnumber

Returns: void


setGraphicsEffect

setGraphicsEffect(effect: QGraphicsEffect‹any›): void

Inherited from void

Parameters:

NameType
effectQGraphicsEffect‹any›

Returns: void


setInlineStyle

setInlineStyle(style: string): void

Inherited from void

Parameters:

NameType
stylestring

Returns: void


setLayout

setLayout(parentLayout: NodeLayout‹QFontDialogSignals›): void

Inherited from void

Parameters:

NameType
parentLayoutNodeLayout‹QFontDialogSignals›

Returns: void


setMaximumSize

setMaximumSize(maxw: number, maxh: number): void

Inherited from void

Parameters:

NameType
maxwnumber
maxhnumber

Returns: void


setMinimumSize

setMinimumSize(minw: number, minh: number): void

Inherited from void

Parameters:

NameType
minwnumber
minhnumber

Returns: void


setModal

setModal(modal: boolean): void

Inherited from RNDialog.setModal

Parameters:

NameType
modalboolean

Returns: void


setMouseTracking

setMouseTracking(isMouseTracked: boolean): void

Inherited from void

Parameters:

NameType
isMouseTrackedboolean

Returns: void


setNodeParent

setNodeParent(parent?: Component): void

Inherited from RNAction.setNodeParent

Parameters:

NameType
parent?Component

Returns: void


setObjectName

setObjectName(objectName: string): void

Inherited from void

Overrides RNAction.setObjectName

Parameters:

NameType
objectNamestring

Returns: void


setOption

setOption(option: FontDialogOption, on?: undefined | false | true): void

Inherited from RNFontDialog.setOption

Parameters:

NameType
optionFontDialogOption
on?undefined | false | true

Returns: void


setOptions

setOptions(options: FontDialogOption): void

Inherited from RNFontDialog.setOptions

Parameters:

NameType
optionsFontDialogOption

Returns: void


setProperty

setProperty(name: string, value: QVariantType): boolean

Inherited from RNAction.setProperty

Parameters:

NameType
namestring
valueQVariantType

Returns: boolean


setProps

setProps(newProps: FontDialogProps, oldProps: FontDialogProps): void

Parameters:

NameType
newPropsFontDialogProps
oldPropsFontDialogProps

Returns: void


setResult

setResult(i: number): void

Inherited from RNDialog.setResult

Parameters:

NameType
inumber

Returns: void


setSizeGripEnabled

setSizeGripEnabled(enabled: boolean): void

Inherited from RNDialog.setSizeGripEnabled

Parameters:

NameType
enabledboolean

Returns: void


setStyleSheet

setStyleSheet(styleSheet: string): void

Inherited from void

Parameters:

NameType
styleSheetstring

Returns: void


setWindowFlag

setWindowFlag(windowType: WindowType, switchOn: boolean): void

Inherited from void

Parameters:

NameType
windowTypeWindowType
switchOnboolean

Returns: void


setWindowIcon

setWindowIcon(icon: QIcon): void

Inherited from void

Parameters:

NameType
iconQIcon

Returns: void


setWindowOpacity

setWindowOpacity(opacity: number): void

Inherited from void

Parameters:

NameType
opacitynumber

Returns: void


setWindowState

setWindowState(state: WindowState): void

Inherited from void

Parameters:

NameType
stateWindowState

Returns: void


setWindowTitle

setWindowTitle(title: string): void

Inherited from void

Parameters:

NameType
titlestring

Returns: void


show

show(): void

Inherited from void

Returns: void


showFullScreen

showFullScreen(): void

Inherited from void

Returns: void


showMaximized

showMaximized(): void

Inherited from void

Returns: void


showMinimized

showMinimized(): void

Inherited from void

Returns: void


showNormal

showNormal(): void

Inherited from void

Returns: void


size

size(): QSize

Inherited from void

Returns: QSize


styleSheet

styleSheet(): string

Inherited from void

Returns: string


testAttribute

testAttribute(attribute: WidgetAttribute): boolean

Inherited from void

Parameters:

NameType
attributeWidgetAttribute

Returns: boolean


testOption

testOption(option: FontDialogOption): boolean

Inherited from RNFontDialog.testOption

Parameters:

NameType
optionFontDialogOption

Returns: boolean


update

update(): void

Inherited from void

Returns: void


updateGeometry

updateGeometry(): void

Inherited from void

Returns: void


windowOpacity

windowOpacity(): number

Inherited from void

Returns: number


windowState

windowState(): number

Inherited from void

Returns: number


windowTitle

windowTitle(): string

Inherited from void

Returns: string

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/classes/rngridcolumn/index.html b/docs/api/classes/rngridcolumn/index.html new file mode 100644 index 00000000..67071b15 --- /dev/null +++ b/docs/api/classes/rngridcolumn/index.html @@ -0,0 +1,38 @@ + + + + + + + + + +RNGridColumn | React NodeGui + + + + + + + + + + + + + +
+

RNGridColumn

Hierarchy

  • Component

    RNGridColumn

Implements

  • RNComponent

Index

Constructors

Properties

Methods

Constructors

constructor

+ new RNGridColumn(): RNGridColumn

Inherited from RNGridColumn.constructor

Returns: RNGridColumn

Properties

Optional actualWidget

actualWidget? : NodeWidget‹any›


Optional columnIndex

columnIndex? : undefined | number


Optional latestProps

latestProps? : GridColumnProps


native

native: any

Overrides void


nodeChildren

nodeChildren: Set‹Component›

Inherited from RNAction.nodeChildren


Optional nodeParent

nodeParent? : Component

Inherited from RNAction.nodeParent


Optional parentRow

parentRow? : RNGridRow


Optional prevProps

prevProps? : GridColumnProps


Optional width

width? : undefined | number


Static tagName

tagName: string = "gridcolumn"

Methods

appendChild

appendChild(child: NodeWidget‹any›): void

Parameters:

NameType
childNodeWidget‹any›

Returns: void


appendInitialChild

appendInitialChild(child: NodeWidget‹any›): void

Parameters:

NameType
childNodeWidget‹any›

Returns: void


insertBefore

insertBefore(child: NodeWidget‹any›, beforeChild: NodeWidget‹any›): void

Parameters:

NameType
childNodeWidget‹any›
beforeChildNodeWidget‹any›

Returns: void


remove

remove(): void

Returns: void


removeChild

removeChild(child: NodeWidget‹any›): void

Parameters:

NameType
childNodeWidget‹any›

Returns: void


setNodeParent

setNodeParent(parent?: Component): void

Inherited from RNAction.setNodeParent

Parameters:

NameType
parent?Component

Returns: void


setParentRowAndUpdateProps

setParentRowAndUpdateProps(parentRow: RNGridRow, index: number): void

Parameters:

NameType
parentRowRNGridRow
indexnumber

Returns: void


setProps

setProps(newProps: GridColumnProps, oldProps: GridColumnProps): void

Parameters:

NameType
newPropsGridColumnProps
oldPropsGridColumnProps

Returns: void

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/classes/rngridrow/index.html b/docs/api/classes/rngridrow/index.html new file mode 100644 index 00000000..0c1ff37d --- /dev/null +++ b/docs/api/classes/rngridrow/index.html @@ -0,0 +1,38 @@ + + + + + + + + + +RNGridRow | React NodeGui + + + + + + + + + + + + + +
+

RNGridRow

Hierarchy

  • Component

    RNGridRow

Implements

  • RNComponent

Index

Constructors

Properties

Methods

Constructors

constructor

+ new RNGridRow(): RNGridRow

Inherited from RNGridColumn.constructor

Returns: RNGridRow

Properties

childColumns

childColumns: Array‹DataWithOffsetRNGridColumn›› = []


Optional height

height? : undefined | number


Optional latestProps

latestProps? : GridRowProps


native

native: any

Overrides void


nodeChildren

nodeChildren: Set‹Component›

Inherited from RNAction.nodeChildren


Optional nodeParent

nodeParent? : Component

Inherited from RNAction.nodeParent


Optional parentGrid

parentGrid? : RNGridView


Optional prevProps

prevProps? : GridRowProps


Optional rowIndex

rowIndex? : undefined | number


Static tagName

tagName: string = "gridrow"

Methods

appendChild

appendChild(child: RNGridColumn): void

Parameters:

NameType
childRNGridColumn

Returns: void


appendInitialChild

appendInitialChild(child: RNGridColumn): void

Parameters:

NameType
childRNGridColumn

Returns: void


insertBefore

insertBefore(child: RNGridColumn, beforeChild: RNGridColumn): void

Parameters:

NameType
childRNGridColumn
beforeChildRNGridColumn

Returns: void


remove

remove(): void

Returns: void


removeChild

removeChild(child: RNGridColumn): void

Parameters:

NameType
childRNGridColumn

Returns: void


setNodeParent

setNodeParent(parent?: Component): void

Inherited from RNAction.setNodeParent

Parameters:

NameType
parent?Component

Returns: void


setParentGridAndUpdateProps

setParentGridAndUpdateProps(parentGrid: RNGridView, index: number): void

Parameters:

NameType
parentGridRNGridView
indexnumber

Returns: void


setProps

setProps(newProps: GridRowProps, oldProps: GridRowProps): void

Parameters:

NameType
newPropsGridRowProps
oldPropsGridRowProps

Returns: void


updateChildren

updateChildren(startIndex: number): void

Parameters:

NameTypeDefault
startIndexnumber0

Returns: void

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/classes/rninputdialog/index.html b/docs/api/classes/rninputdialog/index.html new file mode 100644 index 00000000..0390facc --- /dev/null +++ b/docs/api/classes/rninputdialog/index.html @@ -0,0 +1,43 @@ + + + + + + + + + +RNInputDialog | React NodeGui + + + + + + + + + + + + + +
+

RNInputDialog

Hierarchy

  • QInputDialog

    RNInputDialog

Implements

  • RNWidget

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

+ new RNInputDialog(): RNInputDialog

Inherited from RNInputDialog.constructor

Overrides void

Returns: RNInputDialog

+ new RNInputDialog(parent: NodeWidget‹any›): RNInputDialog

Inherited from RNInputDialog.constructor

Overrides void

Parameters:

NameType
parentNodeWidget‹any›

Returns: RNInputDialog

Properties

Optional _layout

_layout? : NodeLayout‹QInputDialogSignals›

Inherited from void


_rawInlineStyle

_rawInlineStyle: string

Inherited from void


actions

actions: Set‹QAction›

Inherited from void


native

native: NativeElement

Inherited from RNInputDialog.native

Overrides void


nodeChildren

nodeChildren: Set‹Component›

Inherited from RNAction.nodeChildren


Optional nodeParent

nodeParent? : Component

Inherited from RNAction.nodeParent


type

type: string

Inherited from void


Static tagName

tagName: string = "input-dialog"

Accessors

layout

get layout(): NodeLayout‹QInputDialogSignals› | undefined

Inherited from void

Returns: NodeLayout‹QInputDialogSignals› | undefined

set layout(l: NodeLayout‹QInputDialogSignals› | undefined): any

Inherited from void

Parameters:

NameType
lNodeLayout‹QInputDialogSignals› | undefined

Returns: any

Methods

acceptDrops

acceptDrops(): boolean

Inherited from void

Returns: boolean


activateWindow

activateWindow(): void

Inherited from void

Returns: void


addAction

addAction(action: QAction | string): QAction

Inherited from void

Parameters:

NameType
actionQAction | string

Returns: QAction


addEventListener

addEventListenerSignalType›(signalType: SignalType, callback: QInputDialogSignals[SignalType]): void

Inherited from RNAction.addEventListener

Type parameters:

SignalType: keyof QInputDialogSignals

Parameters:

NameTypeDescription
signalTypeSignalTypeSignalType is a signal from the widgets signals interface.
callbackQInputDialogSignals[SignalType]Corresponding callback for the signal as mentioned in the widget's signal interface

Returns: void

void

For example in the case of QPushButton:

const button = new QPushButton();
button.addEventListener('clicked',(checked)=>console.log("clicked"));
// here clicked is a value from QPushButtonSignals interface

addEventListener(eventType: WidgetEventTypes, callback: function): void

Inherited from RNAction.addEventListener

Parameters:

eventType: WidgetEventTypes

callback: function

For example in the case of QPushButton:

const button = new QPushButton();
button.addEventListener(WidgetEventTypes.HoverEnter,()=>console.log("hovered"));

▸ (event?: NativeRawPointer‹"QEvent"›): void

Parameters:

NameType
event?NativeRawPointer‹"QEvent"›

Returns: void


adjustSize

adjustSize(): void

Inherited from void

Returns: void


appendChild

appendChild(child: NodeWidget‹any›): void

Parameters:

NameType
childNodeWidget‹any›

Returns: void


appendInitialChild

appendInitialChild(child: NodeWidget‹any›): void

Parameters:

NameType
childNodeWidget‹any›

Returns: void


cancelButtonText

cancelButtonText(): string

Inherited from RNInputDialog.cancelButtonText

Returns: string


clearFocus

clearFocus(): void

Inherited from void

Returns: void


close

close(): boolean

Inherited from void

Returns: boolean


doubleDecimals

doubleDecimals(): number

Inherited from RNInputDialog.doubleDecimals

Returns: number


doubleMaximum

doubleMaximum(): number

Inherited from RNInputDialog.doubleMaximum

Returns: number


doubleMinimum

doubleMinimum(): number

Inherited from RNInputDialog.doubleMinimum

Returns: number


doubleStep

doubleStep(): number

Inherited from RNInputDialog.doubleStep

Returns: number


doubleValue

doubleValue(): number

Inherited from RNInputDialog.doubleValue

Returns: number


eventProcessed

eventProcessed(): boolean

Inherited from RNAction.eventProcessed

Get the state of the event processed flag

See setEventProcessed().

Returns: boolean

boolean True if the current event is flagged as processed.


exec

exec(): DialogCode

Inherited from RNDialog.exec

Returns: DialogCode


font

font(): QFont

Inherited from void

Returns: QFont


geometry

geometry(): QRect

Inherited from void

Returns: QRect


getFlexNode

getFlexNode(): FlexNode

Inherited from void

Returns: FlexNode


hasMouseTracking

hasMouseTracking(): boolean

Inherited from void

Returns: boolean


hide

hide(): void

Inherited from void

Returns: void


inherits

inherits(className: string): boolean

Inherited from RNAction.inherits

Parameters:

NameType
classNamestring

Returns: boolean


inputMode

inputMode(): InputMode

Inherited from RNInputDialog.inputMode

Returns: InputMode


insertBefore

insertBefore(child: NodeWidget‹any›, beforeChild: NodeWidget‹any›): void

Parameters:

NameType
childNodeWidget‹any›
beforeChildNodeWidget‹any›

Returns: void


intMaximum

intMaximum(): number

Inherited from RNInputDialog.intMaximum

Returns: number


intMinimum

intMinimum(): number

Inherited from RNInputDialog.intMinimum

Returns: number


intStep

intStep(): number

Inherited from RNInputDialog.intStep

Returns: number


intValue

intValue(): number

Inherited from RNInputDialog.intValue

Returns: number


isActiveWindow

isActiveWindow(): boolean

Inherited from void

Returns: boolean


isComboBoxEditable

isComboBoxEditable(): boolean

Inherited from RNInputDialog.isComboBoxEditable

Returns: boolean


isEnabled

isEnabled(): boolean

Inherited from void

Returns: boolean


isSizeGripEnabled

isSizeGripEnabled(): boolean

Inherited from RNDialog.isSizeGripEnabled

Returns: boolean


isVisible

isVisible(): boolean

Inherited from void

Returns: boolean


labelText

labelText(): string

Inherited from RNInputDialog.labelText

Returns: string


lower

lower(): void

Inherited from void

Returns: void


mapFromGlobal

mapFromGlobal(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


mapFromParent

mapFromParent(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


mapToGlobal

mapToGlobal(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


mapToParent

mapToParent(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


maximumSize

maximumSize(): QSize

Inherited from void

Returns: QSize


minimumSize

minimumSize(): QSize

Inherited from void

Returns: QSize


move

move(x: number, y: number): void

Inherited from void

Parameters:

NameType
xnumber
ynumber

Returns: void


objectName

objectName(): string

Inherited from RNAction.objectName

Returns: string


okButtonText

okButtonText(): string

Inherited from RNInputDialog.okButtonText

Returns: string


open

open(): void

Inherited from RNDialog.open

Returns: void


options

options(): InputDialogOptions

Inherited from RNInputDialog.options

Returns: InputDialogOptions


pos

pos(): object

Inherited from void

Returns: object

  • x: number

  • y: number


property

property(name: string): QVariant

Inherited from RNAction.property

Parameters:

NameType
namestring

Returns: QVariant


raise

raise(): void

Inherited from void

Returns: void


reject

reject(): void

Inherited from RNDialog.reject

Returns: void


removeAction

removeAction(action: QAction): void

Inherited from void

Parameters:

NameType
actionQAction

Returns: void


removeChild

removeChild(child: NodeWidget‹any›): void

Parameters:

NameType
childNodeWidget‹any›

Returns: void


removeEventListener

removeEventListenerSignalType›(signalType: SignalType, callback: QInputDialogSignals[SignalType]): void

Inherited from RNAction.removeEventListener

Type parameters:

SignalType: keyof QInputDialogSignals

Parameters:

NameType
signalTypeSignalType
callbackQInputDialogSignals[SignalType]

Returns: void

removeEventListener(eventType: WidgetEventTypes, callback: function): void

Inherited from RNAction.removeEventListener

Parameters:

eventType: WidgetEventTypes

callback: function

▸ (event?: NativeRawPointer‹"QEvent"›): void

Parameters:

NameType
event?NativeRawPointer‹"QEvent"›

Returns: void


repaint

repaint(): void

Inherited from void

Returns: void


repolish

repolish(): void

Inherited from void

Returns: void


resize

resize(width: number, height: number): void

Inherited from void

Parameters:

NameType
widthnumber
heightnumber

Returns: void


result

result(): number

Inherited from RNDialog.result

Returns: number


setAcceptDrops

setAcceptDrops(on: boolean): void

Inherited from void

Parameters:

NameType
onboolean

Returns: void


setAttribute

setAttribute(attribute: WidgetAttribute, switchOn: boolean): void

Inherited from void

Parameters:

NameType
attributeWidgetAttribute
switchOnboolean

Returns: void


setCancelButtonText

setCancelButtonText(text: string): void

Inherited from RNInputDialog.setCancelButtonText

Parameters:

NameType
textstring

Returns: void


setComboBoxEditable

setComboBoxEditable(editable: boolean): void

Inherited from RNInputDialog.setComboBoxEditable

Parameters:

NameType
editableboolean

Returns: void


setContextMenuPolicy

setContextMenuPolicy(contextMenuPolicy: ContextMenuPolicy): void

Inherited from void

Parameters:

NameType
contextMenuPolicyContextMenuPolicy

Returns: void


setCursor

setCursor(cursor: CursorShape | QCursor): void

Inherited from void

Parameters:

NameType
cursorCursorShape | QCursor

Returns: void


setDoubleDecimals

setDoubleDecimals(decimals: number): void

Inherited from RNInputDialog.setDoubleDecimals

Parameters:

NameType
decimalsnumber

Returns: void


setDoubleMaximum

setDoubleMaximum(value: number): void

Inherited from RNInputDialog.setDoubleMaximum

Parameters:

NameType
valuenumber

Returns: void


setDoubleMinimum

setDoubleMinimum(value: number): void

Inherited from RNInputDialog.setDoubleMinimum

Parameters:

NameType
valuenumber

Returns: void


setDoubleStep

setDoubleStep(value: number): void

Inherited from RNInputDialog.setDoubleStep

Parameters:

NameType
valuenumber

Returns: void


setDoubleValue

setDoubleValue(value: number): void

Inherited from RNInputDialog.setDoubleValue

Parameters:

NameType
valuenumber

Returns: void


setEnabled

setEnabled(enabled: boolean): void

Inherited from void

Parameters:

NameType
enabledboolean

Returns: void


setEventProcessed

setEventProcessed(isProcessed: boolean): void

Inherited from RNAction.setEventProcessed

Mark the current event as having been processed

This method is used to indicate that the currently dispatched event +has been processed and no further processing by superclasses is +required. It only makes sense to call this method from an event +handler.

When set, this flag will cause NodeGui's QObject::event() method to +return true and not call the superclass event(), effectively preventing +any further processing on this event.

Parameters:

NameTypeDescription
isProcessedbooleantrue if the event has been processed.

Returns: void


setFixedSize

setFixedSize(width: number, height: number): void

Inherited from void

Parameters:

NameType
widthnumber
heightnumber

Returns: void


setFlexNodeSizeControlled

setFlexNodeSizeControlled(isSizeControlled: boolean): void

Inherited from void

sets whether the widget's size is controlled by someone else (for example a window's size is controlled by its frame when dragged).

Parameters:

NameTypeDescription
isSizeControlledboolean

Returns: void


setFocus

setFocus(reason?: FocusReason): void

Inherited from void

Parameters:

NameType
reason?FocusReason

Returns: void


setFocusPolicy

setFocusPolicy(policy: FocusPolicy): void

Inherited from void

Parameters:

NameType
policyFocusPolicy

Returns: void


setFont

setFont(font: QFont): void

Inherited from void

Parameters:

NameType
fontQFont

Returns: void


setGeometry

setGeometry(x: number, y: number, w: number, h: number): void

Inherited from void

Parameters:

NameType
xnumber
ynumber
wnumber
hnumber

Returns: void


setGraphicsEffect

setGraphicsEffect(effect: QGraphicsEffect‹any›): void

Inherited from void

Parameters:

NameType
effectQGraphicsEffect‹any›

Returns: void


setInlineStyle

setInlineStyle(style: string): void

Inherited from void

Parameters:

NameType
stylestring

Returns: void


setInputMode

setInputMode(value: InputMode): void

Inherited from RNInputDialog.setInputMode

Parameters:

NameType
valueInputMode

Returns: void


setIntMaximum

setIntMaximum(value: number): void

Inherited from RNInputDialog.setIntMaximum

Parameters:

NameType
valuenumber

Returns: void


setIntMinimum

setIntMinimum(value: number): void

Inherited from RNInputDialog.setIntMinimum

Parameters:

NameType
valuenumber

Returns: void


setIntStep

setIntStep(value: number): void

Inherited from RNInputDialog.setIntStep

Parameters:

NameType
valuenumber

Returns: void


setIntValue

setIntValue(value: number): void

Inherited from RNInputDialog.setIntValue

Parameters:

NameType
valuenumber

Returns: void


setLabelText

setLabelText(value: string): void

Inherited from RNInputDialog.setLabelText

Parameters:

NameType
valuestring

Returns: void


setLayout

setLayout(parentLayout: NodeLayout‹QInputDialogSignals›): void

Inherited from void

Parameters:

NameType
parentLayoutNodeLayout‹QInputDialogSignals›

Returns: void


setMaximumSize

setMaximumSize(maxw: number, maxh: number): void

Inherited from void

Parameters:

NameType
maxwnumber
maxhnumber

Returns: void


setMinimumSize

setMinimumSize(minw: number, minh: number): void

Inherited from void

Parameters:

NameType
minwnumber
minhnumber

Returns: void


setModal

setModal(modal: boolean): void

Inherited from RNDialog.setModal

Parameters:

NameType
modalboolean

Returns: void


setMouseTracking

setMouseTracking(isMouseTracked: boolean): void

Inherited from void

Parameters:

NameType
isMouseTrackedboolean

Returns: void


setNodeParent

setNodeParent(parent?: Component): void

Inherited from RNAction.setNodeParent

Parameters:

NameType
parent?Component

Returns: void


setObjectName

setObjectName(objectName: string): void

Inherited from void

Overrides RNAction.setObjectName

Parameters:

NameType
objectNamestring

Returns: void


setOkButtonText

setOkButtonText(value: string): void

Inherited from RNInputDialog.setOkButtonText

Parameters:

NameType
valuestring

Returns: void


setOptions

setOptions(value: InputDialogOptions): void

Inherited from RNInputDialog.setOptions

Parameters:

NameType
valueInputDialogOptions

Returns: void


setProperty

setProperty(name: string, value: QVariantType): boolean

Inherited from RNAction.setProperty

Parameters:

NameType
namestring
valueQVariantType

Returns: boolean


setProps

setProps(newProps: InputDialogProps, oldProps: InputDialogProps): void

Parameters:

NameType
newPropsInputDialogProps
oldPropsInputDialogProps

Returns: void


setResult

setResult(i: number): void

Inherited from RNDialog.setResult

Parameters:

NameType
inumber

Returns: void


setSizeGripEnabled

setSizeGripEnabled(enabled: boolean): void

Inherited from RNDialog.setSizeGripEnabled

Parameters:

NameType
enabledboolean

Returns: void


setStyleSheet

setStyleSheet(styleSheet: string): void

Inherited from void

Parameters:

NameType
styleSheetstring

Returns: void


setTextEchoMode

setTextEchoMode(value: EchoMode): void

Inherited from RNInputDialog.setTextEchoMode

Parameters:

NameType
valueEchoMode

Returns: void


setTextValue

setTextValue(value: string): void

Inherited from RNInputDialog.setTextValue

Parameters:

NameType
valuestring

Returns: void


setWindowFlag

setWindowFlag(windowType: WindowType, switchOn: boolean): void

Inherited from void

Parameters:

NameType
windowTypeWindowType
switchOnboolean

Returns: void


setWindowIcon

setWindowIcon(icon: QIcon): void

Inherited from void

Parameters:

NameType
iconQIcon

Returns: void


setWindowOpacity

setWindowOpacity(opacity: number): void

Inherited from void

Parameters:

NameType
opacitynumber

Returns: void


setWindowState

setWindowState(state: WindowState): void

Inherited from void

Parameters:

NameType
stateWindowState

Returns: void


setWindowTitle

setWindowTitle(title: string): void

Inherited from void

Parameters:

NameType
titlestring

Returns: void


show

show(): void

Inherited from void

Returns: void


showFullScreen

showFullScreen(): void

Inherited from void

Returns: void


showMaximized

showMaximized(): void

Inherited from void

Returns: void


showMinimized

showMinimized(): void

Inherited from void

Returns: void


showNormal

showNormal(): void

Inherited from void

Returns: void


size

size(): QSize

Inherited from void

Returns: QSize


styleSheet

styleSheet(): string

Inherited from void

Returns: string


testAttribute

testAttribute(attribute: WidgetAttribute): boolean

Inherited from void

Parameters:

NameType
attributeWidgetAttribute

Returns: boolean


textEchoMode

textEchoMode(): EchoMode

Inherited from RNInputDialog.textEchoMode

Returns: EchoMode


textValue

textValue(): string

Inherited from RNInputDialog.textValue

Returns: string


update

update(): void

Inherited from void

Returns: void


updateGeometry

updateGeometry(): void

Inherited from void

Returns: void


windowOpacity

windowOpacity(): number

Inherited from void

Returns: number


windowState

windowState(): number

Inherited from void

Returns: number


windowTitle

windowTitle(): string

Inherited from void

Returns: string

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/classes/rnmenu/index.html b/docs/api/classes/rnmenu/index.html new file mode 100644 index 00000000..96a04280 --- /dev/null +++ b/docs/api/classes/rnmenu/index.html @@ -0,0 +1,43 @@ + + + + + + + + + +RNMenu | React NodeGui + + + + + + + + + + + + + +
+

RNMenu

Hierarchy

  • QMenu

    RNMenu

Implements

  • RNWidget

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

+ new RNMenu(): RNMenu

Inherited from RNMenu.constructor

Overrides void

Returns: RNMenu

+ new RNMenu(parent: NodeWidget‹any›): RNMenu

Inherited from RNMenu.constructor

Overrides void

Parameters:

NameType
parentNodeWidget‹any›

Returns: RNMenu

Properties

Optional _layout

_layout? : NodeLayout‹QMenuSignals›

Inherited from void


_rawInlineStyle

_rawInlineStyle: string

Inherited from void


actions

actions: Set‹QAction›

Inherited from void


native

native: NativeElement

Inherited from RNMenu.native

Overrides void


nodeChildren

nodeChildren: Set‹Component›

Inherited from RNAction.nodeChildren


Optional nodeParent

nodeParent? : Component

Inherited from RNAction.nodeParent


type

type: string

Inherited from void


Static tagName

tagName: string = "menu"

Accessors

layout

get layout(): NodeLayout‹QMenuSignals› | undefined

Inherited from void

Returns: NodeLayout‹QMenuSignals› | undefined

set layout(l: NodeLayout‹QMenuSignals› | undefined): any

Inherited from void

Parameters:

NameType
lNodeLayout‹QMenuSignals› | undefined

Returns: any

Methods

acceptDrops

acceptDrops(): boolean

Inherited from void

Returns: boolean


activateWindow

activateWindow(): void

Inherited from void

Returns: void


addAction

addAction(action: QAction | string): QAction

Inherited from void

Parameters:

NameType
actionQAction | string

Returns: QAction


addEventListener

addEventListenerSignalType›(signalType: SignalType, callback: QMenuSignals[SignalType]): void

Inherited from RNAction.addEventListener

Type parameters:

SignalType: keyof QMenuSignals

Parameters:

NameTypeDescription
signalTypeSignalTypeSignalType is a signal from the widgets signals interface.
callbackQMenuSignals[SignalType]Corresponding callback for the signal as mentioned in the widget's signal interface

Returns: void

void

For example in the case of QPushButton:

const button = new QPushButton();
button.addEventListener('clicked',(checked)=>console.log("clicked"));
// here clicked is a value from QPushButtonSignals interface

addEventListener(eventType: WidgetEventTypes, callback: function): void

Inherited from RNAction.addEventListener

Parameters:

eventType: WidgetEventTypes

callback: function

For example in the case of QPushButton:

const button = new QPushButton();
button.addEventListener(WidgetEventTypes.HoverEnter,()=>console.log("hovered"));

▸ (event?: NativeRawPointer‹"QEvent"›): void

Parameters:

NameType
event?NativeRawPointer‹"QEvent"›

Returns: void


addSeparator

addSeparator(): QAction

Inherited from RNMenu.addSeparator

Returns: QAction


adjustSize

adjustSize(): void

Inherited from void

Returns: void


appendChild

appendChild(child: Component): void

Parameters:

NameType
childComponent

Returns: void


appendInitialChild

appendInitialChild(child: Component): void

Parameters:

NameType
childComponent

Returns: void


clear

clear(): void

Inherited from RNMenu.clear

Returns: void


clearFocus

clearFocus(): void

Inherited from void

Returns: void


close

close(): boolean

Inherited from void

Returns: boolean


eventProcessed

eventProcessed(): boolean

Inherited from RNAction.eventProcessed

Get the state of the event processed flag

See setEventProcessed().

Returns: boolean

boolean True if the current event is flagged as processed.


exec

exec(point?: QPoint, action?: QAction | null): void

Inherited from RNMenu.exec

Parameters:

NameType
point?QPoint
action?QAction | null

Returns: void


font

font(): QFont

Inherited from void

Returns: QFont


geometry

geometry(): QRect

Inherited from void

Returns: QRect


getFlexNode

getFlexNode(): FlexNode

Inherited from void

Returns: FlexNode


hasMouseTracking

hasMouseTracking(): boolean

Inherited from void

Returns: boolean


hide

hide(): void

Inherited from void

Returns: void


inherits

inherits(className: string): boolean

Inherited from RNAction.inherits

Parameters:

NameType
classNamestring

Returns: boolean


insertBefore

insertBefore(child: Component, beforeChild: Component): void

Parameters:

NameType
childComponent
beforeChildComponent

Returns: void


isActiveWindow

isActiveWindow(): boolean

Inherited from void

Returns: boolean


isEnabled

isEnabled(): boolean

Inherited from void

Returns: boolean


isVisible

isVisible(): boolean

Inherited from void

Returns: boolean


lower

lower(): void

Inherited from void

Returns: void


mapFromGlobal

mapFromGlobal(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


mapFromParent

mapFromParent(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


mapToGlobal

mapToGlobal(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


mapToParent

mapToParent(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


maximumSize

maximumSize(): QSize

Inherited from void

Returns: QSize


minimumSize

minimumSize(): QSize

Inherited from void

Returns: QSize


move

move(x: number, y: number): void

Inherited from void

Parameters:

NameType
xnumber
ynumber

Returns: void


objectName

objectName(): string

Inherited from RNAction.objectName

Returns: string


popup

popup(point: QPoint, action?: QAction): void

Inherited from RNMenu.popup

Parameters:

NameType
pointQPoint
action?QAction

Returns: void


pos

pos(): object

Inherited from void

Returns: object

  • x: number

  • y: number


property

property(name: string): QVariant

Inherited from RNAction.property

Parameters:

NameType
namestring

Returns: QVariant


raise

raise(): void

Inherited from void

Returns: void


removeAction

removeAction(action: QAction): void

Inherited from void

Parameters:

NameType
actionQAction

Returns: void


removeChild

removeChild(child: Component): void

Parameters:

NameType
childComponent

Returns: void


removeEventListener

removeEventListenerSignalType›(signalType: SignalType, callback: QMenuSignals[SignalType]): void

Inherited from RNAction.removeEventListener

Type parameters:

SignalType: keyof QMenuSignals

Parameters:

NameType
signalTypeSignalType
callbackQMenuSignals[SignalType]

Returns: void

removeEventListener(eventType: WidgetEventTypes, callback: function): void

Inherited from RNAction.removeEventListener

Parameters:

eventType: WidgetEventTypes

callback: function

▸ (event?: NativeRawPointer‹"QEvent"›): void

Parameters:

NameType
event?NativeRawPointer‹"QEvent"›

Returns: void


repaint

repaint(): void

Inherited from void

Returns: void


repolish

repolish(): void

Inherited from void

Returns: void


resize

resize(width: number, height: number): void

Inherited from void

Parameters:

NameType
widthnumber
heightnumber

Returns: void


setAcceptDrops

setAcceptDrops(on: boolean): void

Inherited from void

Parameters:

NameType
onboolean

Returns: void


setAttribute

setAttribute(attribute: WidgetAttribute, switchOn: boolean): void

Inherited from void

Parameters:

NameType
attributeWidgetAttribute
switchOnboolean

Returns: void


setContextMenuPolicy

setContextMenuPolicy(contextMenuPolicy: ContextMenuPolicy): void

Inherited from void

Parameters:

NameType
contextMenuPolicyContextMenuPolicy

Returns: void


setCursor

setCursor(cursor: CursorShape | QCursor): void

Inherited from void

Parameters:

NameType
cursorCursorShape | QCursor

Returns: void


setEnabled

setEnabled(enabled: boolean): void

Inherited from void

Parameters:

NameType
enabledboolean

Returns: void


setEventProcessed

setEventProcessed(isProcessed: boolean): void

Inherited from RNAction.setEventProcessed

Mark the current event as having been processed

This method is used to indicate that the currently dispatched event +has been processed and no further processing by superclasses is +required. It only makes sense to call this method from an event +handler.

When set, this flag will cause NodeGui's QObject::event() method to +return true and not call the superclass event(), effectively preventing +any further processing on this event.

Parameters:

NameTypeDescription
isProcessedbooleantrue if the event has been processed.

Returns: void


setFixedSize

setFixedSize(width: number, height: number): void

Inherited from void

Parameters:

NameType
widthnumber
heightnumber

Returns: void


setFlexNodeSizeControlled

setFlexNodeSizeControlled(isSizeControlled: boolean): void

Inherited from void

sets whether the widget's size is controlled by someone else (for example a window's size is controlled by its frame when dragged).

Parameters:

NameTypeDescription
isSizeControlledboolean

Returns: void


setFocus

setFocus(reason?: FocusReason): void

Inherited from void

Parameters:

NameType
reason?FocusReason

Returns: void


setFocusPolicy

setFocusPolicy(policy: FocusPolicy): void

Inherited from void

Parameters:

NameType
policyFocusPolicy

Returns: void


setFont

setFont(font: QFont): void

Inherited from void

Parameters:

NameType
fontQFont

Returns: void


setGeometry

setGeometry(x: number, y: number, w: number, h: number): void

Inherited from void

Parameters:

NameType
xnumber
ynumber
wnumber
hnumber

Returns: void


setGraphicsEffect

setGraphicsEffect(effect: QGraphicsEffect‹any›): void

Inherited from void

Parameters:

NameType
effectQGraphicsEffect‹any›

Returns: void


setInlineStyle

setInlineStyle(style: string): void

Inherited from void

Parameters:

NameType
stylestring

Returns: void


setLayout

setLayout(parentLayout: NodeLayout‹QMenuSignals›): void

Inherited from void

Parameters:

NameType
parentLayoutNodeLayout‹QMenuSignals›

Returns: void


setMaximumSize

setMaximumSize(maxw: number, maxh: number): void

Inherited from void

Parameters:

NameType
maxwnumber
maxhnumber

Returns: void


setMinimumSize

setMinimumSize(minw: number, minh: number): void

Inherited from void

Parameters:

NameType
minwnumber
minhnumber

Returns: void


setMouseTracking

setMouseTracking(isMouseTracked: boolean): void

Inherited from void

Parameters:

NameType
isMouseTrackedboolean

Returns: void


setNodeParent

setNodeParent(parent?: Component): void

Inherited from RNAction.setNodeParent

Parameters:

NameType
parent?Component

Returns: void


setObjectName

setObjectName(objectName: string): void

Inherited from void

Overrides RNAction.setObjectName

Parameters:

NameType
objectNamestring

Returns: void


setProperty

setProperty(name: string, value: QVariantType): boolean

Inherited from RNAction.setProperty

Parameters:

NameType
namestring
valueQVariantType

Returns: boolean


setProps

setProps(newProps: MenuProps, oldProps: MenuProps): void

Parameters:

NameType
newPropsMenuProps
oldPropsMenuProps

Returns: void


setStyleSheet

setStyleSheet(styleSheet: string): void

Inherited from void

Parameters:

NameType
styleSheetstring

Returns: void


setTitle

setTitle(title: string): void

Inherited from RNMenu.setTitle

Parameters:

NameType
titlestring

Returns: void


setWindowFlag

setWindowFlag(windowType: WindowType, switchOn: boolean): void

Inherited from void

Parameters:

NameType
windowTypeWindowType
switchOnboolean

Returns: void


setWindowIcon

setWindowIcon(icon: QIcon): void

Inherited from void

Parameters:

NameType
iconQIcon

Returns: void


setWindowOpacity

setWindowOpacity(opacity: number): void

Inherited from void

Parameters:

NameType
opacitynumber

Returns: void


setWindowState

setWindowState(state: WindowState): void

Inherited from void

Parameters:

NameType
stateWindowState

Returns: void


setWindowTitle

setWindowTitle(title: string): void

Inherited from void

Parameters:

NameType
titlestring

Returns: void


show

show(): void

Inherited from void

Returns: void


showFullScreen

showFullScreen(): void

Inherited from void

Returns: void


showMaximized

showMaximized(): void

Inherited from void

Returns: void


showMinimized

showMinimized(): void

Inherited from void

Returns: void


showNormal

showNormal(): void

Inherited from void

Returns: void


size

size(): QSize

Inherited from void

Returns: QSize


styleSheet

styleSheet(): string

Inherited from void

Returns: string


testAttribute

testAttribute(attribute: WidgetAttribute): boolean

Inherited from void

Parameters:

NameType
attributeWidgetAttribute

Returns: boolean


update

update(): void

Inherited from void

Returns: void


updateGeometry

updateGeometry(): void

Inherited from void

Returns: void


windowOpacity

windowOpacity(): number

Inherited from void

Returns: number


windowState

windowState(): number

Inherited from void

Returns: number


windowTitle

windowTitle(): string

Inherited from void

Returns: string

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/classes/rnmenubar/index.html b/docs/api/classes/rnmenubar/index.html new file mode 100644 index 00000000..f0a06247 --- /dev/null +++ b/docs/api/classes/rnmenubar/index.html @@ -0,0 +1,43 @@ + + + + + + + + + +RNMenuBar | React NodeGui + + + + + + + + + + + + + +
+

RNMenuBar

Hierarchy

  • QMenuBar

    RNMenuBar

Implements

  • RNWidget

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

+ new RNMenuBar(): RNMenuBar

Inherited from RNMenuBar.constructor

Overrides void

Returns: RNMenuBar

+ new RNMenuBar(parent: NodeWidget‹any›): RNMenuBar

Inherited from RNMenuBar.constructor

Overrides void

Parameters:

NameType
parentNodeWidget‹any›

Returns: RNMenuBar

+ new RNMenuBar(native: NativeElement): RNMenuBar

Inherited from RNMenuBar.constructor

Overrides void

Parameters:

NameType
nativeNativeElement

Returns: RNMenuBar

Properties

Optional _layout

_layout? : NodeLayout‹QMenuBarSignals›

Inherited from void


_menus

_menus: Set‹QMenu›

Inherited from RNMenuBar._menus


_rawInlineStyle

_rawInlineStyle: string

Inherited from void


actions

actions: Set‹QAction›

Inherited from void


native

native: NativeElement

Inherited from RNMenuBar.native

Overrides void


nodeChildren

nodeChildren: Set‹Component›

Inherited from RNAction.nodeChildren


Optional nodeParent

nodeParent? : Component

Inherited from RNAction.nodeParent


type

type: string

Inherited from void


Static tagName

tagName: string = "menubar"

Accessors

layout

get layout(): NodeLayout‹QMenuBarSignals› | undefined

Inherited from void

Returns: NodeLayout‹QMenuBarSignals› | undefined

set layout(l: NodeLayout‹QMenuBarSignals› | undefined): any

Inherited from void

Parameters:

NameType
lNodeLayout‹QMenuBarSignals› | undefined

Returns: any

Methods

acceptDrops

acceptDrops(): boolean

Inherited from void

Returns: boolean


activateWindow

activateWindow(): void

Inherited from void

Returns: void


addAction

addAction(action: QAction | string): QAction

Inherited from void

Parameters:

NameType
actionQAction | string

Returns: QAction


addEventListener

addEventListenerSignalType›(signalType: SignalType, callback: QMenuBarSignals[SignalType]): void

Inherited from RNAction.addEventListener

Type parameters:

SignalType: keyof QMenuBarSignals

Parameters:

NameTypeDescription
signalTypeSignalTypeSignalType is a signal from the widgets signals interface.
callbackQMenuBarSignals[SignalType]Corresponding callback for the signal as mentioned in the widget's signal interface

Returns: void

void

For example in the case of QPushButton:

const button = new QPushButton();
button.addEventListener('clicked',(checked)=>console.log("clicked"));
// here clicked is a value from QPushButtonSignals interface

addEventListener(eventType: WidgetEventTypes, callback: function): void

Inherited from RNAction.addEventListener

Parameters:

eventType: WidgetEventTypes

callback: function

For example in the case of QPushButton:

const button = new QPushButton();
button.addEventListener(WidgetEventTypes.HoverEnter,()=>console.log("hovered"));

▸ (event?: NativeRawPointer‹"QEvent"›): void

Parameters:

NameType
event?NativeRawPointer‹"QEvent"›

Returns: void


addMenu

addMenu(menu: QMenu | string): QMenu

Inherited from RNMenuBar.addMenu

Parameters:

NameType
menuQMenu | string

Returns: QMenu


addSeparator

addSeparator(): QAction

Inherited from RNMenuBar.addSeparator

Returns: QAction


adjustSize

adjustSize(): void

Inherited from void

Returns: void


appendChild

appendChild(child: QMenu): void

Parameters:

NameType
childQMenu

Returns: void


appendInitialChild

appendInitialChild(child: QMenu): void

Parameters:

NameType
childQMenu

Returns: void


clearFocus

clearFocus(): void

Inherited from void

Returns: void


close

close(): boolean

Inherited from void

Returns: boolean


eventProcessed

eventProcessed(): boolean

Inherited from RNAction.eventProcessed

Get the state of the event processed flag

See setEventProcessed().

Returns: boolean

boolean True if the current event is flagged as processed.


font

font(): QFont

Inherited from void

Returns: QFont


geometry

geometry(): QRect

Inherited from void

Returns: QRect


getFlexNode

getFlexNode(): FlexNode

Inherited from void

Returns: FlexNode


hasMouseTracking

hasMouseTracking(): boolean

Inherited from void

Returns: boolean


hide

hide(): void

Inherited from void

Returns: void


inherits

inherits(className: string): boolean

Inherited from RNAction.inherits

Parameters:

NameType
classNamestring

Returns: boolean


insertBefore

insertBefore(child: NodeWidget‹any›, beforeChild: NodeWidget‹any›): void

Parameters:

NameType
childNodeWidget‹any›
beforeChildNodeWidget‹any›

Returns: void


isActiveWindow

isActiveWindow(): boolean

Inherited from void

Returns: boolean


isEnabled

isEnabled(): boolean

Inherited from void

Returns: boolean


isVisible

isVisible(): boolean

Inherited from void

Returns: boolean


lower

lower(): void

Inherited from void

Returns: void


mapFromGlobal

mapFromGlobal(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


mapFromParent

mapFromParent(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


mapToGlobal

mapToGlobal(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


mapToParent

mapToParent(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


maximumSize

maximumSize(): QSize

Inherited from void

Returns: QSize


minimumSize

minimumSize(): QSize

Inherited from void

Returns: QSize


move

move(x: number, y: number): void

Inherited from void

Parameters:

NameType
xnumber
ynumber

Returns: void


objectName

objectName(): string

Inherited from RNAction.objectName

Returns: string


pos

pos(): object

Inherited from void

Returns: object

  • x: number

  • y: number


property

property(name: string): QVariant

Inherited from RNAction.property

Parameters:

NameType
namestring

Returns: QVariant


raise

raise(): void

Inherited from void

Returns: void


removeAction

removeAction(action: QAction): void

Inherited from void

Parameters:

NameType
actionQAction

Returns: void


removeChild

removeChild(child: NodeWidget‹any›): void

Parameters:

NameType
childNodeWidget‹any›

Returns: void


removeEventListener

removeEventListenerSignalType›(signalType: SignalType, callback: QMenuBarSignals[SignalType]): void

Inherited from RNAction.removeEventListener

Type parameters:

SignalType: keyof QMenuBarSignals

Parameters:

NameType
signalTypeSignalType
callbackQMenuBarSignals[SignalType]

Returns: void

removeEventListener(eventType: WidgetEventTypes, callback: function): void

Inherited from RNAction.removeEventListener

Parameters:

eventType: WidgetEventTypes

callback: function

▸ (event?: NativeRawPointer‹"QEvent"›): void

Parameters:

NameType
event?NativeRawPointer‹"QEvent"›

Returns: void


repaint

repaint(): void

Inherited from void

Returns: void


repolish

repolish(): void

Inherited from void

Returns: void


resize

resize(width: number, height: number): void

Inherited from void

Parameters:

NameType
widthnumber
heightnumber

Returns: void


setAcceptDrops

setAcceptDrops(on: boolean): void

Inherited from void

Parameters:

NameType
onboolean

Returns: void


setAttribute

setAttribute(attribute: WidgetAttribute, switchOn: boolean): void

Inherited from void

Parameters:

NameType
attributeWidgetAttribute
switchOnboolean

Returns: void


setContextMenuPolicy

setContextMenuPolicy(contextMenuPolicy: ContextMenuPolicy): void

Inherited from void

Parameters:

NameType
contextMenuPolicyContextMenuPolicy

Returns: void


setCursor

setCursor(cursor: CursorShape | QCursor): void

Inherited from void

Parameters:

NameType
cursorCursorShape | QCursor

Returns: void


setEnabled

setEnabled(enabled: boolean): void

Inherited from void

Parameters:

NameType
enabledboolean

Returns: void


setEventProcessed

setEventProcessed(isProcessed: boolean): void

Inherited from RNAction.setEventProcessed

Mark the current event as having been processed

This method is used to indicate that the currently dispatched event +has been processed and no further processing by superclasses is +required. It only makes sense to call this method from an event +handler.

When set, this flag will cause NodeGui's QObject::event() method to +return true and not call the superclass event(), effectively preventing +any further processing on this event.

Parameters:

NameTypeDescription
isProcessedbooleantrue if the event has been processed.

Returns: void


setFixedSize

setFixedSize(width: number, height: number): void

Inherited from void

Parameters:

NameType
widthnumber
heightnumber

Returns: void


setFlexNodeSizeControlled

setFlexNodeSizeControlled(isSizeControlled: boolean): void

Inherited from void

sets whether the widget's size is controlled by someone else (for example a window's size is controlled by its frame when dragged).

Parameters:

NameTypeDescription
isSizeControlledboolean

Returns: void


setFocus

setFocus(reason?: FocusReason): void

Inherited from void

Parameters:

NameType
reason?FocusReason

Returns: void


setFocusPolicy

setFocusPolicy(policy: FocusPolicy): void

Inherited from void

Parameters:

NameType
policyFocusPolicy

Returns: void


setFont

setFont(font: QFont): void

Inherited from void

Parameters:

NameType
fontQFont

Returns: void


setGeometry

setGeometry(x: number, y: number, w: number, h: number): void

Inherited from void

Parameters:

NameType
xnumber
ynumber
wnumber
hnumber

Returns: void


setGraphicsEffect

setGraphicsEffect(effect: QGraphicsEffect‹any›): void

Inherited from void

Parameters:

NameType
effectQGraphicsEffect‹any›

Returns: void


setInlineStyle

setInlineStyle(style: string): void

Inherited from void

Parameters:

NameType
stylestring

Returns: void


setLayout

setLayout(parentLayout: NodeLayout‹QMenuBarSignals›): void

Inherited from void

Parameters:

NameType
parentLayoutNodeLayout‹QMenuBarSignals›

Returns: void


setMaximumSize

setMaximumSize(maxw: number, maxh: number): void

Inherited from void

Parameters:

NameType
maxwnumber
maxhnumber

Returns: void


setMinimumSize

setMinimumSize(minw: number, minh: number): void

Inherited from void

Parameters:

NameType
minwnumber
minhnumber

Returns: void


setMouseTracking

setMouseTracking(isMouseTracked: boolean): void

Inherited from void

Parameters:

NameType
isMouseTrackedboolean

Returns: void


setNativeMenuBar

setNativeMenuBar(nativeMenuBar: boolean): void

Inherited from RNMenuBar.setNativeMenuBar

Parameters:

NameType
nativeMenuBarboolean

Returns: void


setNodeParent

setNodeParent(parent?: Component): void

Inherited from RNAction.setNodeParent

Parameters:

NameType
parent?Component

Returns: void


setObjectName

setObjectName(objectName: string): void

Inherited from void

Overrides RNAction.setObjectName

Parameters:

NameType
objectNamestring

Returns: void


setProperty

setProperty(name: string, value: QVariantType): boolean

Inherited from RNAction.setProperty

Parameters:

NameType
namestring
valueQVariantType

Returns: boolean


setProps

setProps(newProps: MenuBarProps, oldProps: MenuBarProps): void

Parameters:

NameType
newPropsMenuBarProps
oldPropsMenuBarProps

Returns: void


setStyleSheet

setStyleSheet(styleSheet: string): void

Inherited from void

Parameters:

NameType
styleSheetstring

Returns: void


setWindowFlag

setWindowFlag(windowType: WindowType, switchOn: boolean): void

Inherited from void

Parameters:

NameType
windowTypeWindowType
switchOnboolean

Returns: void


setWindowIcon

setWindowIcon(icon: QIcon): void

Inherited from void

Parameters:

NameType
iconQIcon

Returns: void


setWindowOpacity

setWindowOpacity(opacity: number): void

Inherited from void

Parameters:

NameType
opacitynumber

Returns: void


setWindowState

setWindowState(state: WindowState): void

Inherited from void

Parameters:

NameType
stateWindowState

Returns: void


setWindowTitle

setWindowTitle(title: string): void

Inherited from void

Parameters:

NameType
titlestring

Returns: void


show

show(): void

Inherited from void

Returns: void


showFullScreen

showFullScreen(): void

Inherited from void

Returns: void


showMaximized

showMaximized(): void

Inherited from void

Returns: void


showMinimized

showMinimized(): void

Inherited from void

Returns: void


showNormal

showNormal(): void

Inherited from void

Returns: void


size

size(): QSize

Inherited from void

Returns: QSize


styleSheet

styleSheet(): string

Inherited from void

Returns: string


testAttribute

testAttribute(attribute: WidgetAttribute): boolean

Inherited from void

Parameters:

NameType
attributeWidgetAttribute

Returns: boolean


update

update(): void

Inherited from void

Returns: void


updateGeometry

updateGeometry(): void

Inherited from void

Returns: void


windowOpacity

windowOpacity(): number

Inherited from void

Returns: number


windowState

windowState(): number

Inherited from void

Returns: number


windowTitle

windowTitle(): string

Inherited from void

Returns: string

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/classes/rnprogressdialog/index.html b/docs/api/classes/rnprogressdialog/index.html new file mode 100644 index 00000000..5841fcb7 --- /dev/null +++ b/docs/api/classes/rnprogressdialog/index.html @@ -0,0 +1,43 @@ + + + + + + + + + +RNProgressDialog | React NodeGui + + + + + + + + + + + + + +
+

RNProgressDialog

Hierarchy

  • QProgressDialog

    RNProgressDialog

Implements

  • RNWidget

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

+ new RNProgressDialog(): RNProgressDialog

Inherited from RNProgressDialog.constructor

Overrides void

Returns: RNProgressDialog

+ new RNProgressDialog(parent: NodeWidget‹any›): RNProgressDialog

Inherited from RNProgressDialog.constructor

Overrides void

Parameters:

NameType
parentNodeWidget‹any›

Returns: RNProgressDialog

Properties

Optional _layout

_layout? : NodeLayout‹QProgressDialogSignals›

Inherited from void


_rawInlineStyle

_rawInlineStyle: string

Inherited from void


actions

actions: Set‹QAction›

Inherited from void


native

native: NativeElement

Inherited from RNProgressDialog.native

Overrides void


nodeChildren

nodeChildren: Set‹Component›

Inherited from RNAction.nodeChildren


Optional nodeParent

nodeParent? : Component

Inherited from RNAction.nodeParent


type

type: string

Inherited from void


Static tagName

tagName: string = "progress-dialog"

Accessors

layout

get layout(): NodeLayout‹QProgressDialogSignals› | undefined

Inherited from void

Returns: NodeLayout‹QProgressDialogSignals› | undefined

set layout(l: NodeLayout‹QProgressDialogSignals› | undefined): any

Inherited from void

Parameters:

NameType
lNodeLayout‹QProgressDialogSignals› | undefined

Returns: any

Methods

acceptDrops

acceptDrops(): boolean

Inherited from void

Returns: boolean


activateWindow

activateWindow(): void

Inherited from void

Returns: void


addAction

addAction(action: QAction | string): QAction

Inherited from void

Parameters:

NameType
actionQAction | string

Returns: QAction


addEventListener

addEventListenerSignalType›(signalType: SignalType, callback: QProgressDialogSignals[SignalType]): void

Inherited from RNAction.addEventListener

Type parameters:

SignalType: keyof QProgressDialogSignals

Parameters:

NameTypeDescription
signalTypeSignalTypeSignalType is a signal from the widgets signals interface.
callbackQProgressDialogSignals[SignalType]Corresponding callback for the signal as mentioned in the widget's signal interface

Returns: void

void

For example in the case of QPushButton:

const button = new QPushButton();
button.addEventListener('clicked',(checked)=>console.log("clicked"));
// here clicked is a value from QPushButtonSignals interface

addEventListener(eventType: WidgetEventTypes, callback: function): void

Inherited from RNAction.addEventListener

Parameters:

eventType: WidgetEventTypes

callback: function

For example in the case of QPushButton:

const button = new QPushButton();
button.addEventListener(WidgetEventTypes.HoverEnter,()=>console.log("hovered"));

▸ (event?: NativeRawPointer‹"QEvent"›): void

Parameters:

NameType
event?NativeRawPointer‹"QEvent"›

Returns: void


adjustSize

adjustSize(): void

Inherited from void

Returns: void


appendChild

appendChild(child: NodeWidget‹any›): void

Parameters:

NameType
childNodeWidget‹any›

Returns: void


appendInitialChild

appendInitialChild(child: NodeWidget‹any›): void

Parameters:

NameType
childNodeWidget‹any›

Returns: void


autoClose

autoClose(): boolean

Inherited from RNProgressDialog.autoClose

Returns: boolean


autoReset

autoReset(): boolean

Inherited from RNProgressDialog.autoReset

Returns: boolean


cancel

cancel(): void

Inherited from RNProgressDialog.cancel

Returns: void


clearFocus

clearFocus(): void

Inherited from void

Returns: void


close

close(): boolean

Inherited from void

Returns: boolean


eventProcessed

eventProcessed(): boolean

Inherited from RNAction.eventProcessed

Get the state of the event processed flag

See setEventProcessed().

Returns: boolean

boolean True if the current event is flagged as processed.


exec

exec(): DialogCode

Inherited from RNDialog.exec

Returns: DialogCode


font

font(): QFont

Inherited from void

Returns: QFont


geometry

geometry(): QRect

Inherited from void

Returns: QRect


getFlexNode

getFlexNode(): FlexNode

Inherited from void

Returns: FlexNode


hasMouseTracking

hasMouseTracking(): boolean

Inherited from void

Returns: boolean


hide

hide(): void

Inherited from void

Returns: void


inherits

inherits(className: string): boolean

Inherited from RNAction.inherits

Parameters:

NameType
classNamestring

Returns: boolean


insertBefore

insertBefore(child: NodeWidget‹any›, beforeChild: NodeWidget‹any›): void

Parameters:

NameType
childNodeWidget‹any›
beforeChildNodeWidget‹any›

Returns: void


isActiveWindow

isActiveWindow(): boolean

Inherited from void

Returns: boolean


isEnabled

isEnabled(): boolean

Inherited from void

Returns: boolean


isSizeGripEnabled

isSizeGripEnabled(): boolean

Inherited from RNDialog.isSizeGripEnabled

Returns: boolean


isVisible

isVisible(): boolean

Inherited from void

Returns: boolean


labelText

labelText(): string

Inherited from RNProgressDialog.labelText

Returns: string


lower

lower(): void

Inherited from void

Returns: void


mapFromGlobal

mapFromGlobal(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


mapFromParent

mapFromParent(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


mapToGlobal

mapToGlobal(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


mapToParent

mapToParent(pos: QPoint): QPoint

Inherited from void

Parameters:

NameType
posQPoint

Returns: QPoint


maximum

maximum(): number

Inherited from RNProgressDialog.maximum

Returns: number


maximumSize

maximumSize(): QSize

Inherited from void

Returns: QSize


minimum

minimum(): number

Inherited from RNProgressDialog.minimum

Returns: number


minimumDuration

minimumDuration(): number

Inherited from RNProgressDialog.minimumDuration

Returns: number


minimumSize

minimumSize(): QSize

Inherited from void

Returns: QSize


move

move(x: number, y: number): void

Inherited from void

Parameters:

NameType
xnumber
ynumber

Returns: void


objectName

objectName(): string

Inherited from RNAction.objectName

Returns: string


open

open(): void

Inherited from RNDialog.open

Returns: void


pos

pos(): object

Inherited from void

Returns: object

  • x: number

  • y: number


property

property(name: string): QVariant

Inherited from RNAction.property

Parameters:

NameType
namestring

Returns: QVariant


raise

raise(): void

Inherited from void

Returns: void


reject

reject(): void

Inherited from RNDialog.reject

Returns: void


removeAction

removeAction(action: QAction): void

Inherited from void

Parameters:

NameType
actionQAction

Returns: void


removeChild

removeChild(child: NodeWidget‹any›): void

Parameters:

NameType
childNodeWidget‹any›

Returns: void


removeEventListener

removeEventListenerSignalType›(signalType: SignalType, callback: QProgressDialogSignals[SignalType]): void

Inherited from RNAction.removeEventListener

Type parameters:

SignalType: keyof QProgressDialogSignals

Parameters:

NameType
signalTypeSignalType
callbackQProgressDialogSignals[SignalType]

Returns: void

removeEventListener(eventType: WidgetEventTypes, callback: function): void

Inherited from RNAction.removeEventListener

Parameters:

eventType: WidgetEventTypes

callback: function

▸ (event?: NativeRawPointer‹"QEvent"›): void

Parameters:

NameType
event?NativeRawPointer‹"QEvent"›

Returns: void


repaint

repaint(): void

Inherited from void

Returns: void


repolish

repolish(): void

Inherited from void

Returns: void


reset

reset(): void

Inherited from RNProgressDialog.reset

Returns: void


resize

resize(width: number, height: number): void

Inherited from void

Parameters:

NameType
widthnumber
heightnumber

Returns: void


result

result(): number

Inherited from RNDialog.result

Returns: number


setAcceptDrops

setAcceptDrops(on: boolean): void

Inherited from void

Parameters:

NameType
onboolean

Returns: void


setAttribute

setAttribute(attribute: WidgetAttribute, switchOn: boolean): void

Inherited from void

Parameters:

NameType
attributeWidgetAttribute
switchOnboolean

Returns: void


setAutoClose

setAutoClose(close: boolean): void

Inherited from RNProgressDialog.setAutoClose

Parameters:

NameType
closeboolean

Returns: void


setAutoReset

setAutoReset(reset: boolean): void

Inherited from RNProgressDialog.setAutoReset

Parameters:

NameType
resetboolean

Returns: void


setCancelButtonText

setCancelButtonText(text: string): void

Inherited from RNProgressDialog.setCancelButtonText

Parameters:

NameType
textstring

Returns: void


setContextMenuPolicy

setContextMenuPolicy(contextMenuPolicy: ContextMenuPolicy): void

Inherited from void

Parameters:

NameType
contextMenuPolicyContextMenuPolicy

Returns: void


setCursor

setCursor(cursor: CursorShape | QCursor): void

Inherited from void

Parameters:

NameType
cursorCursorShape | QCursor

Returns: void


setEnabled

setEnabled(enabled: boolean): void

Inherited from void

Parameters:

NameType
enabledboolean

Returns: void


setEventProcessed

setEventProcessed(isProcessed: boolean): void

Inherited from RNAction.setEventProcessed

Mark the current event as having been processed

This method is used to indicate that the currently dispatched event +has been processed and no further processing by superclasses is +required. It only makes sense to call this method from an event +handler.

When set, this flag will cause NodeGui's QObject::event() method to +return true and not call the superclass event(), effectively preventing +any further processing on this event.

Parameters:

NameTypeDescription
isProcessedbooleantrue if the event has been processed.

Returns: void


setFixedSize

setFixedSize(width: number, height: number): void

Inherited from void

Parameters:

NameType
widthnumber
heightnumber

Returns: void


setFlexNodeSizeControlled

setFlexNodeSizeControlled(isSizeControlled: boolean): void

Inherited from void

sets whether the widget's size is controlled by someone else (for example a window's size is controlled by its frame when dragged).

Parameters:

NameTypeDescription
isSizeControlledboolean

Returns: void


setFocus

setFocus(reason?: FocusReason): void

Inherited from void

Parameters:

NameType
reason?FocusReason

Returns: void


setFocusPolicy

setFocusPolicy(policy: FocusPolicy): void

Inherited from void

Parameters:

NameType
policyFocusPolicy

Returns: void


setFont

setFont(font: QFont): void

Inherited from void

Parameters:

NameType
fontQFont

Returns: void


setGeometry

setGeometry(x: number, y: number, w: number, h: number): void

Inherited from void

Parameters:

NameType
xnumber
ynumber
wnumber
hnumber

Returns: void


setGraphicsEffect

setGraphicsEffect(effect: QGraphicsEffect‹any›): void

Inherited from void

Parameters:

NameType
effectQGraphicsEffect‹any›

Returns: void


setInlineStyle

setInlineStyle(style: string): void

Inherited from void

Parameters:

NameType
stylestring

Returns: void


setLabelText

setLabelText(text: string): void

Inherited from RNProgressDialog.setLabelText

Parameters:

NameType
textstring

Returns: void


setLayout

setLayout(parentLayout: NodeLayout‹QProgressDialogSignals›): void

Inherited from void

Parameters:

NameType
parentLayoutNodeLayout‹QProgressDialogSignals›

Returns: void


setMaximum

setMaximum(maximum: number): void

Inherited from RNProgressDialog.setMaximum

Parameters:

NameType
maximumnumber

Returns: void


setMaximumSize

setMaximumSize(maxw: number, maxh: number): void

Inherited from void

Parameters:

NameType
maxwnumber
maxhnumber

Returns: void


setMinimum

setMinimum(minimum: number): void

Inherited from RNProgressDialog.setMinimum

Parameters:

NameType
minimumnumber

Returns: void


setMinimumDuration

setMinimumDuration(ms: number): void

Inherited from RNProgressDialog.setMinimumDuration

Parameters:

NameType
msnumber

Returns: void


setMinimumSize

setMinimumSize(minw: number, minh: number): void

Inherited from void

Parameters:

NameType
minwnumber
minhnumber

Returns: void


setModal

setModal(modal: boolean): void

Inherited from RNDialog.setModal

Parameters:

NameType
modalboolean

Returns: void


setMouseTracking

setMouseTracking(isMouseTracked: boolean): void

Inherited from void

Parameters:

NameType
isMouseTrackedboolean

Returns: void


setNodeParent

setNodeParent(parent?: Component): void

Inherited from RNAction.setNodeParent

Parameters:

NameType
parent?Component

Returns: void


setObjectName

setObjectName(objectName: string): void

Inherited from void

Overrides RNAction.setObjectName

Parameters:

NameType
objectNamestring

Returns: void


setProperty

setProperty(name: string, value: QVariantType): boolean

Inherited from RNAction.setProperty

Parameters:

NameType
namestring
valueQVariantType

Returns: boolean


setProps

setProps(newProps: ProgressDialogProps, oldProps: ProgressDialogProps): void

Parameters:

NameType
newPropsProgressDialogProps
oldPropsProgressDialogProps

Returns: void


setRange

setRange(minimum: number, maximum: number): void

Inherited from RNProgressDialog.setRange

Parameters:

NameType
minimumnumber
maximumnumber

Returns: void


setResult

setResult(i: number): void

Inherited from RNDialog.setResult

Parameters:

NameType
inumber

Returns: void


setSizeGripEnabled

setSizeGripEnabled(enabled: boolean): void

Inherited from RNDialog.setSizeGripEnabled

Parameters:

NameType
enabledboolean

Returns: void


setStyleSheet

setStyleSheet(styleSheet: string): void

Inherited from void

Parameters:

NameType
styleSheetstring

Returns: void


setValue

setValue(progress: number): void

Inherited from RNProgressDialog.setValue

Parameters:

NameType
progressnumber

Returns: void


setWindowFlag

setWindowFlag(windowType: WindowType, switchOn: boolean): void

Inherited from void

Parameters:

NameType
windowTypeWindowType
switchOnboolean

Returns: void


setWindowIcon

setWindowIcon(icon: QIcon): void

Inherited from void

Parameters:

NameType
iconQIcon

Returns: void


setWindowOpacity

setWindowOpacity(opacity: number): void

Inherited from void

Parameters:

NameType
opacitynumber

Returns: void


setWindowState

setWindowState(state: WindowState): void

Inherited from void

Parameters:

NameType
stateWindowState

Returns: void


setWindowTitle

setWindowTitle(title: string): void

Inherited from void

Parameters:

NameType
titlestring

Returns: void


show

show(): void

Inherited from void

Returns: void


showFullScreen

showFullScreen(): void

Inherited from void

Returns: void


showMaximized

showMaximized(): void

Inherited from void

Returns: void


showMinimized

showMinimized(): void

Inherited from void

Returns: void


showNormal

showNormal(): void

Inherited from void

Returns: void


size

size(): QSize

Inherited from void

Returns: QSize


styleSheet

styleSheet(): string

Inherited from void

Returns: string


testAttribute

testAttribute(attribute: WidgetAttribute): boolean

Inherited from void

Parameters:

NameType
attributeWidgetAttribute

Returns: boolean


update

update(): void

Inherited from void

Returns: void


updateGeometry

updateGeometry(): void

Inherited from void

Returns: void


value

value(): number

Inherited from RNProgressDialog.value

Returns: number


wasCanceled

wasCanceled(): boolean

Inherited from RNProgressDialog.wasCanceled

Returns: boolean


windowOpacity

windowOpacity(): number

Inherited from void

Returns: number


windowState

windowState(): number

Inherited from void

Returns: number


windowTitle

windowTitle(): string

Inherited from void

Returns: string

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/globals/index.html b/docs/api/globals/index.html new file mode 100644 index 00000000..11ee9075 --- /dev/null +++ b/docs/api/globals/index.html @@ -0,0 +1,58 @@ + + + + + + + + + +@nodegui/react-nodegui | React NodeGui + + + + + + + + + + + + + +
+

@nodegui/react-nodegui

Index

Modules

Classes

Interfaces

Type aliases

Variables

Functions

Object literals

Type aliases

Allowed

Ƭ Allowed: OnlyType‹TItem, SetParentFunc‹TParent››


CellPosition

Ƭ CellPosition: []


ComboBoxItem

Ƭ ComboBoxItem: object

Type declaration:

  • icon? : QIcon

  • text: string

  • userData? : QVariant


CustomListProps

Ƭ CustomListProps: ListProps


CustomTableProps

Ƭ CustomTableProps: Omit‹TableProps, "cellRange"›


Geometry

Ƭ Geometry: object

Type declaration:

  • height: number

  • width: number

  • x: number

  • y: number


GridColumnProps

Ƭ GridColumnProps: object

Type declaration:

  • width? : undefined | number

GridRowProps

Ƭ GridRowProps: object

Type declaration:


GridViewColumnProps

Ƭ GridViewColumnProps: object

Type declaration:

  • [ ColumnIndex: number]: object

  • minWidth? : undefined | number

  • stretch? : undefined | number


GridViewRowProps

Ƭ GridViewRowProps: object

Type declaration:

  • [ RowIndex: number]: object

  • minHeight? : undefined | number

  • stretch? : undefined | number


KeysOfType

Ƭ KeysOfType: object[keyof T]

Extract the keys of type T matching type TType


NodeGuiReconciler

Ƭ NodeGuiReconciler: Reconciler‹RNComponent, any, Set‹NodeWidget‹any››, any›


OnlyType

Ƭ OnlyType: object

Show TypeScript that the fields we're interested in are of type TType

Type declaration:


Position

Ƭ Position: object

Type declaration:

  • x: number

  • y: number


Range

Ƭ Range: object

Type declaration:

  • maximum: number

  • minimum: number


RendererOptions

Ƭ RendererOptions: object

Type declaration:

  • onInit? : undefined | function

  • onRender? : undefined | function


SetParentFunc

Ƭ SetParentFunc: function

Type declaration:

▸ (parent: T, index: number): void

Parameters:

NameType
parentT
indexnumber

SimplifiedTableItemProps

Ƭ SimplifiedTableItemProps: Omit‹TableItemProps, "cellPosition"›


Size

Ƭ Size: object

Type declaration:

  • height: number

  • width: number


ViewSize

Ƭ ViewSize: Size & object


WidgetAttributesMap

Ƭ WidgetAttributesMap: object

Type declaration:

  • [ key: number]: boolean

WidgetEventListeners

Ƭ WidgetEventListeners: object

Type declaration:


WindowFlagsMap

Ƭ WindowFlagsMap: object

Type declaration:

  • [ key: number]: boolean

Variables

Let appProxy

appProxy: ReactProxyComponent


Const styleSheet

styleSheet: " +#container { +flex: 1; +min-height: '100%'; +justify-content: 'center'; +} +#textContainer { +flex-direction: 'row'; +justify-content: 'space-around'; +align-items: 'center'; +} +" = #container { + flex: 1; + min-height: '100%'; + justify-content: 'center'; + } + #textContainer { + flex-direction: 'row'; + justify-content: 'space-around'; + align-items: 'center'; + }

Functions

Const App

App(): Element‹›

Returns: Element‹›


getLoadedPixmap

getLoadedPixmap(imageUrlOrPath: string): Promise‹QPixmap›

Parameters:

NameType
imageUrlOrPathstring

Returns: Promise‹QPixmap›


getLoadedQMovie

getLoadedQMovie(imageUrlOrPath: string): Promise‹QMovie›

Parameters:

NameType
imageUrlOrPathstring

Returns: Promise‹QMovie›


hot

hot(Component: React.ComponentType): React.ComponentType

Parameters:

NameType
ComponentReact.ComponentType

Returns: React.ComponentType


Const offsetForIndex

offsetForIndexT›(index: number, items: Array‹DataWithOffsetOnlyType‹T, number›››, sizeKey: keyof OnlyType<T, number>): number

Type parameters:

T

Parameters:

NameType
indexnumber
itemsArray‹DataWithOffsetOnlyType‹T, number›››
sizeKeykeyof OnlyType<T, number>

Returns: number


setAbstractButtonProps

setAbstractButtonPropsSignals›(widget: QAbstractButton‹Signals›, newProps: AbstractButtonProps‹Signals›, oldProps: AbstractButtonProps‹Signals›): void

Type parameters:

Signals: QAbstractButtonSignals

Parameters:

NameType
widgetQAbstractButton‹Signals›
newPropsAbstractButtonProps‹Signals›
oldPropsAbstractButtonProps‹Signals›

Returns: void


Const setActionProps

setActionProps(widget: RNAction, newProps: ActionProps, oldProps: ActionProps): void

Parameters:

NameType
widgetRNAction
newPropsActionProps
oldPropsActionProps

Returns: void


Const setAnimatedImageProps

setAnimatedImageProps(widget: RNAnimatedImage, newProps: AnimatedImageProps, oldProps: AnimatedImageProps): void

Parameters:

NameType
widgetRNAnimatedImage
newPropsAnimatedImageProps
oldPropsAnimatedImageProps

Returns: void


Const setBoxViewProps

setBoxViewProps(widget: RNBoxView, newProps: BoxViewProps, oldProps: BoxViewProps): void

Parameters:

NameType
widgetRNBoxView
newPropsBoxViewProps
oldPropsBoxViewProps

Returns: void


Const setButtonProps

setButtonProps(widget: RNButton, newProps: ButtonProps, oldProps: ButtonProps): void

Parameters:

NameType
widgetRNButton
newPropsButtonProps
oldPropsButtonProps

Returns: void


Const setCheckBoxProps

setCheckBoxProps(widget: RNCheckBox, newProps: CheckBoxProps, oldProps: CheckBoxProps): void

Parameters:

NameType
widgetRNCheckBox
newPropsCheckBoxProps
oldPropsCheckBoxProps

Returns: void


setColorDialogProps

setColorDialogProps(widget: RNColorDialog, newProps: ColorDialogProps, oldProps: ColorDialogProps): void

Parameters:

NameType
widgetRNColorDialog
newPropsColorDialogProps
oldPropsColorDialogProps

Returns: void


Const setComboBoxProps

setComboBoxProps(widget: RNComboBox, newProps: ComboBoxProps, oldProps: ComboBoxProps): void

Parameters:

NameType
widgetRNComboBox
newPropsComboBoxProps
oldPropsComboBoxProps

Returns: void


Const setDialProps

setDialProps(widget: RNDial, newProps: DialProps, oldProps: DialProps): void

Parameters:

NameType
widgetRNDial
newPropsDialProps
oldPropsDialProps

Returns: void


setDialogProps

setDialogProps(widget: RNDialog, newProps: DialogProps, oldProps: DialogProps): void

Parameters:

NameType
widgetRNDialog
newPropsDialogProps
oldPropsDialogProps

Returns: void


setErrorPromptProps

setErrorPromptProps(widget: RNErrorPrompt, newProps: ErrorPromptProps, oldProps: ErrorPromptProps): void

Parameters:

NameType
widgetRNErrorPrompt
newPropsErrorPromptProps
oldPropsErrorPromptProps

Returns: void


setFileDialogProps

setFileDialogProps(widget: RNFileDialog, newProps: FileDialogProps, oldProps: FileDialogProps): void

Parameters:

NameType
widgetRNFileDialog
newPropsFileDialogProps
oldPropsFileDialogProps

Returns: void


setFontDialogProps

setFontDialogProps(widget: RNFontDialog, newProps: FontDialogProps, oldProps: FontDialogProps): void

Parameters:

NameType
widgetRNFontDialog
newPropsFontDialogProps
oldPropsFontDialogProps

Returns: void


Const setGridColumnProps

setGridColumnProps(widget: RNGridColumn, parentRow: RNGridRow, newProps: GridColumnProps, oldProps: GridColumnProps): void

Parameters:

NameType
widgetRNGridColumn
parentRowRNGridRow
newPropsGridColumnProps
oldPropsGridColumnProps

Returns: void


Const setGridRowProps

setGridRowProps(widget: RNGridRow, parentGrid: RNGridView, newProps: Omit‹GridRowProps, "children"›, oldProps: Omit‹GridRowProps, "children"›): void

Parameters:

NameType
widgetRNGridRow
parentGridRNGridView
newPropsOmit‹GridRowProps, "children"›
oldPropsOmit‹GridRowProps, "children"›

Returns: void


Const setGridViewProps

setGridViewProps(widget: RNGridView, newProps: Omit‹GridViewProps, "children"›, oldProps: Omit‹GridViewProps, "children"›): void

Parameters:

NameType
widgetRNGridView
newPropsOmit‹GridViewProps, "children"›
oldPropsOmit‹GridViewProps, "children"›

Returns: void


Const setImageProps

setImageProps(widget: RNImage, newProps: ImageProps, oldProps: ImageProps): void

Parameters:

NameType
widgetRNImage
newPropsImageProps
oldPropsImageProps

Returns: void


setInputDialogProps

setInputDialogProps(widget: RNInputDialog, newProps: InputDialogProps, oldProps: InputDialogProps): void

Parameters:

NameType
widgetRNInputDialog
newPropsInputDialogProps
oldPropsInputDialogProps

Returns: void


Const setLineEditProps

setLineEditProps(widget: RNLineEdit, newProps: LineEditProps, oldProps: LineEditProps): void

Parameters:

NameType
widgetRNLineEdit
newPropsLineEditProps
oldPropsLineEditProps

Returns: void


Const setMenuBarProps

setMenuBarProps(widget: RNMenuBar, newProps: MenuBarProps, oldProps: MenuBarProps): void

Parameters:

NameType
widgetRNMenuBar
newPropsMenuBarProps
oldPropsMenuBarProps

Returns: void


Const setMenuProps

setMenuProps(widget: RNMenu, newProps: MenuProps, oldProps: MenuProps): void

Parameters:

NameType
widgetRNMenu
newPropsMenuProps
oldPropsMenuProps

Returns: void


Const setPlainTextEditProps

setPlainTextEditProps(widget: RNPlainTextEdit, newProps: PlainTextEditProps, oldProps: PlainTextEditProps): void

Parameters:

NameType
widgetRNPlainTextEdit
newPropsPlainTextEditProps
oldPropsPlainTextEditProps

Returns: void


Const setProgressBarProps

setProgressBarProps(widget: RNProgressBar, newProps: ProgressBarProps, oldProps: ProgressBarProps): void

Parameters:

NameType
widgetRNProgressBar
newPropsProgressBarProps
oldPropsProgressBarProps

Returns: void


setProgressDialogProps

setProgressDialogProps(widget: RNProgressDialog, newProps: ProgressDialogProps, oldProps: ProgressDialogProps): void

Parameters:

NameType
widgetRNProgressDialog
newPropsProgressDialogProps
oldPropsProgressDialogProps

Returns: void


Const setRadioButtonProps

setRadioButtonProps(widget: RNRadioButton, newProps: RadioButtonProps, oldProps: RadioButtonProps): void

Parameters:

NameType
widgetRNRadioButton
newPropsRadioButtonProps
oldPropsRadioButtonProps

Returns: void


Const setScrollAreaProps

setScrollAreaProps(widget: RNScrollArea, newProps: ScrollAreaProps, oldProps: ScrollAreaProps): void

Parameters:

NameType
widgetRNScrollArea
newPropsScrollAreaProps
oldPropsScrollAreaProps

Returns: void


Const setSliderProps

setSliderProps(widget: RNSlider, newProps: SliderProps, oldProps: SliderProps): void

Parameters:

NameType
widgetRNSlider
newPropsSliderProps
oldPropsSliderProps

Returns: void


Const setSpinBoxProps

setSpinBoxProps(widget: RNSpinBox, newProps: SpinBoxProps, oldProps: SpinBoxProps): void

Parameters:

NameType
widgetRNSpinBox
newPropsSpinBoxProps
oldPropsSpinBoxProps

Returns: void


Const setSystemTrayIconProps

setSystemTrayIconProps(widget: RNSystemTrayIcon, newProps: SystemTrayIconProps, oldProps: SystemTrayIconProps): void

Parameters:

NameType
widgetRNSystemTrayIcon
newPropsSystemTrayIconProps
oldPropsSystemTrayIconProps

Returns: void


Const setTableItemProps

setTableItemProps(widget: RNTableItem, newProps: SimplifiedTableItemProps, oldProps: SimplifiedTableItemProps): void

Parameters:

NameType
widgetRNTableItem
newPropsSimplifiedTableItemProps
oldPropsSimplifiedTableItemProps

Returns: void


Const setWindowProps

setWindowProps(window: RNWindow, newProps: WindowProps, oldProps: WindowProps): void

Parameters:

NameType
windowRNWindow
newPropsWindowProps
oldPropsWindowProps

Returns: void


updateDisplacedChildren

updateDisplacedChildrenTItem, TParent›(startIndex: number, items: Array‹DataWithOffsetOnlyType‹TItem, number› & Allowed‹TItem, TParent›››, parent: TParent, sizeKey: keyof OnlyType<TItem, number>, setParentFuncKey: keyof Allowed<TItem, TParent>): void

Type parameters:

TItem

TParent

Parameters:

NameType
startIndexnumber
itemsArray‹DataWithOffsetOnlyType‹TItem, number› & Allowed‹TItem, TParent›››
parentTParent
sizeKeykeyof OnlyType<TItem, number>
setParentFuncKeykeyof Allowed<TItem, TParent>

Returns: void


useEventHandler

useEventHandlerSignals›(eventHandlerMap: Partial‹WidgetEventListeners | Signals›, deps: DependencyList): object | object

Type parameters:

Signals

Parameters:

NameType
eventHandlerMapPartial‹WidgetEventListeners | Signals›
depsDependencyList

Returns: object | object


verifyRanges

verifyRanges(__namedParameters: object, __namedParameters: object): void

Parameters:

__namedParameters: object

NameType
columnCountnumber
rowCountnumber

__namedParameters: object

NameType
columnundefined | number
rowundefined | number

Returns: void

Object literals

Const defaultOptions

defaultOptions: object

onInit

onInit(): void

Returns: void

onRender

onRender(): void

Returns: void

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/index/index.html b/docs/api/index/index.html new file mode 100644 index 00000000..fdf63e3b --- /dev/null +++ b/docs/api/index/index.html @@ -0,0 +1,38 @@ + + + + + + + + + +index | React NodeGui + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/_react_proxy_.reactproxycomponent/index.html b/docs/api/interfaces/_react_proxy_.reactproxycomponent/index.html new file mode 100644 index 00000000..0d334543 --- /dev/null +++ b/docs/api/interfaces/_react_proxy_.reactproxycomponent/index.html @@ -0,0 +1,38 @@ + + + + + + + + + +ReactProxyComponent | React NodeGui + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/abstractbuttonprops/index.html b/docs/api/interfaces/abstractbuttonprops/index.html new file mode 100644 index 00000000..8469a847 --- /dev/null +++ b/docs/api/interfaces/abstractbuttonprops/index.html @@ -0,0 +1,42 @@ + + + + + + + + + +AbstractButtonProps | React NodeGui + + + + + + + + + + + + + +
+

AbstractButtonProps

The Button component provides ability to add and manipulate native button widgets. It is based on +NodeGui's QPushButton.

Example

import React from "react";
import { Renderer, Button, Window } from "@nodegui/react-nodegui";
const App = () => {
return (
<Window>
<Button style={buttonStyle} text={"Hello World"} />
</Window>
);
};
const buttonStyle = `
color: white;
`;
Renderer.render(<App />);
+

Type parameters

Signals: QAbstractButtonSignals

Hierarchy

ViewProps‹Signals›

AbstractButtonProps

ButtonProps

CheckBoxProps

RadioButtonProps

Index

Properties

Properties

Optional attributes

attributes? : WidgetAttributesMap

Inherited from ViewProps.attributes

Prop to set the Widget Attributes. example: +<View attributes={{[WidgetAttributes.WA_Disabled]: true}} />


Optional children

children? : undefined | string

Alternative method of providing the button text


Optional cursor

cursor? : CursorShape | QCursor

Inherited from ViewProps.cursor

Sets the window mouse cursor. QWidget: setCursor


Optional enabled

enabled? : undefined | false | true

Inherited from ViewProps.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


Optional geometry

geometry? : Geometry

Inherited from ViewProps.geometry

Sets the screen position as well as size of the widget. QWidget: setGeometry


Optional icon

icon? : QIcon

Sets an icon in the button. QPushButton: setIcon


Optional iconSize

iconSize? : QSize

Sets an icon size in the button. QPushButton: setIconSize


Optional id

id? : undefined | string

Inherited from ViewProps.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


Optional maxSize

maxSize? : Size

Inherited from ViewProps.maxSize

Sets the maximum size of the widget. QWidget: setMaximumSize


Optional minSize

minSize? : Size

Inherited from ViewProps.minSize

Sets the minimum size of the widget. QWidget: setMinimumSize


Optional mouseTracking

mouseTracking? : undefined | false | true

Inherited from ViewProps.mouseTracking

Sets the property that tells whether mouseTracking is enabled for the widget. QWidget: setMouseTracking


Optional on

on? : Partial‹WidgetEventListeners | Signals›

Inherited from ViewProps.on

Prop to set the event listener map. See Handlong Events


Optional pos

pos? : Position

Inherited from ViewProps.pos

Sets the screen position of the widget. QWidget: move


Optional ref

ref? : any

Inherited from ViewProps.ref

Prop to set the ref. The ref will return the underlying nodegui widget.


Optional size

size? : ViewSize

Inherited from ViewProps.size

Sets both the minimum and maximum sizes of the widget. QWidget: setFixedSize


Optional style

style? : undefined | string

Inherited from ViewProps.style

Sets the inline stylesheet property. QWidget: setInlineStyle


Optional styleSheet

styleSheet? : undefined | string

Inherited from ViewProps.styleSheet

Sets the property that holds the widget's style sheet. QWidget: setStyleSheet


Optional text

text? : undefined | string

Sets the given text to the button. QPushButton: setText


Optional visible

visible? : undefined | false | true

Inherited from ViewProps.visible

Shows or hides the widget and its children. QWidget: show


Optional windowFlags

windowFlags? : WindowFlagsMap

Inherited from ViewProps.windowFlags

Prop to set the Widget flags. example: +<View windowFlags={{[WindowType.SplashScreen]: true}} />


Optional windowIcon

windowIcon? : QIcon

Inherited from ViewProps.windowIcon

Sets the window icon. QWidget: setWindowIcon


Optional windowOpacity

windowOpacity? : undefined | number

Inherited from ViewProps.windowOpacity

This property holds the level of opacity for the window. QWidget: setWindowOpacity


Optional windowState

windowState? : WindowState

Inherited from ViewProps.windowState

Sets the window state. QWidget: setWindowState


Optional windowTitle

windowTitle? : undefined | string

Inherited from ViewProps.windowTitle

Sets the window title property. QWidget: setWindowTitle

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/actionprops/index.html b/docs/api/interfaces/actionprops/index.html new file mode 100644 index 00000000..ae569913 --- /dev/null +++ b/docs/api/interfaces/actionprops/index.html @@ -0,0 +1,38 @@ + + + + + + + + + +ActionProps | React NodeGui + + + + + + + + + + + + + +
+

ActionProps

Hierarchy

  • RNProps

    ActionProps

Index

Properties

Properties

Optional checkable

checkable? : undefined | false | true

Sets whether the action is a checkable action. QAction: setCheckable


Optional checked

checked? : undefined | false | true

Sets whether the action is checked. QAction: setChecked


Optional enabled

enabled? : undefined | false | true

Sets whether the action is enabled. QAction: setEnabled


Optional font

font? : QFont

Sets a font for the action. QAction: setFont


Optional icon

icon? : QIcon

Sets an icon for the action. QSystemTrayIcon: setIcon


Optional id

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


Optional on

on? : Partial‹QActionSignals›

Prop to set the event listener map. See Handlong Events


Optional separator

separator? : undefined | false | true

Sets whether this action will be considered a separator. QAction: setSeparator


Optional shortcut

shortcut? : QKeySequence

Sets the action's primary shortcut key. QAction: setShortcut


Optional shortcutContext

shortcutContext? : ShortcutContext

Sets the context for action's shortcut. QAction: setShortcutContext


Optional text

text? : undefined | string

Sets descriptive text. QAction: setText

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/animatedimageprops/index.html b/docs/api/interfaces/animatedimageprops/index.html new file mode 100644 index 00000000..eb7c3fbe --- /dev/null +++ b/docs/api/interfaces/animatedimageprops/index.html @@ -0,0 +1,40 @@ + + + + + + + + + +AnimatedImageProps | React NodeGui + + + + + + + + + + + + + +
+

AnimatedImageProps

Hierarchy

TextProps

AnimatedImageProps

Index

Properties

Properties

Optional attributes

attributes? : WidgetAttributesMap

Inherited from ViewProps.attributes

Prop to set the Widget Attributes. example: +<View attributes={{[WidgetAttributes.WA_Disabled]: true}} />


Optional buffer

buffer? : Buffer


Optional children

children? : string | number | Array‹string | number›

Inherited from TextProps.children


Optional cursor

cursor? : CursorShape | QCursor

Inherited from ViewProps.cursor

Sets the window mouse cursor. QWidget: setCursor


Optional enabled

enabled? : undefined | false | true

Inherited from ViewProps.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


Optional geometry

geometry? : Geometry

Inherited from ViewProps.geometry

Sets the screen position as well as size of the widget. QWidget: setGeometry


Optional id

id? : undefined | string

Inherited from ViewProps.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


Optional maxSize

maxSize? : Size

Inherited from ViewProps.maxSize

Sets the maximum size of the widget. QWidget: setMaximumSize


Optional minSize

minSize? : Size

Inherited from ViewProps.minSize

Sets the minimum size of the widget. QWidget: setMinimumSize


Optional mouseTracking

mouseTracking? : undefined | false | true

Inherited from ViewProps.mouseTracking

Sets the property that tells whether mouseTracking is enabled for the widget. QWidget: setMouseTracking


Optional on

on? : Partial‹WidgetEventListeners | QLabelSignals›

Inherited from ViewProps.on

Prop to set the event listener map. See Handlong Events


Optional openExternalLinks

openExternalLinks? : undefined | false | true

Inherited from TextProps.openExternalLinks


Optional pos

pos? : Position

Inherited from ViewProps.pos

Sets the screen position of the widget. QWidget: move


Optional ref

ref? : any

Inherited from ViewProps.ref

Prop to set the ref. The ref will return the underlying nodegui widget.


Optional scaledContents

scaledContents? : undefined | false | true

Inherited from TextProps.scaledContents


Optional size

size? : ViewSize

Inherited from ViewProps.size

Sets both the minimum and maximum sizes of the widget. QWidget: setFixedSize


Optional src

src? : undefined | string


Optional style

style? : undefined | string

Inherited from ViewProps.style

Sets the inline stylesheet property. QWidget: setInlineStyle


Optional styleSheet

styleSheet? : undefined | string

Inherited from ViewProps.styleSheet

Sets the property that holds the widget's style sheet. QWidget: setStyleSheet


Optional textInteractionFlags

textInteractionFlags? : TextInteractionFlag

Inherited from TextProps.textInteractionFlags


Optional visible

visible? : undefined | false | true

Inherited from ViewProps.visible

Shows or hides the widget and its children. QWidget: show


Optional windowFlags

windowFlags? : WindowFlagsMap

Inherited from ViewProps.windowFlags

Prop to set the Widget flags. example: +<View windowFlags={{[WindowType.SplashScreen]: true}} />


Optional windowIcon

windowIcon? : QIcon

Inherited from ViewProps.windowIcon

Sets the window icon. QWidget: setWindowIcon


Optional windowOpacity

windowOpacity? : undefined | number

Inherited from ViewProps.windowOpacity

This property holds the level of opacity for the window. QWidget: setWindowOpacity


Optional windowState

windowState? : WindowState

Inherited from ViewProps.windowState

Sets the window state. QWidget: setWindowState


Optional windowTitle

windowTitle? : undefined | string

Inherited from ViewProps.windowTitle

Sets the window title property. QWidget: setWindowTitle


Optional wordWrap

wordWrap? : undefined | false | true

Inherited from TextProps.wordWrap

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/boxviewprops/index.html b/docs/api/interfaces/boxviewprops/index.html new file mode 100644 index 00000000..51e62ddb --- /dev/null +++ b/docs/api/interfaces/boxviewprops/index.html @@ -0,0 +1,40 @@ + + + + + + + + + +BoxViewProps | React NodeGui + + + + + + + + + + + + + +
+

BoxViewProps

Hierarchy

ViewProps‹QBoxLayoutSignals›

BoxViewProps

Index

Properties

Properties

Optional attributes

attributes? : WidgetAttributesMap

Inherited from ViewProps.attributes

Prop to set the Widget Attributes. example: +<View attributes={{[WidgetAttributes.WA_Disabled]: true}} />


Optional cursor

cursor? : CursorShape | QCursor

Inherited from ViewProps.cursor

Sets the window mouse cursor. QWidget: setCursor


Optional direction

direction? : Direction


Optional enabled

enabled? : undefined | false | true

Inherited from ViewProps.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


Optional geometry

geometry? : Geometry

Inherited from ViewProps.geometry

Sets the screen position as well as size of the widget. QWidget: setGeometry


Optional id

id? : undefined | string

Inherited from ViewProps.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


Optional maxSize

maxSize? : Size

Inherited from ViewProps.maxSize

Sets the maximum size of the widget. QWidget: setMaximumSize


Optional minSize

minSize? : Size

Inherited from ViewProps.minSize

Sets the minimum size of the widget. QWidget: setMinimumSize


Optional mouseTracking

mouseTracking? : undefined | false | true

Inherited from ViewProps.mouseTracking

Sets the property that tells whether mouseTracking is enabled for the widget. QWidget: setMouseTracking


Optional on

on? : Partial‹WidgetEventListeners | QBoxLayoutSignals›

Inherited from ViewProps.on

Prop to set the event listener map. See Handlong Events


Optional pos

pos? : Position

Inherited from ViewProps.pos

Sets the screen position of the widget. QWidget: move


Optional ref

ref? : any

Inherited from ViewProps.ref

Prop to set the ref. The ref will return the underlying nodegui widget.


Optional size

size? : ViewSize

Inherited from ViewProps.size

Sets both the minimum and maximum sizes of the widget. QWidget: setFixedSize


Optional style

style? : undefined | string

Inherited from ViewProps.style

Sets the inline stylesheet property. QWidget: setInlineStyle


Optional styleSheet

styleSheet? : undefined | string

Inherited from ViewProps.styleSheet

Sets the property that holds the widget's style sheet. QWidget: setStyleSheet


Optional visible

visible? : undefined | false | true

Inherited from ViewProps.visible

Shows or hides the widget and its children. QWidget: show


Optional windowFlags

windowFlags? : WindowFlagsMap

Inherited from ViewProps.windowFlags

Prop to set the Widget flags. example: +<View windowFlags={{[WindowType.SplashScreen]: true}} />


Optional windowIcon

windowIcon? : QIcon

Inherited from ViewProps.windowIcon

Sets the window icon. QWidget: setWindowIcon


Optional windowOpacity

windowOpacity? : undefined | number

Inherited from ViewProps.windowOpacity

This property holds the level of opacity for the window. QWidget: setWindowOpacity


Optional windowState

windowState? : WindowState

Inherited from ViewProps.windowState

Sets the window state. QWidget: setWindowState


Optional windowTitle

windowTitle? : undefined | string

Inherited from ViewProps.windowTitle

Sets the window title property. QWidget: setWindowTitle

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/buttonprops/index.html b/docs/api/interfaces/buttonprops/index.html new file mode 100644 index 00000000..617c5a0b --- /dev/null +++ b/docs/api/interfaces/buttonprops/index.html @@ -0,0 +1,42 @@ + + + + + + + + + +ButtonProps | React NodeGui + + + + + + + + + + + + + +
+

ButtonProps

The Button component provides ability to add and manipulate native button widgets. It is based on +NodeGui's QPushButton.

Example

import React from "react";
import { Renderer, Button, Window } from "@nodegui/react-nodegui";
const App = () => {
return (
<Window>
<Button style={buttonStyle} text={"Hello World"} />
</Window>
);
};
const buttonStyle = `
color: white;
`;
Renderer.render(<App />);
+

Hierarchy

AbstractButtonProps‹QPushButtonSignals›

ButtonProps

Index

Properties

Properties

Optional attributes

attributes? : WidgetAttributesMap

Inherited from ViewProps.attributes

Prop to set the Widget Attributes. example: +<View attributes={{[WidgetAttributes.WA_Disabled]: true}} />


Optional children

children? : undefined | string

Inherited from AbstractButtonProps.children

Alternative method of providing the button text


Optional cursor

cursor? : CursorShape | QCursor

Inherited from ViewProps.cursor

Sets the window mouse cursor. QWidget: setCursor


Optional enabled

enabled? : undefined | false | true

Inherited from ViewProps.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


Optional flat

flat? : undefined | false | true

Sets whether the button border is raised. QPushButton: setFlat


Optional geometry

geometry? : Geometry

Inherited from ViewProps.geometry

Sets the screen position as well as size of the widget. QWidget: setGeometry


Optional icon

icon? : QIcon

Inherited from AbstractButtonProps.icon

Sets an icon in the button. QPushButton: setIcon


Optional iconSize

iconSize? : QSize

Inherited from AbstractButtonProps.iconSize

Sets an icon size in the button. QPushButton: setIconSize


Optional id

id? : undefined | string

Inherited from ViewProps.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


Optional maxSize

maxSize? : Size

Inherited from ViewProps.maxSize

Sets the maximum size of the widget. QWidget: setMaximumSize


Optional minSize

minSize? : Size

Inherited from ViewProps.minSize

Sets the minimum size of the widget. QWidget: setMinimumSize


Optional mouseTracking

mouseTracking? : undefined | false | true

Inherited from ViewProps.mouseTracking

Sets the property that tells whether mouseTracking is enabled for the widget. QWidget: setMouseTracking


Optional on

on? : Partial‹WidgetEventListeners | QPushButtonSignals›

Inherited from ViewProps.on

Prop to set the event listener map. See Handlong Events


Optional pos

pos? : Position

Inherited from ViewProps.pos

Sets the screen position of the widget. QWidget: move


Optional ref

ref? : any

Inherited from ViewProps.ref

Prop to set the ref. The ref will return the underlying nodegui widget.


Optional size

size? : ViewSize

Inherited from ViewProps.size

Sets both the minimum and maximum sizes of the widget. QWidget: setFixedSize


Optional style

style? : undefined | string

Inherited from ViewProps.style

Sets the inline stylesheet property. QWidget: setInlineStyle


Optional styleSheet

styleSheet? : undefined | string

Inherited from ViewProps.styleSheet

Sets the property that holds the widget's style sheet. QWidget: setStyleSheet


Optional text

text? : undefined | string

Inherited from AbstractButtonProps.text

Sets the given text to the button. QPushButton: setText


Optional visible

visible? : undefined | false | true

Inherited from ViewProps.visible

Shows or hides the widget and its children. QWidget: show


Optional windowFlags

windowFlags? : WindowFlagsMap

Inherited from ViewProps.windowFlags

Prop to set the Widget flags. example: +<View windowFlags={{[WindowType.SplashScreen]: true}} />


Optional windowIcon

windowIcon? : QIcon

Inherited from ViewProps.windowIcon

Sets the window icon. QWidget: setWindowIcon


Optional windowOpacity

windowOpacity? : undefined | number

Inherited from ViewProps.windowOpacity

This property holds the level of opacity for the window. QWidget: setWindowOpacity


Optional windowState

windowState? : WindowState

Inherited from ViewProps.windowState

Sets the window state. QWidget: setWindowState


Optional windowTitle

windowTitle? : undefined | string

Inherited from ViewProps.windowTitle

Sets the window title property. QWidget: setWindowTitle

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/cellrange/index.html b/docs/api/interfaces/cellrange/index.html new file mode 100644 index 00000000..7d1bfe45 --- /dev/null +++ b/docs/api/interfaces/cellrange/index.html @@ -0,0 +1,38 @@ + + + + + + + + + +CellRange | React NodeGui + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/cellwidget/index.html b/docs/api/interfaces/cellwidget/index.html new file mode 100644 index 00000000..af659363 --- /dev/null +++ b/docs/api/interfaces/cellwidget/index.html @@ -0,0 +1,38 @@ + + + + + + + + + +CellWidget | React NodeGui + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/checkboxprops/index.html b/docs/api/interfaces/checkboxprops/index.html new file mode 100644 index 00000000..c4beaba6 --- /dev/null +++ b/docs/api/interfaces/checkboxprops/index.html @@ -0,0 +1,42 @@ + + + + + + + + + +CheckBoxProps | React NodeGui + + + + + + + + + + + + + +
+

CheckBoxProps

The CheckBox component provides ability to add and manipulate native button widgets. It is based on +NodeGui's QCheckBox.

Example

import React from "react";
import { Renderer, CheckBox, Window } from "@nodegui/react-nodegui";
const App = () => {
return (
<Window>
<CheckBox style={checkboxStyle} text={"Hello World"} checked={true} />
</Window>
);
};
const checkboxStyle = `
color: white;
`;
Renderer.render(<App />);
+

Hierarchy

AbstractButtonProps‹QCheckBoxSignals›

CheckBoxProps

Index

Properties

Properties

Optional attributes

attributes? : WidgetAttributesMap

Inherited from ViewProps.attributes

Prop to set the Widget Attributes. example: +<View attributes={{[WidgetAttributes.WA_Disabled]: true}} />


Optional checked

checked? : undefined | false | true

This property holds whether the button is checked. QCheckBox: setChecked


Optional children

children? : undefined | string

Inherited from AbstractButtonProps.children

Alternative method of providing the button text


Optional cursor

cursor? : CursorShape | QCursor

Inherited from ViewProps.cursor

Sets the window mouse cursor. QWidget: setCursor


Optional enabled

enabled? : undefined | false | true

Inherited from ViewProps.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


Optional geometry

geometry? : Geometry

Inherited from ViewProps.geometry

Sets the screen position as well as size of the widget. QWidget: setGeometry


Optional icon

icon? : QIcon

Inherited from AbstractButtonProps.icon

Sets an icon in the button. QPushButton: setIcon


Optional iconSize

iconSize? : QSize

Inherited from AbstractButtonProps.iconSize

Sets an icon size in the button. QPushButton: setIconSize


Optional id

id? : undefined | string

Inherited from ViewProps.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


Optional maxSize

maxSize? : Size

Inherited from ViewProps.maxSize

Sets the maximum size of the widget. QWidget: setMaximumSize


Optional minSize

minSize? : Size

Inherited from ViewProps.minSize

Sets the minimum size of the widget. QWidget: setMinimumSize


Optional mouseTracking

mouseTracking? : undefined | false | true

Inherited from ViewProps.mouseTracking

Sets the property that tells whether mouseTracking is enabled for the widget. QWidget: setMouseTracking


Optional on

on? : Partial‹WidgetEventListeners | QCheckBoxSignals›

Inherited from ViewProps.on

Prop to set the event listener map. See Handlong Events


Optional pos

pos? : Position

Inherited from ViewProps.pos

Sets the screen position of the widget. QWidget: move


Optional ref

ref? : any

Inherited from ViewProps.ref

Prop to set the ref. The ref will return the underlying nodegui widget.


Optional size

size? : ViewSize

Inherited from ViewProps.size

Sets both the minimum and maximum sizes of the widget. QWidget: setFixedSize


Optional style

style? : undefined | string

Inherited from ViewProps.style

Sets the inline stylesheet property. QWidget: setInlineStyle


Optional styleSheet

styleSheet? : undefined | string

Inherited from ViewProps.styleSheet

Sets the property that holds the widget's style sheet. QWidget: setStyleSheet


Optional text

text? : undefined | string

Inherited from AbstractButtonProps.text

Sets the given text to the button. QPushButton: setText


Optional visible

visible? : undefined | false | true

Inherited from ViewProps.visible

Shows or hides the widget and its children. QWidget: show


Optional windowFlags

windowFlags? : WindowFlagsMap

Inherited from ViewProps.windowFlags

Prop to set the Widget flags. example: +<View windowFlags={{[WindowType.SplashScreen]: true}} />


Optional windowIcon

windowIcon? : QIcon

Inherited from ViewProps.windowIcon

Sets the window icon. QWidget: setWindowIcon


Optional windowOpacity

windowOpacity? : undefined | number

Inherited from ViewProps.windowOpacity

This property holds the level of opacity for the window. QWidget: setWindowOpacity


Optional windowState

windowState? : WindowState

Inherited from ViewProps.windowState

Sets the window state. QWidget: setWindowState


Optional windowTitle

windowTitle? : undefined | string

Inherited from ViewProps.windowTitle

Sets the window title property. QWidget: setWindowTitle

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/colordialogprops/index.html b/docs/api/interfaces/colordialogprops/index.html new file mode 100644 index 00000000..31b15673 --- /dev/null +++ b/docs/api/interfaces/colordialogprops/index.html @@ -0,0 +1,40 @@ + + + + + + + + + +ColorDialogProps | React NodeGui + + + + + + + + + + + + + +
+

ColorDialogProps

Hierarchy

DialogProps‹QColorDialogSignals›

ColorDialogProps

Index

Properties

Properties

Optional attributes

attributes? : WidgetAttributesMap

Inherited from ViewProps.attributes

Prop to set the Widget Attributes. example: +<View attributes={{[WidgetAttributes.WA_Disabled]: true}} />


Optional currentColor

currentColor? : QColor


Optional cursor

cursor? : CursorShape | QCursor

Inherited from ViewProps.cursor

Sets the window mouse cursor. QWidget: setCursor


Optional enableSizeGrip

enableSizeGrip? : undefined | false | true

Inherited from DialogProps.enableSizeGrip


Optional enabled

enabled? : undefined | false | true

Inherited from ViewProps.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


Optional focus

focus? : FocusReason

Inherited from DialogProps.focus


Optional font

font? : QFont

Inherited from DialogProps.font


Optional geometry

geometry? : Geometry

Inherited from ViewProps.geometry

Sets the screen position as well as size of the widget. QWidget: setGeometry


Optional id

id? : undefined | string

Inherited from ViewProps.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


Optional maxSize

maxSize? : Size

Inherited from ViewProps.maxSize

Sets the maximum size of the widget. QWidget: setMaximumSize


Optional minSize

minSize? : Size

Inherited from ViewProps.minSize

Sets the minimum size of the widget. QWidget: setMinimumSize


Optional modal

modal? : undefined | false | true

Inherited from DialogProps.modal


Optional mouseTracking

mouseTracking? : undefined | false | true

Inherited from ViewProps.mouseTracking

Sets the property that tells whether mouseTracking is enabled for the widget. QWidget: setMouseTracking


Optional on

on? : Partial‹WidgetEventListeners | QColorDialogSignals›

Inherited from ViewProps.on

Prop to set the event listener map. See Handlong Events


Optional open

open? : undefined | false | true

Inherited from DialogProps.open


Optional option

option? : DialogOption‹ColorDialogOption›


Optional options

options? : ColorDialogOption


Optional pos

pos? : Position

Inherited from ViewProps.pos

Sets the screen position of the widget. QWidget: move


Optional ref

ref? : any

Inherited from ViewProps.ref

Prop to set the ref. The ref will return the underlying nodegui widget.


Optional reject

reject? : undefined | false | true

Inherited from DialogProps.reject


Optional result

result? : undefined | number

Inherited from DialogProps.result


Optional size

size? : ViewSize

Inherited from ViewProps.size

Sets both the minimum and maximum sizes of the widget. QWidget: setFixedSize


Optional style

style? : undefined | string

Inherited from ViewProps.style

Sets the inline stylesheet property. QWidget: setInlineStyle


Optional styleSheet

styleSheet? : undefined | string

Inherited from ViewProps.styleSheet

Sets the property that holds the widget's style sheet. QWidget: setStyleSheet


Optional visible

visible? : undefined | false | true

Inherited from ViewProps.visible

Shows or hides the widget and its children. QWidget: show


Optional windowFlags

windowFlags? : WindowFlagsMap

Inherited from ViewProps.windowFlags

Prop to set the Widget flags. example: +<View windowFlags={{[WindowType.SplashScreen]: true}} />


Optional windowIcon

windowIcon? : QIcon

Inherited from ViewProps.windowIcon

Sets the window icon. QWidget: setWindowIcon


Optional windowOpacity

windowOpacity? : undefined | number

Inherited from ViewProps.windowOpacity

This property holds the level of opacity for the window. QWidget: setWindowOpacity


Optional windowState

windowState? : WindowState

Inherited from ViewProps.windowState

Sets the window state. QWidget: setWindowState


Optional windowTitle

windowTitle? : undefined | string

Inherited from ViewProps.windowTitle

Sets the window title property. QWidget: setWindowTitle

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/columnsize/index.html b/docs/api/interfaces/columnsize/index.html new file mode 100644 index 00000000..f38c5205 --- /dev/null +++ b/docs/api/interfaces/columnsize/index.html @@ -0,0 +1,38 @@ + + + + + + + + + +ColumnSize | React NodeGui + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/comboboxprops/index.html b/docs/api/interfaces/comboboxprops/index.html new file mode 100644 index 00000000..acecdfd4 --- /dev/null +++ b/docs/api/interfaces/comboboxprops/index.html @@ -0,0 +1,40 @@ + + + + + + + + + +ComboBoxProps | React NodeGui + + + + + + + + + + + + + +
+

ComboBoxProps

Hierarchy

ViewProps‹QComboBoxSignals›

ComboBoxProps

Index

Properties

Properties

Optional attributes

attributes? : WidgetAttributesMap

Inherited from ViewProps.attributes

Prop to set the Widget Attributes. example: +<View attributes={{[WidgetAttributes.WA_Disabled]: true}} />


Optional count

count? : undefined | number


Optional currentData

currentData? : QVariant


Optional currentIndex

currentIndex? : undefined | number


Optional currentText

currentText? : undefined | string


Optional cursor

cursor? : CursorShape | QCursor

Inherited from ViewProps.cursor

Sets the window mouse cursor. QWidget: setCursor


Optional duplicatesEnabled

duplicatesEnabled? : undefined | false | true


Optional editable

editable? : undefined | false | true


Optional enabled

enabled? : undefined | false | true

Inherited from ViewProps.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


Optional frame

frame? : undefined | false | true


Optional geometry

geometry? : Geometry

Inherited from ViewProps.geometry

Sets the screen position as well as size of the widget. QWidget: setGeometry


Optional iconSize

iconSize? : QSize


Optional id

id? : undefined | string

Inherited from ViewProps.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


Optional insertPolicy

insertPolicy? : InsertPolicy


Optional items

items? : ComboBoxItem[]


Optional maxCount

maxCount? : undefined | number


Optional maxSize

maxSize? : Size

Inherited from ViewProps.maxSize

Sets the maximum size of the widget. QWidget: setMaximumSize


Optional maxVisibleItems

maxVisibleItems? : undefined | number


Optional minSize

minSize? : Size

Inherited from ViewProps.minSize

Sets the minimum size of the widget. QWidget: setMinimumSize


Optional minimumContentsLength

minimumContentsLength? : undefined | number


Optional modelColumn

modelColumn? : undefined | number


Optional mouseTracking

mouseTracking? : undefined | false | true

Inherited from ViewProps.mouseTracking

Sets the property that tells whether mouseTracking is enabled for the widget. QWidget: setMouseTracking


Optional on

on? : Partial‹WidgetEventListeners | QComboBoxSignals›

Inherited from ViewProps.on

Prop to set the event listener map. See Handlong Events


Optional pos

pos? : Position

Inherited from ViewProps.pos

Sets the screen position of the widget. QWidget: move


Optional ref

ref? : any

Inherited from ViewProps.ref

Prop to set the ref. The ref will return the underlying nodegui widget.


Optional size

size? : ViewSize

Inherited from ViewProps.size

Sets both the minimum and maximum sizes of the widget. QWidget: setFixedSize


Optional sizeAdjustPolicy

sizeAdjustPolicy? : SizeAdjustPolicy


Optional style

style? : undefined | string

Inherited from ViewProps.style

Sets the inline stylesheet property. QWidget: setInlineStyle


Optional styleSheet

styleSheet? : undefined | string

Inherited from ViewProps.styleSheet

Sets the property that holds the widget's style sheet. QWidget: setStyleSheet


Optional visible

visible? : undefined | false | true

Inherited from ViewProps.visible

Shows or hides the widget and its children. QWidget: show


Optional windowFlags

windowFlags? : WindowFlagsMap

Inherited from ViewProps.windowFlags

Prop to set the Widget flags. example: +<View windowFlags={{[WindowType.SplashScreen]: true}} />


Optional windowIcon

windowIcon? : QIcon

Inherited from ViewProps.windowIcon

Sets the window icon. QWidget: setWindowIcon


Optional windowOpacity

windowOpacity? : undefined | number

Inherited from ViewProps.windowOpacity

This property holds the level of opacity for the window. QWidget: setWindowOpacity


Optional windowState

windowState? : WindowState

Inherited from ViewProps.windowState

Sets the window state. QWidget: setWindowState


Optional windowTitle

windowTitle? : undefined | string

Inherited from ViewProps.windowTitle

Sets the window title property. QWidget: setWindowTitle

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/datawithoffset/index.html b/docs/api/interfaces/datawithoffset/index.html new file mode 100644 index 00000000..95c125eb --- /dev/null +++ b/docs/api/interfaces/datawithoffset/index.html @@ -0,0 +1,38 @@ + + + + + + + + + +DataWithOffset | React NodeGui + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/dialogoption/index.html b/docs/api/interfaces/dialogoption/index.html new file mode 100644 index 00000000..11208199 --- /dev/null +++ b/docs/api/interfaces/dialogoption/index.html @@ -0,0 +1,38 @@ + + + + + + + + + +DialogOption | React NodeGui + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/dialogprops/index.html b/docs/api/interfaces/dialogprops/index.html new file mode 100644 index 00000000..47bdffab --- /dev/null +++ b/docs/api/interfaces/dialogprops/index.html @@ -0,0 +1,40 @@ + + + + + + + + + +DialogProps | React NodeGui + + + + + + + + + + + + + +
+

DialogProps

Type parameters

T

Hierarchy

ViewProps‹T›

DialogProps

FileDialogProps

ColorDialogProps

FontDialogProps

InputDialogProps

ProgressDialogProps

ErrorPromptProps

Index

Properties

Properties

Optional attributes

attributes? : WidgetAttributesMap

Inherited from ViewProps.attributes

Prop to set the Widget Attributes. example: +<View attributes={{[WidgetAttributes.WA_Disabled]: true}} />


Optional cursor

cursor? : CursorShape | QCursor

Inherited from ViewProps.cursor

Sets the window mouse cursor. QWidget: setCursor


Optional enableSizeGrip

enableSizeGrip? : undefined | false | true


Optional enabled

enabled? : undefined | false | true

Inherited from ViewProps.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


Optional focus

focus? : FocusReason


Optional font

font? : QFont


Optional geometry

geometry? : Geometry

Inherited from ViewProps.geometry

Sets the screen position as well as size of the widget. QWidget: setGeometry


Optional id

id? : undefined | string

Inherited from ViewProps.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


Optional maxSize

maxSize? : Size

Inherited from ViewProps.maxSize

Sets the maximum size of the widget. QWidget: setMaximumSize


Optional minSize

minSize? : Size

Inherited from ViewProps.minSize

Sets the minimum size of the widget. QWidget: setMinimumSize


Optional modal

modal? : undefined | false | true


Optional mouseTracking

mouseTracking? : undefined | false | true

Inherited from ViewProps.mouseTracking

Sets the property that tells whether mouseTracking is enabled for the widget. QWidget: setMouseTracking


Optional on

on? : Partial‹WidgetEventListeners | T›

Inherited from ViewProps.on

Prop to set the event listener map. See Handlong Events


Optional open

open? : undefined | false | true


Optional pos

pos? : Position

Inherited from ViewProps.pos

Sets the screen position of the widget. QWidget: move


Optional ref

ref? : any

Inherited from ViewProps.ref

Prop to set the ref. The ref will return the underlying nodegui widget.


Optional reject

reject? : undefined | false | true


Optional result

result? : undefined | number


Optional size

size? : ViewSize

Inherited from ViewProps.size

Sets both the minimum and maximum sizes of the widget. QWidget: setFixedSize


Optional style

style? : undefined | string

Inherited from ViewProps.style

Sets the inline stylesheet property. QWidget: setInlineStyle


Optional styleSheet

styleSheet? : undefined | string

Inherited from ViewProps.styleSheet

Sets the property that holds the widget's style sheet. QWidget: setStyleSheet


Optional visible

visible? : undefined | false | true

Inherited from ViewProps.visible

Shows or hides the widget and its children. QWidget: show


Optional windowFlags

windowFlags? : WindowFlagsMap

Inherited from ViewProps.windowFlags

Prop to set the Widget flags. example: +<View windowFlags={{[WindowType.SplashScreen]: true}} />


Optional windowIcon

windowIcon? : QIcon

Inherited from ViewProps.windowIcon

Sets the window icon. QWidget: setWindowIcon


Optional windowOpacity

windowOpacity? : undefined | number

Inherited from ViewProps.windowOpacity

This property holds the level of opacity for the window. QWidget: setWindowOpacity


Optional windowState

windowState? : WindowState

Inherited from ViewProps.windowState

Sets the window state. QWidget: setWindowState


Optional windowTitle

windowTitle? : undefined | string

Inherited from ViewProps.windowTitle

Sets the window title property. QWidget: setWindowTitle

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/dialprops/index.html b/docs/api/interfaces/dialprops/index.html new file mode 100644 index 00000000..aad26441 --- /dev/null +++ b/docs/api/interfaces/dialprops/index.html @@ -0,0 +1,41 @@ + + + + + + + + + +DialProps | React NodeGui + + + + + + + + + + + + + +
+

DialProps

The Dial provides ability to add and manipulate native dial slider widgets. It is based on +NodeGui's QDial.

Example

import React from "react";
import { Renderer, Dial, Window } from "@nodegui/react-nodegui";
const App = () => {
return (
<Window>
<Dial />
</Window>
);
};
Renderer.render(<App />);

Hierarchy

ViewProps‹QDialSignals›

DialProps

Index

Properties

Properties

Optional attributes

attributes? : WidgetAttributesMap

Inherited from ViewProps.attributes

Prop to set the Widget Attributes. example: +<View attributes={{[WidgetAttributes.WA_Disabled]: true}} />


Optional cursor

cursor? : CursorShape | QCursor

Inherited from ViewProps.cursor

Sets the window mouse cursor. QWidget: setCursor


Optional enabled

enabled? : undefined | false | true

Inherited from ViewProps.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


Optional geometry

geometry? : Geometry

Inherited from ViewProps.geometry

Sets the screen position as well as size of the widget. QWidget: setGeometry


Optional id

id? : undefined | string

Inherited from ViewProps.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


Optional maxSize

maxSize? : Size

Inherited from ViewProps.maxSize

Sets the maximum size of the widget. QWidget: setMaximumSize


Optional minSize

minSize? : Size

Inherited from ViewProps.minSize

Sets the minimum size of the widget. QWidget: setMinimumSize


Optional mouseTracking

mouseTracking? : undefined | false | true

Inherited from ViewProps.mouseTracking

Sets the property that tells whether mouseTracking is enabled for the widget. QWidget: setMouseTracking


Optional notchTarget

notchTarget? : undefined | number


Optional notchesVisible

notchesVisible? : undefined | false | true


Optional on

on? : Partial‹WidgetEventListeners | QDialSignals›

Inherited from ViewProps.on

Prop to set the event listener map. See Handlong Events


Optional pos

pos? : Position

Inherited from ViewProps.pos

Sets the screen position of the widget. QWidget: move


Optional ref

ref? : any

Inherited from ViewProps.ref

Prop to set the ref. The ref will return the underlying nodegui widget.


Optional size

size? : ViewSize

Inherited from ViewProps.size

Sets both the minimum and maximum sizes of the widget. QWidget: setFixedSize


Optional style

style? : undefined | string

Inherited from ViewProps.style

Sets the inline stylesheet property. QWidget: setInlineStyle


Optional styleSheet

styleSheet? : undefined | string

Inherited from ViewProps.styleSheet

Sets the property that holds the widget's style sheet. QWidget: setStyleSheet


Optional visible

visible? : undefined | false | true

Inherited from ViewProps.visible

Shows or hides the widget and its children. QWidget: show


Optional windowFlags

windowFlags? : WindowFlagsMap

Inherited from ViewProps.windowFlags

Prop to set the Widget flags. example: +<View windowFlags={{[WindowType.SplashScreen]: true}} />


Optional windowIcon

windowIcon? : QIcon

Inherited from ViewProps.windowIcon

Sets the window icon. QWidget: setWindowIcon


Optional windowOpacity

windowOpacity? : undefined | number

Inherited from ViewProps.windowOpacity

This property holds the level of opacity for the window. QWidget: setWindowOpacity


Optional windowState

windowState? : WindowState

Inherited from ViewProps.windowState

Sets the window state. QWidget: setWindowState


Optional windowTitle

windowTitle? : undefined | string

Inherited from ViewProps.windowTitle

Sets the window title property. QWidget: setWindowTitle


Optional wrapping

wrapping? : undefined | false | true

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/errorpromptprops/index.html b/docs/api/interfaces/errorpromptprops/index.html new file mode 100644 index 00000000..feb829a2 --- /dev/null +++ b/docs/api/interfaces/errorpromptprops/index.html @@ -0,0 +1,40 @@ + + + + + + + + + +ErrorPromptProps | React NodeGui + + + + + + + + + + + + + +
+

ErrorPromptProps

Hierarchy

DialogProps‹QErrorMessageSignals›

ErrorPromptProps

Index

Properties

Properties

Optional attributes

attributes? : WidgetAttributesMap

Inherited from ViewProps.attributes

Prop to set the Widget Attributes. example: +<View attributes={{[WidgetAttributes.WA_Disabled]: true}} />


Optional cursor

cursor? : CursorShape | QCursor

Inherited from ViewProps.cursor

Sets the window mouse cursor. QWidget: setCursor


Optional enableSizeGrip

enableSizeGrip? : undefined | false | true

Inherited from DialogProps.enableSizeGrip


Optional enabled

enabled? : undefined | false | true

Inherited from ViewProps.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


Optional focus

focus? : FocusReason

Inherited from DialogProps.focus


Optional font

font? : QFont

Inherited from DialogProps.font


Optional geometry

geometry? : Geometry

Inherited from ViewProps.geometry

Sets the screen position as well as size of the widget. QWidget: setGeometry


Optional id

id? : undefined | string

Inherited from ViewProps.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


Optional maxSize

maxSize? : Size

Inherited from ViewProps.maxSize

Sets the maximum size of the widget. QWidget: setMaximumSize


message

message: string


Optional minSize

minSize? : Size

Inherited from ViewProps.minSize

Sets the minimum size of the widget. QWidget: setMinimumSize


Optional modal

modal? : undefined | false | true

Inherited from DialogProps.modal


Optional mouseTracking

mouseTracking? : undefined | false | true

Inherited from ViewProps.mouseTracking

Sets the property that tells whether mouseTracking is enabled for the widget. QWidget: setMouseTracking


Optional on

on? : Partial‹WidgetEventListeners | QErrorMessageSignals›

Inherited from ViewProps.on

Prop to set the event listener map. See Handlong Events


Optional open

open? : undefined | false | true

Inherited from DialogProps.open


Optional pos

pos? : Position

Inherited from ViewProps.pos

Sets the screen position of the widget. QWidget: move


Optional ref

ref? : any

Inherited from ViewProps.ref

Prop to set the ref. The ref will return the underlying nodegui widget.


Optional reject

reject? : undefined | false | true

Inherited from DialogProps.reject


Optional result

result? : undefined | number

Inherited from DialogProps.result


Optional size

size? : ViewSize

Inherited from ViewProps.size

Sets both the minimum and maximum sizes of the widget. QWidget: setFixedSize


Optional style

style? : undefined | string

Inherited from ViewProps.style

Sets the inline stylesheet property. QWidget: setInlineStyle


Optional styleSheet

styleSheet? : undefined | string

Inherited from ViewProps.styleSheet

Sets the property that holds the widget's style sheet. QWidget: setStyleSheet


Optional visible

visible? : undefined | false | true

Inherited from ViewProps.visible

Shows or hides the widget and its children. QWidget: show


Optional windowFlags

windowFlags? : WindowFlagsMap

Inherited from ViewProps.windowFlags

Prop to set the Widget flags. example: +<View windowFlags={{[WindowType.SplashScreen]: true}} />


Optional windowIcon

windowIcon? : QIcon

Inherited from ViewProps.windowIcon

Sets the window icon. QWidget: setWindowIcon


Optional windowOpacity

windowOpacity? : undefined | number

Inherited from ViewProps.windowOpacity

This property holds the level of opacity for the window. QWidget: setWindowOpacity


Optional windowState

windowState? : WindowState

Inherited from ViewProps.windowState

Sets the window state. QWidget: setWindowState


Optional windowTitle

windowTitle? : undefined | string

Inherited from ViewProps.windowTitle

Sets the window title property. QWidget: setWindowTitle

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/filedialoglabeltext/index.html b/docs/api/interfaces/filedialoglabeltext/index.html new file mode 100644 index 00000000..7887a7c1 --- /dev/null +++ b/docs/api/interfaces/filedialoglabeltext/index.html @@ -0,0 +1,38 @@ + + + + + + + + + +FileDialogLabelText | React NodeGui + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/filedialogprops/index.html b/docs/api/interfaces/filedialogprops/index.html new file mode 100644 index 00000000..c1ccafc7 --- /dev/null +++ b/docs/api/interfaces/filedialogprops/index.html @@ -0,0 +1,40 @@ + + + + + + + + + +FileDialogProps | React NodeGui + + + + + + + + + + + + + +
+

FileDialogProps

Hierarchy

DialogProps‹QFileDialogSignals›

FileDialogProps

Index

Properties

Properties

Optional attributes

attributes? : WidgetAttributesMap

Inherited from ViewProps.attributes

Prop to set the Widget Attributes. example: +<View attributes={{[WidgetAttributes.WA_Disabled]: true}} />


Optional cursor

cursor? : CursorShape | QCursor

Inherited from ViewProps.cursor

Sets the window mouse cursor. QWidget: setCursor


Optional defaultSuffix

defaultSuffix? : undefined | string


Optional enableSizeGrip

enableSizeGrip? : undefined | false | true

Inherited from DialogProps.enableSizeGrip


Optional enabled

enabled? : undefined | false | true

Inherited from ViewProps.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


Optional focus

focus? : FocusReason

Inherited from DialogProps.focus


Optional font

font? : QFont

Inherited from DialogProps.font


Optional geometry

geometry? : Geometry

Inherited from ViewProps.geometry

Sets the screen position as well as size of the widget. QWidget: setGeometry


Optional id

id? : undefined | string

Inherited from ViewProps.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


Optional labelText

labelText? : FileDialogLabelText


Optional maxSize

maxSize? : Size

Inherited from ViewProps.maxSize

Sets the maximum size of the widget. QWidget: setMaximumSize


Optional minSize

minSize? : Size

Inherited from ViewProps.minSize

Sets the minimum size of the widget. QWidget: setMinimumSize


Optional modal

modal? : undefined | false | true

Inherited from DialogProps.modal


Optional mouseTracking

mouseTracking? : undefined | false | true

Inherited from ViewProps.mouseTracking

Sets the property that tells whether mouseTracking is enabled for the widget. QWidget: setMouseTracking


Optional on

on? : Partial‹WidgetEventListeners | QFileDialogSignals›

Inherited from ViewProps.on

Prop to set the event listener map. See Handlong Events


Optional open

open? : undefined | false | true

Inherited from DialogProps.open


Optional option

option? : DialogOption


Optional options

options? : Option


Optional pos

pos? : Position

Inherited from ViewProps.pos

Sets the screen position of the widget. QWidget: move


Optional ref

ref? : any

Inherited from ViewProps.ref

Prop to set the ref. The ref will return the underlying nodegui widget.


Optional reject

reject? : undefined | false | true

Inherited from DialogProps.reject


Optional result

result? : undefined | number

Inherited from DialogProps.result


Optional size

size? : ViewSize

Inherited from ViewProps.size

Sets both the minimum and maximum sizes of the widget. QWidget: setFixedSize


Optional style

style? : undefined | string

Inherited from ViewProps.style

Sets the inline stylesheet property. QWidget: setInlineStyle


Optional styleSheet

styleSheet? : undefined | string

Inherited from ViewProps.styleSheet

Sets the property that holds the widget's style sheet. QWidget: setStyleSheet


Optional supportedSchemes

supportedSchemes? : string[]


Optional visible

visible? : undefined | false | true

Inherited from ViewProps.visible

Shows or hides the widget and its children. QWidget: show


Optional windowFlags

windowFlags? : WindowFlagsMap

Inherited from ViewProps.windowFlags

Prop to set the Widget flags. example: +<View windowFlags={{[WindowType.SplashScreen]: true}} />


Optional windowIcon

windowIcon? : QIcon

Inherited from ViewProps.windowIcon

Sets the window icon. QWidget: setWindowIcon


Optional windowOpacity

windowOpacity? : undefined | number

Inherited from ViewProps.windowOpacity

This property holds the level of opacity for the window. QWidget: setWindowOpacity


Optional windowState

windowState? : WindowState

Inherited from ViewProps.windowState

Sets the window state. QWidget: setWindowState


Optional windowTitle

windowTitle? : undefined | string

Inherited from ViewProps.windowTitle

Sets the window title property. QWidget: setWindowTitle

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/fontdialogprops/index.html b/docs/api/interfaces/fontdialogprops/index.html new file mode 100644 index 00000000..ba32c41d --- /dev/null +++ b/docs/api/interfaces/fontdialogprops/index.html @@ -0,0 +1,40 @@ + + + + + + + + + +FontDialogProps | React NodeGui + + + + + + + + + + + + + +
+

FontDialogProps

Hierarchy

DialogProps‹QFontDialogSignals›

FontDialogProps

Index

Properties

Properties

Optional attributes

attributes? : WidgetAttributesMap

Inherited from ViewProps.attributes

Prop to set the Widget Attributes. example: +<View attributes={{[WidgetAttributes.WA_Disabled]: true}} />


Optional currentFont

currentFont? : QFont


Optional cursor

cursor? : CursorShape | QCursor

Inherited from ViewProps.cursor

Sets the window mouse cursor. QWidget: setCursor


Optional enableSizeGrip

enableSizeGrip? : undefined | false | true

Inherited from DialogProps.enableSizeGrip


Optional enabled

enabled? : undefined | false | true

Inherited from ViewProps.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


Optional focus

focus? : FocusReason

Inherited from DialogProps.focus


Optional font

font? : QFont

Inherited from DialogProps.font


Optional geometry

geometry? : Geometry

Inherited from ViewProps.geometry

Sets the screen position as well as size of the widget. QWidget: setGeometry


Optional id

id? : undefined | string

Inherited from ViewProps.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


Optional maxSize

maxSize? : Size

Inherited from ViewProps.maxSize

Sets the maximum size of the widget. QWidget: setMaximumSize


Optional minSize

minSize? : Size

Inherited from ViewProps.minSize

Sets the minimum size of the widget. QWidget: setMinimumSize


Optional modal

modal? : undefined | false | true

Inherited from DialogProps.modal


Optional mouseTracking

mouseTracking? : undefined | false | true

Inherited from ViewProps.mouseTracking

Sets the property that tells whether mouseTracking is enabled for the widget. QWidget: setMouseTracking


Optional on

on? : Partial‹WidgetEventListeners | QFontDialogSignals›

Inherited from ViewProps.on

Prop to set the event listener map. See Handlong Events


Optional open

open? : undefined | false | true

Inherited from DialogProps.open


Optional option

option? : DialogOption‹FontDialogOption›


Optional options

options? : FontDialogOption


Optional pos

pos? : Position

Inherited from ViewProps.pos

Sets the screen position of the widget. QWidget: move


Optional ref

ref? : any

Inherited from ViewProps.ref

Prop to set the ref. The ref will return the underlying nodegui widget.


Optional reject

reject? : undefined | false | true

Inherited from DialogProps.reject


Optional result

result? : undefined | number

Inherited from DialogProps.result


Optional size

size? : ViewSize

Inherited from ViewProps.size

Sets both the minimum and maximum sizes of the widget. QWidget: setFixedSize


Optional style

style? : undefined | string

Inherited from ViewProps.style

Sets the inline stylesheet property. QWidget: setInlineStyle


Optional styleSheet

styleSheet? : undefined | string

Inherited from ViewProps.styleSheet

Sets the property that holds the widget's style sheet. QWidget: setStyleSheet


Optional visible

visible? : undefined | false | true

Inherited from ViewProps.visible

Shows or hides the widget and its children. QWidget: show


Optional windowFlags

windowFlags? : WindowFlagsMap

Inherited from ViewProps.windowFlags

Prop to set the Widget flags. example: +<View windowFlags={{[WindowType.SplashScreen]: true}} />


Optional windowIcon

windowIcon? : QIcon

Inherited from ViewProps.windowIcon

Sets the window icon. QWidget: setWindowIcon


Optional windowOpacity

windowOpacity? : undefined | number

Inherited from ViewProps.windowOpacity

This property holds the level of opacity for the window. QWidget: setWindowOpacity


Optional windowState

windowState? : WindowState

Inherited from ViewProps.windowState

Sets the window state. QWidget: setWindowState


Optional windowTitle

windowTitle? : undefined | string

Inherited from ViewProps.windowTitle

Sets the window title property. QWidget: setWindowTitle

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/gridviewprops/index.html b/docs/api/interfaces/gridviewprops/index.html new file mode 100644 index 00000000..d42b121e --- /dev/null +++ b/docs/api/interfaces/gridviewprops/index.html @@ -0,0 +1,40 @@ + + + + + + + + + +GridViewProps | React NodeGui + + + + + + + + + + + + + +
+

GridViewProps

Hierarchy

ViewProps‹QGridLayoutSignals›

GridViewProps

Index

Properties

Properties

Optional attributes

attributes? : WidgetAttributesMap

Inherited from ViewProps.attributes

Prop to set the Widget Attributes. example: +<View attributes={{[WidgetAttributes.WA_Disabled]: true}} />


children

children: Array‹FunctionComponentElement‹GridRowProps›› | FunctionComponentElement‹GridRowProps


Optional columnProps

columnProps? : GridViewColumnProps


Optional cursor

cursor? : CursorShape | QCursor

Inherited from ViewProps.cursor

Sets the window mouse cursor. QWidget: setCursor


Optional enabled

enabled? : undefined | false | true

Inherited from ViewProps.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


Optional geometry

geometry? : Geometry

Inherited from ViewProps.geometry

Sets the screen position as well as size of the widget. QWidget: setGeometry


Optional horizontalSpacing

horizontalSpacing? : undefined | number


Optional id

id? : undefined | string

Inherited from ViewProps.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


Optional maxSize

maxSize? : Size

Inherited from ViewProps.maxSize

Sets the maximum size of the widget. QWidget: setMaximumSize


Optional minSize

minSize? : Size

Inherited from ViewProps.minSize

Sets the minimum size of the widget. QWidget: setMinimumSize


Optional mouseTracking

mouseTracking? : undefined | false | true

Inherited from ViewProps.mouseTracking

Sets the property that tells whether mouseTracking is enabled for the widget. QWidget: setMouseTracking


Optional on

on? : Partial‹WidgetEventListeners | QGridLayoutSignals›

Inherited from ViewProps.on

Prop to set the event listener map. See Handlong Events


Optional pos

pos? : Position

Inherited from ViewProps.pos

Sets the screen position of the widget. QWidget: move


Optional ref

ref? : any

Inherited from ViewProps.ref

Prop to set the ref. The ref will return the underlying nodegui widget.


Optional rowProps

rowProps? : GridViewRowProps


Optional size

size? : ViewSize

Inherited from ViewProps.size

Sets both the minimum and maximum sizes of the widget. QWidget: setFixedSize


Optional style

style? : undefined | string

Inherited from ViewProps.style

Sets the inline stylesheet property. QWidget: setInlineStyle


Optional styleSheet

styleSheet? : undefined | string

Inherited from ViewProps.styleSheet

Sets the property that holds the widget's style sheet. QWidget: setStyleSheet


Optional verticalSpacing

verticalSpacing? : undefined | number


Optional visible

visible? : undefined | false | true

Inherited from ViewProps.visible

Shows or hides the widget and its children. QWidget: show


Optional windowFlags

windowFlags? : WindowFlagsMap

Inherited from ViewProps.windowFlags

Prop to set the Widget flags. example: +<View windowFlags={{[WindowType.SplashScreen]: true}} />


Optional windowIcon

windowIcon? : QIcon

Inherited from ViewProps.windowIcon

Sets the window icon. QWidget: setWindowIcon


Optional windowOpacity

windowOpacity? : undefined | number

Inherited from ViewProps.windowOpacity

This property holds the level of opacity for the window. QWidget: setWindowOpacity


Optional windowState

windowState? : WindowState

Inherited from ViewProps.windowState

Sets the window state. QWidget: setWindowState


Optional windowTitle

windowTitle? : undefined | string

Inherited from ViewProps.windowTitle

Sets the window title property. QWidget: setWindowTitle

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/horizontalheader/index.html b/docs/api/interfaces/horizontalheader/index.html new file mode 100644 index 00000000..3748cf38 --- /dev/null +++ b/docs/api/interfaces/horizontalheader/index.html @@ -0,0 +1,38 @@ + + + + + + + + + +HorizontalHeader | React NodeGui + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/imageprops/index.html b/docs/api/interfaces/imageprops/index.html new file mode 100644 index 00000000..491500be --- /dev/null +++ b/docs/api/interfaces/imageprops/index.html @@ -0,0 +1,41 @@ + + + + + + + + + +ImageProps | React NodeGui + + + + + + + + + + + + + +
+

ImageProps

The Image component provides the ability to render images. It is based on +NodeGui's QPixmap.

Example

import React from "react";
import { Renderer, Image, Window } from "@nodegui/react-nodegui";
import { AspectRatioMode } from "@nodegui/nodegui";
const App = () => {
return (
<Window>
<Image
aspectRatioMode={AspectRatioMode.KeepAspectRatio}
size={{ height: 200, width: 150 }}
src="https://place-hold.it/200x150"
></Image>
</Window>
);
};
Renderer.render(<App />);

Hierarchy

TextProps

ImageProps

Index

Properties

Properties

Optional aspectRatioMode

aspectRatioMode? : AspectRatioMode


Optional attributes

attributes? : WidgetAttributesMap

Inherited from ViewProps.attributes

Prop to set the Widget Attributes. example: +<View attributes={{[WidgetAttributes.WA_Disabled]: true}} />


Optional buffer

buffer? : Buffer


Optional children

children? : string | number | Array‹string | number›

Inherited from TextProps.children


Optional cursor

cursor? : CursorShape | QCursor

Inherited from ViewProps.cursor

Sets the window mouse cursor. QWidget: setCursor


Optional enabled

enabled? : undefined | false | true

Inherited from ViewProps.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


Optional geometry

geometry? : Geometry

Inherited from ViewProps.geometry

Sets the screen position as well as size of the widget. QWidget: setGeometry


Optional id

id? : undefined | string

Inherited from ViewProps.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


Optional maxSize

maxSize? : Size

Inherited from ViewProps.maxSize

Sets the maximum size of the widget. QWidget: setMaximumSize


Optional minSize

minSize? : Size

Inherited from ViewProps.minSize

Sets the minimum size of the widget. QWidget: setMinimumSize


Optional mouseTracking

mouseTracking? : undefined | false | true

Inherited from ViewProps.mouseTracking

Sets the property that tells whether mouseTracking is enabled for the widget. QWidget: setMouseTracking


Optional on

on? : Partial‹WidgetEventListeners | QLabelSignals›

Inherited from ViewProps.on

Prop to set the event listener map. See Handlong Events


Optional openExternalLinks

openExternalLinks? : undefined | false | true

Inherited from TextProps.openExternalLinks


Optional pos

pos? : Position

Inherited from ViewProps.pos

Sets the screen position of the widget. QWidget: move


Optional ref

ref? : any

Inherited from ViewProps.ref

Prop to set the ref. The ref will return the underlying nodegui widget.


Optional scaledContents

scaledContents? : undefined | false | true

Inherited from TextProps.scaledContents


Optional size

size? : ViewSize

Inherited from ViewProps.size

Sets both the minimum and maximum sizes of the widget. QWidget: setFixedSize


Optional src

src? : undefined | string


Optional style

style? : undefined | string

Inherited from ViewProps.style

Sets the inline stylesheet property. QWidget: setInlineStyle


Optional styleSheet

styleSheet? : undefined | string

Inherited from ViewProps.styleSheet

Sets the property that holds the widget's style sheet. QWidget: setStyleSheet


Optional textInteractionFlags

textInteractionFlags? : TextInteractionFlag

Inherited from TextProps.textInteractionFlags


Optional transformationMode

transformationMode? : TransformationMode


Optional visible

visible? : undefined | false | true

Inherited from ViewProps.visible

Shows or hides the widget and its children. QWidget: show


Optional windowFlags

windowFlags? : WindowFlagsMap

Inherited from ViewProps.windowFlags

Prop to set the Widget flags. example: +<View windowFlags={{[WindowType.SplashScreen]: true}} />


Optional windowIcon

windowIcon? : QIcon

Inherited from ViewProps.windowIcon

Sets the window icon. QWidget: setWindowIcon


Optional windowOpacity

windowOpacity? : undefined | number

Inherited from ViewProps.windowOpacity

This property holds the level of opacity for the window. QWidget: setWindowOpacity


Optional windowState

windowState? : WindowState

Inherited from ViewProps.windowState

Sets the window state. QWidget: setWindowState


Optional windowTitle

windowTitle? : undefined | string

Inherited from ViewProps.windowTitle

Sets the window title property. QWidget: setWindowTitle


Optional wordWrap

wordWrap? : undefined | false | true

Inherited from TextProps.wordWrap

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/inputdialogprops/index.html b/docs/api/interfaces/inputdialogprops/index.html new file mode 100644 index 00000000..03e92d35 --- /dev/null +++ b/docs/api/interfaces/inputdialogprops/index.html @@ -0,0 +1,40 @@ + + + + + + + + + +InputDialogProps | React NodeGui + + + + + + + + + + + + + +
+

InputDialogProps

Hierarchy

DialogProps‹QInputDialogSignals›

InputDialogProps

Index

Properties

Properties

Optional attributes

attributes? : WidgetAttributesMap

Inherited from ViewProps.attributes

Prop to set the Widget Attributes. example: +<View attributes={{[WidgetAttributes.WA_Disabled]: true}} />


Optional cancelButtonText

cancelButtonText? : undefined | string


Optional comboBoxEditable

comboBoxEditable? : undefined | false | true


Optional cursor

cursor? : CursorShape | QCursor

Inherited from ViewProps.cursor

Sets the window mouse cursor. QWidget: setCursor


Optional doubleDecimals

doubleDecimals? : undefined | number


Optional doubleMax

doubleMax? : undefined | number


Optional doubleMin

doubleMin? : undefined | number


Optional doubleStep

doubleStep? : undefined | number


Optional doubleValue

doubleValue? : undefined | number


Optional enableSizeGrip

enableSizeGrip? : undefined | false | true

Inherited from DialogProps.enableSizeGrip


Optional enabled

enabled? : undefined | false | true

Inherited from ViewProps.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


Optional focus

focus? : FocusReason

Inherited from DialogProps.focus


Optional font

font? : QFont

Inherited from DialogProps.font


Optional geometry

geometry? : Geometry

Inherited from ViewProps.geometry

Sets the screen position as well as size of the widget. QWidget: setGeometry


Optional id

id? : undefined | string

Inherited from ViewProps.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


Optional inputMode

inputMode? : InputMode


Optional intMax

intMax? : undefined | number


Optional intMin

intMin? : undefined | number


Optional intStep

intStep? : undefined | number


Optional intValue

intValue? : undefined | number


Optional labelText

labelText? : undefined | string


Optional maxSize

maxSize? : Size

Inherited from ViewProps.maxSize

Sets the maximum size of the widget. QWidget: setMaximumSize


Optional minSize

minSize? : Size

Inherited from ViewProps.minSize

Sets the minimum size of the widget. QWidget: setMinimumSize


Optional modal

modal? : undefined | false | true

Inherited from DialogProps.modal


Optional mouseTracking

mouseTracking? : undefined | false | true

Inherited from ViewProps.mouseTracking

Sets the property that tells whether mouseTracking is enabled for the widget. QWidget: setMouseTracking


Optional okButtonText

okButtonText? : undefined | string


Optional on

on? : Partial‹WidgetEventListeners | QInputDialogSignals›

Inherited from ViewProps.on

Prop to set the event listener map. See Handlong Events


Optional open

open? : undefined | false | true

Inherited from DialogProps.open


Optional options

options? : InputDialogOptions


Optional pos

pos? : Position

Inherited from ViewProps.pos

Sets the screen position of the widget. QWidget: move


Optional ref

ref? : any

Inherited from ViewProps.ref

Prop to set the ref. The ref will return the underlying nodegui widget.


Optional reject

reject? : undefined | false | true

Inherited from DialogProps.reject


Optional result

result? : undefined | number

Inherited from DialogProps.result


Optional size

size? : ViewSize

Inherited from ViewProps.size

Sets both the minimum and maximum sizes of the widget. QWidget: setFixedSize


Optional style

style? : undefined | string

Inherited from ViewProps.style

Sets the inline stylesheet property. QWidget: setInlineStyle


Optional styleSheet

styleSheet? : undefined | string

Inherited from ViewProps.styleSheet

Sets the property that holds the widget's style sheet. QWidget: setStyleSheet


Optional textEchoMode

textEchoMode? : EchoMode


Optional textValue

textValue? : undefined | string


Optional visible

visible? : undefined | false | true

Inherited from ViewProps.visible

Shows or hides the widget and its children. QWidget: show


Optional windowFlags

windowFlags? : WindowFlagsMap

Inherited from ViewProps.windowFlags

Prop to set the Widget flags. example: +<View windowFlags={{[WindowType.SplashScreen]: true}} />


Optional windowIcon

windowIcon? : QIcon

Inherited from ViewProps.windowIcon

Sets the window icon. QWidget: setWindowIcon


Optional windowOpacity

windowOpacity? : undefined | number

Inherited from ViewProps.windowOpacity

This property holds the level of opacity for the window. QWidget: setWindowOpacity


Optional windowState

windowState? : WindowState

Inherited from ViewProps.windowState

Sets the window state. QWidget: setWindowState


Optional windowTitle

windowTitle? : undefined | string

Inherited from ViewProps.windowTitle

Sets the window title property. QWidget: setWindowTitle

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/lineeditprops/index.html b/docs/api/interfaces/lineeditprops/index.html new file mode 100644 index 00000000..d2edf7ec --- /dev/null +++ b/docs/api/interfaces/lineeditprops/index.html @@ -0,0 +1,42 @@ + + + + + + + + + +LineEditProps | React NodeGui + + + + + + + + + + + + + +
+

LineEditProps

The LineEdit component provides ability to add and manipulate native editable text field widgets. It is based on +NodeGui's QLineEdit.

Example

import React from "react";
import { Renderer, LineEdit, Window } from "@nodegui/react-nodegui";
const App = () => {
const handleTextChanged = textValue => {
console.log(textValue);
};
return (
<Window>
<LineEdit on={{ textChanged: handleTextChanged }} />
</Window>
);
};
Renderer.render(<App />);
+

Hierarchy

ViewProps‹QLineEditSignals›

LineEditProps

Index

Properties

Properties

Optional attributes

attributes? : WidgetAttributesMap

Inherited from ViewProps.attributes

Prop to set the Widget Attributes. example: +<View attributes={{[WidgetAttributes.WA_Disabled]: true}} />


Optional cursor

cursor? : CursorShape | QCursor

Inherited from ViewProps.cursor

Sets the window mouse cursor. QWidget: setCursor


Optional echoMode

echoMode? : EchoMode


Optional enabled

enabled? : undefined | false | true

Inherited from ViewProps.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


Optional geometry

geometry? : Geometry

Inherited from ViewProps.geometry

Sets the screen position as well as size of the widget. QWidget: setGeometry


Optional id

id? : undefined | string

Inherited from ViewProps.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


Optional maxSize

maxSize? : Size

Inherited from ViewProps.maxSize

Sets the maximum size of the widget. QWidget: setMaximumSize


Optional minSize

minSize? : Size

Inherited from ViewProps.minSize

Sets the minimum size of the widget. QWidget: setMinimumSize


Optional mouseTracking

mouseTracking? : undefined | false | true

Inherited from ViewProps.mouseTracking

Sets the property that tells whether mouseTracking is enabled for the widget. QWidget: setMouseTracking


Optional on

on? : Partial‹WidgetEventListeners | QLineEditSignals›

Inherited from ViewProps.on

Prop to set the event listener map. See Handlong Events


Optional placeholderText

placeholderText? : undefined | string


Optional pos

pos? : Position

Inherited from ViewProps.pos

Sets the screen position of the widget. QWidget: move


Optional readOnly

readOnly? : undefined | false | true


Optional ref

ref? : any

Inherited from ViewProps.ref

Prop to set the ref. The ref will return the underlying nodegui widget.


Optional size

size? : ViewSize

Inherited from ViewProps.size

Sets both the minimum and maximum sizes of the widget. QWidget: setFixedSize


Optional style

style? : undefined | string

Inherited from ViewProps.style

Sets the inline stylesheet property. QWidget: setInlineStyle


Optional styleSheet

styleSheet? : undefined | string

Inherited from ViewProps.styleSheet

Sets the property that holds the widget's style sheet. QWidget: setStyleSheet


Optional text

text? : undefined | string


Optional visible

visible? : undefined | false | true

Inherited from ViewProps.visible

Shows or hides the widget and its children. QWidget: show


Optional windowFlags

windowFlags? : WindowFlagsMap

Inherited from ViewProps.windowFlags

Prop to set the Widget flags. example: +<View windowFlags={{[WindowType.SplashScreen]: true}} />


Optional windowIcon

windowIcon? : QIcon

Inherited from ViewProps.windowIcon

Sets the window icon. QWidget: setWindowIcon


Optional windowOpacity

windowOpacity? : undefined | number

Inherited from ViewProps.windowOpacity

This property holds the level of opacity for the window. QWidget: setWindowOpacity


Optional windowState

windowState? : WindowState

Inherited from ViewProps.windowState

Sets the window state. QWidget: setWindowState


Optional windowTitle

windowTitle? : undefined | string

Inherited from ViewProps.windowTitle

Sets the window title property. QWidget: setWindowTitle

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/listitemprops/index.html b/docs/api/interfaces/listitemprops/index.html new file mode 100644 index 00000000..f052c202 --- /dev/null +++ b/docs/api/interfaces/listitemprops/index.html @@ -0,0 +1,38 @@ + + + + + + + + + +ListItemProps | React NodeGui + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/listprops/index.html b/docs/api/interfaces/listprops/index.html new file mode 100644 index 00000000..ec7765f6 --- /dev/null +++ b/docs/api/interfaces/listprops/index.html @@ -0,0 +1,40 @@ + + + + + + + + + +ListProps | React NodeGui + + + + + + + + + + + + + +
+

ListProps

Hierarchy

ViewProps‹QListWidgetSignals›

ListProps

Index

Properties

Properties

Optional attributes

attributes? : WidgetAttributesMap

Inherited from ViewProps.attributes

Prop to set the Widget Attributes. example: +<View attributes={{[WidgetAttributes.WA_Disabled]: true}} />


Optional cursor

cursor? : CursorShape | QCursor

Inherited from ViewProps.cursor

Sets the window mouse cursor. QWidget: setCursor


Optional enabled

enabled? : undefined | false | true

Inherited from ViewProps.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


Optional geometry

geometry? : Geometry

Inherited from ViewProps.geometry

Sets the screen position as well as size of the widget. QWidget: setGeometry


Optional id

id? : undefined | string

Inherited from ViewProps.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


Optional maxSize

maxSize? : Size

Inherited from ViewProps.maxSize

Sets the maximum size of the widget. QWidget: setMaximumSize


Optional minSize

minSize? : Size

Inherited from ViewProps.minSize

Sets the minimum size of the widget. QWidget: setMinimumSize


Optional mouseTracking

mouseTracking? : undefined | false | true

Inherited from ViewProps.mouseTracking

Sets the property that tells whether mouseTracking is enabled for the widget. QWidget: setMouseTracking


Optional on

on? : Partial‹WidgetEventListeners | QListWidgetSignals›

Inherited from ViewProps.on

Prop to set the event listener map. See Handlong Events


Optional pos

pos? : Position

Inherited from ViewProps.pos

Sets the screen position of the widget. QWidget: move


Optional ref

ref? : any

Inherited from ViewProps.ref

Prop to set the ref. The ref will return the underlying nodegui widget.


Optional size

size? : ViewSize

Inherited from ViewProps.size

Sets both the minimum and maximum sizes of the widget. QWidget: setFixedSize


Optional style

style? : undefined | string

Inherited from ViewProps.style

Sets the inline stylesheet property. QWidget: setInlineStyle


Optional styleSheet

styleSheet? : undefined | string

Inherited from ViewProps.styleSheet

Sets the property that holds the widget's style sheet. QWidget: setStyleSheet


Optional visible

visible? : undefined | false | true

Inherited from ViewProps.visible

Shows or hides the widget and its children. QWidget: show


Optional windowFlags

windowFlags? : WindowFlagsMap

Inherited from ViewProps.windowFlags

Prop to set the Widget flags. example: +<View windowFlags={{[WindowType.SplashScreen]: true}} />


Optional windowIcon

windowIcon? : QIcon

Inherited from ViewProps.windowIcon

Sets the window icon. QWidget: setWindowIcon


Optional windowOpacity

windowOpacity? : undefined | number

Inherited from ViewProps.windowOpacity

This property holds the level of opacity for the window. QWidget: setWindowOpacity


Optional windowState

windowState? : WindowState

Inherited from ViewProps.windowState

Sets the window state. QWidget: setWindowState


Optional windowTitle

windowTitle? : undefined | string

Inherited from ViewProps.windowTitle

Sets the window title property. QWidget: setWindowTitle

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/menubarprops/index.html b/docs/api/interfaces/menubarprops/index.html new file mode 100644 index 00000000..11898cfc --- /dev/null +++ b/docs/api/interfaces/menubarprops/index.html @@ -0,0 +1,40 @@ + + + + + + + + + +MenuBarProps | React NodeGui + + + + + + + + + + + + + +
+

MenuBarProps

Hierarchy

ViewProps‹QMenuBarSignals›

MenuBarProps

Index

Properties

Properties

Optional attributes

attributes? : WidgetAttributesMap

Inherited from ViewProps.attributes

Prop to set the Widget Attributes. example: +<View attributes={{[WidgetAttributes.WA_Disabled]: true}} />


Optional cursor

cursor? : CursorShape | QCursor

Inherited from ViewProps.cursor

Sets the window mouse cursor. QWidget: setCursor


Optional enabled

enabled? : undefined | false | true

Inherited from ViewProps.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


Optional geometry

geometry? : Geometry

Inherited from ViewProps.geometry

Sets the screen position as well as size of the widget. QWidget: setGeometry


Optional id

id? : undefined | string

Inherited from ViewProps.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


Optional maxSize

maxSize? : Size

Inherited from ViewProps.maxSize

Sets the maximum size of the widget. QWidget: setMaximumSize


Optional minSize

minSize? : Size

Inherited from ViewProps.minSize

Sets the minimum size of the widget. QWidget: setMinimumSize


Optional mouseTracking

mouseTracking? : undefined | false | true

Inherited from ViewProps.mouseTracking

Sets the property that tells whether mouseTracking is enabled for the widget. QWidget: setMouseTracking


Optional nativeMenuBar

nativeMenuBar? : undefined | false | true


Optional on

on? : Partial‹WidgetEventListeners | QMenuBarSignals›

Inherited from ViewProps.on

Prop to set the event listener map. See Handlong Events


Optional pos

pos? : Position

Inherited from ViewProps.pos

Sets the screen position of the widget. QWidget: move


Optional ref

ref? : any

Inherited from ViewProps.ref

Prop to set the ref. The ref will return the underlying nodegui widget.


Optional size

size? : ViewSize

Inherited from ViewProps.size

Sets both the minimum and maximum sizes of the widget. QWidget: setFixedSize


Optional style

style? : undefined | string

Inherited from ViewProps.style

Sets the inline stylesheet property. QWidget: setInlineStyle


Optional styleSheet

styleSheet? : undefined | string

Inherited from ViewProps.styleSheet

Sets the property that holds the widget's style sheet. QWidget: setStyleSheet


Optional visible

visible? : undefined | false | true

Inherited from ViewProps.visible

Shows or hides the widget and its children. QWidget: show


Optional windowFlags

windowFlags? : WindowFlagsMap

Inherited from ViewProps.windowFlags

Prop to set the Widget flags. example: +<View windowFlags={{[WindowType.SplashScreen]: true}} />


Optional windowIcon

windowIcon? : QIcon

Inherited from ViewProps.windowIcon

Sets the window icon. QWidget: setWindowIcon


Optional windowOpacity

windowOpacity? : undefined | number

Inherited from ViewProps.windowOpacity

This property holds the level of opacity for the window. QWidget: setWindowOpacity


Optional windowState

windowState? : WindowState

Inherited from ViewProps.windowState

Sets the window state. QWidget: setWindowState


Optional windowTitle

windowTitle? : undefined | string

Inherited from ViewProps.windowTitle

Sets the window title property. QWidget: setWindowTitle

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/menuprops/index.html b/docs/api/interfaces/menuprops/index.html new file mode 100644 index 00000000..58d9dbb1 --- /dev/null +++ b/docs/api/interfaces/menuprops/index.html @@ -0,0 +1,40 @@ + + + + + + + + + +MenuProps | React NodeGui + + + + + + + + + + + + + +
+

MenuProps

Hierarchy

ViewProps‹QMenuSignals›

MenuProps

Index

Properties

Properties

Optional attributes

attributes? : WidgetAttributesMap

Inherited from ViewProps.attributes

Prop to set the Widget Attributes. example: +<View attributes={{[WidgetAttributes.WA_Disabled]: true}} />


Optional cursor

cursor? : CursorShape | QCursor

Inherited from ViewProps.cursor

Sets the window mouse cursor. QWidget: setCursor


Optional enabled

enabled? : undefined | false | true

Inherited from ViewProps.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


Optional geometry

geometry? : Geometry

Inherited from ViewProps.geometry

Sets the screen position as well as size of the widget. QWidget: setGeometry


Optional id

id? : undefined | string

Inherited from ViewProps.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


Optional maxSize

maxSize? : Size

Inherited from ViewProps.maxSize

Sets the maximum size of the widget. QWidget: setMaximumSize


Optional minSize

minSize? : Size

Inherited from ViewProps.minSize

Sets the minimum size of the widget. QWidget: setMinimumSize


Optional mouseTracking

mouseTracking? : undefined | false | true

Inherited from ViewProps.mouseTracking

Sets the property that tells whether mouseTracking is enabled for the widget. QWidget: setMouseTracking


Optional on

on? : Partial‹WidgetEventListeners | QMenuSignals›

Inherited from ViewProps.on

Prop to set the event listener map. See Handlong Events


Optional pos

pos? : Position

Inherited from ViewProps.pos

Sets the screen position of the widget. QWidget: move


Optional ref

ref? : any

Inherited from ViewProps.ref

Prop to set the ref. The ref will return the underlying nodegui widget.


Optional size

size? : ViewSize

Inherited from ViewProps.size

Sets both the minimum and maximum sizes of the widget. QWidget: setFixedSize


Optional style

style? : undefined | string

Inherited from ViewProps.style

Sets the inline stylesheet property. QWidget: setInlineStyle


Optional styleSheet

styleSheet? : undefined | string

Inherited from ViewProps.styleSheet

Sets the property that holds the widget's style sheet. QWidget: setStyleSheet


Optional title

title? : undefined | string


Optional visible

visible? : undefined | false | true

Inherited from ViewProps.visible

Shows or hides the widget and its children. QWidget: show


Optional windowFlags

windowFlags? : WindowFlagsMap

Inherited from ViewProps.windowFlags

Prop to set the Widget flags. example: +<View windowFlags={{[WindowType.SplashScreen]: true}} />


Optional windowIcon

windowIcon? : QIcon

Inherited from ViewProps.windowIcon

Sets the window icon. QWidget: setWindowIcon


Optional windowOpacity

windowOpacity? : undefined | number

Inherited from ViewProps.windowOpacity

This property holds the level of opacity for the window. QWidget: setWindowOpacity


Optional windowState

windowState? : WindowState

Inherited from ViewProps.windowState

Sets the window state. QWidget: setWindowState


Optional windowTitle

windowTitle? : undefined | string

Inherited from ViewProps.windowTitle

Sets the window title property. QWidget: setWindowTitle

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/plaintexteditprops/index.html b/docs/api/interfaces/plaintexteditprops/index.html new file mode 100644 index 00000000..571e08f4 --- /dev/null +++ b/docs/api/interfaces/plaintexteditprops/index.html @@ -0,0 +1,43 @@ + + + + + + + + + +PlainTextEditProps | React NodeGui + + + + + + + + + + + + + +
+

PlainTextEditProps

The PlainTextEdit component provides ability to add and manipulate native editable text field widgets. It is based on +NodeGui's QPlainTextEdit.

Example

import React from "react";
import { Renderer, PlainTextEdit, Window } from "@nodegui/react-nodegui";
+
const plainTextRef = React.createRef();
const App = () => {
React.useEffect(() => {
plainTextRef.current.addEventListener("textChanged", () =>
console.log(plainTextRef.current.toPlainText())
);
});
return (
<Window>
<PlainTextEdit ref={plainTextRef} />
</Window>
);
};
Renderer.render(<App />);
+

Hierarchy

ViewProps‹QPlainTextEditSignals›

PlainTextEditProps

Index

Properties

Properties

Optional attributes

attributes? : WidgetAttributesMap

Inherited from ViewProps.attributes

Prop to set the Widget Attributes. example: +<View attributes={{[WidgetAttributes.WA_Disabled]: true}} />


Optional cursor

cursor? : CursorShape | QCursor

Inherited from ViewProps.cursor

Sets the window mouse cursor. QWidget: setCursor


Optional enabled

enabled? : undefined | false | true

Inherited from ViewProps.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


Optional geometry

geometry? : Geometry

Inherited from ViewProps.geometry

Sets the screen position as well as size of the widget. QWidget: setGeometry


Optional id

id? : undefined | string

Inherited from ViewProps.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


Optional maxSize

maxSize? : Size

Inherited from ViewProps.maxSize

Sets the maximum size of the widget. QWidget: setMaximumSize


Optional minSize

minSize? : Size

Inherited from ViewProps.minSize

Sets the minimum size of the widget. QWidget: setMinimumSize


Optional mouseTracking

mouseTracking? : undefined | false | true

Inherited from ViewProps.mouseTracking

Sets the property that tells whether mouseTracking is enabled for the widget. QWidget: setMouseTracking


Optional on

on? : Partial‹WidgetEventListeners | QPlainTextEditSignals›

Inherited from ViewProps.on

Prop to set the event listener map. See Handlong Events


Optional placeholderText

placeholderText? : undefined | string


Optional pos

pos? : Position

Inherited from ViewProps.pos

Sets the screen position of the widget. QWidget: move


Optional readOnly

readOnly? : undefined | false | true


Optional ref

ref? : any

Inherited from ViewProps.ref

Prop to set the ref. The ref will return the underlying nodegui widget.


Optional size

size? : ViewSize

Inherited from ViewProps.size

Sets both the minimum and maximum sizes of the widget. QWidget: setFixedSize


Optional style

style? : undefined | string

Inherited from ViewProps.style

Sets the inline stylesheet property. QWidget: setInlineStyle


Optional styleSheet

styleSheet? : undefined | string

Inherited from ViewProps.styleSheet

Sets the property that holds the widget's style sheet. QWidget: setStyleSheet


Optional text

text? : undefined | string


Optional visible

visible? : undefined | false | true

Inherited from ViewProps.visible

Shows or hides the widget and its children. QWidget: show


Optional windowFlags

windowFlags? : WindowFlagsMap

Inherited from ViewProps.windowFlags

Prop to set the Widget flags. example: +<View windowFlags={{[WindowType.SplashScreen]: true}} />


Optional windowIcon

windowIcon? : QIcon

Inherited from ViewProps.windowIcon

Sets the window icon. QWidget: setWindowIcon


Optional windowOpacity

windowOpacity? : undefined | number

Inherited from ViewProps.windowOpacity

This property holds the level of opacity for the window. QWidget: setWindowOpacity


Optional windowState

windowState? : WindowState

Inherited from ViewProps.windowState

Sets the window state. QWidget: setWindowState


Optional windowTitle

windowTitle? : undefined | string

Inherited from ViewProps.windowTitle

Sets the window title property. QWidget: setWindowTitle

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/progressbarprops/index.html b/docs/api/interfaces/progressbarprops/index.html new file mode 100644 index 00000000..a6dc664f --- /dev/null +++ b/docs/api/interfaces/progressbarprops/index.html @@ -0,0 +1,41 @@ + + + + + + + + + +ProgressBarProps | React NodeGui + + + + + + + + + + + + + +
+

ProgressBarProps

The ProgressBar component provides ability to add and manipulate native progress bar widgets. It is based on +NodeGui's QProgressBar.

Example

import React from "react";
import { Renderer, ProgressBar, Window } from "@nodegui/react-nodegui";
const App = () => {
return (
<Window>
<ProgressBar value={45} />
</Window>
);
};
Renderer.render(<App />);

Hierarchy

ViewProps‹QProgressBarSignals›

ProgressBarProps

Index

Properties

Properties

Optional attributes

attributes? : WidgetAttributesMap

Inherited from ViewProps.attributes

Prop to set the Widget Attributes. example: +<View attributes={{[WidgetAttributes.WA_Disabled]: true}} />


Optional cursor

cursor? : CursorShape | QCursor

Inherited from ViewProps.cursor

Sets the window mouse cursor. QWidget: setCursor


Optional enabled

enabled? : undefined | false | true

Inherited from ViewProps.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


Optional geometry

geometry? : Geometry

Inherited from ViewProps.geometry

Sets the screen position as well as size of the widget. QWidget: setGeometry


Optional id

id? : undefined | string

Inherited from ViewProps.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


Optional maxSize

maxSize? : Size

Inherited from ViewProps.maxSize

Sets the maximum size of the widget. QWidget: setMaximumSize


Optional maximum

maximum? : undefined | number


Optional minSize

minSize? : Size

Inherited from ViewProps.minSize

Sets the minimum size of the widget. QWidget: setMinimumSize


Optional minimum

minimum? : undefined | number


Optional mouseTracking

mouseTracking? : undefined | false | true

Inherited from ViewProps.mouseTracking

Sets the property that tells whether mouseTracking is enabled for the widget. QWidget: setMouseTracking


Optional on

on? : Partial‹WidgetEventListeners | QProgressBarSignals›

Inherited from ViewProps.on

Prop to set the event listener map. See Handlong Events


Optional orientation

orientation? : Orientation


Optional pos

pos? : Position

Inherited from ViewProps.pos

Sets the screen position of the widget. QWidget: move


Optional ref

ref? : any

Inherited from ViewProps.ref

Prop to set the ref. The ref will return the underlying nodegui widget.


Optional size

size? : ViewSize

Inherited from ViewProps.size

Sets both the minimum and maximum sizes of the widget. QWidget: setFixedSize


Optional style

style? : undefined | string

Inherited from ViewProps.style

Sets the inline stylesheet property. QWidget: setInlineStyle


Optional styleSheet

styleSheet? : undefined | string

Inherited from ViewProps.styleSheet

Sets the property that holds the widget's style sheet. QWidget: setStyleSheet


Optional value

value? : undefined | number


Optional visible

visible? : undefined | false | true

Inherited from ViewProps.visible

Shows or hides the widget and its children. QWidget: show


Optional windowFlags

windowFlags? : WindowFlagsMap

Inherited from ViewProps.windowFlags

Prop to set the Widget flags. example: +<View windowFlags={{[WindowType.SplashScreen]: true}} />


Optional windowIcon

windowIcon? : QIcon

Inherited from ViewProps.windowIcon

Sets the window icon. QWidget: setWindowIcon


Optional windowOpacity

windowOpacity? : undefined | number

Inherited from ViewProps.windowOpacity

This property holds the level of opacity for the window. QWidget: setWindowOpacity


Optional windowState

windowState? : WindowState

Inherited from ViewProps.windowState

Sets the window state. QWidget: setWindowState


Optional windowTitle

windowTitle? : undefined | string

Inherited from ViewProps.windowTitle

Sets the window title property. QWidget: setWindowTitle

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/progressbarrange/index.html b/docs/api/interfaces/progressbarrange/index.html new file mode 100644 index 00000000..0c8aa5dd --- /dev/null +++ b/docs/api/interfaces/progressbarrange/index.html @@ -0,0 +1,38 @@ + + + + + + + + + +ProgressBarRange | React NodeGui + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/progressdialogprops/index.html b/docs/api/interfaces/progressdialogprops/index.html new file mode 100644 index 00000000..aeca57ca --- /dev/null +++ b/docs/api/interfaces/progressdialogprops/index.html @@ -0,0 +1,41 @@ + + + + + + + + + +ProgressDialogProps | React NodeGui + + + + + + + + + + + + + +
+

ProgressDialogProps

Hierarchy

DialogProps‹QProgressDialogSignals›

ProgressDialogProps

Index

Properties

Properties

Optional attributes

attributes? : WidgetAttributesMap

Inherited from ViewProps.attributes

Prop to set the Widget Attributes. example: +<View attributes={{[WidgetAttributes.WA_Disabled]: true}} />


Optional autoClose

autoClose? : undefined | false | true


Optional autoReset

autoReset? : undefined | false | true


Optional cancelButtonText

cancelButtonText? : undefined | string


Optional cursor

cursor? : CursorShape | QCursor

Inherited from ViewProps.cursor

Sets the window mouse cursor. QWidget: setCursor


Optional enableSizeGrip

enableSizeGrip? : undefined | false | true

Inherited from DialogProps.enableSizeGrip


Optional enabled

enabled? : undefined | false | true

Inherited from ViewProps.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


Optional focus

focus? : FocusReason

Inherited from DialogProps.focus


Optional font

font? : QFont

Inherited from DialogProps.font


Optional geometry

geometry? : Geometry

Inherited from ViewProps.geometry

Sets the screen position as well as size of the widget. QWidget: setGeometry


Optional id

id? : undefined | string

Inherited from ViewProps.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


Optional labelText

labelText? : undefined | string


Optional maxSize

maxSize? : Size

Inherited from ViewProps.maxSize

Sets the maximum size of the widget. QWidget: setMaximumSize


Optional maxValue

maxValue? : undefined | number


Optional minDuration

minDuration? : undefined | number

This property holds the time(in milliseconds) that must pass before the dialog appears.

https://doc.qt.io/qt-5/qprogressdialog.html#minimumDuration-prop

default 4


Optional minSize

minSize? : Size

Inherited from ViewProps.minSize

Sets the minimum size of the widget. QWidget: setMinimumSize


Optional minValue

minValue? : undefined | number


Optional modal

modal? : undefined | false | true

Inherited from DialogProps.modal


Optional mouseTracking

mouseTracking? : undefined | false | true

Inherited from ViewProps.mouseTracking

Sets the property that tells whether mouseTracking is enabled for the widget. QWidget: setMouseTracking


Optional on

on? : Partial‹WidgetEventListeners | QProgressDialogSignals›

Inherited from ViewProps.on

Prop to set the event listener map. See Handlong Events


Optional open

open? : undefined | false | true

Inherited from DialogProps.open


Optional pos

pos? : Position

Inherited from ViewProps.pos

Sets the screen position of the widget. QWidget: move


Optional range

range? : ProgressBarRange


Optional ref

ref? : any

Inherited from ViewProps.ref

Prop to set the ref. The ref will return the underlying nodegui widget.


Optional reject

reject? : undefined | false | true

Inherited from DialogProps.reject


Optional result

result? : undefined | number

Inherited from DialogProps.result


Optional shouldReset

shouldReset? : undefined | false | true

Set this to false to allow the progress dialog opening +automatically when window first mounts


Optional size

size? : ViewSize

Inherited from ViewProps.size

Sets both the minimum and maximum sizes of the widget. QWidget: setFixedSize


Optional style

style? : undefined | string

Inherited from ViewProps.style

Sets the inline stylesheet property. QWidget: setInlineStyle


Optional styleSheet

styleSheet? : undefined | string

Inherited from ViewProps.styleSheet

Sets the property that holds the widget's style sheet. QWidget: setStyleSheet


Optional value

value? : undefined | number


Optional visible

visible? : undefined | false | true

Inherited from ViewProps.visible

Shows or hides the widget and its children. QWidget: show


Optional windowFlags

windowFlags? : WindowFlagsMap

Inherited from ViewProps.windowFlags

Prop to set the Widget flags. example: +<View windowFlags={{[WindowType.SplashScreen]: true}} />


Optional windowIcon

windowIcon? : QIcon

Inherited from ViewProps.windowIcon

Sets the window icon. QWidget: setWindowIcon


Optional windowOpacity

windowOpacity? : undefined | number

Inherited from ViewProps.windowOpacity

This property holds the level of opacity for the window. QWidget: setWindowOpacity


Optional windowState

windowState? : WindowState

Inherited from ViewProps.windowState

Sets the window state. QWidget: setWindowState


Optional windowTitle

windowTitle? : undefined | string

Inherited from ViewProps.windowTitle

Sets the window title property. QWidget: setWindowTitle

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/radiobuttonprops/index.html b/docs/api/interfaces/radiobuttonprops/index.html new file mode 100644 index 00000000..03657288 --- /dev/null +++ b/docs/api/interfaces/radiobuttonprops/index.html @@ -0,0 +1,40 @@ + + + + + + + + + +RadioButtonProps | React NodeGui + + + + + + + + + + + + + +
+

RadioButtonProps

Hierarchy

AbstractButtonProps‹QRadioButtonSignals›

RadioButtonProps

Index

Properties

Properties

Optional attributes

attributes? : WidgetAttributesMap

Inherited from ViewProps.attributes

Prop to set the Widget Attributes. example: +<View attributes={{[WidgetAttributes.WA_Disabled]: true}} />


Optional children

children? : undefined | string

Inherited from AbstractButtonProps.children

Alternative method of providing the button text


Optional cursor

cursor? : CursorShape | QCursor

Inherited from ViewProps.cursor

Sets the window mouse cursor. QWidget: setCursor


Optional enabled

enabled? : undefined | false | true

Inherited from ViewProps.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


Optional geometry

geometry? : Geometry

Inherited from ViewProps.geometry

Sets the screen position as well as size of the widget. QWidget: setGeometry


Optional icon

icon? : QIcon

Inherited from AbstractButtonProps.icon

Sets an icon in the button. QPushButton: setIcon


Optional iconSize

iconSize? : QSize

Inherited from AbstractButtonProps.iconSize

Sets an icon size in the button. QPushButton: setIconSize


Optional id

id? : undefined | string

Inherited from ViewProps.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


Optional maxSize

maxSize? : Size

Inherited from ViewProps.maxSize

Sets the maximum size of the widget. QWidget: setMaximumSize


Optional minSize

minSize? : Size

Inherited from ViewProps.minSize

Sets the minimum size of the widget. QWidget: setMinimumSize


Optional mouseTracking

mouseTracking? : undefined | false | true

Inherited from ViewProps.mouseTracking

Sets the property that tells whether mouseTracking is enabled for the widget. QWidget: setMouseTracking


Optional on

on? : Partial‹WidgetEventListeners | QRadioButtonSignals›

Inherited from ViewProps.on

Prop to set the event listener map. See Handlong Events


Optional pos

pos? : Position

Inherited from ViewProps.pos

Sets the screen position of the widget. QWidget: move


Optional ref

ref? : any

Inherited from ViewProps.ref

Prop to set the ref. The ref will return the underlying nodegui widget.


Optional size

size? : ViewSize

Inherited from ViewProps.size

Sets both the minimum and maximum sizes of the widget. QWidget: setFixedSize


Optional style

style? : undefined | string

Inherited from ViewProps.style

Sets the inline stylesheet property. QWidget: setInlineStyle


Optional styleSheet

styleSheet? : undefined | string

Inherited from ViewProps.styleSheet

Sets the property that holds the widget's style sheet. QWidget: setStyleSheet


Optional text

text? : undefined | string

Inherited from AbstractButtonProps.text

Sets the given text to the button. QPushButton: setText


Optional visible

visible? : undefined | false | true

Inherited from ViewProps.visible

Shows or hides the widget and its children. QWidget: show


Optional windowFlags

windowFlags? : WindowFlagsMap

Inherited from ViewProps.windowFlags

Prop to set the Widget flags. example: +<View windowFlags={{[WindowType.SplashScreen]: true}} />


Optional windowIcon

windowIcon? : QIcon

Inherited from ViewProps.windowIcon

Sets the window icon. QWidget: setWindowIcon


Optional windowOpacity

windowOpacity? : undefined | number

Inherited from ViewProps.windowOpacity

This property holds the level of opacity for the window. QWidget: setWindowOpacity


Optional windowState

windowState? : WindowState

Inherited from ViewProps.windowState

Sets the window state. QWidget: setWindowState


Optional windowTitle

windowTitle? : undefined | string

Inherited from ViewProps.windowTitle

Sets the window title property. QWidget: setWindowTitle

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/rowsize/index.html b/docs/api/interfaces/rowsize/index.html new file mode 100644 index 00000000..87e156b6 --- /dev/null +++ b/docs/api/interfaces/rowsize/index.html @@ -0,0 +1,38 @@ + + + + + + + + + +RowSize | React NodeGui + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/scrollareaprops/index.html b/docs/api/interfaces/scrollareaprops/index.html new file mode 100644 index 00000000..c27a39d7 --- /dev/null +++ b/docs/api/interfaces/scrollareaprops/index.html @@ -0,0 +1,40 @@ + + + + + + + + + +ScrollAreaProps | React NodeGui + + + + + + + + + + + + + +
+

ScrollAreaProps

Hierarchy

ViewProps‹QScrollAreaSignals›

ScrollAreaProps

Index

Properties

Properties

Optional attributes

attributes? : WidgetAttributesMap

Inherited from ViewProps.attributes

Prop to set the Widget Attributes. example: +<View attributes={{[WidgetAttributes.WA_Disabled]: true}} />


Optional cursor

cursor? : CursorShape | QCursor

Inherited from ViewProps.cursor

Sets the window mouse cursor. QWidget: setCursor


Optional enabled

enabled? : undefined | false | true

Inherited from ViewProps.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


Optional geometry

geometry? : Geometry

Inherited from ViewProps.geometry

Sets the screen position as well as size of the widget. QWidget: setGeometry


Optional id

id? : undefined | string

Inherited from ViewProps.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


Optional maxSize

maxSize? : Size

Inherited from ViewProps.maxSize

Sets the maximum size of the widget. QWidget: setMaximumSize


Optional minSize

minSize? : Size

Inherited from ViewProps.minSize

Sets the minimum size of the widget. QWidget: setMinimumSize


Optional mouseTracking

mouseTracking? : undefined | false | true

Inherited from ViewProps.mouseTracking

Sets the property that tells whether mouseTracking is enabled for the widget. QWidget: setMouseTracking


Optional on

on? : Partial‹WidgetEventListeners | QScrollAreaSignals›

Inherited from ViewProps.on

Prop to set the event listener map. See Handlong Events


Optional pos

pos? : Position

Inherited from ViewProps.pos

Sets the screen position of the widget. QWidget: move


Optional ref

ref? : any

Inherited from ViewProps.ref

Prop to set the ref. The ref will return the underlying nodegui widget.


Optional size

size? : ViewSize

Inherited from ViewProps.size

Sets both the minimum and maximum sizes of the widget. QWidget: setFixedSize


Optional style

style? : undefined | string

Inherited from ViewProps.style

Sets the inline stylesheet property. QWidget: setInlineStyle


Optional styleSheet

styleSheet? : undefined | string

Inherited from ViewProps.styleSheet

Sets the property that holds the widget's style sheet. QWidget: setStyleSheet


Optional visible

visible? : undefined | false | true

Inherited from ViewProps.visible

Shows or hides the widget and its children. QWidget: show


Optional widgetResizable

widgetResizable? : undefined | false | true


Optional windowFlags

windowFlags? : WindowFlagsMap

Inherited from ViewProps.windowFlags

Prop to set the Widget flags. example: +<View windowFlags={{[WindowType.SplashScreen]: true}} />


Optional windowIcon

windowIcon? : QIcon

Inherited from ViewProps.windowIcon

Sets the window icon. QWidget: setWindowIcon


Optional windowOpacity

windowOpacity? : undefined | number

Inherited from ViewProps.windowOpacity

This property holds the level of opacity for the window. QWidget: setWindowOpacity


Optional windowState

windowState? : WindowState

Inherited from ViewProps.windowState

Sets the window state. QWidget: setWindowState


Optional windowTitle

windowTitle? : undefined | string

Inherited from ViewProps.windowTitle

Sets the window title property. QWidget: setWindowTitle

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/sliderprops/index.html b/docs/api/interfaces/sliderprops/index.html new file mode 100644 index 00000000..24f19d6a --- /dev/null +++ b/docs/api/interfaces/sliderprops/index.html @@ -0,0 +1,40 @@ + + + + + + + + + +SliderProps | React NodeGui + + + + + + + + + + + + + +
+

SliderProps

Hierarchy

ViewProps‹QSliderSignals›

SliderProps

Index

Properties

Properties

Optional attributes

attributes? : WidgetAttributesMap

Inherited from ViewProps.attributes

Prop to set the Widget Attributes. example: +<View attributes={{[WidgetAttributes.WA_Disabled]: true}} />


Optional cursor

cursor? : CursorShape | QCursor

Inherited from ViewProps.cursor

Sets the window mouse cursor. QWidget: setCursor


Optional enabled

enabled? : undefined | false | true

Inherited from ViewProps.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


Optional geometry

geometry? : Geometry

Inherited from ViewProps.geometry

Sets the screen position as well as size of the widget. QWidget: setGeometry


Optional hasTracking

hasTracking? : undefined | false | true


Optional id

id? : undefined | string

Inherited from ViewProps.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


Optional invertedAppearance

invertedAppearance? : undefined | false | true


Optional invertedControls

invertedControls? : undefined | false | true


Optional isSliderDown

isSliderDown? : undefined | false | true


Optional maxSize

maxSize? : Size

Inherited from ViewProps.maxSize

Sets the maximum size of the widget. QWidget: setMaximumSize


Optional maximum

maximum? : undefined | number


Optional minSize

minSize? : Size

Inherited from ViewProps.minSize

Sets the minimum size of the widget. QWidget: setMinimumSize


Optional minimum

minimum? : undefined | number


Optional mouseTracking

mouseTracking? : undefined | false | true

Inherited from ViewProps.mouseTracking

Sets the property that tells whether mouseTracking is enabled for the widget. QWidget: setMouseTracking


Optional on

on? : Partial‹WidgetEventListeners | QSliderSignals›

Inherited from ViewProps.on

Prop to set the event listener map. See Handlong Events


Optional orientation

orientation? : Orientation


Optional pageStep

pageStep? : undefined | number


Optional pos

pos? : Position

Inherited from ViewProps.pos

Sets the screen position of the widget. QWidget: move


Optional ref

ref? : any

Inherited from ViewProps.ref

Prop to set the ref. The ref will return the underlying nodegui widget.


Optional singleStep

singleStep? : undefined | number


Optional size

size? : ViewSize

Inherited from ViewProps.size

Sets both the minimum and maximum sizes of the widget. QWidget: setFixedSize


Optional sliderPosition

sliderPosition? : undefined | number


Optional style

style? : undefined | string

Inherited from ViewProps.style

Sets the inline stylesheet property. QWidget: setInlineStyle


Optional styleSheet

styleSheet? : undefined | string

Inherited from ViewProps.styleSheet

Sets the property that holds the widget's style sheet. QWidget: setStyleSheet


Optional tickInterval

tickInterval? : undefined | number


Optional tickPosition

tickPosition? : TickPosition


Optional value

value? : undefined | number


Optional visible

visible? : undefined | false | true

Inherited from ViewProps.visible

Shows or hides the widget and its children. QWidget: show


Optional windowFlags

windowFlags? : WindowFlagsMap

Inherited from ViewProps.windowFlags

Prop to set the Widget flags. example: +<View windowFlags={{[WindowType.SplashScreen]: true}} />


Optional windowIcon

windowIcon? : QIcon

Inherited from ViewProps.windowIcon

Sets the window icon. QWidget: setWindowIcon


Optional windowOpacity

windowOpacity? : undefined | number

Inherited from ViewProps.windowOpacity

This property holds the level of opacity for the window. QWidget: setWindowOpacity


Optional windowState

windowState? : WindowState

Inherited from ViewProps.windowState

Sets the window state. QWidget: setWindowState


Optional windowTitle

windowTitle? : undefined | string

Inherited from ViewProps.windowTitle

Sets the window title property. QWidget: setWindowTitle

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/sort/index.html b/docs/api/interfaces/sort/index.html new file mode 100644 index 00000000..82ff1e03 --- /dev/null +++ b/docs/api/interfaces/sort/index.html @@ -0,0 +1,38 @@ + + + + + + + + + +Sort | React NodeGui + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/spinboxprops/index.html b/docs/api/interfaces/spinboxprops/index.html new file mode 100644 index 00000000..a13ef75e --- /dev/null +++ b/docs/api/interfaces/spinboxprops/index.html @@ -0,0 +1,42 @@ + + + + + + + + + +SpinBoxProps | React NodeGui + + + + + + + + + + + + + +
+

SpinBoxProps

The SpinBox component provides the ability to add and manipulate native spin box widgets. It is based on +NodeGui's QSpinBox.

Example

import React from "react";
import { Renderer, SpinBox, Window } from "@nodegui/react-nodegui";
const App = () => {
const handleValuehanged = {
valueChanged: (newValue) => {
console.log(newValue);
},
};
return (
<Window>
<SpinBox on={handleValuehanged} value={10} />
</Window>
);
};
Renderer.render(<App />);
+

Hierarchy

ViewProps‹QSpinBoxSignals›

SpinBoxProps

Index

Properties

Properties

Optional attributes

attributes? : WidgetAttributesMap

Inherited from ViewProps.attributes

Prop to set the Widget Attributes. example: +<View attributes={{[WidgetAttributes.WA_Disabled]: true}} />


Optional cursor

cursor? : CursorShape | QCursor

Inherited from ViewProps.cursor

Sets the window mouse cursor. QWidget: setCursor


Optional enabled

enabled? : undefined | false | true

Inherited from ViewProps.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


Optional geometry

geometry? : Geometry

Inherited from ViewProps.geometry

Sets the screen position as well as size of the widget. QWidget: setGeometry


Optional id

id? : undefined | string

Inherited from ViewProps.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


Optional maxSize

maxSize? : Size

Inherited from ViewProps.maxSize

Sets the maximum size of the widget. QWidget: setMaximumSize


Optional minSize

minSize? : Size

Inherited from ViewProps.minSize

Sets the minimum size of the widget. QWidget: setMinimumSize


Optional mouseTracking

mouseTracking? : undefined | false | true

Inherited from ViewProps.mouseTracking

Sets the property that tells whether mouseTracking is enabled for the widget. QWidget: setMouseTracking


Optional on

on? : Partial‹WidgetEventListeners | QSpinBoxSignals›

Inherited from ViewProps.on

Prop to set the event listener map. See Handlong Events


Optional pos

pos? : Position

Inherited from ViewProps.pos

Sets the screen position of the widget. QWidget: move


Optional prefix

prefix? : undefined | string


Optional range

range? : Range


Optional ref

ref? : any

Inherited from ViewProps.ref

Prop to set the ref. The ref will return the underlying nodegui widget.


Optional singleStep

singleStep? : undefined | number


Optional size

size? : ViewSize

Inherited from ViewProps.size

Sets both the minimum and maximum sizes of the widget. QWidget: setFixedSize


Optional style

style? : undefined | string

Inherited from ViewProps.style

Sets the inline stylesheet property. QWidget: setInlineStyle


Optional styleSheet

styleSheet? : undefined | string

Inherited from ViewProps.styleSheet

Sets the property that holds the widget's style sheet. QWidget: setStyleSheet


Optional suffix

suffix? : undefined | string


Optional value

value? : undefined | number


Optional visible

visible? : undefined | false | true

Inherited from ViewProps.visible

Shows or hides the widget and its children. QWidget: show


Optional windowFlags

windowFlags? : WindowFlagsMap

Inherited from ViewProps.windowFlags

Prop to set the Widget flags. example: +<View windowFlags={{[WindowType.SplashScreen]: true}} />


Optional windowIcon

windowIcon? : QIcon

Inherited from ViewProps.windowIcon

Sets the window icon. QWidget: setWindowIcon


Optional windowOpacity

windowOpacity? : undefined | number

Inherited from ViewProps.windowOpacity

This property holds the level of opacity for the window. QWidget: setWindowOpacity


Optional windowState

windowState? : WindowState

Inherited from ViewProps.windowState

Sets the window state. QWidget: setWindowState


Optional windowTitle

windowTitle? : undefined | string

Inherited from ViewProps.windowTitle

Sets the window title property. QWidget: setWindowTitle

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/systemtrayiconprops/index.html b/docs/api/interfaces/systemtrayiconprops/index.html new file mode 100644 index 00000000..cb98db6c --- /dev/null +++ b/docs/api/interfaces/systemtrayiconprops/index.html @@ -0,0 +1,43 @@ + + + + + + + + + +SystemTrayIconProps | React NodeGui + + + + + + + + + + + + + +
+

SystemTrayIconProps

The SystemTrayIcon component provides the ability to add and manipulate a native system tray icon. +NodeGui's QSystemTrayIcon.

Example

import React from "react";
import { QIcon, QAction } from "@nodegui/nodegui";
import { Menu, Renderer, SystemTrayIcon, Window } from "@nodegui/react-nodegui";
import path from "path";
+
const icon = new QIcon(path.join(__dirname, "../extras/assets/nodegui.png"));
const action = new QAction();
action.setText("Hello");
action.addEventListener("triggered", () => {
console.log("hello");
});
+
const App = () => {
return (
<Window>
<SystemTrayIcon icon={icon} tooltip="Hello World" visible>
<Menu actions={[action]} />
</SystemTrayIcon>
</Window>
);
};
+
Renderer.render(<App />);
+

Hierarchy

  • RNProps

    SystemTrayIconProps

Index

Properties

Properties

Optional icon

icon? : QIcon

Sets an icon for the system tray. QSystemTrayIcon: setIcon


Optional id

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


Optional on

on? : Partial‹WidgetEventListeners | QSystemTrayIconSignals›

Prop to set the event listener map. See Handlong Events


Optional tooltip

tooltip? : undefined | string

Sets a tooltip for the system tray. QSystemTrayIcon: setTooltip


Optional visible

visible? : undefined | false | true

Shows or hides the widget and its children. QWidget: show

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/tabitemprops/index.html b/docs/api/interfaces/tabitemprops/index.html new file mode 100644 index 00000000..507136b4 --- /dev/null +++ b/docs/api/interfaces/tabitemprops/index.html @@ -0,0 +1,38 @@ + + + + + + + + + +TabItemProps | React NodeGui + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/tabledata/index.html b/docs/api/interfaces/tabledata/index.html new file mode 100644 index 00000000..8274d4df --- /dev/null +++ b/docs/api/interfaces/tabledata/index.html @@ -0,0 +1,38 @@ + + + + + + + + + +TableData | React NodeGui + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/tableitemprops/index.html b/docs/api/interfaces/tableitemprops/index.html new file mode 100644 index 00000000..5f74d397 --- /dev/null +++ b/docs/api/interfaces/tableitemprops/index.html @@ -0,0 +1,38 @@ + + + + + + + + + +TableItemProps | React NodeGui + + + + + + + + + + + + + +
+

TableItemProps

Hierarchy

  • TableItemProps

Index

Properties

Properties

Optional background

background? : QBrush


cellPosition

cellPosition: CellPosition

position of this item in the Table

tuple [row: number, column: number]


Optional checkState

checkState? : CheckState


Optional data

data? : TableData


Optional flags

flags? : ItemFlag

handle the behavior of the TableItem

following example makes the item non-editable+selectable only checkable

example

<TableItem flags={ItemFlag.ItemIsEnabled | ItemFlag.ItemIsUserCheckable} {...props}/>

Optional font

font? : QFont


Optional foreground

foreground? : QBrush


Optional hintSize

hintSize? : QSize


Optional icon

icon? : QIcon


Optional selected

selected? : undefined | false | true


Optional statusTip

statusTip? : undefined | string


Optional text

text? : undefined | string


Optional textAlignment

textAlignment? : AlignmentFlag


Optional toolTip

toolTip? : undefined | string


Optional whatsThis

whatsThis? : undefined | string

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/tableprops/index.html b/docs/api/interfaces/tableprops/index.html new file mode 100644 index 00000000..2b748219 --- /dev/null +++ b/docs/api/interfaces/tableprops/index.html @@ -0,0 +1,40 @@ + + + + + + + + + +TableProps | React NodeGui + + + + + + + + + + + + + +
+

TableProps

Hierarchy

ViewProps‹QTableWidgetSignals›

TableProps

Index

Properties

Properties

Optional attributes

attributes? : WidgetAttributesMap

Inherited from ViewProps.attributes

Prop to set the Widget Attributes. example: +<View attributes={{[WidgetAttributes.WA_Disabled]: true}} />


cellRange

cellRange: CellRange


Optional cellWidgets

cellWidgets? : CellWidget[]


Optional columnWidth

columnWidth? : ColumnSize[]


Optional currentCell

currentCell? : CellRange


Optional cursor

cursor? : CursorShape | QCursor

Inherited from ViewProps.cursor

Sets the window mouse cursor. QWidget: setCursor


Optional enabled

enabled? : undefined | false | true

Inherited from ViewProps.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


Optional geometry

geometry? : Geometry

Inherited from ViewProps.geometry

Sets the screen position as well as size of the widget. QWidget: setGeometry


Optional hideColumns

hideColumns? : number[]


Optional hideRows

hideRows? : number[]


Optional horizontalHeaderItems

horizontalHeaderItems? : HorizontalHeader[]


Optional horizontalHeaderLabels

horizontalHeaderLabels? : string[]


Optional id

id? : undefined | string

Inherited from ViewProps.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


Optional maxSize

maxSize? : Size

Inherited from ViewProps.maxSize

Sets the maximum size of the widget. QWidget: setMaximumSize


Optional minSize

minSize? : Size

Inherited from ViewProps.minSize

Sets the minimum size of the widget. QWidget: setMinimumSize


Optional mouseTracking

mouseTracking? : undefined | false | true

Inherited from ViewProps.mouseTracking

Sets the property that tells whether mouseTracking is enabled for the widget. QWidget: setMouseTracking


Optional on

on? : Partial‹WidgetEventListeners | QTableWidgetSignals›

Inherited from ViewProps.on

Prop to set the event listener map. See Handlong Events


Optional pos

pos? : Position

Inherited from ViewProps.pos

Sets the screen position of the widget. QWidget: move


Optional ref

ref? : any

Inherited from ViewProps.ref

Prop to set the ref. The ref will return the underlying nodegui widget.


Optional rowHeight

rowHeight? : RowSize[]


Optional selectedColumn

selectedColumn? : undefined | number


Optional selectedRow

selectedRow? : undefined | number


Optional showGrid

showGrid? : undefined | false | true


Optional size

size? : ViewSize

Inherited from ViewProps.size

Sets both the minimum and maximum sizes of the widget. QWidget: setFixedSize


Optional sortItems

sortItems? : Sort


Optional sortingEnabled

sortingEnabled? : undefined | false | true


Optional style

style? : undefined | string

Inherited from ViewProps.style

Sets the inline stylesheet property. QWidget: setInlineStyle


Optional styleSheet

styleSheet? : undefined | string

Inherited from ViewProps.styleSheet

Sets the property that holds the widget's style sheet. QWidget: setStyleSheet


Optional verticalHeaderItems

verticalHeaderItems? : VerticalHeader[]


Optional verticalHeaderLabels

verticalHeaderLabels? : string[]


Optional visible

visible? : undefined | false | true

Inherited from ViewProps.visible

Shows or hides the widget and its children. QWidget: show


Optional windowFlags

windowFlags? : WindowFlagsMap

Inherited from ViewProps.windowFlags

Prop to set the Widget flags. example: +<View windowFlags={{[WindowType.SplashScreen]: true}} />


Optional windowIcon

windowIcon? : QIcon

Inherited from ViewProps.windowIcon

Sets the window icon. QWidget: setWindowIcon


Optional windowOpacity

windowOpacity? : undefined | number

Inherited from ViewProps.windowOpacity

This property holds the level of opacity for the window. QWidget: setWindowOpacity


Optional windowState

windowState? : WindowState

Inherited from ViewProps.windowState

Sets the window state. QWidget: setWindowState


Optional windowTitle

windowTitle? : undefined | string

Inherited from ViewProps.windowTitle

Sets the window title property. QWidget: setWindowTitle

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/tabprops/index.html b/docs/api/interfaces/tabprops/index.html new file mode 100644 index 00000000..9a301ab3 --- /dev/null +++ b/docs/api/interfaces/tabprops/index.html @@ -0,0 +1,40 @@ + + + + + + + + + +TabProps | React NodeGui + + + + + + + + + + + + + +
+

TabProps

Hierarchy

ViewProps‹QTabWidgetSignals›

TabProps

Index

Properties

Properties

Optional attributes

attributes? : WidgetAttributesMap

Inherited from ViewProps.attributes

Prop to set the Widget Attributes. example: +<View attributes={{[WidgetAttributes.WA_Disabled]: true}} />


Optional cursor

cursor? : CursorShape | QCursor

Inherited from ViewProps.cursor

Sets the window mouse cursor. QWidget: setCursor


Optional enabled

enabled? : undefined | false | true

Inherited from ViewProps.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


Optional geometry

geometry? : Geometry

Inherited from ViewProps.geometry

Sets the screen position as well as size of the widget. QWidget: setGeometry


Optional id

id? : undefined | string

Inherited from ViewProps.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


Optional maxSize

maxSize? : Size

Inherited from ViewProps.maxSize

Sets the maximum size of the widget. QWidget: setMaximumSize


Optional minSize

minSize? : Size

Inherited from ViewProps.minSize

Sets the minimum size of the widget. QWidget: setMinimumSize


Optional mouseTracking

mouseTracking? : undefined | false | true

Inherited from ViewProps.mouseTracking

Sets the property that tells whether mouseTracking is enabled for the widget. QWidget: setMouseTracking


Optional on

on? : Partial‹WidgetEventListeners | QTabWidgetSignals›

Inherited from ViewProps.on

Prop to set the event listener map. See Handlong Events


Optional pos

pos? : Position

Inherited from ViewProps.pos

Sets the screen position of the widget. QWidget: move


Optional ref

ref? : any

Inherited from ViewProps.ref

Prop to set the ref. The ref will return the underlying nodegui widget.


Optional size

size? : ViewSize

Inherited from ViewProps.size

Sets both the minimum and maximum sizes of the widget. QWidget: setFixedSize


Optional style

style? : undefined | string

Inherited from ViewProps.style

Sets the inline stylesheet property. QWidget: setInlineStyle


Optional styleSheet

styleSheet? : undefined | string

Inherited from ViewProps.styleSheet

Sets the property that holds the widget's style sheet. QWidget: setStyleSheet


Optional tabPosition

tabPosition? : TabPosition


Optional visible

visible? : undefined | false | true

Inherited from ViewProps.visible

Shows or hides the widget and its children. QWidget: show


Optional windowFlags

windowFlags? : WindowFlagsMap

Inherited from ViewProps.windowFlags

Prop to set the Widget flags. example: +<View windowFlags={{[WindowType.SplashScreen]: true}} />


Optional windowIcon

windowIcon? : QIcon

Inherited from ViewProps.windowIcon

Sets the window icon. QWidget: setWindowIcon


Optional windowOpacity

windowOpacity? : undefined | number

Inherited from ViewProps.windowOpacity

This property holds the level of opacity for the window. QWidget: setWindowOpacity


Optional windowState

windowState? : WindowState

Inherited from ViewProps.windowState

Sets the window state. QWidget: setWindowState


Optional windowTitle

windowTitle? : undefined | string

Inherited from ViewProps.windowTitle

Sets the window title property. QWidget: setWindowTitle

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/textprops/index.html b/docs/api/interfaces/textprops/index.html new file mode 100644 index 00000000..3f2c5ce3 --- /dev/null +++ b/docs/api/interfaces/textprops/index.html @@ -0,0 +1,40 @@ + + + + + + + + + +TextProps | React NodeGui + + + + + + + + + + + + + +
+

TextProps

Hierarchy

ViewProps‹QLabelSignals›

TextProps

ImageProps

AnimatedImageProps

Index

Properties

Properties

Optional attributes

attributes? : WidgetAttributesMap

Inherited from ViewProps.attributes

Prop to set the Widget Attributes. example: +<View attributes={{[WidgetAttributes.WA_Disabled]: true}} />


Optional children

children? : string | number | Array‹string | number›


Optional cursor

cursor? : CursorShape | QCursor

Inherited from ViewProps.cursor

Sets the window mouse cursor. QWidget: setCursor


Optional enabled

enabled? : undefined | false | true

Inherited from ViewProps.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


Optional geometry

geometry? : Geometry

Inherited from ViewProps.geometry

Sets the screen position as well as size of the widget. QWidget: setGeometry


Optional id

id? : undefined | string

Inherited from ViewProps.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


Optional maxSize

maxSize? : Size

Inherited from ViewProps.maxSize

Sets the maximum size of the widget. QWidget: setMaximumSize


Optional minSize

minSize? : Size

Inherited from ViewProps.minSize

Sets the minimum size of the widget. QWidget: setMinimumSize


Optional mouseTracking

mouseTracking? : undefined | false | true

Inherited from ViewProps.mouseTracking

Sets the property that tells whether mouseTracking is enabled for the widget. QWidget: setMouseTracking


Optional on

on? : Partial‹WidgetEventListeners | QLabelSignals›

Inherited from ViewProps.on

Prop to set the event listener map. See Handlong Events


Optional openExternalLinks

openExternalLinks? : undefined | false | true


Optional pos

pos? : Position

Inherited from ViewProps.pos

Sets the screen position of the widget. QWidget: move


Optional ref

ref? : any

Inherited from ViewProps.ref

Prop to set the ref. The ref will return the underlying nodegui widget.


Optional scaledContents

scaledContents? : undefined | false | true


Optional size

size? : ViewSize

Inherited from ViewProps.size

Sets both the minimum and maximum sizes of the widget. QWidget: setFixedSize


Optional style

style? : undefined | string

Inherited from ViewProps.style

Sets the inline stylesheet property. QWidget: setInlineStyle


Optional styleSheet

styleSheet? : undefined | string

Inherited from ViewProps.styleSheet

Sets the property that holds the widget's style sheet. QWidget: setStyleSheet


Optional textInteractionFlags

textInteractionFlags? : TextInteractionFlag


Optional visible

visible? : undefined | false | true

Inherited from ViewProps.visible

Shows or hides the widget and its children. QWidget: show


Optional windowFlags

windowFlags? : WindowFlagsMap

Inherited from ViewProps.windowFlags

Prop to set the Widget flags. example: +<View windowFlags={{[WindowType.SplashScreen]: true}} />


Optional windowIcon

windowIcon? : QIcon

Inherited from ViewProps.windowIcon

Sets the window icon. QWidget: setWindowIcon


Optional windowOpacity

windowOpacity? : undefined | number

Inherited from ViewProps.windowOpacity

This property holds the level of opacity for the window. QWidget: setWindowOpacity


Optional windowState

windowState? : WindowState

Inherited from ViewProps.windowState

Sets the window state. QWidget: setWindowState


Optional windowTitle

windowTitle? : undefined | string

Inherited from ViewProps.windowTitle

Sets the window title property. QWidget: setWindowTitle


Optional wordWrap

wordWrap? : undefined | false | true

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/verticalheader/index.html b/docs/api/interfaces/verticalheader/index.html new file mode 100644 index 00000000..6eb7af4d --- /dev/null +++ b/docs/api/interfaces/verticalheader/index.html @@ -0,0 +1,38 @@ + + + + + + + + + +VerticalHeader | React NodeGui + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/viewprops/index.html b/docs/api/interfaces/viewprops/index.html new file mode 100644 index 00000000..2a664471 --- /dev/null +++ b/docs/api/interfaces/viewprops/index.html @@ -0,0 +1,42 @@ + + + + + + + + + +ViewProps | React NodeGui + + + + + + + + + + + + + +
+

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.

Example

import React from "react";
import { Renderer, Button, Window, View } from "./index";
const App = () => {
return (
<Window>
<View>
<Button style={buttonStyle} text={"Hello"} />
<Button style={buttonStyle} text={"World"} />
</View>
</Window>
);
};
const buttonStyle = `
color: white;
`;
Renderer.render(<App />);

Type parameters

Signals: object

Hierarchy

Index

Properties

Properties

Optional attributes

attributes? : WidgetAttributesMap

Prop to set the Widget Attributes. example: +<View attributes={{[WidgetAttributes.WA_Disabled]: true}} />


Optional cursor

cursor? : CursorShape | QCursor

Sets the window mouse cursor. QWidget: setCursor


Optional enabled

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


Optional geometry

geometry? : Geometry

Sets the screen position as well as size of the widget. QWidget: setGeometry


Optional id

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


Optional maxSize

maxSize? : Size

Sets the maximum size of the widget. QWidget: setMaximumSize


Optional minSize

minSize? : Size

Sets the minimum size of the widget. QWidget: setMinimumSize


Optional mouseTracking

mouseTracking? : undefined | false | true

Sets the property that tells whether mouseTracking is enabled for the widget. QWidget: setMouseTracking


Optional on

on? : Partial‹WidgetEventListeners | Signals›

Prop to set the event listener map. See Handlong Events


Optional pos

pos? : Position

Sets the screen position of the widget. QWidget: move


Optional ref

ref? : any

Prop to set the ref. The ref will return the underlying nodegui widget.


Optional size

size? : ViewSize

Sets both the minimum and maximum sizes of the widget. QWidget: setFixedSize


Optional style

style? : undefined | string

Sets the inline stylesheet property. QWidget: setInlineStyle


Optional styleSheet

styleSheet? : undefined | string

Sets the property that holds the widget's style sheet. QWidget: setStyleSheet


Optional visible

visible? : undefined | false | true

Shows or hides the widget and its children. QWidget: show


Optional windowFlags

windowFlags? : WindowFlagsMap

Prop to set the Widget flags. example: +<View windowFlags={{[WindowType.SplashScreen]: true}} />


Optional windowIcon

windowIcon? : QIcon

Sets the window icon. QWidget: setWindowIcon


Optional windowOpacity

windowOpacity? : undefined | number

This property holds the level of opacity for the window. QWidget: setWindowOpacity


Optional windowState

windowState? : WindowState

Sets the window state. QWidget: setWindowState


Optional windowTitle

windowTitle? : undefined | string

Sets the window title property. QWidget: setWindowTitle

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/windowprops/index.html b/docs/api/interfaces/windowprops/index.html new file mode 100644 index 00000000..8aaf3ef5 --- /dev/null +++ b/docs/api/interfaces/windowprops/index.html @@ -0,0 +1,40 @@ + + + + + + + + + +WindowProps | React NodeGui + + + + + + + + + + + + + +
+

WindowProps

Hierarchy

ViewProps‹QMainWindowSignals›

WindowProps

Index

Properties

Properties

Optional attributes

attributes? : WidgetAttributesMap

Inherited from ViewProps.attributes

Prop to set the Widget Attributes. example: +<View attributes={{[WidgetAttributes.WA_Disabled]: true}} />


Optional cursor

cursor? : CursorShape | QCursor

Inherited from ViewProps.cursor

Sets the window mouse cursor. QWidget: setCursor


Optional enabled

enabled? : undefined | false | true

Inherited from ViewProps.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


Optional geometry

geometry? : Geometry

Inherited from ViewProps.geometry

Sets the screen position as well as size of the widget. QWidget: setGeometry


Optional id

id? : undefined | string

Inherited from ViewProps.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


Optional maxSize

maxSize? : Size

Inherited from ViewProps.maxSize

Sets the maximum size of the widget. QWidget: setMaximumSize


Optional menuBar

menuBar? : QMenuBar


Optional minSize

minSize? : Size

Inherited from ViewProps.minSize

Sets the minimum size of the widget. QWidget: setMinimumSize


Optional mouseTracking

mouseTracking? : undefined | false | true

Inherited from ViewProps.mouseTracking

Sets the property that tells whether mouseTracking is enabled for the widget. QWidget: setMouseTracking


Optional on

on? : Partial‹WidgetEventListeners | QMainWindowSignals›

Inherited from ViewProps.on

Prop to set the event listener map. See Handlong Events


Optional pos

pos? : Position

Inherited from ViewProps.pos

Sets the screen position of the widget. QWidget: move


Optional ref

ref? : any

Inherited from ViewProps.ref

Prop to set the ref. The ref will return the underlying nodegui widget.


Optional size

size? : ViewSize

Inherited from ViewProps.size

Sets both the minimum and maximum sizes of the widget. QWidget: setFixedSize


Optional style

style? : undefined | string

Inherited from ViewProps.style

Sets the inline stylesheet property. QWidget: setInlineStyle


Optional styleSheet

styleSheet? : undefined | string

Inherited from ViewProps.styleSheet

Sets the property that holds the widget's style sheet. QWidget: setStyleSheet


Optional visible

visible? : undefined | false | true

Inherited from ViewProps.visible

Shows or hides the widget and its children. QWidget: show


Optional windowFlags

windowFlags? : WindowFlagsMap

Inherited from ViewProps.windowFlags

Prop to set the Widget flags. example: +<View windowFlags={{[WindowType.SplashScreen]: true}} />


Optional windowIcon

windowIcon? : QIcon

Inherited from ViewProps.windowIcon

Sets the window icon. QWidget: setWindowIcon


Optional windowOpacity

windowOpacity? : undefined | number

Inherited from ViewProps.windowOpacity

This property holds the level of opacity for the window. QWidget: setWindowOpacity


Optional windowState

windowState? : WindowState

Inherited from ViewProps.windowState

Sets the window state. QWidget: setWindowState


Optional windowTitle

windowTitle? : undefined | string

Inherited from ViewProps.windowTitle

Sets the window title property. QWidget: setWindowTitle

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/api/modules/_react_proxy_/index.html b/docs/api/modules/_react_proxy_/index.html new file mode 100644 index 00000000..1e0d8985 --- /dev/null +++ b/docs/api/modules/_react_proxy_/index.html @@ -0,0 +1,38 @@ + + + + + + + + + +react-proxy | React NodeGui + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/doc1/index.html b/docs/doc1/index.html new file mode 100644 index 00000000..7e666747 --- /dev/null +++ b/docs/doc1/index.html @@ -0,0 +1,38 @@ + + + + + + + + + +Style Guide | React NodeGui + + + + + + + + + + + + + +
+

Style Guide

You can write content using GitHub-flavored Markdown syntax.

Markdown Syntax

To serve as an example page when styling markdown based Docusaurus sites.

Headers

H1 - Create the best documentation

H2 - Create the best documentation

H3 - Create the best documentation

H4 - Create the best documentation

H5 - Create the best documentation
H6 - Create the best documentation

Emphasis

Emphasis, aka italics, with asterisks or underscores.

Strong emphasis, aka bold, with asterisks or underscores.

Combined emphasis with asterisks and underscores.

Strikethrough uses two tildes. Scratch this.


Lists

  1. First ordered list item
  2. Another item ⋅⋅* Unordered sub-list.
  3. Actual numbers don't matter, just that it's a number ⋅⋅1. Ordered sub-list
  4. And another item.

⋅⋅⋅You can have properly indented paragraphs within list items. Notice the blank line above, and the leading spaces (at least one, but we'll use three here to also align the raw Markdown).

⋅⋅⋅To have a line break without a paragraph, you will need to use two trailing spaces.⋅⋅ ⋅⋅⋅Note that this line is separate, but within the same paragraph.⋅⋅ ⋅⋅⋅(This is contrary to the typical GFM line break behaviour, where trailing spaces are not required.)

  • Unordered list can use asterisks
  • Or minuses
  • Or pluses

Links

I'm an inline-style link

I'm an inline-style link with title

I'm a reference-style link

I'm a relative reference to a repository file

You can use numbers for reference-style link definitions

Or leave it empty and use the link text itself.

URLs and URLs in angle brackets will automatically get turned into links. http://www.example.com or http://www.example.com and sometimes example.com (but not on Github, for example).

Some text to show that the reference links can follow later.


Images

Here's our logo (hover to see the title text):

Inline-style: alt text

Reference-style: alt text


Code

var s = 'JavaScript syntax highlighting';
alert(s);
s = "Python syntax highlighting"
print s
No language indicated, so no syntax highlighting.
But let's throw in a <b>tag</b>.

Tables

Colons can be used to align columns.

TablesAreCool
col 3 isright-aligned\$1600
col 2 iscentered\$12
zebra stripesare neat\$1

There must be at least 3 dashes separating each header cell. The outer pipes (|) are optional, and you don't need to make the raw Markdown line up prettily. You can also use inline Markdown.

MarkdownLessPretty
Stillrendersnicely
123

Blockquotes

Blockquotes are very handy in email to emulate reply text. This line is part of the same quote.

Quote break.

This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can put Markdown into a blockquote.


Inline HTML

Definition list
Is something people use sometimes.
Markdown in HTML
Does *not* work **very** well. Use HTML tags.

Line Breaks

Here's a line for us to start with.

This line is separated from the one above by two newlines, so it will be a separate paragraph.

This line is also a separate paragraph, but... This line is only separated by a single newline, so it's a separate line in the same paragraph.

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/guides/custom-nodegui-native-plugin/index.html b/docs/guides/custom-nodegui-native-plugin/index.html new file mode 100644 index 00000000..ded7ed2a --- /dev/null +++ b/docs/guides/custom-nodegui-native-plugin/index.html @@ -0,0 +1,38 @@ + + + + + + + + + +Custom React NodeGui Plugin | React NodeGui + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/guides/debugging-in-vscode/index.html b/docs/guides/debugging-in-vscode/index.html new file mode 100644 index 00000000..9a7ddc9d --- /dev/null +++ b/docs/guides/debugging-in-vscode/index.html @@ -0,0 +1,38 @@ + + + + + + + + + +Debugging in VSCode | React NodeGui + + + + + + + + + + + + + +
+

Debugging in VSCode

  • Open a NodeGui project in VSCode.

    $ git clone git@github.com:nodegui/react-nodegui-starter.git
    $ code react-nodegui-starter
  • Add a file .vscode/launch.json with the following configuration:

    {
    "version": "0.2.0",
    "configurations": [
    {
    "name": "Debug Qode Process",
    "type": "node",
    "request": "launch",
    "cwd": "${workspaceRoot}",
    "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/qode",
    "windows": {
    "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/qode.exe"
    },
    "args": ["./dist/index.js"],
    "outputCapture": "std"
    }
    ]
    }

    Tip: You could also configure a preLaunchTask for building typescript before launching the debugger everytime.

  • Debugging

    Set some breakpoints in index.js, and start debugging in the Debug View. You should be able to hit the breakpoints.

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/guides/debugging/index.html b/docs/guides/debugging/index.html new file mode 100644 index 00000000..8bcc8691 --- /dev/null +++ b/docs/guides/debugging/index.html @@ -0,0 +1,47 @@ + + + + + + + + + +Debugging | React NodeGui + + + + + + + + + + + + + +
+

Debugging

Application Debugging

Whenever your React NodeGui application is not behaving the way you wanted it to, +an array of debugging tools might help you find coding errors, performance +bottlenecks, or optimization opportunities.

Since a React NodeGui application runs on Qode and Qode is essentially Node.Js. We can consider a NodeGui app as a regular NodeJs app. Hence, you can use any debugging tool that you use with Node.Js +One of the most popular way of debugging a Node.Js app is by making use of the Chromium Developer Tools.

Google offers excellent documentation for their developer tools. +We recommend that you make yourself familiar with them - they are usually one +of the most powerful utilities in any NodeGui Developer's tool belt.

Debugging Qode process

To debug JavaScript that's executed in the Qode/Node process you will need to use an external debugger and +launch Qode with the --inspect or --inspect-brk switch. Once you run it you can open up Chrome and visit chrome://inspect where you should see your app listed.

Command Line Switches

Use one of the following command line switches to enable debugging of the process:

--inspect=[port]

Qode will listen for V8 inspector protocol messages on the specified port, +an external debugger will need to connect on this port. The default port is +9229.

qode --inspect=9229 your/app

--inspect-brk=[port]

Like --inspect but pauses execution on the first line of JavaScript.

Note

If you are using the official boilerplate nodegui-starter, then you can achieve this by running

npm run debug

External Debuggers

You will need to use a debugger that supports the V8 inspector protocol.

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/guides/getting-started/index.html b/docs/guides/getting-started/index.html new file mode 100644 index 00000000..aad07215 --- /dev/null +++ b/docs/guides/getting-started/index.html @@ -0,0 +1,56 @@ + + + + + + + + + +Getting started | React NodeGui + + + + + + + + + + + + + +
+

Getting started

React NodeGui enables you to create desktop applications with React. You could see it +as a lightly modified variant of the Node.js runtime that is focused on desktop applications +instead of web servers.

React NodeGui is a react renderer for NodeGui, which is an efficient JavaScript binding to a cross platform graphical user interface +(GUI) library Qt. Qt is one of the most mature and efficient library for building desktop applications. +This enabled React NodeGui to be extremely memory and CPU efficient as compared to other popular Javascript Desktop GUI solutions. A hello world app built with React NodeGui runs on less than 20Mb of memory.

Developer environment

To turn your operating system into an environment capable of building desktop apps with React NodeGui, you would need Node.js, npm, a code editor of your choice, and a rudimentary understanding of your operating system's command line client.

Along with these, there are a few operating system dependent instructions that are listed below.

Setting up on macOS

Requirements:

  • React NodeGui supports macOS 10.10 (Yosemite) and up. NodeGui currently only supports 64bit OS.
  • CMake 3.1 and up (Installation instructions can be found here: https://cmake.org/install/)
  • Make, GCC v7
  • Currently supported Node.Js versions are 12.x and up.

We strongly suggest you use some kind of version manager for Node.Js. This would allow you to switch to any version of nodejs quite easily. We recommend nvm: https://github.com/nvm-sh/nvm

Confirm that both node and npm are available by running:

# This command should print the version of Node.js
node -v
+
# This command should print the version of npm
npm -v

If both commands printed a version number, you are all set! Before you get +started, you might want to install a code editor suited +for JavaScript development.

Setting up on Windows

React NodeGui supports Windows 7 and later versions – attempting to develop NodeGui +applications on earlier versions of Windows might not work. NodeGui currently only supports 64bit OS.

Requirements:

  • Visual studio 2017 and up.
  • CMake 3.1 and up (Installation instructions can be found here: https://cmake.org/install/)
  • Currently supported Node.Js versions are 12.x and up.

We strongly suggest you use some kind of version manager for Node.Js. This would allow you to switch to any version of nodejs quite easily. We recommend nvm: https://github.com/nvm-sh/nvm

We strongly recommend Powershell as preferred terminal in Windows.

Confirm that both node and npm are available by running:

# This command should print the version of Node.js
node -v
+
# This command should print the version of npm
npm -v

If both commands printed a version number, you are all set! Before you get +started, you might want to install a code editor suited +for JavaScript development.

Setting up on Linux

React NodeGui currently supports Ubuntu 16.04 and Debian 10 and up. Although other Linux distributions can also be easily supported. NodeGui currently only supports 64bit OS.

Requirements:

  • Make, GCC v7
  • CMake 3.1 and up (Installation instructions can be found here: https://cmake.org/install/)
  • Currently supported Node.Js versions are 12.x and up.
  • On Ubuntu and Ubuntu-based distros it is advisable to run sudo apt-get update, followed by sudo apt-get install pkg-config build-essential

We strongly suggest you use some kind of version manager for Node.Js. This would allow you to switch to any version of nodejs quite easily. We recommend nvm: https://github.com/nvm-sh/nvm

Confirm that both node and npm are available by running:

# This command should print the version of Node.js
node -v
+
# This command should print the version of npm
npm -v

If both commands printed a version number, you are all set! Before you get +started, you might want to install a code editor suited +for JavaScript development.

A Good Editor

We might suggest two free popular editors: +GitHub's Atom and Microsoft's Visual Studio Code. Both of +them have excellent JavaScript support.

If you are one of the many developers with a strong preference, know that +virtually all code editors and IDEs these days support JavaScript.

Hello World

Clone and run the code in this tutorial by using the +nodegui/react-nodegui-starter repository.

Note: Running this requires Git and npm.

# Clone the repository
$ git clone https://github.com/nodegui/react-nodegui-starter
# Go into the repository
$ cd react-nodegui-starter
# Install dependencies
$ npm install
# Run the dev server
$ npm run dev
# Run the app on a separate terminal tab or window
$ npm start

That's it!

Congratulations! You've successfully run and modified your first React NodeGui app.

Now what?

If you're curious to learn more about NodeGui, continue on to the tutorial.

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/guides/handle-events/index.html b/docs/guides/handle-events/index.html new file mode 100644 index 00000000..8261e100 --- /dev/null +++ b/docs/guides/handle-events/index.html @@ -0,0 +1,52 @@ + + + + + + + + + +Handle Events | React NodeGui + + + + + + + + + + + + + +
+

Handle Events

React NodeGui allows you to listen to various events that might originate from the underlying Qt widgets. These events can either be a simple button click or a text change on a lineedit or even something like window being hidden and shown.

In order to do this we need to attach an event listener to the respective widget.

Technically, the event listener is a NodeJs EventEmitter instance that listens to events from the underlying Qt widget. The native Qt widget would send all the events to the event emitter in React NodeGui world and the user can essentially subscribe to it.

Lets see an example to see how this looks in practice.

Event handling

The following example demonstrates how to add a clicked event listener to a button widget.

event example
const React = require("react");
const { Renderer, Button, Window } = require("@nodegui/react-nodegui");
+
const App = () => {
const buttonHandler = {
clicked: () => {
console.log("the button was clicked");
}
};
+
return (
<Window>
<Button text={"Click me"} on={buttonHandler} />
</Window>
);
};
+
Renderer.render(<App />);

The on prop accepts a simple object map with event type as key and a handler function as callback for the event. You can register multiple event handlers by passing multiple events as keys and their handlers as values.

Internally, Qt widgets in nodegui has two types of events.:

  • Signals: In short these are basically different for different widgets. So a button maybe have clicked, pressed signal, while a linedit may have textChanged signal.
  • QEvents: These are common set of events for all the widgets/qobjects in NodeGui world. These are also helpful at times but typically you would end up using signals more than these common events.

In React NodeGui you can listen to both Signals and QEvents using the same on prop.

useEventHandler hook and typescript support

Although you can pass in an object with event handlers to the on prop, its not the most efficient way. This is because everytime the render is called the on prop will get a new object meaning the widget will re-render every time. To solve for this we have useEventHandler hook.

import React from "react";
import {
Renderer,
Button,
Window,
useEventHandler
} from "@nodegui/react-nodegui";
import { QPushButtonSignals } from "@nodegui/nodegui";
+
const App = () => {
const buttonHandler = useEventHandler<QPushButtonSignals>(
{
clicked: () => {
console.log("the button was clicked");
},
pressed: () => {
console.log("button was pressed");
},
objectNameChanged: objectName => {
console.log("new object name", objectName);
}
},
[]
);
+
return (
<Window>
<Button text={"Click me"} on={buttonHandler} />
</Window>
);
};
+
Renderer.render(<App />);

In a nutshell, the above code uses the useEventHandler hook which is a wrapper over useMemo. +This means, the buttonHandler remains same on every render call and hence the on prop to Button doesnt change.

Here objectNameChanged is a QEvent while clicked and pressed are signals. As an app developer it really doesnt mean much but internally they are both two different things in Qt and React NodeGui allows you to use both of them using a single familiar on prop.

Also, another point you see in this typescript code is the QPushButtonSignals. The QPushButtonSignals is a type that allows autocompletion of event handlers as you type them.

How do I know which events are supported ?

In order to find all the supported events for a widget you can take a look at

All Signals for the widgets:

You can subscribe to a signal like so:

import React from "react";
import {
Renderer,
Button,
Window,
useEventHandler
} from "@nodegui/react-nodegui";
import { QPushButtonSignals } from "@nodegui/nodegui";
+
const App = () => {
const buttonHandler = useEventHandler<QPushButtonSignals>(
{
clicked: () => {
console.log("the button was clicked");
}
},
[]
);
+
return (
<Window>
<Button text={"Click me"} on={buttonHandler} />
</Window>
);
};
+
Renderer.render(<App />);

The value you receive in the callback depends on the signal. Refer to respective signal docs for more details. All the handlers are also typed. So if you are using typescript you should get correct autocomplete for it.

All common QEvents for the widgets

In nodegui all these common QEvents are represented under an enum type: WidgetEventTypes

You can subscribe to a QEvent like so:

import React from "react";
import {
Renderer,
Text,
Window,
useEventHandler
} from "@nodegui/react-nodegui";
import { QLabelSignals, QMouseEvent, WidgetEventTypes } from "@nodegui/nodegui";
+
const App = () => {
const textHandler = useEventHandler<QLabelSignals>(
{
MouseMove: (nativeEvt: any) => {
const mouseEvt = new QMouseEvent(nativeEvt);
console.log("mouseMoved at: ", { x: mouseEvt.x(), y: mouseEvt.y() });
},
[WidgetEventTypes.MouseButtonPress]: () => {
console.log("mouse button was pressed");
}
},
[]
);
+
return (
<Window>
<Text mouseTracking={true} on={textHandler}>
Move your mouse here
</Text>
</Window>
);
};
+
Renderer.render(<App />);
qevent example

Note here that every QEvent handler gives a reference to native QEvent in the handler callback. +Not all native QEvent wrappers are implemented yet and we might need your help regarding those. Feel free to jump in and contribute to the nodegui core.

Also you can specify the QEvent type as a regular MouseMove string or use it directly from the enum WidgetEventTypes.MouseMove. They both achieve same things.

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/guides/images/index.html b/docs/guides/images/index.html new file mode 100644 index 00000000..f1226da6 --- /dev/null +++ b/docs/guides/images/index.html @@ -0,0 +1,41 @@ + + + + + + + + + +Images | React NodeGui + + + + + + + + + + + + + +
+

Images

Images are very important for making your app more interesting.

In React NodeGui, <Image> is used to display an image.

Internally Image is a QLabel. QLabel is typically used for displaying text, but it can also display an image. +What this means is that you can pass all the props you pass to a <Text> to <Image> also.

A very minimal example would look like this:

import React from "react";
import { Renderer, Image, Window } from "@nodegui/react-nodegui";
+
const App = () => {
return (
<Window>
<Image src="https://docs.nodegui.org/img/logo-circle.png" />
</Window>
);
};
+
Renderer.render(<App />);

Here,

  • Image is a native QLabel component that sets the image as its pixmap.

The result would look like this:

image example

Some tips

Showing large images

The above examples wont allow you to show a huge image without either cutting it off or making the widget huge.

In order to do that:

  • You can create the image instance using <Image>
  • Set the image instance as a child to a <ScrollArea>

Animated images

In order to use animated images, instead of <Image> use <AnimatedImage>

Loading an image from a buffer

Lets say we want to load an image from a buffer. In this case we can't use the src prop since its only reserved for local file system path or urls.

In this case use the buffer prop.

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/guides/layout/index.html b/docs/guides/layout/index.html new file mode 100644 index 00000000..f9b74aa4 --- /dev/null +++ b/docs/guides/layout/index.html @@ -0,0 +1,63 @@ + + + + + + + + + +Layout | React NodeGui + + + + + + + + + + + + + +
+

Layout

React NodeGui uses a layout system to automatically arrange child components within a component to ensure that they make good use of the available space.

Fixed Dimensions

A component's height and width determine its size on the screen. The simplest way to set the dimensions of a component is by adding a fixed width and height to style. Setting dimensions this way is common for components that should always render at exactly the same size, regardless of screen dimensions.

import React from "react";
import { Renderer, View, Window } from "@nodegui/react-nodegui";
+
const App = () => {
return (
<Window>
<View style={viewStyle} />
</Window>
);
};
+
const viewStyle = `
width:50px;
height:30px;
background-color: yellow;
`;
+
Renderer.render(<App />);

Dynamic Layouts

Dynamic layouts automatically position and resize components when the amount of space available for them changes, ensuring that they are consistently arranged and that the user interface as a whole remains usable.

React NodeGui currently supports layouting using FlexLayout.

FlexLayout

FlexLayout allows the children to expand and shrink dynamically based on available space. Normally you will use flex: 1, which tells a component to fill all available space, shared evenly amongst other components with the same parent. The larger the flex given, the higher the ratio of space a component will take compared to its siblings.

A component can only expand to fill available space if its parent has dimensions greater than 0. If a parent does not have either a fixed width and height or flex, the parent will have dimensions of 0 and the flex children will not be visible.

Flexbox is designed to provide a consistent layout on different screen sizes. You will normally use a combination of flex-direction, align-items,and justify-content to achieve the right layout.

Example:

Lets say you want to build a UI that has a parent view which has two child components. One a label with text Hello and another a view with background color white. Now you want the label to occupy 1/3 of the available space while the white colored child view to occupy the remaining 2/3 space.

flex layout example 1

The code for that would look something like this:

import React from "react";
import { Renderer, View, Text, Window } from "@nodegui/react-nodegui";
+
const App = () => {
return (
<Window styleSheet={styleSheet}>
<View id="rootView">
<Text id="label">Hello</Text>
<View id="view" />
</View>
</Window>
);
};
+
const styleSheet = `
#rootView{
height: '100%';
background-color: blue;
}
#label {
flex: 1;
color: white;
background-color: green;
}
#view {
flex: 3;
background-color: white;
}
`;
+
Renderer.render(<App />);

To know more on how FlexBox layout works in depth you can visit: https://facebook.github.io/react-native/docs/0.60/flexbox.

NodeGui uses the same library that React Native uses underneath for FlexBox (Yoga).

  • You can specify layout properties via inline styles also.

BoxView Layout

BoxView Layout is an implementation of QBoxLayout of NodeGui.

import React, { useState } from "react";
import { Renderer, Window, BoxView, Button } from "@nodegui/react-nodegui";
import { useEventHandler } from "./hooks";
import { QPushButtonSignals, Direction } from "@nodegui/nodegui";
+
const App = () => {
const [additionalButtons, setAdditionalButtons] = useState<string[]>([]);
const [direction, setDirection] = useState<Direction>(Direction.LeftToRight);
+
const addHandler = useEventHandler<QPushButtonSignals>(
{
clicked: () =>
setAdditionalButtons((buttons) => [
...buttons,
`Button ${buttons.length}`,
]),
},
[]
);
+
const removeHandler = useEventHandler<QPushButtonSignals>(
{
clicked: () =>
setAdditionalButtons((buttons) => buttons.slice(0, buttons.length - 1)),
},
[]
);
+
const toggleDirection = useEventHandler<QPushButtonSignals>(
{
clicked: () =>
setDirection((prevDirection) => ((prevDirection + 1) % 4) as Direction),
},
[]
);
+
return (
<Window>
<BoxView direction={direction}>
<Button text="Add" on={addHandler} />
<Button text="Remove" on={removeHandler} />
<Button text="Toggle direction" on={toggleDirection} />
{additionalButtons.map((button) => (
<Button key={button} text={button} />
))}
</BoxView>
</Window>
);
};
+
Renderer.render(<App />);
+
+

The above code produces

box layout example 1box layout example 1

GridView Layout

GridView Layout is an implementation of QGridLayout of NodeGui.

import React, { useState } from "react";
import { Renderer, GridView, GridRow, GridColumn, Text, Window, View, Button, useEventHandler } from "@nodegui/react-nodegui";
import { QPushButtonSignals } from "@nodegui/nodegui";
+
const App = () => {
const [additionalRows, setAdditionalRows] = useState<string[]>([]);
const [rowStretch, setRowStretch] = useState(false);
+
const [additionalColumns, setAdditionalColumns] = useState<string[]>([]);
+
const insertRowHandler = useEventHandler<QPushButtonSignals>(
{
clicked: () =>
setAdditionalRows((rows) => [...rows, `Row ${rows.length}`]),
},
[]
);
+
const removeRowHandler = useEventHandler<QPushButtonSignals>(
{
clicked: () =>
setAdditionalRows((rows) => [...rows.slice(0, rows.length - 1)]),
},
[]
);
+
const insertColumnHandler = useEventHandler<QPushButtonSignals>(
{
clicked: () =>
setAdditionalColumns((columns) => [
...columns,
`Column ${columns.length}`,
]),
},
[]
);
+
const removeColumnsHandler = useEventHandler<QPushButtonSignals>(
{
clicked: () =>
setAdditionalColumns((columns) => [
...columns.slice(0, columns.length - 1),
]),
},
[]
);
+
const toggleRowStretch = useEventHandler<QPushButtonSignals>(
{
clicked: () => setRowStretch((value) => !value),
},
[]
);
+
return (
<Window>
<GridView
style="flex: 1"
columnProps={{
0: {
minWidth: 200,
},
1: {
minWidth: 300,
},
}}
rowProps={{
0: {
stretch: rowStretch ? 2 : undefined,
minHeight: 400,
},
1: {
stretch: !rowStretch ? 2 : undefined,
},
}}
>
<GridRow>
<GridColumn width={2}>
<View style="background-color: red">
<Text>Hello</Text>
<Button text="Insert row" on={insertRowHandler} />
<Button text="Remove row" on={removeRowHandler} />
<Button text="Toggle row stretch" on={toggleRowStretch} />
<Button text="Insert column" on={insertColumnHandler} />
<Button text="Remove column" on={removeColumnsHandler} />
</View>
</GridColumn>
<GridColumn width={2}>
<View style="background-color: blue">
<Text>Second Column</Text>
</View>
</GridColumn>
<>
{additionalColumns.map((column) => (
<GridColumn key={column}>
<Text>{column}</Text>
</GridColumn>
))}
</>
</GridRow>
<GridRow height={2}>
<GridColumn>
<View style="background-color: green">
<Text>Second row</Text>
</View>
</GridColumn>
<GridColumn>
<View style="background-color: purple">
<Text>Second Column</Text>
</View>
</GridColumn>
<GridColumn>
<View style="background-color: purple">
<Text>Third Column</Text>
</View>
</GridColumn>
<GridColumn>
<View style="background-color: purple">
<Text>Fourth Column</Text>
</View>
</GridColumn>
<>
{additionalColumns.map((column) => (
<GridColumn key={column}>
<Text>Second {column}</Text>
</GridColumn>
))}
</>
</GridRow>
<GridRow>
<GridColumn>
<Text>Third row</Text>
</GridColumn>
</GridRow>
<>
{additionalRows.map((row) => (
<GridRow key={row}>
<GridColumn width={2}>
<Text>{row}</Text>
</GridColumn>
<GridColumn>
<Text>Second {row}</Text>
</GridColumn>
</GridRow>
))}
</>
</GridView>
</Window>
);
};
+
Renderer.render(<App />);
+
+

The above code produces

grid layout example 1

Conclusion

The primary layout in React NodeGui is the Flexbox layout. Flexbox layout can be controlled via stylesheet just as in web. So both paint and layout properties are available at the same place.

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/guides/networking/index.html b/docs/guides/networking/index.html new file mode 100644 index 00000000..5b52419c --- /dev/null +++ b/docs/guides/networking/index.html @@ -0,0 +1,38 @@ + + + + + + + + + +Networking | React NodeGui + + + + + + + + + + + + + +
+

Networking

Many apps need to load resources from a remote URL. You may want to make a POST request to a REST API, or you may need to fetch a chunk of static content from another server.

Remember that NodeGui apps do not run in a browser and hence do not have access to browser apis. NodeGui app is essentially a Node.js app.

And in a typical Node.js application you would use a third party library like axios, node-fetch or frisbee for achieving this functionality.

Using Node Fetch

Node Fetch is a light-weight module that brings window.fetch to Node.js.

An example usage would look like this:

const fetch = require("node-fetch");
async function getData() {
try {
let response = await fetch("https://somewebsite.com/some.json");
let responseJson = await response.json();
return responseJson.somecontent;
} catch (error) {
console.error(error);
}
}

Take a look at the Node Fetch docs for a full list of properties.

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/guides/packaging/index.html b/docs/guides/packaging/index.html new file mode 100644 index 00000000..81d02e29 --- /dev/null +++ b/docs/guides/packaging/index.html @@ -0,0 +1,38 @@ + + + + + + + + + +Packaging | React NodeGui + + + + + + + + + + + + + +
+

Packaging

In order to distribute your finished app, you can use @nodegui/packer

  • Step 1: (Run this command only once)

    npx nodegui-packer --init MyAppName

    This will produce the deploy directory containing the template. You can modify this to suite your needs. Like add icons, change the name, description and add other native features or dependencies. Make sure you commit this directory.

  • Step 2: (Run this command every time you want to build a new distributable)

    Next you can run the pack command:

    npm run build

    This will produce the js bundle along with assets inside the ./dist directory

    npx nodegui-packer --pack ./dist

    This will build the distributable using @nodegui/packer based on your template. The output of the command is found under the build directory. You should gitignore the build directory.

    More details about packer can be found here: https://github.com/nodegui/packer

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/guides/scroll-view/index.html b/docs/guides/scroll-view/index.html new file mode 100644 index 00000000..ac8382fe --- /dev/null +++ b/docs/guides/scroll-view/index.html @@ -0,0 +1,45 @@ + + + + + + + + + +Scroll Area | React NodeGui + + + + + + + + + + + + + +
+

Scroll Area

ScrollArea allows you to display a large content (image, list or even plain text) in an area of predefined size. A scroll area is used to display the contents of a child widget within a frame. If the widget exceeds the size of the frame, the view can provide scroll bars so that the entire area of the child widget can be viewed.

Example

import React from "react";
import { Renderer, Text, ScrollArea, Window } from "@nodegui/react-nodegui";
+
const App = () => {
return (
<Window>
<ScrollArea>
<Text>
{`
Contrary to popular belief,
Lorem Ipsum is not simply random text.
It has roots in a piece of classical Latin literature from 45 BC,
making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia,
looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage,
and going through the cites of the word in classical literature,
discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32
and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC.
This book is a treatise on the theory of ethics, very popular during the Renaissance.
The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.
+
The standard chunk of Lorem Ipsum used since the 1500s
is reproduced below for those interested.
Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also
reproduced in their exact original form, accompanied
by English versions from the 1914 translation by H. Rackham.
+
+
Why do we use it?
+
It is a long established
fact that a reader will be distracted by
the readable content of a page when looking at its layout.
The point of using Lorem Ipsum is that it has
a more-or-less normal distribution of letters,
as opposed to using 'Content here, content here',
making it look like readable English.
Many desktop publishing packages and web page
editors now use Lorem Ipsum as their default model text,
and a search for 'lorem ipsum' will uncover many web
sites still in their infancy. Various versions
have evolved over the years, sometimes by accident,
sometimes on purpose (injected humour and the like).
+
`}
</Text>
</ScrollArea>
</Window>
);
};
+
Renderer.render(<App />);

TLDR;

We create a <ScrollArea> instance and then set the target widget as its child.

The result would look like this:

scroll area
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/guides/styling/index.html b/docs/guides/styling/index.html new file mode 100644 index 00000000..f3da7b29 --- /dev/null +++ b/docs/guides/styling/index.html @@ -0,0 +1,53 @@ + + + + + + + + + +Styling | React NodeGui + + + + + + + + + + + + + +
+

Styling

With React NodeGui, you can style a component to your needs. If you are familiar with CSS in the web world you would feel right at home. All components accept the style prop for setting inline styles. The style names and values usually match how CSS works on the web.

Here's an example:

import React from "react";
import { Renderer, Text, Window } from "@nodegui/react-nodegui";
+
const App = () => {
return (
<Window>
<Text style={textStyle}>{"Hello World"}</Text>
</Window>
);
};
+
const textStyle = `
color: green;
background-color: white;
`;
+
Renderer.render(<App />);

Overview

React NodeGui makes use of Qt's stylesheet for styling. Qt Style Sheet terminology and syntactic rules are almost identical to those of HTML CSS. Additionally, React NodeGui adds support for layout using flex properties like align-items, justify-content, etc. Flexbox layout support is added using facebook's yoga library.

You would write your style properties in a string and pass it to the React NodeGui components either via global styles or inline styles (similar to how it works in the web).

Global styles

Lets take a look at an example:

import React from "react";
import { Renderer, View, Text, Window } from "@nodegui/react-nodegui";
+
const App = () => {
return (
<Window styleSheet={styleSheet}>
<View id="rootView">
<Text id="helloLabel">{"Hello"}</Text>
<Text id="worldsLabel">{"World"}</Text>
</View>
</Window>
);
};
+
const styleSheet = `
#helloLabel {
color: red;
padding: 10px;
}
#worldLabel {
color: green;
padding: 10px;
}
#rootView {
background-color: black;
height: '100%';
}
`;
+
Renderer.render(<App />);

In the case of global stylesheet you can define all your style properties in a stylesheet string and the tell the root view or window to set it as a stylsheet for it and its child components. The only difference here from web is that you can set a stylesheet on a component at any level in the whole tree of components, the stylesheet will affect the component and its children.

In the above example, in order to reference a component in a stylesheet we will assign it a id using id prop. Think of it as similar to an id in the case of web (but in reality it calls setObjectName method in nodegui). Now using the id you could reference the component in the stylesheet and set style properties on them. Do not worry about the layout stuff that is going on here, that will be covered in the next section.

Global stylesheet really becomes powerful when you use things like pseudo-selectors (hover, checked, etc). It also has helps in implementing cascaded styles which allow you to style a group of components at once. We will see more about these features below.

More details on all the features and the syntax can be found here: https://doc.qt.io/qt-5/stylesheet-syntax.html

Inline styles

Lets look at this example again:

import React from "react";
import { Renderer, Text, Window } from "@nodegui/react-nodegui";
+
const App = () => {
return (
<Window>
<Text style={textStyle}>{"Hello world"}</Text>
</Window>
);
};
+
const textStyle = `
color: green;
background-color: white;
height: '100%';
`;
+
Renderer.render(<App />);

In most cases it would be easier to style the components inline. React NodeGui supports inline styling using style prop. Inline styles will only affect the component to which the style is applied to and is often easier to understand and manage. All properties you use in the global stylesheet are available in inline styles as well.

Selectors

NodeGui style sheets support all the selectors defined in CSS2. +Some examples include:

* {
color: blue;
}
+
QPushButton {
padding: 10px;
}
+
#okButton {
margin: 10px;
}
+
#mainView > QPushButton {
margin: 10px;
}

Note we are using QPushButton here instead of PushButton. This is because <PushButton /> component internally renders a QPushButton. See PushButton docs for more details.

To see a complete list of selectors see here: https://doc.qt.io/qt-5/stylesheet-syntax.html#selector-types

Pseudo states

Like in the web, you can style your component based on its state. An example would be, you might want the color of the button text to be red when its hovered upon. These are possible with pseudo states. Pseudo-states appear at the end of the selector, with a colon (:) in between.

#okButton:hover {
color: red;
}

More details here : https://doc.qt.io/qt-5/stylesheet-syntax.html#pseudo-states

Cascading

Style sheets can be set on the parent components and on child components. An arbitrary component's effective style sheet is obtained by merging the style sheets set on the component's ancestors (parent, grandparent, etc.).

When conflicts arise, the component's own inline style sheet is always preferred to any inherited style sheet, irrespective of the specificity of the conflicting rules. Likewise, the parent component's style sheet is preferred to the grandparent's, etc.

The behaviour is similar to what we see on the web.

For more in depth examples see here: https://doc.qt.io/qt-5/stylesheet-syntax.html#cascading

Properties

NodeGui style sheet is a css string.

For example:

const textStyle = `
color: 'green';
padding: 12;
height: '100%';
`;

Here if you look carefully, you would notice that there are some differences in the way we write style properties as compared to web. +The quotes you see around 'green' and '100%' are necessary so that Qt doesnt interpret them as numbers. +So the rule of thumb is that any integer based property like margin, border, etc can be written without quotes while any string property, it is better to surround them with quotes. PS: Qt does recognise some string based properties without quotes also.

Supported properties

Since we are not running inside a web browser, there are few differences in the properties you could use in NodeGui vs in web.

The complete list is detailed here: https://doc.qt.io/qt-5/stylesheet-reference.html#list-of-properties

Apart from the properties listed in the link, NodeGui also supports layout properties related to Flex. You can use all flex properties such as align-items, justify-content, flex, etc on all components. The layout styling will be converted in more detail in the section: Layout.

Advanced usage (Setting QObject Properties)

In Qt, every component has certain properties set on them using something called as Q_PROPERTY. There are many q-properties that are defined on each component already. You can also define custom qproperties in the native C++ code yourself too. What does it have to do with styling ? The thing is some of these properties can be altered using qt stylesheet. In Qt's terminology, these properties are called designable properties.

For example:

MyLabel {
qproperty-alignment: AlignCenter;
}
MyGroupBox {
qproperty-titlecolor: rgb(100, 200, 100);
}
QPushButton {
qproperty-iconsize: 20px 20px;
}

You can discover these properties by following Qt's documentation or by running a simple google search like "center text in QLabel using stylesheet in Qt". These are advanced properties and in practice will come in use rarely but its good to know.

More details : https://doc.qt.io/qt-5/stylesheet-syntax.html#setting-qobject-properties


In this section, we mostly covered the paint properties in the React NodeGui stylesheet. The next section would cover on how you can use flex to layout your components with stylesheet.

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/guides/tutorial/index.html b/docs/guides/tutorial/index.html new file mode 100644 index 00000000..5bb49b55 --- /dev/null +++ b/docs/guides/tutorial/index.html @@ -0,0 +1,46 @@ + + + + + + + + + +Learn the Basics | React NodeGui + + + + + + + + + + + + + +
+

Learn the Basics

React NodeGui uses native components instead of web based components as building blocks. So to understand the basic structure of a React NodeGui app, you need to be familiar with Javascript or Typescript and React. This tutorial is aimed at everyone who has some web experience with web development.

React NodeGui development in a nutshell

As far as development is concerned, an React NodeGui application is essentially a Node.js application. The starting point is a package.json that is identical to that of a Node.js module. A most basic React NodeGui app would have the following +folder structure:

your-app/
├── package.json
├── index.js

All APIs and features found in NodeGui are accessible through the @nodegui/react-nodegui and @nodegui/nodegui modules, which can be required like any other Node.js module. Additionally you have access to all Node.js apis and node modules.

require("@nodegui/react-nodegui");

The @nodegui/react-nodegui module exports widgets and features in namespaces. As an example, a window can be created +using the Window component. A simple main.js file might open a window:

const { Window, Renderer } = require("@nodegui/react-nodegui");
+
const App = () => {
return <Window></Window>;
};
+
Renderer.render(<App />);

The index.js should create windows and handle all the system events your +application might encounter.

What's going on here?

Firstly, we are running a Node.js app and not a browser based app. This means we do not have access to any browser APIs. The window you see is actually a native widget created by Qt. Window component is essentially a lightweight javascript wrapper over NodeGui's QMainWindow, which internally is Qt's QMainWindow. Hence every prop you set on Window instance is actually affecting a native window widget. This is very light weight as compared to browser based solutions and hence is more closer to the Operating system.

Trying out the starter project

Clone and run the code by using the +nodegui/react-nodegui-starter repository.

Note: Running this requires Git and npm.

# Clone the repository
$ git clone https://github.com/nodegui/react-nodegui-starter
# Go into the repository
$ cd react-nodegui-starter
# Install dependencies
$ npm install
# Run the dev server
$ npm run dev
# Run the app on a separate terminal tab or window
$ npm start

What else other than a basic window?

React NodeGui has support for basic components like View (similar to div), CheckBox, PushButton and many more. +You can take a look at the list of native widgets that React NodeGui currently supports here : Native widgets in React NodeGui. +With time more native components and APIs will be added to React NodeGui. Apart from modules in React NodeGui, you also have access to the entire node modules ecosystem. Thus, any node module that you can use with Node.js, can be used with React NodeGui. This makes it extremely powerful.

Fine, I want something more custom and beautiful than just native looking widgets. What do I do?

To make things more beautiful, you will have to learn about styling. Lets take a look at that next.

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/guides/using-native-node-modules/index.html b/docs/guides/using-native-node-modules/index.html new file mode 100644 index 00000000..4eef714b --- /dev/null +++ b/docs/guides/using-native-node-modules/index.html @@ -0,0 +1,49 @@ + + + + + + + + + +Using native Node Modules | React NodeGui + + + + + + + + + + + + + +
+

Using native Node Modules

Native Node modules are supported by React NodeGui, but since React NodeGui is very +likely to use a different V8 version from the Node binary installed on your +system, the modules you use will need to be recompiled for React NodeGui's node/v8 version. Otherwise, +you will get the following class of error when you try to run your app:

Error: The module '/path/to/native/module.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION $XYZ. This version of Node.js requires
NODE_MODULE_VERSION $ABC. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).

How to install native modules

To compile native Node modules against a build of NodeGui that doesn't +match a public release, instruct npm to use the version of Qode (NodeJs) you have bundled +with your custom build.

npm rebuild --nodedir=/path/to/qode

or

qode /path/to/npm rebuild

Troubleshooting

If you installed a native module and found it was not working, you need to check +the following things:

  • When in doubt, rebuild native modules with qode first.
  • Make sure the native module is compatible with the target platform and +architecture for your NodeGui app.
  • After you upgrade NodeGui, you usually need to rebuild the modules.

Modules that rely on node-pre-gyp

The node-pre-gyp tool provides a way to deploy native Node +modules with prebuilt binaries, and many popular modules are using it.

Usually those modules work fine under NodeGui, but sometimes when NodeGui uses +a newer version of V8 than Node and/or there are ABI changes, bad things may +happen. So in general, it is recommended to always build native modules from +source code.

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/mdx/index.html b/docs/mdx/index.html new file mode 100644 index 00000000..61730be1 --- /dev/null +++ b/docs/mdx/index.html @@ -0,0 +1,38 @@ + + + + + + + + + +Powered by MDX | React NodeGui + + + + + + + + + + + + + +
+

Powered by MDX

You can write JSX and use React components within your Markdown thanks to MDX.

Docusaurus green and Facebook blue are my favorite colors.

I can write Markdown alongside my JSX!

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/e0da2103.b424689b.js b/e0da2103.b424689b.js new file mode 100644 index 00000000..0a37a05b --- /dev/null +++ b/e0da2103.b424689b.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[89],{147:function(e,t,a){"use strict";a.r(t),a.d(t,"frontMatter",(function(){return o})),a.d(t,"metadata",(function(){return p})),a.d(t,"rightToc",(function(){return c})),a.d(t,"default",(function(){return l}));var n=a(2),i=a(6),r=(a(0),a(162)),o={id:"animatedimageprops",title:"AnimatedImageProps",sidebar_label:"AnimatedImageProps"},p={unversionedId:"api/interfaces/animatedimageprops",id:"api/interfaces/animatedimageprops",isDocsHomePage:!1,title:"AnimatedImageProps",description:"Hierarchy",source:"@site/docs/api/interfaces/animatedimageprops.md",slug:"/api/interfaces/animatedimageprops",permalink:"/docs/api/interfaces/animatedimageprops",version:"current",sidebar_label:"AnimatedImageProps",sidebar:"api",previous:{title:"ActionProps",permalink:"/docs/api/interfaces/actionprops"},next:{title:"BoxViewProps",permalink:"/docs/api/interfaces/boxviewprops"}},c=[{value:"Hierarchy",id:"hierarchy",children:[]},{value:"Index",id:"index",children:[{value:"Properties",id:"properties",children:[]}]},{value:"Properties",id:"properties-1",children:[{value:"Optional attributes",id:"optional-attributes",children:[]},{value:"Optional buffer",id:"optional-buffer",children:[]},{value:"Optional children",id:"optional-children",children:[]},{value:"Optional cursor",id:"optional-cursor",children:[]},{value:"Optional enabled",id:"optional-enabled",children:[]},{value:"Optional geometry",id:"optional-geometry",children:[]},{value:"Optional id",id:"optional-id",children:[]},{value:"Optional maxSize",id:"optional-maxsize",children:[]},{value:"Optional minSize",id:"optional-minsize",children:[]},{value:"Optional mouseTracking",id:"optional-mousetracking",children:[]},{value:"Optional on",id:"optional-on",children:[]},{value:"Optional openExternalLinks",id:"optional-openexternallinks",children:[]},{value:"Optional pos",id:"optional-pos",children:[]},{value:"Optional ref",id:"optional-ref",children:[]},{value:"Optional scaledContents",id:"optional-scaledcontents",children:[]},{value:"Optional size",id:"optional-size",children:[]},{value:"Optional src",id:"optional-src",children:[]},{value:"Optional style",id:"optional-style",children:[]},{value:"Optional styleSheet",id:"optional-stylesheet",children:[]},{value:"Optional textInteractionFlags",id:"optional-textinteractionflags",children:[]},{value:"Optional visible",id:"optional-visible",children:[]},{value:"Optional windowFlags",id:"optional-windowflags",children:[]},{value:"Optional windowIcon",id:"optional-windowicon",children:[]},{value:"Optional windowOpacity",id:"optional-windowopacity",children:[]},{value:"Optional windowState",id:"optional-windowstate",children:[]},{value:"Optional windowTitle",id:"optional-windowtitle",children:[]},{value:"Optional wordWrap",id:"optional-wordwrap",children:[]}]}],b={rightToc:c};function l(e){var t=e.components,a=Object(i.a)(e,["components"]);return Object(r.b)("wrapper",Object(n.a)({},b,a,{components:t,mdxType:"MDXLayout"}),Object(r.b)("h2",{id:"hierarchy"},"Hierarchy"),Object(r.b)("p",null," \u21b3 ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"/docs/api/interfaces/textprops"}),"TextProps")),Object(r.b)("p",null," \u21b3 ",Object(r.b)("strong",{parentName:"p"},"AnimatedImageProps")),Object(r.b)("h2",{id:"index"},"Index"),Object(r.b)("h3",{id:"properties"},"Properties"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/animatedimageprops#optional-attributes"}),"attributes")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/animatedimageprops#optional-buffer"}),"buffer")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/animatedimageprops#optional-children"}),"children")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/animatedimageprops#optional-cursor"}),"cursor")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/animatedimageprops#optional-enabled"}),"enabled")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/animatedimageprops#optional-geometry"}),"geometry")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/animatedimageprops#optional-id"}),"id")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/animatedimageprops#optional-maxsize"}),"maxSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/animatedimageprops#optional-minsize"}),"minSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/animatedimageprops#optional-mousetracking"}),"mouseTracking")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/animatedimageprops#optional-on"}),"on")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/animatedimageprops#optional-openexternallinks"}),"openExternalLinks")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/animatedimageprops#optional-pos"}),"pos")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/animatedimageprops#optional-ref"}),"ref")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/animatedimageprops#optional-scaledcontents"}),"scaledContents")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/animatedimageprops#optional-size"}),"size")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/animatedimageprops#optional-src"}),"src")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/animatedimageprops#optional-style"}),"style")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/animatedimageprops#optional-stylesheet"}),"styleSheet")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/animatedimageprops#optional-textinteractionflags"}),"textInteractionFlags")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/animatedimageprops#optional-visible"}),"visible")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/animatedimageprops#optional-windowflags"}),"windowFlags")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/animatedimageprops#optional-windowicon"}),"windowIcon")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/animatedimageprops#optional-windowopacity"}),"windowOpacity")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/animatedimageprops#optional-windowstate"}),"windowState")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/animatedimageprops#optional-windowtitle"}),"windowTitle")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/animatedimageprops#optional-wordwrap"}),"wordWrap"))),Object(r.b)("h2",{id:"properties-1"},"Properties"),Object(r.b)("h3",{id:"optional-attributes"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," attributes"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"attributes"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#widgetattributesmap"}),"WidgetAttributesMap"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-attributes"}),"attributes"))),Object(r.b)("p",null,"Prop to set the Widget Attributes. example:\n",Object(r.b)("inlineCode",{parentName:"p"},"")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-buffer"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," buffer"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"buffer"),"? : ",Object(r.b)("em",{parentName:"p"},"Buffer")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-children"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," children"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"children"),"? : ",Object(r.b)("em",{parentName:"p"},"string | number | Array\u2039string | number\u203a")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/textprops"}),"TextProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/textprops#optional-children"}),"children"))),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-cursor"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," cursor"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"cursor"),"? : ",Object(r.b)("em",{parentName:"p"},"CursorShape | QCursor")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-cursor"}),"cursor"))),Object(r.b)("p",null,"Sets the window mouse cursor. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor"}),"QWidget: setCursor")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-enabled"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," enabled"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"enabled"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | false | true")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-enabled"}),"enabled"))),Object(r.b)("p",null,"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. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled"}),"QWidget: setEnabled")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-geometry"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," geometry"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"geometry"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#geometry"}),"Geometry"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-geometry"}),"geometry"))),Object(r.b)("p",null,"Sets the screen position as well as size of the widget. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height"}),"QWidget: setGeometry")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-id"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," id"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"id"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-id"}),"id"))),Object(r.b)("p",null,"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. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname"}),"QWidget: setObjectName")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-maxsize"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," maxSize"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"maxSize"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#size"}),"Size"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-maxsize"}),"maxSize"))),Object(r.b)("p",null,"Sets the maximum size of the widget. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height"}),"QWidget: setMaximumSize")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-minsize"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," minSize"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"minSize"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#size"}),"Size"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-minsize"}),"minSize"))),Object(r.b)("p",null,"Sets the minimum size of the widget. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height"}),"QWidget: setMinimumSize")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-mousetracking"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," mouseTracking"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"mouseTracking"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | false | true")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-mousetracking"}),"mouseTracking"))),Object(r.b)("p",null,"Sets the property that tells whether mouseTracking is enabled for the widget. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked"}),"QWidget: setMouseTracking")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-on"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," on"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"on"),"? : ",Object(r.b)("em",{parentName:"p"},"Partial\u2039",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#widgeteventlisteners"}),"WidgetEventListeners")," | QLabelSignals\u203a")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-on"}),"on"))),Object(r.b)("p",null,"Prop to set the event listener map. See ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"/docs/guides/handle-events"}),"Handlong Events")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-openexternallinks"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," openExternalLinks"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"openExternalLinks"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | false | true")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/textprops"}),"TextProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/textprops#optional-openexternallinks"}),"openExternalLinks"))),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-pos"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," pos"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"pos"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#position"}),"Position"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-pos"}),"pos"))),Object(r.b)("p",null,"Sets the screen position of the widget. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y"}),"QWidget: move")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-ref"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," ref"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"ref"),"? : ",Object(r.b)("em",{parentName:"p"},"any")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-ref"}),"ref"))),Object(r.b)("p",null,"Prop to set the ref. The ref will return the underlying nodegui widget."),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-scaledcontents"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," scaledContents"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"scaledContents"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | false | true")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/textprops"}),"TextProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/textprops#optional-scaledcontents"}),"scaledContents"))),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-size"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," size"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"size"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#viewsize"}),"ViewSize"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-size"}),"size"))),Object(r.b)("p",null,"Sets both the minimum and maximum sizes of the widget. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height"}),"QWidget: setFixedSize")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-src"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," src"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"src"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | string")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-style"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," style"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"style"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-style"}),"style"))),Object(r.b)("p",null,"Sets the inline stylesheet property. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle"}),"QWidget: setInlineStyle")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-stylesheet"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," styleSheet"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"styleSheet"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-stylesheet"}),"styleSheet"))),Object(r.b)("p",null,"Sets the property that holds the widget's style sheet. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet"}),"QWidget: setStyleSheet")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-textinteractionflags"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," textInteractionFlags"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"textInteractionFlags"),"? : ",Object(r.b)("em",{parentName:"p"},"TextInteractionFlag")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/textprops"}),"TextProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/textprops#optional-textinteractionflags"}),"textInteractionFlags"))),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-visible"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," visible"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"visible"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | false | true")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-visible"}),"visible"))),Object(r.b)("p",null,"Shows or hides the widget and its children. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetshow"}),"QWidget: show")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowflags"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowFlags"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowFlags"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#windowflagsmap"}),"WindowFlagsMap"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowflags"}),"windowFlags"))),Object(r.b)("p",null,"Prop to set the Widget flags. example:\n",Object(r.b)("inlineCode",{parentName:"p"},"")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowicon"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowIcon"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowIcon"),"? : ",Object(r.b)("em",{parentName:"p"},"QIcon")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowicon"}),"windowIcon"))),Object(r.b)("p",null,"Sets the window icon. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon"}),"QWidget: setWindowIcon")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowopacity"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowOpacity"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowOpacity"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | number")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowopacity"}),"windowOpacity"))),Object(r.b)("p",null,"This property holds the level of opacity for the window. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity"}),"QWidget: setWindowOpacity")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowstate"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowState"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowState"),"? : ",Object(r.b)("em",{parentName:"p"},"WindowState")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowstate"}),"windowState"))),Object(r.b)("p",null,"Sets the window state. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate"}),"QWidget: setWindowState")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowtitle"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowTitle"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowTitle"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowtitle"}),"windowTitle"))),Object(r.b)("p",null,"Sets the window title property. ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle"}),"QWidget: setWindowTitle")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-wordwrap"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," wordWrap"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"wordWrap"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | false | true")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/textprops"}),"TextProps"),".",Object(r.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/textprops#optional-wordwrap"}),"wordWrap"))))}l.isMDXComponent=!0},162:function(e,t,a){"use strict";a.d(t,"a",(function(){return s})),a.d(t,"b",(function(){return O}));var n=a(0),i=a.n(n);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function p(e){for(var t=1;t=0||(i[a]=e[a]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(i[a]=e[a])}return i}var b=i.a.createContext({}),l=function(e){var t=i.a.useContext(b),a=t;return e&&(a="function"==typeof e?e(t):p(p({},t),e)),a},s=function(e){var t=l(e.components);return i.a.createElement(b.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return i.a.createElement(i.a.Fragment,{},t)}},m=i.a.forwardRef((function(e,t){var a=e.components,n=e.mdxType,r=e.originalType,o=e.parentName,b=c(e,["components","mdxType","originalType","parentName"]),s=l(a),m=n,O=s["".concat(o,".").concat(m)]||s[m]||d[m]||r;return a?i.a.createElement(O,p(p({ref:t},b),{},{components:a})):i.a.createElement(O,p({ref:t},b))}));function O(e,t){var a=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var r=a.length,o=new Array(r);o[0]=m;var p={};for(var c in t)hasOwnProperty.call(t,c)&&(p[c]=t[c]);p.originalType=e,p.mdxType="string"==typeof e?e:n,o[1]=p;for(var b=2;b=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var l=a.a.createContext({}),u=function(e){var r=a.a.useContext(l),t=r;return e&&(t="function"==typeof e?e(r):o(o({},r),e)),t},s=function(e){var r=u(e.components);return a.a.createElement(l.Provider,{value:r},e.children)},d={inlineCode:"code",wrapper:function(e){var r=e.children;return a.a.createElement(a.a.Fragment,{},r)}},b=a.a.forwardRef((function(e,r){var t=e.components,n=e.mdxType,i=e.originalType,c=e.parentName,l=p(e,["components","mdxType","originalType","parentName"]),s=u(t),b=n,f=s["".concat(c,".").concat(b)]||s[b]||d[b]||i;return t?a.a.createElement(f,o(o({ref:r},l),{},{components:t})):a.a.createElement(f,o({ref:r},l))}));function f(e,r){var t=arguments,n=r&&r.mdxType;if("string"==typeof e||n){var i=t.length,c=new Array(i);c[0]=b;var o={};for(var p in r)hasOwnProperty.call(r,p)&&(o[p]=r[p]);o.originalType=e,o.mdxType="string"==typeof e?e:n,c[1]=o;for(var l=2;l {\n return ;\n};\n\nRenderer.render();\n')),Object(r.b)("p",null,"The ",Object(r.b)("inlineCode",{parentName:"p"},"index.js")," should create windows and handle all the system events your\napplication might encounter."),Object(r.b)("h2",{id:"whats-going-on-here"},"What's going on here?"),Object(r.b)("p",null,"Firstly, we are running a Node.js app and not a browser based app. This means we do not have access to any browser APIs. The window you see is actually a native widget created by Qt. Window component is essentially a lightweight javascript wrapper over NodeGui's QMainWindow, which internally is Qt's QMainWindow. Hence every prop you set on Window instance is actually affecting a native window widget. This is very light weight as compared to browser based solutions and hence is more closer to the Operating system."),Object(r.b)("h2",{id:"trying-out-the-starter-project"},"Trying out the starter project"),Object(r.b)("p",null,"Clone and run the code by using the\n",Object(r.b)("a",Object(a.a)({parentName:"p"},{href:"https://github.com/nodegui/react-nodegui-starter"}),Object(r.b)("inlineCode",{parentName:"a"},"nodegui/react-nodegui-starter"))," repository."),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Note"),": Running this requires ",Object(r.b)("a",Object(a.a)({parentName:"p"},{href:"https://git-scm.com"}),"Git")," and ",Object(r.b)("a",Object(a.a)({parentName:"p"},{href:"https://www.npmjs.com/"}),"npm"),"."),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-sh"}),"# Clone the repository\n$ git clone https://github.com/nodegui/react-nodegui-starter\n# Go into the repository\n$ cd react-nodegui-starter\n# Install dependencies\n$ npm install\n# Run the dev server\n$ npm run dev\n# Run the app on a separate terminal tab or window\n$ npm start\n")),Object(r.b)("h2",{id:"what-else-other-than-a-basic-window"},"What else other than a basic window?"),Object(r.b)("p",null,"React NodeGui has support for basic components like View (similar to div), CheckBox, PushButton and many more.\nYou can take a look at the list of native widgets that React NodeGui currently supports here : ",Object(r.b)("a",Object(a.a)({parentName:"p"},{href:"/docs/api/interfaces/viewprops"}),"Native widgets in React NodeGui"),".\nWith time more native components and APIs will be added to React NodeGui. Apart from modules in React NodeGui, you also have access to the entire node modules ecosystem. Thus, any node module that you can use with Node.js, can be used with React NodeGui. This makes it extremely powerful."),Object(r.b)("p",null,"Fine, I want something more custom and beautiful than just native looking widgets. What do I do?"),Object(r.b)("p",null,"To make things more beautiful, you will have to ",Object(r.b)("a",Object(a.a)({parentName:"p"},{href:"styling"}),"learn about styling"),". Lets take a look at that next."))}u.isMDXComponent=!0},162:function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return h}));var a=n(0),o=n.n(a);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function s(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var l=o.a.createContext({}),u=function(e){var t=o.a.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):s(s({},t),e)),n},d=function(e){var t=u(e.components);return o.a.createElement(l.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return o.a.createElement(o.a.Fragment,{},t)}},b=o.a.forwardRef((function(e,t){var n=e.components,a=e.mdxType,r=e.originalType,i=e.parentName,l=c(e,["components","mdxType","originalType","parentName"]),d=u(n),b=a,h=d["".concat(i,".").concat(b)]||d[b]||p[b]||r;return n?o.a.createElement(h,s(s({ref:t},l),{},{components:n})):o.a.createElement(h,s({ref:t},l))}));function h(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var r=n.length,i=new Array(r);i[0]=b;var s={};for(var c in t)hasOwnProperty.call(t,c)&&(s[c]=t[c]);s.originalType=e,s.mdxType="string"==typeof e?e:a,i[1]=s;for(var l=2;lOptional _layout",id:"optional-_layout",children:[]},{value:"_rawInlineStyle",id:"_rawinlinestyle",children:[]},{value:"actions",id:"actions",children:[]},{value:"native",id:"native",children:[]},{value:"nodeChildren",id:"nodechildren",children:[]},{value:"Optional nodeParent",id:"optional-nodeparent",children:[]},{value:"type",id:"type",children:[]},{value:"Static tagName",id:"static-tagname",children:[]}]},{value:"Accessors",id:"accessors-1",children:[{value:"layout",id:"layout",children:[]}]},{value:"Methods",id:"methods-1",children:[{value:"acceptDrops",id:"acceptdrops",children:[]},{value:"acceptMode",id:"acceptmode",children:[]},{value:"activateWindow",id:"activatewindow",children:[]},{value:"addAction",id:"addaction",children:[]},{value:"addEventListener",id:"addeventlistener",children:[]},{value:"adjustSize",id:"adjustsize",children:[]},{value:"appendChild",id:"appendchild",children:[]},{value:"appendInitialChild",id:"appendinitialchild",children:[]},{value:"clearFocus",id:"clearfocus",children:[]},{value:"close",id:"close",children:[]},{value:"defaultSuffix",id:"defaultsuffix",children:[]},{value:"eventProcessed",id:"eventprocessed",children:[]},{value:"exec",id:"exec",children:[]},{value:"fileMode",id:"filemode",children:[]},{value:"font",id:"font",children:[]},{value:"geometry",id:"geometry",children:[]},{value:"getFlexNode",id:"getflexnode",children:[]},{value:"hasMouseTracking",id:"hasmousetracking",children:[]},{value:"hide",id:"hide",children:[]},{value:"inherits",id:"inherits",children:[]},{value:"insertBefore",id:"insertbefore",children:[]},{value:"isActiveWindow",id:"isactivewindow",children:[]},{value:"isEnabled",id:"isenabled",children:[]},{value:"isSizeGripEnabled",id:"issizegripenabled",children:[]},{value:"isVisible",id:"isvisible",children:[]},{value:"labelText",id:"labeltext",children:[]},{value:"lower",id:"lower",children:[]},{value:"mapFromGlobal",id:"mapfromglobal",children:[]},{value:"mapFromParent",id:"mapfromparent",children:[]},{value:"mapToGlobal",id:"maptoglobal",children:[]},{value:"mapToParent",id:"maptoparent",children:[]},{value:"maximumSize",id:"maximumsize",children:[]},{value:"minimumSize",id:"minimumsize",children:[]},{value:"move",id:"move",children:[]},{value:"objectName",id:"objectname",children:[]},{value:"open",id:"open",children:[]},{value:"options",id:"options",children:[]},{value:"pos",id:"pos",children:[]},{value:"property",id:"property",children:[]},{value:"raise",id:"raise",children:[]},{value:"reject",id:"reject",children:[]},{value:"removeAction",id:"removeaction",children:[]},{value:"removeChild",id:"removechild",children:[]},{value:"removeEventListener",id:"removeeventlistener",children:[]},{value:"repaint",id:"repaint",children:[]},{value:"repolish",id:"repolish",children:[]},{value:"resize",id:"resize",children:[]},{value:"result",id:"result",children:[]},{value:"selectedFiles",id:"selectedfiles",children:[]},{value:"setAcceptDrops",id:"setacceptdrops",children:[]},{value:"setAcceptMode",id:"setacceptmode",children:[]},{value:"setAttribute",id:"setattribute",children:[]},{value:"setContextMenuPolicy",id:"setcontextmenupolicy",children:[]},{value:"setCursor",id:"setcursor",children:[]},{value:"setDefaultSuffix",id:"setdefaultsuffix",children:[]},{value:"setEnabled",id:"setenabled",children:[]},{value:"setEventProcessed",id:"seteventprocessed",children:[]},{value:"setFileMode",id:"setfilemode",children:[]},{value:"setFixedSize",id:"setfixedsize",children:[]},{value:"setFlexNodeSizeControlled",id:"setflexnodesizecontrolled",children:[]},{value:"setFocus",id:"setfocus",children:[]},{value:"setFocusPolicy",id:"setfocuspolicy",children:[]},{value:"setFont",id:"setfont",children:[]},{value:"setGeometry",id:"setgeometry",children:[]},{value:"setGraphicsEffect",id:"setgraphicseffect",children:[]},{value:"setInlineStyle",id:"setinlinestyle",children:[]},{value:"setLabelText",id:"setlabeltext",children:[]},{value:"setLayout",id:"setlayout",children:[]},{value:"setMaximumSize",id:"setmaximumsize",children:[]},{value:"setMinimumSize",id:"setminimumsize",children:[]},{value:"setModal",id:"setmodal",children:[]},{value:"setMouseTracking",id:"setmousetracking",children:[]},{value:"setNameFilter",id:"setnamefilter",children:[]},{value:"setNodeParent",id:"setnodeparent",children:[]},{value:"setObjectName",id:"setobjectname",children:[]},{value:"setOption",id:"setoption",children:[]},{value:"setOptions",id:"setoptions",children:[]},{value:"setProperty",id:"setproperty",children:[]},{value:"setProps",id:"setprops",children:[]},{value:"setResult",id:"setresult",children:[]},{value:"setSizeGripEnabled",id:"setsizegripenabled",children:[]},{value:"setStyleSheet",id:"setstylesheet",children:[]},{value:"setSupportedSchemes",id:"setsupportedschemes",children:[]},{value:"setWindowFlag",id:"setwindowflag",children:[]},{value:"setWindowIcon",id:"setwindowicon",children:[]},{value:"setWindowOpacity",id:"setwindowopacity",children:[]},{value:"setWindowState",id:"setwindowstate",children:[]},{value:"setWindowTitle",id:"setwindowtitle",children:[]},{value:"show",id:"show",children:[]},{value:"showFullScreen",id:"showfullscreen",children:[]},{value:"showMaximized",id:"showmaximized",children:[]},{value:"showMinimized",id:"showminimized",children:[]},{value:"showNormal",id:"shownormal",children:[]},{value:"size",id:"size",children:[]},{value:"styleSheet",id:"stylesheet",children:[]},{value:"supportedSchemes",id:"supportedschemes",children:[]},{value:"testAttribute",id:"testattribute",children:[]},{value:"update",id:"update",children:[]},{value:"updateGeometry",id:"updategeometry",children:[]},{value:"viewMode",id:"viewmode",children:[]},{value:"windowOpacity",id:"windowopacity",children:[]},{value:"windowState",id:"windowstate",children:[]},{value:"windowTitle",id:"windowtitle",children:[]}]}],i={rightToc:p};function O(e){var t=e.components,a=Object(n.a)(e,["components"]);return Object(r.b)("wrapper",Object(b.a)({},i,a,{components:t,mdxType:"MDXLayout"}),Object(r.b)("h2",{id:"hierarchy"},"Hierarchy"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("p",{parentName:"li"},"QFileDialog"),Object(r.b)("p",{parentName:"li"},"\u21b3 ",Object(r.b)("strong",{parentName:"p"},"RNFileDialog")))),Object(r.b)("h2",{id:"implements"},"Implements"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},"RNWidget")),Object(r.b)("h2",{id:"index"},"Index"),Object(r.b)("h3",{id:"constructors"},"Constructors"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#constructor"}),"constructor"))),Object(r.b)("h3",{id:"properties"},"Properties"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#optional-_layout"}),"_layout")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#_rawinlinestyle"}),"_rawInlineStyle")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#actions"}),"actions")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#native"}),"native")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#nodechildren"}),"nodeChildren")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#optional-nodeparent"}),"nodeParent")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#type"}),"type")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#static-tagname"}),"tagName"))),Object(r.b)("h3",{id:"accessors"},"Accessors"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#layout"}),"layout"))),Object(r.b)("h3",{id:"methods"},"Methods"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#acceptdrops"}),"acceptDrops")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#acceptmode"}),"acceptMode")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#activatewindow"}),"activateWindow")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#addaction"}),"addAction")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#addeventlistener"}),"addEventListener")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#adjustsize"}),"adjustSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#appendchild"}),"appendChild")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#appendinitialchild"}),"appendInitialChild")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#clearfocus"}),"clearFocus")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#close"}),"close")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#defaultsuffix"}),"defaultSuffix")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#eventprocessed"}),"eventProcessed")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#exec"}),"exec")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#filemode"}),"fileMode")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#font"}),"font")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#geometry"}),"geometry")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#getflexnode"}),"getFlexNode")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#hasmousetracking"}),"hasMouseTracking")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#hide"}),"hide")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#inherits"}),"inherits")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#insertbefore"}),"insertBefore")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#isactivewindow"}),"isActiveWindow")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#isenabled"}),"isEnabled")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#issizegripenabled"}),"isSizeGripEnabled")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#isvisible"}),"isVisible")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#labeltext"}),"labelText")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#lower"}),"lower")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#mapfromglobal"}),"mapFromGlobal")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#mapfromparent"}),"mapFromParent")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#maptoglobal"}),"mapToGlobal")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#maptoparent"}),"mapToParent")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#maximumsize"}),"maximumSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#minimumsize"}),"minimumSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#move"}),"move")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#objectname"}),"objectName")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#open"}),"open")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#options"}),"options")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#pos"}),"pos")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#property"}),"property")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#raise"}),"raise")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#reject"}),"reject")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#removeaction"}),"removeAction")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#removechild"}),"removeChild")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#removeeventlistener"}),"removeEventListener")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#repaint"}),"repaint")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#repolish"}),"repolish")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#resize"}),"resize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#result"}),"result")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#selectedfiles"}),"selectedFiles")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setacceptdrops"}),"setAcceptDrops")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setacceptmode"}),"setAcceptMode")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setattribute"}),"setAttribute")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setcontextmenupolicy"}),"setContextMenuPolicy")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setcursor"}),"setCursor")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setdefaultsuffix"}),"setDefaultSuffix")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setenabled"}),"setEnabled")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#seteventprocessed"}),"setEventProcessed")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setfilemode"}),"setFileMode")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setfixedsize"}),"setFixedSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setflexnodesizecontrolled"}),"setFlexNodeSizeControlled")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setfocus"}),"setFocus")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setfocuspolicy"}),"setFocusPolicy")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setfont"}),"setFont")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setgeometry"}),"setGeometry")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setgraphicseffect"}),"setGraphicsEffect")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setinlinestyle"}),"setInlineStyle")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setlabeltext"}),"setLabelText")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setlayout"}),"setLayout")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setmaximumsize"}),"setMaximumSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setminimumsize"}),"setMinimumSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setmodal"}),"setModal")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setmousetracking"}),"setMouseTracking")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setnamefilter"}),"setNameFilter")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setnodeparent"}),"setNodeParent")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setobjectname"}),"setObjectName")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setoption"}),"setOption")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setoptions"}),"setOptions")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setproperty"}),"setProperty")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setprops"}),"setProps")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setresult"}),"setResult")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setsizegripenabled"}),"setSizeGripEnabled")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setstylesheet"}),"setStyleSheet")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setsupportedschemes"}),"setSupportedSchemes")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setwindowflag"}),"setWindowFlag")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setwindowicon"}),"setWindowIcon")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setwindowopacity"}),"setWindowOpacity")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setwindowstate"}),"setWindowState")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#setwindowtitle"}),"setWindowTitle")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#show"}),"show")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#showfullscreen"}),"showFullScreen")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#showmaximized"}),"showMaximized")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#showminimized"}),"showMinimized")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#shownormal"}),"showNormal")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#size"}),"size")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#stylesheet"}),"styleSheet")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#supportedschemes"}),"supportedSchemes")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#testattribute"}),"testAttribute")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#update"}),"update")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#updategeometry"}),"updateGeometry")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#viewmode"}),"viewMode")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#windowopacity"}),"windowOpacity")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#windowstate"}),"windowState")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnfiledialog#windowtitle"}),"windowTitle"))),Object(r.b)("h2",{id:"constructors-1"},"Constructors"),Object(r.b)("h3",{id:"constructor"},"constructor"),Object(r.b)("p",null,"+"," ",Object(r.b)("strong",{parentName:"p"},"new RNFileDialog"),"(): ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog"}),"RNFileDialog"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog"}),"RNFileDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog#constructor"}),"constructor"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Overrides void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog"}),"RNFileDialog"))),Object(r.b)("p",null,"+"," ",Object(r.b)("strong",{parentName:"p"},"new RNFileDialog"),"(",Object(r.b)("inlineCode",{parentName:"p"},"parent"),": NodeWidget\u2039any\u203a, ",Object(r.b)("inlineCode",{parentName:"p"},"caption?"),": undefined | string, ",Object(r.b)("inlineCode",{parentName:"p"},"directory?"),": undefined | string, ",Object(r.b)("inlineCode",{parentName:"p"},"filter?"),": undefined | string): ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog"}),"RNFileDialog"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog"}),"RNFileDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog#constructor"}),"constructor"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Overrides void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"parent")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"NodeWidget\u2039any\u203a")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"caption?")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"undefined ","|"," string")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"directory?")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"undefined ","|"," string")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"filter?")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"undefined ","|"," string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog"}),"RNFileDialog"))),Object(r.b)("h2",{id:"properties-1"},"Properties"),Object(r.b)("h3",{id:"optional-_layout"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," _layout"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"_layout"),"? : ",Object(r.b)("em",{parentName:"p"},"NodeLayout\u2039QFileDialogSignals\u203a")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"_rawinlinestyle"},"_rawInlineStyle"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"_rawInlineStyle"),": ",Object(r.b)("em",{parentName:"p"},"string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"actions"},"actions"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"actions"),": ",Object(r.b)("em",{parentName:"p"},"Set\u2039QAction\u203a")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"native"},"native"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"native"),": ",Object(r.b)("em",{parentName:"p"},"NativeElement")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog"}),"RNFileDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog#native"}),"native"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Overrides void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"nodechildren"},"nodeChildren"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"nodeChildren"),": ",Object(r.b)("em",{parentName:"p"},"Set\u2039Component\u203a")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#nodechildren"}),"nodeChildren"))),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-nodeparent"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," nodeParent"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"nodeParent"),"? : ",Object(r.b)("em",{parentName:"p"},"Component")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#optional-nodeparent"}),"nodeParent"))),Object(r.b)("hr",null),Object(r.b)("h3",{id:"type"},"type"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"type"),": ",Object(r.b)("em",{parentName:"p"},"string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"static-tagname"},Object(r.b)("inlineCode",{parentName:"h3"},"Static")," tagName"),Object(r.b)("p",null,"\u25aa ",Object(r.b)("strong",{parentName:"p"},"tagName"),": ",Object(r.b)("em",{parentName:"p"},"string"),' = "file-dialog"'),Object(r.b)("h2",{id:"accessors-1"},"Accessors"),Object(r.b)("h3",{id:"layout"},"layout"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"get layout"),"(): ",Object(r.b)("em",{parentName:"p"},"NodeLayout\u2039QFileDialogSignals\u203a | undefined")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"NodeLayout\u2039QFileDialogSignals\u203a | undefined")),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"set layout"),"(",Object(r.b)("inlineCode",{parentName:"p"},"l"),": NodeLayout\u2039QFileDialogSignals\u203a | undefined): ",Object(r.b)("em",{parentName:"p"},"any")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"l")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"NodeLayout\u2039QFileDialogSignals\u203a ","|"," undefined")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"any")),Object(r.b)("h2",{id:"methods-1"},"Methods"),Object(r.b)("h3",{id:"acceptdrops"},"acceptDrops"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"acceptDrops"),"(): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"acceptmode"},"acceptMode"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"acceptMode"),"(): ",Object(r.b)("em",{parentName:"p"},"AcceptMode")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog"}),"RNFileDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog#acceptmode"}),"acceptMode"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"AcceptMode")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"activatewindow"},"activateWindow"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"activateWindow"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"addaction"},"addAction"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"addAction"),"(",Object(r.b)("inlineCode",{parentName:"p"},"action"),": QAction | string): ",Object(r.b)("em",{parentName:"p"},"QAction")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"action")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QAction ","|"," string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QAction")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"addeventlistener"},"addEventListener"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"addEventListener"),"\u2039",Object(r.b)("strong",{parentName:"p"},"SignalType"),"\u203a(",Object(r.b)("inlineCode",{parentName:"p"},"signalType"),": SignalType, ",Object(r.b)("inlineCode",{parentName:"p"},"callback"),": QFileDialogSignals","[SignalType]","): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#addeventlistener"}),"addEventListener"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Type parameters:")),Object(r.b)("p",null,"\u25aa ",Object(r.b)("strong",{parentName:"p"},"SignalType"),": ",Object(r.b)("em",{parentName:"p"},"keyof QFileDialogSignals")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Description"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"signalType")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"SignalType"),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"SignalType is a signal from the widgets signals interface.")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"callback")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QFileDialogSignals","[SignalType]"),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"Corresponding callback for the signal as mentioned in the widget's signal interface")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,"void"),Object(r.b)("p",null,"For example in the case of QPushButton:"),Object(r.b)("pre",null,Object(r.b)("code",Object(b.a)({parentName:"pre"},{className:"language-js"}),"const button = new QPushButton();\nbutton.addEventListener('clicked',(checked)=>console.log(\"clicked\"));\n// here clicked is a value from QPushButtonSignals interface\n")),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"addEventListener"),"(",Object(r.b)("inlineCode",{parentName:"p"},"eventType"),": WidgetEventTypes, ",Object(r.b)("inlineCode",{parentName:"p"},"callback"),": function): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#addeventlistener"}),"addEventListener"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("p",null,"\u25aa ",Object(r.b)("strong",{parentName:"p"},"eventType"),": ",Object(r.b)("em",{parentName:"p"},"WidgetEventTypes")),Object(r.b)("p",null,"\u25aa ",Object(r.b)("strong",{parentName:"p"},"callback"),": ",Object(r.b)("em",{parentName:"p"},"function")),Object(r.b)("p",null,"For example in the case of QPushButton:"),Object(r.b)("pre",null,Object(r.b)("code",Object(b.a)({parentName:"pre"},{className:"language-js"}),'const button = new QPushButton();\nbutton.addEventListener(WidgetEventTypes.HoverEnter,()=>console.log("hovered"));\n')),Object(r.b)("p",null,"\u25b8 (",Object(r.b)("inlineCode",{parentName:"p"},"event?"),': NativeRawPointer\u2039"QEvent"\u203a): ',Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"event?")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),'NativeRawPointer\u2039"QEvent"\u203a')))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"adjustsize"},"adjustSize"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"adjustSize"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"appendchild"},"appendChild"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"appendChild"),"(",Object(r.b)("inlineCode",{parentName:"p"},"child"),": NodeWidget\u2039any\u203a): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"child")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"NodeWidget\u2039any\u203a")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"appendinitialchild"},"appendInitialChild"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"appendInitialChild"),"(",Object(r.b)("inlineCode",{parentName:"p"},"child"),": NodeWidget\u2039any\u203a): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"child")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"NodeWidget\u2039any\u203a")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"clearfocus"},"clearFocus"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"clearFocus"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"close"},"close"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"close"),"(): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"defaultsuffix"},"defaultSuffix"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"defaultSuffix"),"(): ",Object(r.b)("em",{parentName:"p"},"string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog"}),"RNFileDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog#defaultsuffix"}),"defaultSuffix"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"string")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"eventprocessed"},"eventProcessed"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"eventProcessed"),"(): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#eventprocessed"}),"eventProcessed"))),Object(r.b)("p",null,"Get the state of the event processed flag"),Object(r.b)("p",null,"See ",Object(r.b)("inlineCode",{parentName:"p"},"setEventProcessed()"),"."),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,"boolean True if the current event is flagged as processed."),Object(r.b)("hr",null),Object(r.b)("h3",{id:"exec"},"exec"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"exec"),"(): ",Object(r.b)("em",{parentName:"p"},"DialogCode")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog"}),"RNDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog#exec"}),"exec"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"DialogCode")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"filemode"},"fileMode"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"fileMode"),"(): ",Object(r.b)("em",{parentName:"p"},"FileMode")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog"}),"RNFileDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog#filemode"}),"fileMode"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"FileMode")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"font"},"font"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"font"),"(): ",Object(r.b)("em",{parentName:"p"},"QFont")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QFont")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"geometry"},"geometry"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"geometry"),"(): ",Object(r.b)("em",{parentName:"p"},"QRect")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QRect")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"getflexnode"},"getFlexNode"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"getFlexNode"),"(): ",Object(r.b)("em",{parentName:"p"},"FlexNode")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"FlexNode")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"hasmousetracking"},"hasMouseTracking"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"hasMouseTracking"),"(): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"hide"},"hide"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"hide"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"inherits"},"inherits"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"inherits"),"(",Object(r.b)("inlineCode",{parentName:"p"},"className"),": string): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#inherits"}),"inherits"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"className")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"insertbefore"},"insertBefore"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"insertBefore"),"(",Object(r.b)("inlineCode",{parentName:"p"},"child"),": NodeWidget\u2039any\u203a, ",Object(r.b)("inlineCode",{parentName:"p"},"beforeChild"),": NodeWidget\u2039any\u203a): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"child")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"NodeWidget\u2039any\u203a")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"beforeChild")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"NodeWidget\u2039any\u203a")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"isactivewindow"},"isActiveWindow"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"isActiveWindow"),"(): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"isenabled"},"isEnabled"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"isEnabled"),"(): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"issizegripenabled"},"isSizeGripEnabled"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"isSizeGripEnabled"),"(): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog"}),"RNDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog#issizegripenabled"}),"isSizeGripEnabled"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"isvisible"},"isVisible"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"isVisible"),"(): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"labeltext"},"labelText"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"labelText"),"(",Object(r.b)("inlineCode",{parentName:"p"},"label"),": DialogLabel): ",Object(r.b)("em",{parentName:"p"},"string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog"}),"RNFileDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog#labeltext"}),"labelText"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"label")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"DialogLabel")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"string")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"lower"},"lower"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"lower"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"mapfromglobal"},"mapFromGlobal"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"mapFromGlobal"),"(",Object(r.b)("inlineCode",{parentName:"p"},"pos"),": QPoint): ",Object(r.b)("em",{parentName:"p"},"QPoint")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"pos")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QPoint")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QPoint")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"mapfromparent"},"mapFromParent"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"mapFromParent"),"(",Object(r.b)("inlineCode",{parentName:"p"},"pos"),": QPoint): ",Object(r.b)("em",{parentName:"p"},"QPoint")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"pos")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QPoint")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QPoint")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"maptoglobal"},"mapToGlobal"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"mapToGlobal"),"(",Object(r.b)("inlineCode",{parentName:"p"},"pos"),": QPoint): ",Object(r.b)("em",{parentName:"p"},"QPoint")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"pos")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QPoint")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QPoint")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"maptoparent"},"mapToParent"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"mapToParent"),"(",Object(r.b)("inlineCode",{parentName:"p"},"pos"),": QPoint): ",Object(r.b)("em",{parentName:"p"},"QPoint")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"pos")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QPoint")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QPoint")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"maximumsize"},"maximumSize"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"maximumSize"),"(): ",Object(r.b)("em",{parentName:"p"},"QSize")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QSize")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"minimumsize"},"minimumSize"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"minimumSize"),"(): ",Object(r.b)("em",{parentName:"p"},"QSize")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QSize")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"move"},"move"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"move"),"(",Object(r.b)("inlineCode",{parentName:"p"},"x"),": number, ",Object(r.b)("inlineCode",{parentName:"p"},"y"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"x")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"y")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"objectname"},"objectName"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"objectName"),"(): ",Object(r.b)("em",{parentName:"p"},"string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#objectname"}),"objectName"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"string")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"open"},"open"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"open"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog"}),"RNDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog#open"}),"open"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"options"},"options"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"options"),"(): ",Object(r.b)("em",{parentName:"p"},"Option")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog"}),"RNFileDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog#options"}),"options"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"Option")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"pos"},"pos"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"pos"),"(): ",Object(r.b)("em",{parentName:"p"},"object")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"object")),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("p",{parentName:"li"},Object(r.b)("strong",{parentName:"p"},"x"),": ",Object(r.b)("em",{parentName:"p"},"number"))),Object(r.b)("li",{parentName:"ul"},Object(r.b)("p",{parentName:"li"},Object(r.b)("strong",{parentName:"p"},"y"),": ",Object(r.b)("em",{parentName:"p"},"number")))),Object(r.b)("hr",null),Object(r.b)("h3",{id:"property"},"property"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"property"),"(",Object(r.b)("inlineCode",{parentName:"p"},"name"),": string): ",Object(r.b)("em",{parentName:"p"},"QVariant")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#property"}),"property"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"name")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QVariant")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"raise"},"raise"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"raise"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"reject"},"reject"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"reject"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog"}),"RNDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog#reject"}),"reject"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"removeaction"},"removeAction"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"removeAction"),"(",Object(r.b)("inlineCode",{parentName:"p"},"action"),": QAction): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"action")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QAction")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"removechild"},"removeChild"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"removeChild"),"(",Object(r.b)("inlineCode",{parentName:"p"},"child"),": NodeWidget\u2039any\u203a): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"child")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"NodeWidget\u2039any\u203a")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"removeeventlistener"},"removeEventListener"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"removeEventListener"),"\u2039",Object(r.b)("strong",{parentName:"p"},"SignalType"),"\u203a(",Object(r.b)("inlineCode",{parentName:"p"},"signalType"),": SignalType, ",Object(r.b)("inlineCode",{parentName:"p"},"callback"),": QFileDialogSignals","[SignalType]","): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#removeeventlistener"}),"removeEventListener"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Type parameters:")),Object(r.b)("p",null,"\u25aa ",Object(r.b)("strong",{parentName:"p"},"SignalType"),": ",Object(r.b)("em",{parentName:"p"},"keyof QFileDialogSignals")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"signalType")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"SignalType")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"callback")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QFileDialogSignals","[SignalType]")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"removeEventListener"),"(",Object(r.b)("inlineCode",{parentName:"p"},"eventType"),": WidgetEventTypes, ",Object(r.b)("inlineCode",{parentName:"p"},"callback"),": function): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#removeeventlistener"}),"removeEventListener"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("p",null,"\u25aa ",Object(r.b)("strong",{parentName:"p"},"eventType"),": ",Object(r.b)("em",{parentName:"p"},"WidgetEventTypes")),Object(r.b)("p",null,"\u25aa ",Object(r.b)("strong",{parentName:"p"},"callback"),": ",Object(r.b)("em",{parentName:"p"},"function")),Object(r.b)("p",null,"\u25b8 (",Object(r.b)("inlineCode",{parentName:"p"},"event?"),': NativeRawPointer\u2039"QEvent"\u203a): ',Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"event?")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),'NativeRawPointer\u2039"QEvent"\u203a')))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"repaint"},"repaint"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"repaint"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"repolish"},"repolish"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"repolish"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"resize"},"resize"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"resize"),"(",Object(r.b)("inlineCode",{parentName:"p"},"width"),": number, ",Object(r.b)("inlineCode",{parentName:"p"},"height"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"width")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"height")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"result"},"result"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"result"),"(): ",Object(r.b)("em",{parentName:"p"},"number")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog"}),"RNDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog#result"}),"result"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"number")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"selectedfiles"},"selectedFiles"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"selectedFiles"),"(): ",Object(r.b)("em",{parentName:"p"},"string[]")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog"}),"RNFileDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog#selectedfiles"}),"selectedFiles"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"string[]")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setacceptdrops"},"setAcceptDrops"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setAcceptDrops"),"(",Object(r.b)("inlineCode",{parentName:"p"},"on"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"on")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setacceptmode"},"setAcceptMode"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setAcceptMode"),"(",Object(r.b)("inlineCode",{parentName:"p"},"acceptMode"),": AcceptMode): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog"}),"RNFileDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog#setacceptmode"}),"setAcceptMode"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"acceptMode")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"AcceptMode")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setattribute"},"setAttribute"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setAttribute"),"(",Object(r.b)("inlineCode",{parentName:"p"},"attribute"),": WidgetAttribute, ",Object(r.b)("inlineCode",{parentName:"p"},"switchOn"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"attribute")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"WidgetAttribute")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"switchOn")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setcontextmenupolicy"},"setContextMenuPolicy"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setContextMenuPolicy"),"(",Object(r.b)("inlineCode",{parentName:"p"},"contextMenuPolicy"),": ContextMenuPolicy): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"contextMenuPolicy")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"ContextMenuPolicy")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setcursor"},"setCursor"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setCursor"),"(",Object(r.b)("inlineCode",{parentName:"p"},"cursor"),": CursorShape | QCursor): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"cursor")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"CursorShape ","|"," QCursor")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setdefaultsuffix"},"setDefaultSuffix"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setDefaultSuffix"),"(",Object(r.b)("inlineCode",{parentName:"p"},"defaultSuffix"),": string): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog"}),"RNFileDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog#setdefaultsuffix"}),"setDefaultSuffix"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"defaultSuffix")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setenabled"},"setEnabled"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setEnabled"),"(",Object(r.b)("inlineCode",{parentName:"p"},"enabled"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"enabled")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"seteventprocessed"},"setEventProcessed"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setEventProcessed"),"(",Object(r.b)("inlineCode",{parentName:"p"},"isProcessed"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#seteventprocessed"}),"setEventProcessed"))),Object(r.b)("p",null,"Mark the current event as having been processed"),Object(r.b)("p",null,"This method is used to indicate that the currently dispatched event\nhas been processed and no further processing by superclasses is\nrequired. It only makes sense to call this method from an event\nhandler."),Object(r.b)("p",null,"When set, this flag will cause NodeGui's ",Object(r.b)("inlineCode",{parentName:"p"},"QObject::event()")," method to\nreturn true and not call the superclass ",Object(r.b)("inlineCode",{parentName:"p"},"event()"),", effectively preventing\nany further processing on this event."),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Description"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"isProcessed")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean"),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"true if the event has been processed.")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setfilemode"},"setFileMode"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setFileMode"),"(",Object(r.b)("inlineCode",{parentName:"p"},"fileMode"),": FileMode): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog"}),"RNFileDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog#setfilemode"}),"setFileMode"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"fileMode")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"FileMode")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setfixedsize"},"setFixedSize"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setFixedSize"),"(",Object(r.b)("inlineCode",{parentName:"p"},"width"),": number, ",Object(r.b)("inlineCode",{parentName:"p"},"height"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"width")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"height")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setflexnodesizecontrolled"},"setFlexNodeSizeControlled"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setFlexNodeSizeControlled"),"(",Object(r.b)("inlineCode",{parentName:"p"},"isSizeControlled"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,"sets whether the widget's size is controlled by someone else (for example a window's size is controlled by its frame when dragged)."),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Description"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"isSizeControlled")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean"),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}))))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setfocus"},"setFocus"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setFocus"),"(",Object(r.b)("inlineCode",{parentName:"p"},"reason?"),": FocusReason): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"reason?")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"FocusReason")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setfocuspolicy"},"setFocusPolicy"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setFocusPolicy"),"(",Object(r.b)("inlineCode",{parentName:"p"},"policy"),": FocusPolicy): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"policy")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"FocusPolicy")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setfont"},"setFont"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setFont"),"(",Object(r.b)("inlineCode",{parentName:"p"},"font"),": QFont): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"font")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QFont")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setgeometry"},"setGeometry"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setGeometry"),"(",Object(r.b)("inlineCode",{parentName:"p"},"x"),": number, ",Object(r.b)("inlineCode",{parentName:"p"},"y"),": number, ",Object(r.b)("inlineCode",{parentName:"p"},"w"),": number, ",Object(r.b)("inlineCode",{parentName:"p"},"h"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"x")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"y")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"w")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"h")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setgraphicseffect"},"setGraphicsEffect"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setGraphicsEffect"),"(",Object(r.b)("inlineCode",{parentName:"p"},"effect"),": QGraphicsEffect\u2039any\u203a): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"effect")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QGraphicsEffect\u2039any\u203a")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setinlinestyle"},"setInlineStyle"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setInlineStyle"),"(",Object(r.b)("inlineCode",{parentName:"p"},"style"),": string): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"style")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setlabeltext"},"setLabelText"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setLabelText"),"(",Object(r.b)("inlineCode",{parentName:"p"},"label"),": DialogLabel, ",Object(r.b)("inlineCode",{parentName:"p"},"text"),": string): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog"}),"RNFileDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog#setlabeltext"}),"setLabelText"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"label")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"DialogLabel")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"text")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setlayout"},"setLayout"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setLayout"),"(",Object(r.b)("inlineCode",{parentName:"p"},"parentLayout"),": NodeLayout\u2039QFileDialogSignals\u203a): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"parentLayout")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"NodeLayout\u2039QFileDialogSignals\u203a")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setmaximumsize"},"setMaximumSize"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setMaximumSize"),"(",Object(r.b)("inlineCode",{parentName:"p"},"maxw"),": number, ",Object(r.b)("inlineCode",{parentName:"p"},"maxh"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"maxw")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"maxh")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setminimumsize"},"setMinimumSize"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setMinimumSize"),"(",Object(r.b)("inlineCode",{parentName:"p"},"minw"),": number, ",Object(r.b)("inlineCode",{parentName:"p"},"minh"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"minw")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"minh")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setmodal"},"setModal"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setModal"),"(",Object(r.b)("inlineCode",{parentName:"p"},"modal"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog"}),"RNDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog#setmodal"}),"setModal"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"modal")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setmousetracking"},"setMouseTracking"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setMouseTracking"),"(",Object(r.b)("inlineCode",{parentName:"p"},"isMouseTracked"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"isMouseTracked")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setnamefilter"},"setNameFilter"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setNameFilter"),"(",Object(r.b)("inlineCode",{parentName:"p"},"filter"),": string): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog"}),"RNFileDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog#setnamefilter"}),"setNameFilter"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"filter")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setnodeparent"},"setNodeParent"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setNodeParent"),"(",Object(r.b)("inlineCode",{parentName:"p"},"parent?"),": Component): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#setnodeparent"}),"setNodeParent"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"parent?")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"Component")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setobjectname"},"setObjectName"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setObjectName"),"(",Object(r.b)("inlineCode",{parentName:"p"},"objectName"),": string): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Overrides ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#setobjectname"}),"setObjectName"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"objectName")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setoption"},"setOption"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setOption"),"(",Object(r.b)("inlineCode",{parentName:"p"},"option"),": Option, ",Object(r.b)("inlineCode",{parentName:"p"},"on?"),": undefined | false | true): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog"}),"RNFileDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog#setoption"}),"setOption"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"option")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"Option")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"on?")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"undefined ","|"," false ","|"," true")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setoptions"},"setOptions"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setOptions"),"(",Object(r.b)("inlineCode",{parentName:"p"},"options"),": Option): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog"}),"RNFileDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog#setoptions"}),"setOptions"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"options")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"Option")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setproperty"},"setProperty"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setProperty"),"(",Object(r.b)("inlineCode",{parentName:"p"},"name"),": string, ",Object(r.b)("inlineCode",{parentName:"p"},"value"),": QVariantType): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#setproperty"}),"setProperty"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"name")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"value")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QVariantType")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setprops"},"setProps"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setProps"),"(",Object(r.b)("inlineCode",{parentName:"p"},"newProps"),": ",Object(r.b)("a",Object(b.a)({parentName:"p"},{href:"/docs/api/interfaces/filedialogprops"}),"FileDialogProps"),", ",Object(r.b)("inlineCode",{parentName:"p"},"oldProps"),": ",Object(r.b)("a",Object(b.a)({parentName:"p"},{href:"/docs/api/interfaces/filedialogprops"}),"FileDialogProps"),"): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"newProps")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("a",Object(b.a)({parentName:"td"},{href:"/docs/api/interfaces/filedialogprops"}),"FileDialogProps"))),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"oldProps")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("a",Object(b.a)({parentName:"td"},{href:"/docs/api/interfaces/filedialogprops"}),"FileDialogProps"))))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setresult"},"setResult"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setResult"),"(",Object(r.b)("inlineCode",{parentName:"p"},"i"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog"}),"RNDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog#setresult"}),"setResult"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"i")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setsizegripenabled"},"setSizeGripEnabled"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setSizeGripEnabled"),"(",Object(r.b)("inlineCode",{parentName:"p"},"enabled"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog"}),"RNDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog#setsizegripenabled"}),"setSizeGripEnabled"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"enabled")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setstylesheet"},"setStyleSheet"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setStyleSheet"),"(",Object(r.b)("inlineCode",{parentName:"p"},"styleSheet"),": string): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"styleSheet")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setsupportedschemes"},"setSupportedSchemes"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setSupportedSchemes"),"(",Object(r.b)("inlineCode",{parentName:"p"},"schemes"),": string[]): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog"}),"RNFileDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog#setsupportedschemes"}),"setSupportedSchemes"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"schemes")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string[]")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setwindowflag"},"setWindowFlag"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setWindowFlag"),"(",Object(r.b)("inlineCode",{parentName:"p"},"windowType"),": WindowType, ",Object(r.b)("inlineCode",{parentName:"p"},"switchOn"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"windowType")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"WindowType")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"switchOn")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setwindowicon"},"setWindowIcon"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setWindowIcon"),"(",Object(r.b)("inlineCode",{parentName:"p"},"icon"),": QIcon): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"icon")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QIcon")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setwindowopacity"},"setWindowOpacity"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setWindowOpacity"),"(",Object(r.b)("inlineCode",{parentName:"p"},"opacity"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"opacity")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setwindowstate"},"setWindowState"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setWindowState"),"(",Object(r.b)("inlineCode",{parentName:"p"},"state"),": WindowState): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"state")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"WindowState")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setwindowtitle"},"setWindowTitle"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setWindowTitle"),"(",Object(r.b)("inlineCode",{parentName:"p"},"title"),": string): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"title")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"show"},"show"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"show"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"showfullscreen"},"showFullScreen"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"showFullScreen"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"showmaximized"},"showMaximized"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"showMaximized"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"showminimized"},"showMinimized"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"showMinimized"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"shownormal"},"showNormal"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"showNormal"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"size"},"size"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"size"),"(): ",Object(r.b)("em",{parentName:"p"},"QSize")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QSize")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"stylesheet"},"styleSheet"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"styleSheet"),"(): ",Object(r.b)("em",{parentName:"p"},"string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"string")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"supportedschemes"},"supportedSchemes"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"supportedSchemes"),"(): ",Object(r.b)("em",{parentName:"p"},"string[]")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog"}),"RNFileDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog#supportedschemes"}),"supportedSchemes"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"string[]")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"testattribute"},"testAttribute"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"testAttribute"),"(",Object(r.b)("inlineCode",{parentName:"p"},"attribute"),": WidgetAttribute): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"attribute")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"WidgetAttribute")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"update"},"update"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"update"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"updategeometry"},"updateGeometry"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"updateGeometry"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"viewmode"},"viewMode"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"viewMode"),"(): ",Object(r.b)("em",{parentName:"p"},"ViewMode")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog"}),"RNFileDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnfiledialog#viewmode"}),"viewMode"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"ViewMode")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"windowopacity"},"windowOpacity"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"windowOpacity"),"(): ",Object(r.b)("em",{parentName:"p"},"number")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"number")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"windowstate"},"windowState"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"windowState"),"(): ",Object(r.b)("em",{parentName:"p"},"number")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"number")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"windowtitle"},"windowTitle"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"windowTitle"),"(): ",Object(r.b)("em",{parentName:"p"},"string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"string")))}O.isMDXComponent=!0},162:function(e,t,a){"use strict";a.d(t,"a",(function(){return j})),a.d(t,"b",(function(){return s}));var b=a(0),n=a.n(b);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function l(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(e);t&&(b=b.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,b)}return a}function c(e){for(var t=1;t=0||(n[a]=e[a]);return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(b=0;b=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}var i=n.a.createContext({}),O=function(e){var t=n.a.useContext(i),a=t;return e&&(a="function"==typeof e?e(t):c(c({},t),e)),a},j=function(e){var t=O(e.components);return n.a.createElement(i.Provider,{value:t},e.children)},m={inlineCode:"code",wrapper:function(e){var t=e.children;return n.a.createElement(n.a.Fragment,{},t)}},o=n.a.forwardRef((function(e,t){var a=e.components,b=e.mdxType,r=e.originalType,l=e.parentName,i=p(e,["components","mdxType","originalType","parentName"]),j=O(a),o=b,s=j["".concat(l,".").concat(o)]||j[o]||m[o]||r;return a?n.a.createElement(s,c(c({ref:t},i),{},{components:a})):n.a.createElement(s,c({ref:t},i))}));function s(e,t){var a=arguments,b=t&&t.mdxType;if("string"==typeof e||b){var r=a.length,l=new Array(r);l[0]=o;var c={};for(var p in t)hasOwnProperty.call(t,p)&&(c[p]=t[p]);c.originalType=e,c.mdxType="string"==typeof e?e:b,l[1]=c;for(var i=2;iOptional attributes",id:"optional-attributes",children:[]},{value:"Optional cancelButtonText",id:"optional-cancelbuttontext",children:[]},{value:"Optional comboBoxEditable",id:"optional-comboboxeditable",children:[]},{value:"Optional cursor",id:"optional-cursor",children:[]},{value:"Optional doubleDecimals",id:"optional-doubledecimals",children:[]},{value:"Optional doubleMax",id:"optional-doublemax",children:[]},{value:"Optional doubleMin",id:"optional-doublemin",children:[]},{value:"Optional doubleStep",id:"optional-doublestep",children:[]},{value:"Optional doubleValue",id:"optional-doublevalue",children:[]},{value:"Optional enableSizeGrip",id:"optional-enablesizegrip",children:[]},{value:"Optional enabled",id:"optional-enabled",children:[]},{value:"Optional focus",id:"optional-focus",children:[]},{value:"Optional font",id:"optional-font",children:[]},{value:"Optional geometry",id:"optional-geometry",children:[]},{value:"Optional id",id:"optional-id",children:[]},{value:"Optional inputMode",id:"optional-inputmode",children:[]},{value:"Optional intMax",id:"optional-intmax",children:[]},{value:"Optional intMin",id:"optional-intmin",children:[]},{value:"Optional intStep",id:"optional-intstep",children:[]},{value:"Optional intValue",id:"optional-intvalue",children:[]},{value:"Optional labelText",id:"optional-labeltext",children:[]},{value:"Optional maxSize",id:"optional-maxsize",children:[]},{value:"Optional minSize",id:"optional-minsize",children:[]},{value:"Optional modal",id:"optional-modal",children:[]},{value:"Optional mouseTracking",id:"optional-mousetracking",children:[]},{value:"Optional okButtonText",id:"optional-okbuttontext",children:[]},{value:"Optional on",id:"optional-on",children:[]},{value:"Optional open",id:"optional-open",children:[]},{value:"Optional options",id:"optional-options",children:[]},{value:"Optional pos",id:"optional-pos",children:[]},{value:"Optional ref",id:"optional-ref",children:[]},{value:"Optional reject",id:"optional-reject",children:[]},{value:"Optional result",id:"optional-result",children:[]},{value:"Optional size",id:"optional-size",children:[]},{value:"Optional style",id:"optional-style",children:[]},{value:"Optional styleSheet",id:"optional-stylesheet",children:[]},{value:"Optional textEchoMode",id:"optional-textechomode",children:[]},{value:"Optional textValue",id:"optional-textvalue",children:[]},{value:"Optional visible",id:"optional-visible",children:[]},{value:"Optional windowFlags",id:"optional-windowflags",children:[]},{value:"Optional windowIcon",id:"optional-windowicon",children:[]},{value:"Optional windowOpacity",id:"optional-windowopacity",children:[]},{value:"Optional windowState",id:"optional-windowstate",children:[]},{value:"Optional windowTitle",id:"optional-windowtitle",children:[]}]}],c={rightToc:r};function l(e){var t=e.components,a=Object(i.a)(e,["components"]);return Object(o.b)("wrapper",Object(n.a)({},c,a,{components:t,mdxType:"MDXLayout"}),Object(o.b)("h2",{id:"hierarchy"},"Hierarchy"),Object(o.b)("p",null," \u21b3 ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"/docs/api/interfaces/dialogprops"}),"DialogProps"),"\u2039QInputDialogSignals\u203a"),Object(o.b)("p",null," \u21b3 ",Object(o.b)("strong",{parentName:"p"},"InputDialogProps")),Object(o.b)("h2",{id:"index"},"Index"),Object(o.b)("h3",{id:"properties"},"Properties"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-attributes"}),"attributes")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-cancelbuttontext"}),"cancelButtonText")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-comboboxeditable"}),"comboBoxEditable")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-cursor"}),"cursor")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-doubledecimals"}),"doubleDecimals")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-doublemax"}),"doubleMax")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-doublemin"}),"doubleMin")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-doublestep"}),"doubleStep")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-doublevalue"}),"doubleValue")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-enablesizegrip"}),"enableSizeGrip")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-enabled"}),"enabled")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-focus"}),"focus")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-font"}),"font")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-geometry"}),"geometry")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-id"}),"id")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-inputmode"}),"inputMode")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-intmax"}),"intMax")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-intmin"}),"intMin")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-intstep"}),"intStep")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-intvalue"}),"intValue")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-labeltext"}),"labelText")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-maxsize"}),"maxSize")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-minsize"}),"minSize")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-modal"}),"modal")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-mousetracking"}),"mouseTracking")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-okbuttontext"}),"okButtonText")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-on"}),"on")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-open"}),"open")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-options"}),"options")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-pos"}),"pos")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-ref"}),"ref")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-reject"}),"reject")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-result"}),"result")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-size"}),"size")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-style"}),"style")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-stylesheet"}),"styleSheet")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-textechomode"}),"textEchoMode")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-textvalue"}),"textValue")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-visible"}),"visible")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-windowflags"}),"windowFlags")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-windowicon"}),"windowIcon")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-windowopacity"}),"windowOpacity")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-windowstate"}),"windowState")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("a",Object(n.a)({parentName:"li"},{href:"/docs/api/interfaces/inputdialogprops#optional-windowtitle"}),"windowTitle"))),Object(o.b)("h2",{id:"properties-1"},"Properties"),Object(o.b)("h3",{id:"optional-attributes"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," attributes"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"attributes"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#widgetattributesmap"}),"WidgetAttributesMap"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-attributes"}),"attributes"))),Object(o.b)("p",null,"Prop to set the Widget Attributes. example:\n",Object(o.b)("inlineCode",{parentName:"p"},"")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-cancelbuttontext"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," cancelButtonText"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"cancelButtonText"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | string")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-comboboxeditable"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," comboBoxEditable"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"comboBoxEditable"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | false | true")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-cursor"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," cursor"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"cursor"),"? : ",Object(o.b)("em",{parentName:"p"},"CursorShape | QCursor")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-cursor"}),"cursor"))),Object(o.b)("p",null,"Sets the window mouse cursor. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor"}),"QWidget: setCursor")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-doubledecimals"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," doubleDecimals"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"doubleDecimals"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | number")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-doublemax"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," doubleMax"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"doubleMax"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | number")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-doublemin"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," doubleMin"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"doubleMin"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | number")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-doublestep"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," doubleStep"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"doubleStep"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | number")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-doublevalue"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," doubleValue"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"doubleValue"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | number")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-enablesizegrip"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," enableSizeGrip"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"enableSizeGrip"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | false | true")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/dialogprops"}),"DialogProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/dialogprops#optional-enablesizegrip"}),"enableSizeGrip"))),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-enabled"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," enabled"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"enabled"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | false | true")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-enabled"}),"enabled"))),Object(o.b)("p",null,"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. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled"}),"QWidget: setEnabled")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-focus"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," focus"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"focus"),"? : ",Object(o.b)("em",{parentName:"p"},"FocusReason")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/dialogprops"}),"DialogProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/dialogprops#optional-focus"}),"focus"))),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-font"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," font"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"font"),"? : ",Object(o.b)("em",{parentName:"p"},"QFont")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/dialogprops"}),"DialogProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/dialogprops#optional-font"}),"font"))),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-geometry"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," geometry"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"geometry"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#geometry"}),"Geometry"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-geometry"}),"geometry"))),Object(o.b)("p",null,"Sets the screen position as well as size of the widget. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height"}),"QWidget: setGeometry")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-id"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," id"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"id"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | string")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-id"}),"id"))),Object(o.b)("p",null,"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. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname"}),"QWidget: setObjectName")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-inputmode"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," inputMode"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"inputMode"),"? : ",Object(o.b)("em",{parentName:"p"},"InputMode")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-intmax"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," intMax"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"intMax"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | number")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-intmin"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," intMin"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"intMin"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | number")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-intstep"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," intStep"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"intStep"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | number")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-intvalue"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," intValue"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"intValue"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | number")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-labeltext"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," labelText"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"labelText"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | string")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-maxsize"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," maxSize"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"maxSize"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#size"}),"Size"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-maxsize"}),"maxSize"))),Object(o.b)("p",null,"Sets the maximum size of the widget. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height"}),"QWidget: setMaximumSize")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-minsize"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," minSize"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"minSize"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#size"}),"Size"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-minsize"}),"minSize"))),Object(o.b)("p",null,"Sets the minimum size of the widget. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height"}),"QWidget: setMinimumSize")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-modal"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," modal"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"modal"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | false | true")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/dialogprops"}),"DialogProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/dialogprops#optional-modal"}),"modal"))),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-mousetracking"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," mouseTracking"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"mouseTracking"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | false | true")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-mousetracking"}),"mouseTracking"))),Object(o.b)("p",null,"Sets the property that tells whether mouseTracking is enabled for the widget. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked"}),"QWidget: setMouseTracking")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-okbuttontext"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," okButtonText"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"okButtonText"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | string")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-on"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," on"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"on"),"? : ",Object(o.b)("em",{parentName:"p"},"Partial\u2039",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#widgeteventlisteners"}),"WidgetEventListeners")," | QInputDialogSignals\u203a")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-on"}),"on"))),Object(o.b)("p",null,"Prop to set the event listener map. See ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"/docs/guides/handle-events"}),"Handlong Events")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-open"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," open"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"open"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | false | true")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/dialogprops"}),"DialogProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/dialogprops#optional-open"}),"open"))),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-options"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," options"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"options"),"? : ",Object(o.b)("em",{parentName:"p"},"InputDialogOptions")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-pos"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," pos"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"pos"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#position"}),"Position"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-pos"}),"pos"))),Object(o.b)("p",null,"Sets the screen position of the widget. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y"}),"QWidget: move")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-ref"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," ref"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"ref"),"? : ",Object(o.b)("em",{parentName:"p"},"any")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-ref"}),"ref"))),Object(o.b)("p",null,"Prop to set the ref. The ref will return the underlying nodegui widget."),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-reject"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," reject"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"reject"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | false | true")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/dialogprops"}),"DialogProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/dialogprops#optional-reject"}),"reject"))),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-result"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," result"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"result"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | number")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/dialogprops"}),"DialogProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/dialogprops#optional-result"}),"result"))),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-size"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," size"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"size"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#viewsize"}),"ViewSize"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-size"}),"size"))),Object(o.b)("p",null,"Sets both the minimum and maximum sizes of the widget. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height"}),"QWidget: setFixedSize")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-style"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," style"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"style"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | string")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-style"}),"style"))),Object(o.b)("p",null,"Sets the inline stylesheet property. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle"}),"QWidget: setInlineStyle")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-stylesheet"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," styleSheet"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"styleSheet"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | string")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-stylesheet"}),"styleSheet"))),Object(o.b)("p",null,"Sets the property that holds the widget's style sheet. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet"}),"QWidget: setStyleSheet")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-textechomode"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," textEchoMode"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"textEchoMode"),"? : ",Object(o.b)("em",{parentName:"p"},"EchoMode")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-textvalue"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," textValue"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"textValue"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | string")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-visible"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," visible"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"visible"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | false | true")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-visible"}),"visible"))),Object(o.b)("p",null,"Shows or hides the widget and its children. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetshow"}),"QWidget: show")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-windowflags"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," windowFlags"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"windowFlags"),"? : ",Object(o.b)("em",{parentName:"p"},Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/globals#windowflagsmap"}),"WindowFlagsMap"))),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowflags"}),"windowFlags"))),Object(o.b)("p",null,"Prop to set the Widget flags. example:\n",Object(o.b)("inlineCode",{parentName:"p"},"")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-windowicon"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," windowIcon"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"windowIcon"),"? : ",Object(o.b)("em",{parentName:"p"},"QIcon")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowicon"}),"windowIcon"))),Object(o.b)("p",null,"Sets the window icon. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon"}),"QWidget: setWindowIcon")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-windowopacity"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," windowOpacity"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"windowOpacity"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | number")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowopacity"}),"windowOpacity"))),Object(o.b)("p",null,"This property holds the level of opacity for the window. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity"}),"QWidget: setWindowOpacity")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-windowstate"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," windowState"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"windowState"),"? : ",Object(o.b)("em",{parentName:"p"},"WindowState")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowstate"}),"windowState"))),Object(o.b)("p",null,"Sets the window state. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate"}),"QWidget: setWindowState")),Object(o.b)("hr",null),Object(o.b)("h3",{id:"optional-windowtitle"},Object(o.b)("inlineCode",{parentName:"h3"},"Optional")," windowTitle"),Object(o.b)("p",null,"\u2022 ",Object(o.b)("strong",{parentName:"p"},"windowTitle"),"? : ",Object(o.b)("em",{parentName:"p"},"undefined | string")),Object(o.b)("p",null,Object(o.b)("em",{parentName:"p"},"Inherited from ",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(o.b)("a",Object(n.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowtitle"}),"windowTitle"))),Object(o.b)("p",null,"Sets the window title property. ",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle"}),"QWidget: setWindowTitle")))}l.isMDXComponent=!0},162:function(e,t,a){"use strict";a.d(t,"a",(function(){return d})),a.d(t,"b",(function(){return j}));var n=a(0),i=a.n(n);function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function p(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function b(e){for(var t=1;t=0||(i[a]=e[a]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(i[a]=e[a])}return i}var c=i.a.createContext({}),l=function(e){var t=i.a.useContext(c),a=t;return e&&(a="function"==typeof e?e(t):b(b({},t),e)),a},d=function(e){var t=l(e.components);return i.a.createElement(c.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return i.a.createElement(i.a.Fragment,{},t)}},O=i.a.forwardRef((function(e,t){var a=e.components,n=e.mdxType,o=e.originalType,p=e.parentName,c=r(e,["components","mdxType","originalType","parentName"]),d=l(a),O=n,j=d["".concat(p,".").concat(O)]||d[O]||s[O]||o;return a?i.a.createElement(j,b(b({ref:t},c),{},{components:a})):i.a.createElement(j,b({ref:t},c))}));function j(e,t){var a=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var o=a.length,p=new Array(o);p[0]=O;var b={};for(var r in t)hasOwnProperty.call(t,r)&&(b[r]=t[r]);b.originalType=e,b.mdxType="string"==typeof e?e:n,p[1]=b;for(var c=2;c=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var u=o.a.createContext({}),l=function(e){var n=o.a.useContext(u),t=n;return e&&(t="function"==typeof e?e(n):c(c({},n),e)),t},b=function(e){var n=l(e.components);return o.a.createElement(u.Provider,{value:n},e.children)},s={inlineCode:"code",wrapper:function(e){var n=e.children;return o.a.createElement(o.a.Fragment,{},n)}},d=o.a.forwardRef((function(e,n){var t=e.components,r=e.mdxType,i=e.originalType,a=e.parentName,u=p(e,["components","mdxType","originalType","parentName"]),b=l(t),d=r,g=b["".concat(a,".").concat(d)]||b[d]||s[d]||i;return t?o.a.createElement(g,c(c({ref:n},u),{},{components:t})):o.a.createElement(g,c({ref:n},u))}));function g(e,n){var t=arguments,r=n&&n.mdxType;if("string"==typeof e||r){var i=t.length,a=new Array(i);a[0]=d;var c={};for(var p in n)hasOwnProperty.call(n,p)&&(c[p]=n[p]);c.originalType=e,c.mdxType="string"==typeof e?e:r,a[1]=c;for(var u=2;uOptional attributes",id:"optional-attributes",children:[]},{value:"Optional cursor",id:"optional-cursor",children:[]},{value:"Optional enabled",id:"optional-enabled",children:[]},{value:"Optional geometry",id:"optional-geometry",children:[]},{value:"Optional id",id:"optional-id",children:[]},{value:"Optional maxSize",id:"optional-maxsize",children:[]},{value:"Optional minSize",id:"optional-minsize",children:[]},{value:"Optional mouseTracking",id:"optional-mousetracking",children:[]},{value:"Optional on",id:"optional-on",children:[]},{value:"Optional pos",id:"optional-pos",children:[]},{value:"Optional ref",id:"optional-ref",children:[]},{value:"Optional size",id:"optional-size",children:[]},{value:"Optional style",id:"optional-style",children:[]},{value:"Optional styleSheet",id:"optional-stylesheet",children:[]},{value:"Optional visible",id:"optional-visible",children:[]},{value:"Optional windowFlags",id:"optional-windowflags",children:[]},{value:"Optional windowIcon",id:"optional-windowicon",children:[]},{value:"Optional windowOpacity",id:"optional-windowopacity",children:[]},{value:"Optional windowState",id:"optional-windowstate",children:[]},{value:"Optional windowTitle",id:"optional-windowtitle",children:[]}]}],c={rightToc:b};function s(e){var t=e.components,a=Object(n.a)(e,["components"]);return Object(r.b)("wrapper",Object(i.a)({},c,a,{components:t,mdxType:"MDXLayout"}),Object(r.b)("h2",{id:"hierarchy"},"Hierarchy"),Object(r.b)("p",null," \u21b3 ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),"\u2039QListWidgetSignals\u203a"),Object(r.b)("p",null," \u21b3 ",Object(r.b)("strong",{parentName:"p"},"ListProps")),Object(r.b)("h2",{id:"index"},"Index"),Object(r.b)("h3",{id:"properties"},"Properties"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/listprops#optional-attributes"}),"attributes")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/listprops#optional-cursor"}),"cursor")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/listprops#optional-enabled"}),"enabled")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/listprops#optional-geometry"}),"geometry")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/listprops#optional-id"}),"id")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/listprops#optional-maxsize"}),"maxSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/listprops#optional-minsize"}),"minSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/listprops#optional-mousetracking"}),"mouseTracking")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/listprops#optional-on"}),"on")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/listprops#optional-pos"}),"pos")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/listprops#optional-ref"}),"ref")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/listprops#optional-size"}),"size")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/listprops#optional-style"}),"style")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/listprops#optional-stylesheet"}),"styleSheet")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/listprops#optional-visible"}),"visible")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/listprops#optional-windowflags"}),"windowFlags")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/listprops#optional-windowicon"}),"windowIcon")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/listprops#optional-windowopacity"}),"windowOpacity")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/listprops#optional-windowstate"}),"windowState")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(i.a)({parentName:"li"},{href:"/docs/api/interfaces/listprops#optional-windowtitle"}),"windowTitle"))),Object(r.b)("h2",{id:"properties-1"},"Properties"),Object(r.b)("h3",{id:"optional-attributes"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," attributes"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"attributes"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#widgetattributesmap"}),"WidgetAttributesMap"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-attributes"}),"attributes"))),Object(r.b)("p",null,"Prop to set the Widget Attributes. example:\n",Object(r.b)("inlineCode",{parentName:"p"},"")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-cursor"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," cursor"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"cursor"),"? : ",Object(r.b)("em",{parentName:"p"},"CursorShape | QCursor")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-cursor"}),"cursor"))),Object(r.b)("p",null,"Sets the window mouse cursor. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetcursorcursor"}),"QWidget: setCursor")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-enabled"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," enabled"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"enabled"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | false | true")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-enabled"}),"enabled"))),Object(r.b)("p",null,"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. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetenabledenabled"}),"QWidget: setEnabled")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-geometry"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," geometry"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"geometry"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#geometry"}),"Geometry"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-geometry"}),"geometry"))),Object(r.b)("p",null,"Sets the screen position as well as size of the widget. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetgeometryx-y-width-height"}),"QWidget: setGeometry")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-id"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," id"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"id"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-id"}),"id"))),Object(r.b)("p",null,"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. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname"}),"QWidget: setObjectName")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-maxsize"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," maxSize"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"maxSize"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#size"}),"Size"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-maxsize"}),"maxSize"))),Object(r.b)("p",null,"Sets the maximum size of the widget. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmaximumsizewidth-height"}),"QWidget: setMaximumSize")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-minsize"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," minSize"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"minSize"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#size"}),"Size"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-minsize"}),"minSize"))),Object(r.b)("p",null,"Sets the minimum size of the widget. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetminimumsizewidth-height"}),"QWidget: setMinimumSize")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-mousetracking"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," mouseTracking"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"mouseTracking"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | false | true")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-mousetracking"}),"mouseTracking"))),Object(r.b)("p",null,"Sets the property that tells whether mouseTracking is enabled for the widget. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetmousetrackingismousetracked"}),"QWidget: setMouseTracking")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-on"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," on"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"on"),"? : ",Object(r.b)("em",{parentName:"p"},"Partial\u2039",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#widgeteventlisteners"}),"WidgetEventListeners")," | QListWidgetSignals\u203a")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-on"}),"on"))),Object(r.b)("p",null,"Prop to set the event listener map. See ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"/docs/guides/handle-events"}),"Handlong Events")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-pos"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," pos"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"pos"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#position"}),"Position"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-pos"}),"pos"))),Object(r.b)("p",null,"Sets the screen position of the widget. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetmovex-y"}),"QWidget: move")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-ref"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," ref"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"ref"),"? : ",Object(r.b)("em",{parentName:"p"},"any")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-ref"}),"ref"))),Object(r.b)("p",null,"Prop to set the ref. The ref will return the underlying nodegui widget."),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-size"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," size"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"size"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#viewsize"}),"ViewSize"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-size"}),"size"))),Object(r.b)("p",null,"Sets both the minimum and maximum sizes of the widget. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetfixedsizewidth-height"}),"QWidget: setFixedSize")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-style"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," style"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"style"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-style"}),"style"))),Object(r.b)("p",null,"Sets the inline stylesheet property. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetinlinestylestyle"}),"QWidget: setInlineStyle")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-stylesheet"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," styleSheet"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"styleSheet"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-stylesheet"}),"styleSheet"))),Object(r.b)("p",null,"Sets the property that holds the widget's style sheet. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetstylesheetstylesheet"}),"QWidget: setStyleSheet")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-visible"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," visible"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"visible"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | false | true")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-visible"}),"visible"))),Object(r.b)("p",null,"Shows or hides the widget and its children. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetshow"}),"QWidget: show")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowflags"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowFlags"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowFlags"),"? : ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/globals#windowflagsmap"}),"WindowFlagsMap"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowflags"}),"windowFlags"))),Object(r.b)("p",null,"Prop to set the Widget flags. example:\n",Object(r.b)("inlineCode",{parentName:"p"},"")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowicon"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowIcon"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowIcon"),"? : ",Object(r.b)("em",{parentName:"p"},"QIcon")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowicon"}),"windowIcon"))),Object(r.b)("p",null,"Sets the window icon. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowiconicon"}),"QWidget: setWindowIcon")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowopacity"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowOpacity"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowOpacity"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | number")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowopacity"}),"windowOpacity"))),Object(r.b)("p",null,"This property holds the level of opacity for the window. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowopacityopacity"}),"QWidget: setWindowOpacity")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowstate"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowState"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowState"),"? : ",Object(r.b)("em",{parentName:"p"},"WindowState")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowstate"}),"windowState"))),Object(r.b)("p",null,"Sets the window state. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowstatestate"}),"QWidget: setWindowState")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-windowtitle"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," windowTitle"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"windowTitle"),"? : ",Object(r.b)("em",{parentName:"p"},"undefined | string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops"}),"ViewProps"),".",Object(r.b)("a",Object(i.a)({parentName:"em"},{href:"/docs/api/interfaces/viewprops#optional-windowtitle"}),"windowTitle"))),Object(r.b)("p",null,"Sets the window title property. ",Object(r.b)("a",Object(i.a)({parentName:"p"},{href:"https://docs.nodegui.org/docs/api/NodeWidget#widgetsetwindowtitletitle"}),"QWidget: setWindowTitle")))}s.isMDXComponent=!0},162:function(e,t,a){"use strict";a.d(t,"a",(function(){return l})),a.d(t,"b",(function(){return m}));var i=a(0),n=a.n(i);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}function p(e){for(var t=1;t=0||(n[a]=e[a]);return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}var c=n.a.createContext({}),s=function(e){var t=n.a.useContext(c),a=t;return e&&(a="function"==typeof e?e(t):p(p({},t),e)),a},l=function(e){var t=s(e.components);return n.a.createElement(c.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.a.createElement(n.a.Fragment,{},t)}},O=n.a.forwardRef((function(e,t){var a=e.components,i=e.mdxType,r=e.originalType,o=e.parentName,c=b(e,["components","mdxType","originalType","parentName"]),l=s(a),O=i,m=l["".concat(o,".").concat(O)]||l[O]||d[O]||r;return a?n.a.createElement(m,p(p({ref:t},c),{},{components:a})):n.a.createElement(m,p({ref:t},c))}));function m(e,t){var a=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var r=a.length,o=new Array(r);o[0]=O;var p={};for(var b in t)hasOwnProperty.call(t,b)&&(p[b]=t[b]);p.originalType=e,p.mdxType="string"==typeof e?e:i,o[1]=p;for(var c=2;cOptional _layout",id:"optional-_layout",children:[]},{value:"_rawInlineStyle",id:"_rawinlinestyle",children:[]},{value:"actions",id:"actions",children:[]},{value:"native",id:"native",children:[]},{value:"nodeChildren",id:"nodechildren",children:[]},{value:"Optional nodeParent",id:"optional-nodeparent",children:[]},{value:"type",id:"type",children:[]},{value:"Static tagName",id:"static-tagname",children:[]}]},{value:"Accessors",id:"accessors-1",children:[{value:"layout",id:"layout",children:[]}]},{value:"Methods",id:"methods-1",children:[{value:"acceptDrops",id:"acceptdrops",children:[]},{value:"activateWindow",id:"activatewindow",children:[]},{value:"addAction",id:"addaction",children:[]},{value:"addEventListener",id:"addeventlistener",children:[]},{value:"adjustSize",id:"adjustsize",children:[]},{value:"appendChild",id:"appendchild",children:[]},{value:"appendInitialChild",id:"appendinitialchild",children:[]},{value:"autoClose",id:"autoclose",children:[]},{value:"autoReset",id:"autoreset",children:[]},{value:"cancel",id:"cancel",children:[]},{value:"clearFocus",id:"clearfocus",children:[]},{value:"close",id:"close",children:[]},{value:"eventProcessed",id:"eventprocessed",children:[]},{value:"exec",id:"exec",children:[]},{value:"font",id:"font",children:[]},{value:"geometry",id:"geometry",children:[]},{value:"getFlexNode",id:"getflexnode",children:[]},{value:"hasMouseTracking",id:"hasmousetracking",children:[]},{value:"hide",id:"hide",children:[]},{value:"inherits",id:"inherits",children:[]},{value:"insertBefore",id:"insertbefore",children:[]},{value:"isActiveWindow",id:"isactivewindow",children:[]},{value:"isEnabled",id:"isenabled",children:[]},{value:"isSizeGripEnabled",id:"issizegripenabled",children:[]},{value:"isVisible",id:"isvisible",children:[]},{value:"labelText",id:"labeltext",children:[]},{value:"lower",id:"lower",children:[]},{value:"mapFromGlobal",id:"mapfromglobal",children:[]},{value:"mapFromParent",id:"mapfromparent",children:[]},{value:"mapToGlobal",id:"maptoglobal",children:[]},{value:"mapToParent",id:"maptoparent",children:[]},{value:"maximum",id:"maximum",children:[]},{value:"maximumSize",id:"maximumsize",children:[]},{value:"minimum",id:"minimum",children:[]},{value:"minimumDuration",id:"minimumduration",children:[]},{value:"minimumSize",id:"minimumsize",children:[]},{value:"move",id:"move",children:[]},{value:"objectName",id:"objectname",children:[]},{value:"open",id:"open",children:[]},{value:"pos",id:"pos",children:[]},{value:"property",id:"property",children:[]},{value:"raise",id:"raise",children:[]},{value:"reject",id:"reject",children:[]},{value:"removeAction",id:"removeaction",children:[]},{value:"removeChild",id:"removechild",children:[]},{value:"removeEventListener",id:"removeeventlistener",children:[]},{value:"repaint",id:"repaint",children:[]},{value:"repolish",id:"repolish",children:[]},{value:"reset",id:"reset",children:[]},{value:"resize",id:"resize",children:[]},{value:"result",id:"result",children:[]},{value:"setAcceptDrops",id:"setacceptdrops",children:[]},{value:"setAttribute",id:"setattribute",children:[]},{value:"setAutoClose",id:"setautoclose",children:[]},{value:"setAutoReset",id:"setautoreset",children:[]},{value:"setCancelButtonText",id:"setcancelbuttontext",children:[]},{value:"setContextMenuPolicy",id:"setcontextmenupolicy",children:[]},{value:"setCursor",id:"setcursor",children:[]},{value:"setEnabled",id:"setenabled",children:[]},{value:"setEventProcessed",id:"seteventprocessed",children:[]},{value:"setFixedSize",id:"setfixedsize",children:[]},{value:"setFlexNodeSizeControlled",id:"setflexnodesizecontrolled",children:[]},{value:"setFocus",id:"setfocus",children:[]},{value:"setFocusPolicy",id:"setfocuspolicy",children:[]},{value:"setFont",id:"setfont",children:[]},{value:"setGeometry",id:"setgeometry",children:[]},{value:"setGraphicsEffect",id:"setgraphicseffect",children:[]},{value:"setInlineStyle",id:"setinlinestyle",children:[]},{value:"setLabelText",id:"setlabeltext",children:[]},{value:"setLayout",id:"setlayout",children:[]},{value:"setMaximum",id:"setmaximum",children:[]},{value:"setMaximumSize",id:"setmaximumsize",children:[]},{value:"setMinimum",id:"setminimum",children:[]},{value:"setMinimumDuration",id:"setminimumduration",children:[]},{value:"setMinimumSize",id:"setminimumsize",children:[]},{value:"setModal",id:"setmodal",children:[]},{value:"setMouseTracking",id:"setmousetracking",children:[]},{value:"setNodeParent",id:"setnodeparent",children:[]},{value:"setObjectName",id:"setobjectname",children:[]},{value:"setProperty",id:"setproperty",children:[]},{value:"setProps",id:"setprops",children:[]},{value:"setRange",id:"setrange",children:[]},{value:"setResult",id:"setresult",children:[]},{value:"setSizeGripEnabled",id:"setsizegripenabled",children:[]},{value:"setStyleSheet",id:"setstylesheet",children:[]},{value:"setValue",id:"setvalue",children:[]},{value:"setWindowFlag",id:"setwindowflag",children:[]},{value:"setWindowIcon",id:"setwindowicon",children:[]},{value:"setWindowOpacity",id:"setwindowopacity",children:[]},{value:"setWindowState",id:"setwindowstate",children:[]},{value:"setWindowTitle",id:"setwindowtitle",children:[]},{value:"show",id:"show",children:[]},{value:"showFullScreen",id:"showfullscreen",children:[]},{value:"showMaximized",id:"showmaximized",children:[]},{value:"showMinimized",id:"showminimized",children:[]},{value:"showNormal",id:"shownormal",children:[]},{value:"size",id:"size",children:[]},{value:"styleSheet",id:"stylesheet",children:[]},{value:"testAttribute",id:"testattribute",children:[]},{value:"update",id:"update",children:[]},{value:"updateGeometry",id:"updategeometry",children:[]},{value:"value",id:"value",children:[]},{value:"wasCanceled",id:"wascanceled",children:[]},{value:"windowOpacity",id:"windowopacity",children:[]},{value:"windowState",id:"windowstate",children:[]},{value:"windowTitle",id:"windowtitle",children:[]}]}],i={rightToc:p};function j(e){var t=e.components,a=Object(n.a)(e,["components"]);return Object(r.b)("wrapper",Object(b.a)({},i,a,{components:t,mdxType:"MDXLayout"}),Object(r.b)("h2",{id:"hierarchy"},"Hierarchy"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("p",{parentName:"li"},"QProgressDialog"),Object(r.b)("p",{parentName:"li"},"\u21b3 ",Object(r.b)("strong",{parentName:"p"},"RNProgressDialog")))),Object(r.b)("h2",{id:"implements"},"Implements"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},"RNWidget")),Object(r.b)("h2",{id:"index"},"Index"),Object(r.b)("h3",{id:"constructors"},"Constructors"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#constructor"}),"constructor"))),Object(r.b)("h3",{id:"properties"},"Properties"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#optional-_layout"}),"_layout")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#_rawinlinestyle"}),"_rawInlineStyle")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#actions"}),"actions")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#native"}),"native")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#nodechildren"}),"nodeChildren")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#optional-nodeparent"}),"nodeParent")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#type"}),"type")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#static-tagname"}),"tagName"))),Object(r.b)("h3",{id:"accessors"},"Accessors"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#layout"}),"layout"))),Object(r.b)("h3",{id:"methods"},"Methods"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#acceptdrops"}),"acceptDrops")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#activatewindow"}),"activateWindow")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#addaction"}),"addAction")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#addeventlistener"}),"addEventListener")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#adjustsize"}),"adjustSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#appendchild"}),"appendChild")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#appendinitialchild"}),"appendInitialChild")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#autoclose"}),"autoClose")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#autoreset"}),"autoReset")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#cancel"}),"cancel")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#clearfocus"}),"clearFocus")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#close"}),"close")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#eventprocessed"}),"eventProcessed")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#exec"}),"exec")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#font"}),"font")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#geometry"}),"geometry")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#getflexnode"}),"getFlexNode")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#hasmousetracking"}),"hasMouseTracking")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#hide"}),"hide")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#inherits"}),"inherits")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#insertbefore"}),"insertBefore")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#isactivewindow"}),"isActiveWindow")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#isenabled"}),"isEnabled")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#issizegripenabled"}),"isSizeGripEnabled")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#isvisible"}),"isVisible")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#labeltext"}),"labelText")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#lower"}),"lower")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#mapfromglobal"}),"mapFromGlobal")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#mapfromparent"}),"mapFromParent")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#maptoglobal"}),"mapToGlobal")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#maptoparent"}),"mapToParent")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#maximum"}),"maximum")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#maximumsize"}),"maximumSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#minimum"}),"minimum")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#minimumduration"}),"minimumDuration")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#minimumsize"}),"minimumSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#move"}),"move")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#objectname"}),"objectName")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#open"}),"open")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#pos"}),"pos")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#property"}),"property")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#raise"}),"raise")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#reject"}),"reject")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#removeaction"}),"removeAction")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#removechild"}),"removeChild")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#removeeventlistener"}),"removeEventListener")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#repaint"}),"repaint")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#repolish"}),"repolish")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#reset"}),"reset")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#resize"}),"resize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#result"}),"result")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setacceptdrops"}),"setAcceptDrops")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setattribute"}),"setAttribute")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setautoclose"}),"setAutoClose")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setautoreset"}),"setAutoReset")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setcancelbuttontext"}),"setCancelButtonText")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setcontextmenupolicy"}),"setContextMenuPolicy")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setcursor"}),"setCursor")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setenabled"}),"setEnabled")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#seteventprocessed"}),"setEventProcessed")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setfixedsize"}),"setFixedSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setflexnodesizecontrolled"}),"setFlexNodeSizeControlled")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setfocus"}),"setFocus")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setfocuspolicy"}),"setFocusPolicy")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setfont"}),"setFont")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setgeometry"}),"setGeometry")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setgraphicseffect"}),"setGraphicsEffect")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setinlinestyle"}),"setInlineStyle")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setlabeltext"}),"setLabelText")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setlayout"}),"setLayout")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setmaximum"}),"setMaximum")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setmaximumsize"}),"setMaximumSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setminimum"}),"setMinimum")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setminimumduration"}),"setMinimumDuration")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setminimumsize"}),"setMinimumSize")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setmodal"}),"setModal")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setmousetracking"}),"setMouseTracking")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setnodeparent"}),"setNodeParent")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setobjectname"}),"setObjectName")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setproperty"}),"setProperty")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setprops"}),"setProps")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setrange"}),"setRange")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setresult"}),"setResult")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setsizegripenabled"}),"setSizeGripEnabled")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setstylesheet"}),"setStyleSheet")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setvalue"}),"setValue")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setwindowflag"}),"setWindowFlag")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setwindowicon"}),"setWindowIcon")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setwindowopacity"}),"setWindowOpacity")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setwindowstate"}),"setWindowState")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#setwindowtitle"}),"setWindowTitle")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#show"}),"show")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#showfullscreen"}),"showFullScreen")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#showmaximized"}),"showMaximized")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#showminimized"}),"showMinimized")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#shownormal"}),"showNormal")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#size"}),"size")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#stylesheet"}),"styleSheet")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#testattribute"}),"testAttribute")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#update"}),"update")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#updategeometry"}),"updateGeometry")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#value"}),"value")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#wascanceled"}),"wasCanceled")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#windowopacity"}),"windowOpacity")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#windowstate"}),"windowState")),Object(r.b)("li",{parentName:"ul"},Object(r.b)("a",Object(b.a)({parentName:"li"},{href:"/docs/api/classes/rnprogressdialog#windowtitle"}),"windowTitle"))),Object(r.b)("h2",{id:"constructors-1"},"Constructors"),Object(r.b)("h3",{id:"constructor"},"constructor"),Object(r.b)("p",null,"+"," ",Object(r.b)("strong",{parentName:"p"},"new RNProgressDialog"),"(): ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog"}),"RNProgressDialog"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog"}),"RNProgressDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog#constructor"}),"constructor"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Overrides void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog"}),"RNProgressDialog"))),Object(r.b)("p",null,"+"," ",Object(r.b)("strong",{parentName:"p"},"new RNProgressDialog"),"(",Object(r.b)("inlineCode",{parentName:"p"},"parent"),": NodeWidget\u2039any\u203a): ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog"}),"RNProgressDialog"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog"}),"RNProgressDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog#constructor"}),"constructor"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Overrides void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"parent")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"NodeWidget\u2039any\u203a")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog"}),"RNProgressDialog"))),Object(r.b)("h2",{id:"properties-1"},"Properties"),Object(r.b)("h3",{id:"optional-_layout"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," _layout"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"_layout"),"? : ",Object(r.b)("em",{parentName:"p"},"NodeLayout\u2039QProgressDialogSignals\u203a")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"_rawinlinestyle"},"_rawInlineStyle"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"_rawInlineStyle"),": ",Object(r.b)("em",{parentName:"p"},"string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"actions"},"actions"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"actions"),": ",Object(r.b)("em",{parentName:"p"},"Set\u2039QAction\u203a")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"native"},"native"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"native"),": ",Object(r.b)("em",{parentName:"p"},"NativeElement")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog"}),"RNProgressDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog#native"}),"native"))),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Overrides void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"nodechildren"},"nodeChildren"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"nodeChildren"),": ",Object(r.b)("em",{parentName:"p"},"Set\u2039Component\u203a")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#nodechildren"}),"nodeChildren"))),Object(r.b)("hr",null),Object(r.b)("h3",{id:"optional-nodeparent"},Object(r.b)("inlineCode",{parentName:"h3"},"Optional")," nodeParent"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"nodeParent"),"? : ",Object(r.b)("em",{parentName:"p"},"Component")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#optional-nodeparent"}),"nodeParent"))),Object(r.b)("hr",null),Object(r.b)("h3",{id:"type"},"type"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"type"),": ",Object(r.b)("em",{parentName:"p"},"string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"static-tagname"},Object(r.b)("inlineCode",{parentName:"h3"},"Static")," tagName"),Object(r.b)("p",null,"\u25aa ",Object(r.b)("strong",{parentName:"p"},"tagName"),": ",Object(r.b)("em",{parentName:"p"},"string"),' = "progress-dialog"'),Object(r.b)("h2",{id:"accessors-1"},"Accessors"),Object(r.b)("h3",{id:"layout"},"layout"),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"get layout"),"(): ",Object(r.b)("em",{parentName:"p"},"NodeLayout\u2039QProgressDialogSignals\u203a | undefined")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"NodeLayout\u2039QProgressDialogSignals\u203a | undefined")),Object(r.b)("p",null,"\u2022 ",Object(r.b)("strong",{parentName:"p"},"set layout"),"(",Object(r.b)("inlineCode",{parentName:"p"},"l"),": NodeLayout\u2039QProgressDialogSignals\u203a | undefined): ",Object(r.b)("em",{parentName:"p"},"any")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"l")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"NodeLayout\u2039QProgressDialogSignals\u203a ","|"," undefined")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"any")),Object(r.b)("h2",{id:"methods-1"},"Methods"),Object(r.b)("h3",{id:"acceptdrops"},"acceptDrops"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"acceptDrops"),"(): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"activatewindow"},"activateWindow"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"activateWindow"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"addaction"},"addAction"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"addAction"),"(",Object(r.b)("inlineCode",{parentName:"p"},"action"),": QAction | string): ",Object(r.b)("em",{parentName:"p"},"QAction")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"action")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QAction ","|"," string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QAction")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"addeventlistener"},"addEventListener"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"addEventListener"),"\u2039",Object(r.b)("strong",{parentName:"p"},"SignalType"),"\u203a(",Object(r.b)("inlineCode",{parentName:"p"},"signalType"),": SignalType, ",Object(r.b)("inlineCode",{parentName:"p"},"callback"),": QProgressDialogSignals","[SignalType]","): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#addeventlistener"}),"addEventListener"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Type parameters:")),Object(r.b)("p",null,"\u25aa ",Object(r.b)("strong",{parentName:"p"},"SignalType"),": ",Object(r.b)("em",{parentName:"p"},"keyof QProgressDialogSignals")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Description"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"signalType")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"SignalType"),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"SignalType is a signal from the widgets signals interface.")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"callback")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QProgressDialogSignals","[SignalType]"),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"Corresponding callback for the signal as mentioned in the widget's signal interface")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,"void"),Object(r.b)("p",null,"For example in the case of QPushButton:"),Object(r.b)("pre",null,Object(r.b)("code",Object(b.a)({parentName:"pre"},{className:"language-js"}),"const button = new QPushButton();\nbutton.addEventListener('clicked',(checked)=>console.log(\"clicked\"));\n// here clicked is a value from QPushButtonSignals interface\n")),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"addEventListener"),"(",Object(r.b)("inlineCode",{parentName:"p"},"eventType"),": WidgetEventTypes, ",Object(r.b)("inlineCode",{parentName:"p"},"callback"),": function): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#addeventlistener"}),"addEventListener"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("p",null,"\u25aa ",Object(r.b)("strong",{parentName:"p"},"eventType"),": ",Object(r.b)("em",{parentName:"p"},"WidgetEventTypes")),Object(r.b)("p",null,"\u25aa ",Object(r.b)("strong",{parentName:"p"},"callback"),": ",Object(r.b)("em",{parentName:"p"},"function")),Object(r.b)("p",null,"For example in the case of QPushButton:"),Object(r.b)("pre",null,Object(r.b)("code",Object(b.a)({parentName:"pre"},{className:"language-js"}),'const button = new QPushButton();\nbutton.addEventListener(WidgetEventTypes.HoverEnter,()=>console.log("hovered"));\n')),Object(r.b)("p",null,"\u25b8 (",Object(r.b)("inlineCode",{parentName:"p"},"event?"),': NativeRawPointer\u2039"QEvent"\u203a): ',Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"event?")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),'NativeRawPointer\u2039"QEvent"\u203a')))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"adjustsize"},"adjustSize"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"adjustSize"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"appendchild"},"appendChild"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"appendChild"),"(",Object(r.b)("inlineCode",{parentName:"p"},"child"),": NodeWidget\u2039any\u203a): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"child")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"NodeWidget\u2039any\u203a")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"appendinitialchild"},"appendInitialChild"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"appendInitialChild"),"(",Object(r.b)("inlineCode",{parentName:"p"},"child"),": NodeWidget\u2039any\u203a): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"child")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"NodeWidget\u2039any\u203a")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"autoclose"},"autoClose"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"autoClose"),"(): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog"}),"RNProgressDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog#autoclose"}),"autoClose"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"autoreset"},"autoReset"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"autoReset"),"(): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog"}),"RNProgressDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog#autoreset"}),"autoReset"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"cancel"},"cancel"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"cancel"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog"}),"RNProgressDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog#cancel"}),"cancel"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"clearfocus"},"clearFocus"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"clearFocus"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"close"},"close"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"close"),"(): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"eventprocessed"},"eventProcessed"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"eventProcessed"),"(): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#eventprocessed"}),"eventProcessed"))),Object(r.b)("p",null,"Get the state of the event processed flag"),Object(r.b)("p",null,"See ",Object(r.b)("inlineCode",{parentName:"p"},"setEventProcessed()"),"."),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,"boolean True if the current event is flagged as processed."),Object(r.b)("hr",null),Object(r.b)("h3",{id:"exec"},"exec"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"exec"),"(): ",Object(r.b)("em",{parentName:"p"},"DialogCode")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog"}),"RNDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog#exec"}),"exec"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"DialogCode")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"font"},"font"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"font"),"(): ",Object(r.b)("em",{parentName:"p"},"QFont")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QFont")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"geometry"},"geometry"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"geometry"),"(): ",Object(r.b)("em",{parentName:"p"},"QRect")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QRect")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"getflexnode"},"getFlexNode"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"getFlexNode"),"(): ",Object(r.b)("em",{parentName:"p"},"FlexNode")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"FlexNode")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"hasmousetracking"},"hasMouseTracking"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"hasMouseTracking"),"(): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"hide"},"hide"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"hide"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"inherits"},"inherits"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"inherits"),"(",Object(r.b)("inlineCode",{parentName:"p"},"className"),": string): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#inherits"}),"inherits"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"className")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"insertbefore"},"insertBefore"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"insertBefore"),"(",Object(r.b)("inlineCode",{parentName:"p"},"child"),": NodeWidget\u2039any\u203a, ",Object(r.b)("inlineCode",{parentName:"p"},"beforeChild"),": NodeWidget\u2039any\u203a): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"child")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"NodeWidget\u2039any\u203a")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"beforeChild")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"NodeWidget\u2039any\u203a")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"isactivewindow"},"isActiveWindow"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"isActiveWindow"),"(): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"isenabled"},"isEnabled"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"isEnabled"),"(): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"issizegripenabled"},"isSizeGripEnabled"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"isSizeGripEnabled"),"(): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog"}),"RNDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog#issizegripenabled"}),"isSizeGripEnabled"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"isvisible"},"isVisible"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"isVisible"),"(): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"labeltext"},"labelText"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"labelText"),"(): ",Object(r.b)("em",{parentName:"p"},"string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog"}),"RNProgressDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog#labeltext"}),"labelText"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"string")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"lower"},"lower"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"lower"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"mapfromglobal"},"mapFromGlobal"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"mapFromGlobal"),"(",Object(r.b)("inlineCode",{parentName:"p"},"pos"),": QPoint): ",Object(r.b)("em",{parentName:"p"},"QPoint")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"pos")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QPoint")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QPoint")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"mapfromparent"},"mapFromParent"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"mapFromParent"),"(",Object(r.b)("inlineCode",{parentName:"p"},"pos"),": QPoint): ",Object(r.b)("em",{parentName:"p"},"QPoint")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"pos")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QPoint")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QPoint")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"maptoglobal"},"mapToGlobal"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"mapToGlobal"),"(",Object(r.b)("inlineCode",{parentName:"p"},"pos"),": QPoint): ",Object(r.b)("em",{parentName:"p"},"QPoint")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"pos")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QPoint")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QPoint")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"maptoparent"},"mapToParent"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"mapToParent"),"(",Object(r.b)("inlineCode",{parentName:"p"},"pos"),": QPoint): ",Object(r.b)("em",{parentName:"p"},"QPoint")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"pos")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QPoint")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QPoint")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"maximum"},"maximum"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"maximum"),"(): ",Object(r.b)("em",{parentName:"p"},"number")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog"}),"RNProgressDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog#maximum"}),"maximum"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"number")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"maximumsize"},"maximumSize"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"maximumSize"),"(): ",Object(r.b)("em",{parentName:"p"},"QSize")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QSize")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"minimum"},"minimum"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"minimum"),"(): ",Object(r.b)("em",{parentName:"p"},"number")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog"}),"RNProgressDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog#minimum"}),"minimum"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"number")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"minimumduration"},"minimumDuration"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"minimumDuration"),"(): ",Object(r.b)("em",{parentName:"p"},"number")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog"}),"RNProgressDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog#minimumduration"}),"minimumDuration"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"number")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"minimumsize"},"minimumSize"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"minimumSize"),"(): ",Object(r.b)("em",{parentName:"p"},"QSize")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QSize")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"move"},"move"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"move"),"(",Object(r.b)("inlineCode",{parentName:"p"},"x"),": number, ",Object(r.b)("inlineCode",{parentName:"p"},"y"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"x")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"y")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"objectname"},"objectName"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"objectName"),"(): ",Object(r.b)("em",{parentName:"p"},"string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#objectname"}),"objectName"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"string")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"open"},"open"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"open"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog"}),"RNDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog#open"}),"open"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"pos"},"pos"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"pos"),"(): ",Object(r.b)("em",{parentName:"p"},"object")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"object")),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("p",{parentName:"li"},Object(r.b)("strong",{parentName:"p"},"x"),": ",Object(r.b)("em",{parentName:"p"},"number"))),Object(r.b)("li",{parentName:"ul"},Object(r.b)("p",{parentName:"li"},Object(r.b)("strong",{parentName:"p"},"y"),": ",Object(r.b)("em",{parentName:"p"},"number")))),Object(r.b)("hr",null),Object(r.b)("h3",{id:"property"},"property"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"property"),"(",Object(r.b)("inlineCode",{parentName:"p"},"name"),": string): ",Object(r.b)("em",{parentName:"p"},"QVariant")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#property"}),"property"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"name")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QVariant")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"raise"},"raise"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"raise"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"reject"},"reject"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"reject"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog"}),"RNDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog#reject"}),"reject"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"removeaction"},"removeAction"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"removeAction"),"(",Object(r.b)("inlineCode",{parentName:"p"},"action"),": QAction): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"action")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QAction")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"removechild"},"removeChild"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"removeChild"),"(",Object(r.b)("inlineCode",{parentName:"p"},"child"),": NodeWidget\u2039any\u203a): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"child")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"NodeWidget\u2039any\u203a")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"removeeventlistener"},"removeEventListener"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"removeEventListener"),"\u2039",Object(r.b)("strong",{parentName:"p"},"SignalType"),"\u203a(",Object(r.b)("inlineCode",{parentName:"p"},"signalType"),": SignalType, ",Object(r.b)("inlineCode",{parentName:"p"},"callback"),": QProgressDialogSignals","[SignalType]","): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#removeeventlistener"}),"removeEventListener"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Type parameters:")),Object(r.b)("p",null,"\u25aa ",Object(r.b)("strong",{parentName:"p"},"SignalType"),": ",Object(r.b)("em",{parentName:"p"},"keyof QProgressDialogSignals")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"signalType")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"SignalType")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"callback")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QProgressDialogSignals","[SignalType]")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"removeEventListener"),"(",Object(r.b)("inlineCode",{parentName:"p"},"eventType"),": WidgetEventTypes, ",Object(r.b)("inlineCode",{parentName:"p"},"callback"),": function): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#removeeventlistener"}),"removeEventListener"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("p",null,"\u25aa ",Object(r.b)("strong",{parentName:"p"},"eventType"),": ",Object(r.b)("em",{parentName:"p"},"WidgetEventTypes")),Object(r.b)("p",null,"\u25aa ",Object(r.b)("strong",{parentName:"p"},"callback"),": ",Object(r.b)("em",{parentName:"p"},"function")),Object(r.b)("p",null,"\u25b8 (",Object(r.b)("inlineCode",{parentName:"p"},"event?"),': NativeRawPointer\u2039"QEvent"\u203a): ',Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"event?")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),'NativeRawPointer\u2039"QEvent"\u203a')))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"repaint"},"repaint"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"repaint"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"repolish"},"repolish"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"repolish"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"reset"},"reset"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"reset"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog"}),"RNProgressDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog#reset"}),"reset"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"resize"},"resize"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"resize"),"(",Object(r.b)("inlineCode",{parentName:"p"},"width"),": number, ",Object(r.b)("inlineCode",{parentName:"p"},"height"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"width")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"height")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"result"},"result"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"result"),"(): ",Object(r.b)("em",{parentName:"p"},"number")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog"}),"RNDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog#result"}),"result"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"number")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setacceptdrops"},"setAcceptDrops"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setAcceptDrops"),"(",Object(r.b)("inlineCode",{parentName:"p"},"on"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"on")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setattribute"},"setAttribute"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setAttribute"),"(",Object(r.b)("inlineCode",{parentName:"p"},"attribute"),": WidgetAttribute, ",Object(r.b)("inlineCode",{parentName:"p"},"switchOn"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"attribute")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"WidgetAttribute")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"switchOn")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setautoclose"},"setAutoClose"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setAutoClose"),"(",Object(r.b)("inlineCode",{parentName:"p"},"close"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog"}),"RNProgressDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog#setautoclose"}),"setAutoClose"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"close")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setautoreset"},"setAutoReset"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setAutoReset"),"(",Object(r.b)("inlineCode",{parentName:"p"},"reset"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog"}),"RNProgressDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog#setautoreset"}),"setAutoReset"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"reset")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setcancelbuttontext"},"setCancelButtonText"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setCancelButtonText"),"(",Object(r.b)("inlineCode",{parentName:"p"},"text"),": string): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog"}),"RNProgressDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog#setcancelbuttontext"}),"setCancelButtonText"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"text")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setcontextmenupolicy"},"setContextMenuPolicy"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setContextMenuPolicy"),"(",Object(r.b)("inlineCode",{parentName:"p"},"contextMenuPolicy"),": ContextMenuPolicy): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"contextMenuPolicy")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"ContextMenuPolicy")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setcursor"},"setCursor"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setCursor"),"(",Object(r.b)("inlineCode",{parentName:"p"},"cursor"),": CursorShape | QCursor): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"cursor")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"CursorShape ","|"," QCursor")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setenabled"},"setEnabled"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setEnabled"),"(",Object(r.b)("inlineCode",{parentName:"p"},"enabled"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"enabled")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"seteventprocessed"},"setEventProcessed"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setEventProcessed"),"(",Object(r.b)("inlineCode",{parentName:"p"},"isProcessed"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#seteventprocessed"}),"setEventProcessed"))),Object(r.b)("p",null,"Mark the current event as having been processed"),Object(r.b)("p",null,"This method is used to indicate that the currently dispatched event\nhas been processed and no further processing by superclasses is\nrequired. It only makes sense to call this method from an event\nhandler."),Object(r.b)("p",null,"When set, this flag will cause NodeGui's ",Object(r.b)("inlineCode",{parentName:"p"},"QObject::event()")," method to\nreturn true and not call the superclass ",Object(r.b)("inlineCode",{parentName:"p"},"event()"),", effectively preventing\nany further processing on this event."),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Description"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"isProcessed")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean"),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"true if the event has been processed.")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setfixedsize"},"setFixedSize"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setFixedSize"),"(",Object(r.b)("inlineCode",{parentName:"p"},"width"),": number, ",Object(r.b)("inlineCode",{parentName:"p"},"height"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"width")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"height")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setflexnodesizecontrolled"},"setFlexNodeSizeControlled"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setFlexNodeSizeControlled"),"(",Object(r.b)("inlineCode",{parentName:"p"},"isSizeControlled"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,"sets whether the widget's size is controlled by someone else (for example a window's size is controlled by its frame when dragged)."),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Description"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"isSizeControlled")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean"),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}))))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setfocus"},"setFocus"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setFocus"),"(",Object(r.b)("inlineCode",{parentName:"p"},"reason?"),": FocusReason): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"reason?")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"FocusReason")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setfocuspolicy"},"setFocusPolicy"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setFocusPolicy"),"(",Object(r.b)("inlineCode",{parentName:"p"},"policy"),": FocusPolicy): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"policy")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"FocusPolicy")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setfont"},"setFont"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setFont"),"(",Object(r.b)("inlineCode",{parentName:"p"},"font"),": QFont): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"font")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QFont")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setgeometry"},"setGeometry"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setGeometry"),"(",Object(r.b)("inlineCode",{parentName:"p"},"x"),": number, ",Object(r.b)("inlineCode",{parentName:"p"},"y"),": number, ",Object(r.b)("inlineCode",{parentName:"p"},"w"),": number, ",Object(r.b)("inlineCode",{parentName:"p"},"h"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"x")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"y")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"w")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"h")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setgraphicseffect"},"setGraphicsEffect"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setGraphicsEffect"),"(",Object(r.b)("inlineCode",{parentName:"p"},"effect"),": QGraphicsEffect\u2039any\u203a): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"effect")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QGraphicsEffect\u2039any\u203a")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setinlinestyle"},"setInlineStyle"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setInlineStyle"),"(",Object(r.b)("inlineCode",{parentName:"p"},"style"),": string): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"style")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setlabeltext"},"setLabelText"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setLabelText"),"(",Object(r.b)("inlineCode",{parentName:"p"},"text"),": string): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog"}),"RNProgressDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog#setlabeltext"}),"setLabelText"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"text")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setlayout"},"setLayout"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setLayout"),"(",Object(r.b)("inlineCode",{parentName:"p"},"parentLayout"),": NodeLayout\u2039QProgressDialogSignals\u203a): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"parentLayout")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"NodeLayout\u2039QProgressDialogSignals\u203a")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setmaximum"},"setMaximum"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setMaximum"),"(",Object(r.b)("inlineCode",{parentName:"p"},"maximum"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog"}),"RNProgressDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog#setmaximum"}),"setMaximum"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"maximum")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setmaximumsize"},"setMaximumSize"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setMaximumSize"),"(",Object(r.b)("inlineCode",{parentName:"p"},"maxw"),": number, ",Object(r.b)("inlineCode",{parentName:"p"},"maxh"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"maxw")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"maxh")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setminimum"},"setMinimum"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setMinimum"),"(",Object(r.b)("inlineCode",{parentName:"p"},"minimum"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog"}),"RNProgressDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog#setminimum"}),"setMinimum"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"minimum")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setminimumduration"},"setMinimumDuration"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setMinimumDuration"),"(",Object(r.b)("inlineCode",{parentName:"p"},"ms"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog"}),"RNProgressDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog#setminimumduration"}),"setMinimumDuration"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"ms")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setminimumsize"},"setMinimumSize"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setMinimumSize"),"(",Object(r.b)("inlineCode",{parentName:"p"},"minw"),": number, ",Object(r.b)("inlineCode",{parentName:"p"},"minh"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"minw")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"minh")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setmodal"},"setModal"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setModal"),"(",Object(r.b)("inlineCode",{parentName:"p"},"modal"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog"}),"RNDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog#setmodal"}),"setModal"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"modal")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setmousetracking"},"setMouseTracking"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setMouseTracking"),"(",Object(r.b)("inlineCode",{parentName:"p"},"isMouseTracked"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"isMouseTracked")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setnodeparent"},"setNodeParent"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setNodeParent"),"(",Object(r.b)("inlineCode",{parentName:"p"},"parent?"),": Component): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#setnodeparent"}),"setNodeParent"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"parent?")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"Component")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setobjectname"},"setObjectName"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setObjectName"),"(",Object(r.b)("inlineCode",{parentName:"p"},"objectName"),": string): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Overrides ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#setobjectname"}),"setObjectName"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"objectName")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setproperty"},"setProperty"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setProperty"),"(",Object(r.b)("inlineCode",{parentName:"p"},"name"),": string, ",Object(r.b)("inlineCode",{parentName:"p"},"value"),": QVariantType): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction"}),"RNAction"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnaction#setproperty"}),"setProperty"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"name")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"value")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QVariantType")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setprops"},"setProps"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setProps"),"(",Object(r.b)("inlineCode",{parentName:"p"},"newProps"),": ",Object(r.b)("a",Object(b.a)({parentName:"p"},{href:"/docs/api/interfaces/progressdialogprops"}),"ProgressDialogProps"),", ",Object(r.b)("inlineCode",{parentName:"p"},"oldProps"),": ",Object(r.b)("a",Object(b.a)({parentName:"p"},{href:"/docs/api/interfaces/progressdialogprops"}),"ProgressDialogProps"),"): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"newProps")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("a",Object(b.a)({parentName:"td"},{href:"/docs/api/interfaces/progressdialogprops"}),"ProgressDialogProps"))),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"oldProps")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("a",Object(b.a)({parentName:"td"},{href:"/docs/api/interfaces/progressdialogprops"}),"ProgressDialogProps"))))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setrange"},"setRange"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setRange"),"(",Object(r.b)("inlineCode",{parentName:"p"},"minimum"),": number, ",Object(r.b)("inlineCode",{parentName:"p"},"maximum"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog"}),"RNProgressDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog#setrange"}),"setRange"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"minimum")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"maximum")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setresult"},"setResult"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setResult"),"(",Object(r.b)("inlineCode",{parentName:"p"},"i"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog"}),"RNDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog#setresult"}),"setResult"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"i")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setsizegripenabled"},"setSizeGripEnabled"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setSizeGripEnabled"),"(",Object(r.b)("inlineCode",{parentName:"p"},"enabled"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog"}),"RNDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rndialog#setsizegripenabled"}),"setSizeGripEnabled"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"enabled")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setstylesheet"},"setStyleSheet"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setStyleSheet"),"(",Object(r.b)("inlineCode",{parentName:"p"},"styleSheet"),": string): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"styleSheet")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setvalue"},"setValue"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setValue"),"(",Object(r.b)("inlineCode",{parentName:"p"},"progress"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog"}),"RNProgressDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog#setvalue"}),"setValue"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"progress")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setwindowflag"},"setWindowFlag"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setWindowFlag"),"(",Object(r.b)("inlineCode",{parentName:"p"},"windowType"),": WindowType, ",Object(r.b)("inlineCode",{parentName:"p"},"switchOn"),": boolean): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"windowType")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"WindowType")),Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"switchOn")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"boolean")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setwindowicon"},"setWindowIcon"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setWindowIcon"),"(",Object(r.b)("inlineCode",{parentName:"p"},"icon"),": QIcon): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"icon")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"QIcon")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setwindowopacity"},"setWindowOpacity"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setWindowOpacity"),"(",Object(r.b)("inlineCode",{parentName:"p"},"opacity"),": number): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"opacity")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"number")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setwindowstate"},"setWindowState"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setWindowState"),"(",Object(r.b)("inlineCode",{parentName:"p"},"state"),": WindowState): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"state")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"WindowState")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"setwindowtitle"},"setWindowTitle"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"setWindowTitle"),"(",Object(r.b)("inlineCode",{parentName:"p"},"title"),": string): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"title")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"string")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"show"},"show"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"show"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"showfullscreen"},"showFullScreen"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"showFullScreen"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"showmaximized"},"showMaximized"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"showMaximized"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"showminimized"},"showMinimized"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"showMinimized"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"shownormal"},"showNormal"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"showNormal"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"size"},"size"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"size"),"(): ",Object(r.b)("em",{parentName:"p"},"QSize")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"QSize")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"stylesheet"},"styleSheet"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"styleSheet"),"(): ",Object(r.b)("em",{parentName:"p"},"string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"string")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"testattribute"},"testAttribute"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"testAttribute"),"(",Object(r.b)("inlineCode",{parentName:"p"},"attribute"),": WidgetAttribute): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Parameters:")),Object(r.b)("table",null,Object(r.b)("thead",{parentName:"table"},Object(r.b)("tr",{parentName:"thead"},Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Name"),Object(r.b)("th",Object(b.a)({parentName:"tr"},{align:null}),"Type"))),Object(r.b)("tbody",{parentName:"table"},Object(r.b)("tr",{parentName:"tbody"},Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),Object(r.b)("inlineCode",{parentName:"td"},"attribute")),Object(r.b)("td",Object(b.a)({parentName:"tr"},{align:null}),"WidgetAttribute")))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"update"},"update"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"update"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"updategeometry"},"updateGeometry"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"updateGeometry"),"(): ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"void")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"value"},"value"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"value"),"(): ",Object(r.b)("em",{parentName:"p"},"number")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog"}),"RNProgressDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog#value"}),"value"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"number")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"wascanceled"},"wasCanceled"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"wasCanceled"),"(): ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from ",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog"}),"RNProgressDialog"),".",Object(r.b)("a",Object(b.a)({parentName:"em"},{href:"/docs/api/classes/rnprogressdialog#wascanceled"}),"wasCanceled"))),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"boolean")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"windowopacity"},"windowOpacity"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"windowOpacity"),"(): ",Object(r.b)("em",{parentName:"p"},"number")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"number")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"windowstate"},"windowState"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"windowState"),"(): ",Object(r.b)("em",{parentName:"p"},"number")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"number")),Object(r.b)("hr",null),Object(r.b)("h3",{id:"windowtitle"},"windowTitle"),Object(r.b)("p",null,"\u25b8 ",Object(r.b)("strong",{parentName:"p"},"windowTitle"),"(): ",Object(r.b)("em",{parentName:"p"},"string")),Object(r.b)("p",null,Object(r.b)("em",{parentName:"p"},"Inherited from void")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"Returns:")," ",Object(r.b)("em",{parentName:"p"},"string")))}j.isMDXComponent=!0},162:function(e,t,a){"use strict";a.d(t,"a",(function(){return O})),a.d(t,"b",(function(){return o}));var b=a(0),n=a.n(b);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function l(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(e);t&&(b=b.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,b)}return a}function c(e){for(var t=1;t=0||(n[a]=e[a]);return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(b=0;b=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}var i=n.a.createContext({}),j=function(e){var t=n.a.useContext(i),a=t;return e&&(a="function"==typeof e?e(t):c(c({},t),e)),a},O=function(e){var t=j(e.components);return n.a.createElement(i.Provider,{value:t},e.children)},m={inlineCode:"code",wrapper:function(e){var t=e.children;return n.a.createElement(n.a.Fragment,{},t)}},s=n.a.forwardRef((function(e,t){var a=e.components,b=e.mdxType,r=e.originalType,l=e.parentName,i=p(e,["components","mdxType","originalType","parentName"]),O=j(a),s=b,o=O["".concat(l,".").concat(s)]||O[s]||m[s]||r;return a?n.a.createElement(o,c(c({ref:t},i),{},{components:a})):n.a.createElement(o,c({ref:t},i))}));function o(e,t){var a=arguments,b=t&&t.mdxType;if("string"==typeof e||b){var r=a.length,l=new Array(r);l[0]=s;var c={};for(var p in t)hasOwnProperty.call(t,p)&&(c[p]=t[p]);c.originalType=e,c.mdxType="string"==typeof e?e:b,l[1]=c;for(var i=2;i {\n return (\n \n {"Hello World"}\n \n );\n};\n\nconst textStyle = `\n color: green; \n background-color: white;\n`;\n\nRenderer.render();\n')),Object(s.b)("h2",{id:"overview"},"Overview"),Object(s.b)("p",null,"React NodeGui makes use of ",Object(s.b)("a",Object(o.a)({parentName:"p"},{href:"https://doc.qt.io/qt-5/stylesheet-syntax.html"}),"Qt's stylesheet")," for styling. Qt Style Sheet terminology and syntactic rules are almost identical to those of HTML CSS. Additionally, React NodeGui adds support for layout using flex properties like align-items, justify-content, etc. Flexbox layout support is added using ",Object(s.b)("a",Object(o.a)({parentName:"p"},{href:"https://github.com/facebook/yoga"}),"facebook's yoga library"),"."),Object(s.b)("p",null,"You would write your style properties in a string and pass it to the React NodeGui components either via global styles or inline styles (similar to how it works in the web)."),Object(s.b)("h2",{id:"global-styles"},"Global styles"),Object(s.b)("p",null,"Lets take a look at an example:"),Object(s.b)("pre",null,Object(s.b)("code",Object(o.a)({parentName:"pre"},{className:"language-js"}),'import React from "react";\nimport { Renderer, View, Text, Window } from "@nodegui/react-nodegui";\n\nconst App = () => {\n return (\n \n \n {"Hello"}\n {"World"}\n \n \n );\n};\n\nconst styleSheet = `\n #helloLabel {\n color: red;\n padding: 10px;\n }\n #worldLabel {\n color: green;\n padding: 10px;\n }\n #rootView {\n background-color: black;\n height: \'100%\';\n }\n`;\n\nRenderer.render();\n')),Object(s.b)("p",null,"In the case of global stylesheet you can define all your style properties in a stylesheet string and the tell the root view or window to set it as a stylsheet for it and its child components. The only difference here from web is that you can set a stylesheet on a component at any level in the whole tree of components, the stylesheet will affect the component and its children."),Object(s.b)("p",null,"In the above example, in order to reference a component in a stylesheet we will assign it a ",Object(s.b)("inlineCode",{parentName:"p"},"id")," using id prop. Think of it as similar to an ",Object(s.b)("inlineCode",{parentName:"p"},"id")," in the case of web (but in reality it calls setObjectName method in nodegui). Now using the id you could reference the component in the stylesheet and set style properties on them. Do not worry about the layout stuff that is going on here, that will be covered in the next section."),Object(s.b)("p",null,"Global stylesheet really becomes powerful when you use things like pseudo-selectors (hover, checked, etc). It also has helps in implementing cascaded styles which allow you to style a group of components at once. We will see more about these features below."),Object(s.b)("blockquote",null,Object(s.b)("p",{parentName:"blockquote"},"More details on all the features and the syntax can be found here: ",Object(s.b)("a",Object(o.a)({parentName:"p"},{href:"https://doc.qt.io/qt-5/stylesheet-syntax.html"}),"https://doc.qt.io/qt-5/stylesheet-syntax.html"))),Object(s.b)("h2",{id:"inline-styles"},"Inline styles"),Object(s.b)("p",null,"Lets look at this example again:"),Object(s.b)("pre",null,Object(s.b)("code",Object(o.a)({parentName:"pre"},{className:"language-js"}),'import React from "react";\nimport { Renderer, Text, Window } from "@nodegui/react-nodegui";\n\nconst App = () => {\n return (\n \n {"Hello world"}\n \n );\n};\n\nconst textStyle = `\n color: green; \n background-color: white;\n height: \'100%\';\n`;\n\nRenderer.render();\n')),Object(s.b)("p",null,"In most cases it would be easier to style the components inline. React NodeGui supports inline styling using ",Object(s.b)("inlineCode",{parentName:"p"},"style")," prop. Inline styles will only affect the component to which the style is applied to and is often easier to understand and manage. All properties you use in the global stylesheet are available in inline styles as well."),Object(s.b)("h2",{id:"selectors"},"Selectors"),Object(s.b)("p",null,"NodeGui style sheets support all the selectors defined in CSS2.\nSome examples include:"),Object(s.b)("pre",null,Object(s.b)("code",Object(o.a)({parentName:"pre"},{className:"language-css"}),"* {\n color: blue;\n}\n\nQPushButton {\n padding: 10px;\n}\n\n#okButton {\n margin: 10px;\n}\n\n#mainView > QPushButton {\n margin: 10px;\n}\n")),Object(s.b)("p",null,"Note we are using QPushButton here instead of PushButton. This is because ",Object(s.b)("inlineCode",{parentName:"p"},"")," component internally renders a QPushButton. See PushButton docs for more details."),Object(s.b)("p",null,"To see a complete list of selectors see here: ",Object(s.b)("a",Object(o.a)({parentName:"p"},{href:"https://doc.qt.io/qt-5/stylesheet-syntax.html#selector-types"}),"https://doc.qt.io/qt-5/stylesheet-syntax.html#selector-types")),Object(s.b)("h2",{id:"pseudo-states"},"Pseudo states"),Object(s.b)("p",null,"Like in the web, you can style your component based on its state. An example would be, you might want the color of the button text to be red when its hovered upon. These are possible with pseudo states. Pseudo-states appear at the end of the selector, with a colon (:) in between."),Object(s.b)("pre",null,Object(s.b)("code",Object(o.a)({parentName:"pre"},{className:"language-css"}),"#okButton:hover {\n color: red;\n}\n")),Object(s.b)("blockquote",null,Object(s.b)("p",{parentName:"blockquote"},"More details here : ",Object(s.b)("a",Object(o.a)({parentName:"p"},{href:"https://doc.qt.io/qt-5/stylesheet-syntax.html#pseudo-states"}),"https://doc.qt.io/qt-5/stylesheet-syntax.html#pseudo-states"))),Object(s.b)("h2",{id:"cascading"},"Cascading"),Object(s.b)("p",null,"Style sheets can be set on the parent components and on child components. An arbitrary component's effective style sheet is obtained by merging the style sheets set on the component's ancestors (parent, grandparent, etc.)."),Object(s.b)("p",null,"When conflicts arise, the component's own inline style sheet is always preferred to any inherited style sheet, irrespective of the specificity of the conflicting rules. Likewise, the parent component's style sheet is preferred to the grandparent's, etc."),Object(s.b)("p",null,"The behaviour is similar to what we see on the web."),Object(s.b)("blockquote",null,Object(s.b)("p",{parentName:"blockquote"},"For more in depth examples see here: ",Object(s.b)("a",Object(o.a)({parentName:"p"},{href:"https://doc.qt.io/qt-5/stylesheet-syntax.html#cascading"}),"https://doc.qt.io/qt-5/stylesheet-syntax.html#cascading"))),Object(s.b)("h2",{id:"properties"},"Properties"),Object(s.b)("p",null,"NodeGui style sheet is a css string."),Object(s.b)("p",null,"For example:"),Object(s.b)("pre",null,Object(s.b)("code",Object(o.a)({parentName:"pre"},{className:"language-javascript"}),"const textStyle = `\n color: 'green';\n padding: 12;\n height: '100%';\n`;\n")),Object(s.b)("p",null,"Here if you look carefully, you would notice that there are some differences in the way we write style properties as compared to web.\nThe quotes you see around ",Object(s.b)("inlineCode",{parentName:"p"},"'green'")," and ",Object(s.b)("inlineCode",{parentName:"p"},"'100%'")," are necessary so that Qt doesnt interpret them as numbers.\nSo the rule of thumb is that any integer based property like margin, border, etc can be written without quotes while any string property, it is better to surround them with quotes. PS: Qt does recognise some string based properties without quotes also."),Object(s.b)("h2",{id:"supported-properties"},"Supported properties"),Object(s.b)("p",null,"Since we are not running inside a web browser, there are few differences in the properties you could use in NodeGui vs in web."),Object(s.b)("p",null,"The complete list is detailed here: ",Object(s.b)("a",Object(o.a)({parentName:"p"},{href:"https://doc.qt.io/qt-5/stylesheet-reference.html#list-of-properties"}),"https://doc.qt.io/qt-5/stylesheet-reference.html#list-of-properties")),Object(s.b)("p",null,"Apart from the properties listed in the link, NodeGui also supports layout properties related to Flex. You can use all flex properties such as align-items, justify-content, flex, etc on all components. ",Object(s.b)("a",Object(o.a)({parentName:"p"},{href:"/docs/guides/layout"}),"The layout styling will be converted in more detail in the section: Layout.")),Object(s.b)("h2",{id:"advanced-usage-setting-qobject-properties"},"Advanced usage (Setting QObject Properties)"),Object(s.b)("p",null,"In Qt, every component has certain properties set on them using something called as ",Object(s.b)("a",Object(o.a)({parentName:"p"},{href:"https://doc.qt.io/qt-5/qobject.html#Q_PROPERTY"}),"Q_PROPERTY"),". There are many q-properties that are defined on each component already. You can also define custom qproperties in the native C++ code yourself too. What does it have to do with styling ? The thing is some of these properties can be altered using qt stylesheet. In Qt's terminology, these properties are called designable properties."),Object(s.b)("p",null,"For example:"),Object(s.b)("pre",null,Object(s.b)("code",Object(o.a)({parentName:"pre"},{className:"language-css"}),"MyLabel {\n qproperty-alignment: AlignCenter;\n}\nMyGroupBox {\n qproperty-titlecolor: rgb(100, 200, 100);\n}\nQPushButton {\n qproperty-iconsize: 20px 20px;\n}\n")),Object(s.b)("p",null,'You can discover these properties by following Qt\'s documentation or by running a simple google search like "center text in QLabel using stylesheet in Qt". These are advanced properties and in practice will come in use rarely but its good to know.'),Object(s.b)("blockquote",null,Object(s.b)("p",{parentName:"blockquote"},"More details : ",Object(s.b)("a",Object(o.a)({parentName:"p"},{href:"https://doc.qt.io/qt-5/stylesheet-syntax.html#setting-qobject-properties"}),"https://doc.qt.io/qt-5/stylesheet-syntax.html#setting-qobject-properties"))),Object(s.b)("hr",null),Object(s.b)("p",null,"In this section, we mostly covered the paint properties in the React NodeGui stylesheet. The next section would cover on how you can use flex to layout your components with stylesheet."))}p.isMDXComponent=!0},162:function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return h}));var o=n(0),r=n.n(o);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function l(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var c=r.a.createContext({}),p=function(e){var t=r.a.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},u=function(e){var t=p(e.components);return r.a.createElement(c.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return r.a.createElement(r.a.Fragment,{},t)}},b=r.a.forwardRef((function(e,t){var n=e.components,o=e.mdxType,s=e.originalType,a=e.parentName,c=i(e,["components","mdxType","originalType","parentName"]),u=p(n),b=o,h=u["".concat(a,".").concat(b)]||u[b]||d[b]||s;return n?r.a.createElement(h,l(l({ref:t},c),{},{components:n})):r.a.createElement(h,l({ref:t},c))}));function h(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var s=n.length,a=new Array(s);a[0]=b;var l={};for(var i in t)hasOwnProperty.call(t,i)&&(l[i]=t[i]);l.originalType=e,l.mdxType="string"==typeof e?e:o,a[1]=l;for(var c=2;c + + + + + + + + +Hello from React NodeGui | React NodeGui + + + + + + + + + +
+

React NodeGui

Build performant, native, cross platform desktop apps with React

[object Object]

Powered by React

With React NodeGui, you can build truly native apps with React. If you dont want to use React, there is also a pure JavaScript based version.

[object Object]

Open Source

React NodeGui is an open source project maintained by an active community of contributors.

[object Object]

Cross Platform

React NodeGui apps build and run on Mac, Windows, and Linux platforms.

Create native apps for Windows, MacOs and Linux using React and CSS

lets you create truly native apps and doesn't compromise on your users' experience. It provides a core set of platform agnostic native widgets that map directly to the platform’s native UI building blocks.

React NodeGui widgets are built on top of Qt which is a mature desktop apps framework. React NodeGui components are extremely customizable just like in the web but does NOT use a Web browser under the hood.

Written in React—rendered with native code by Qt

Apps can be built completely in JavaScript. This enables native app development for whole new teams of developers, and can let existing native teams work much faster.

With NodeGui you get flexibility of web and performance of Native desktop apps.

Give it a try

1. Use the CRA template

create-react-app --template react-nodegui rn-startercd rn-starternpm run devnpm start

2. Run these commands

git clone https://github.com/nodegui/react-nodegui-startercd react-nodegui-starternpm installnpm run devnpm start

3. Learn the basics or dive deeper and take a look at the APIs.

+ + + + + + + + + \ No newline at end of file diff --git a/main.bb72a91f.js b/main.bb72a91f.js new file mode 100644 index 00000000..a5a95d3d --- /dev/null +++ b/main.bb72a91f.js @@ -0,0 +1,2 @@ +/*! For license information please see main.bb72a91f.js.LICENSE.txt */ +(window.webpackJsonp=window.webpackJsonp||[]).push([[98],[function(e,t,n){"use strict";e.exports=n(31)},function(e,t,n){"use strict";n.d(t,"a",(function(){return v})),n.d(t,"b",(function(){return w})),n.d(t,"c",(function(){return S})),n.d(t,"d",(function(){return O})),n.d(t,"e",(function(){return b})),n.d(t,"f",(function(){return L})),n.d(t,"g",(function(){return j})),n.d(t,"h",(function(){return h})),n.d(t,"i",(function(){return E})),n.d(t,"j",(function(){return C})),n.d(t,"k",(function(){return M})),n.d(t,"l",(function(){return z})),n.d(t,"m",(function(){return U})),n.d(t,"n",(function(){return B})),n.d(t,"o",(function(){return D}));var r=n(3),a=n(0),o=n.n(a),i=(n(8),n(5)),l=n(18),s=n(4),u=n(2),c=n(19),p=n.n(c),d=(n(22),n(6)),f=n(28),m=n.n(f),g=function(e){var t=Object(l.a)();return t.displayName=e,t}("Router-History"),h=function(e){var t=Object(l.a)();return t.displayName=e,t}("Router"),b=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}Object(r.a)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return o.a.createElement(h.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},o.a.createElement(g.Provider,{children:this.props.children||null,value:this.props.history}))},t}(o.a.Component);var v=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a=0;d--){var f=i[d];"."===f?o(i,d):".."===f?(o(i,d),p++):p&&(o(i,d),p--)}if(!u)for(;p--;p)i.unshift("..");!u||""===i[0]||i[0]&&a(i[0])||i.unshift("");var m=i.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m};function l(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var s=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=l(t),a=l(n);return r!==t||a!==n?e(r,a):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1},u=n(4);function c(e){return"/"===e.charAt(0)?e:"/"+e}function p(e){return"/"===e.charAt(0)?e.substr(1):e}function d(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function f(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function m(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function g(e,t,n,a){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(o=Object(r.a)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(l){throw l instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):l}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function h(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&s(e.state,t.state)}function b(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;rt?n.splice(t,n.length-t,a):n.push(a),p({action:r,location:a,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",a=g(e,t,d(),w.location);c.confirmTransitionTo(a,r,n,(function(e){e&&(w.entries[w.index]=a,p({action:r,location:a}))}))},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=w.index+e;return t>=0&&t=0||(a[n]=e[n]);return a}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),a={canUseDOM:r,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&!!window.screen};t.a=a},function(e,t,n){e.exports=n(35)()},function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return s}));var r=n(1),a=n(2),o=n(0),i=n.n(o);function l(e,t,n){return void 0===n&&(n=[]),e.some((function(e){var a=e.path?Object(r.j)(t,e):n.length?n[n.length-1].match:r.e.computeRootMatch(t);return a&&(n.push({route:e,match:a}),e.routes&&l(e.routes,t,n)),a})),n}function s(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?i.a.createElement(r.g,n,e.map((function(e,n){return i.a.createElement(r.d,{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render(Object(a.a)({},n,{},t,{route:e})):i.a.createElement(e.component,Object(a.a)({},n,t,{route:e}))}})}))):null}},function(e,t,n){"use strict";n.r(t),t.default={title:"React NodeGui",tagline:"Build performant, native, cross platform desktop apps with React",url:"https://react.nodegui.org",baseUrl:"/",favicon:"img/favicon.ico",organizationName:"nodegui",projectName:"react-nodegui",onBrokenLinks:"warn",onDuplicateRoutes:"warn",themeConfig:{navbar:{title:"React NodeGui",logo:{alt:"NodeGui Logo",src:"img/logo-circle.png"},items:[{to:"docs/guides/getting-started",label:"Docs",position:"right"},{to:"docs/api/interfaces/buttonprops",label:"API",position:"right"},{to:"blog",label:"Blog",position:"right"},{href:"https://github.com/nodegui/react-nodegui",label:"GitHub",position:"right"}],hideOnScroll:!1},footer:{style:"dark",links:[{title:"Docs",items:[{to:"docs/guides/getting-started",label:"Getting Started"},{to:"docs/api/interfaces/buttonprops",label:"API"}]},{title:"Community",items:[{label:"Spectrum",href:"https://spectrum.chat/nodegui"},{label:"Twitter",to:"https://twitter.com/node_gui"},{label:"Medium",to:"https://medium.com/nodegui"}]},{title:"More",items:[{label:"Blog",to:"blog"},{label:"NodeGui",to:"https://nodegui.org"},{label:"FAQ",to:"https://nodegui.org/faq"}]}],copyright:"Copyright \xa9 2021 NodeGui"},googleAnalytics:{trackingID:"UA-145065218-2"},algolia:{apiKey:"6ab12d669678aeba3bdf10b89f0c8db3",indexName:"nodegui_react",algoliaOptions:{},appId:"BH4D9OD16A"},colorMode:{defaultMode:"light",disableSwitch:!1,respectPrefersColorScheme:!1,switchConfig:{darkIcon:"\ud83c\udf1c",darkIconStyle:{},lightIcon:"\ud83c\udf1e",lightIconStyle:{}}},metadatas:[]},presets:[["@docusaurus/preset-classic",{docs:{sidebarPath:"/home/runner/work/react-nodegui/react-nodegui/website/sidebars.js"},theme:{customCss:"/home/runner/work/react-nodegui/react-nodegui/website/src/css/custom.css"}}]],customFields:{},plugins:[],themes:[]}},function(e){e.exports=JSON.parse('{"/-deb":{"component":"c4f5d8e4","config":"5e9f5e1a"},"/blog-cc8":{"component":"a6aa9e1f","items":[{"content":"af172acd"}],"metadata":"b2b675dd"},"/blog/2019/05/30/welcome-ace":{"component":"ccc49370","content":"2868cdab"},"/blog/tags-a25":{"component":"01a85c17","tags":"a7023ddc"},"/blog/tags/hello-948":{"component":"6875c492","items":[{"content":"af172acd"}],"metadata":"30a24c52"},"/blog/tags/nodegui-df4":{"component":"6875c492","items":[{"content":"af172acd"}],"metadata":"d51a1dd8"},"/search-b42":{"component":"c4883f4a"},"/docs-cb9":{"component":"1be78505","versionMetadata":"935f2afb"},"/docs/api/classes/renderer-71f":{"component":"17896441","content":"5061811a"},"/docs/api/classes/rnaction-022":{"component":"17896441","content":"7f35ca61"},"/docs/api/classes/rncolordialog-6f9":{"component":"17896441","content":"87e54a66"},"/docs/api/classes/rndialog-7e9":{"component":"17896441","content":"36936c59"},"/docs/api/classes/rnerrorprompt-038":{"component":"17896441","content":"162d7c20"},"/docs/api/classes/rnfiledialog-30a":{"component":"17896441","content":"e801e4a8"},"/docs/api/classes/rnfontdialog-681":{"component":"17896441","content":"08670be4"},"/docs/api/classes/rngridcolumn-b7a":{"component":"17896441","content":"3a47ab40"},"/docs/api/classes/rngridrow-1a2":{"component":"17896441","content":"75507c15"},"/docs/api/classes/rninputdialog-935":{"component":"17896441","content":"bce88e1f"},"/docs/api/classes/rnmenu-97f":{"component":"17896441","content":"48998fba"},"/docs/api/classes/rnmenubar-e56":{"component":"17896441","content":"1aa14c40"},"/docs/api/classes/rnprogressdialog-cf8":{"component":"17896441","content":"f8c43d86"},"/docs/api/globals-98b":{"component":"17896441","content":"2b9e9ebb"},"/docs/api/index-8df":{"component":"17896441","content":"5e8c322a"},"/docs/api/interfaces/_react_proxy_.reactproxycomponent-945":{"component":"17896441","content":"36037027"},"/docs/api/interfaces/abstractbuttonprops-be8":{"component":"17896441","content":"9d3abc3e"},"/docs/api/interfaces/actionprops-ffa":{"component":"17896441","content":"bed2afc9"},"/docs/api/interfaces/animatedimageprops-f84":{"component":"17896441","content":"e0da2103"},"/docs/api/interfaces/boxviewprops-2a7":{"component":"17896441","content":"18b8f727"},"/docs/api/interfaces/buttonprops-4c5":{"component":"17896441","content":"14833463"},"/docs/api/interfaces/cellrange-359":{"component":"17896441","content":"59e7a846"},"/docs/api/interfaces/cellwidget-6c9":{"component":"17896441","content":"04fdf1ed"},"/docs/api/interfaces/checkboxprops-cd5":{"component":"17896441","content":"3d721b3f"},"/docs/api/interfaces/colordialogprops-eba":{"component":"17896441","content":"bff9bdd3"},"/docs/api/interfaces/columnsize-162":{"component":"17896441","content":"bac656fc"},"/docs/api/interfaces/comboboxprops-780":{"component":"17896441","content":"65d0f0bf"},"/docs/api/interfaces/datawithoffset-ca3":{"component":"17896441","content":"778fd20b"},"/docs/api/interfaces/dialogoption-a64":{"component":"17896441","content":"6018e814"},"/docs/api/interfaces/dialogprops-7c0":{"component":"17896441","content":"3de9ab9f"},"/docs/api/interfaces/dialprops-e8b":{"component":"17896441","content":"09a50200"},"/docs/api/interfaces/errorpromptprops-706":{"component":"17896441","content":"47cdd512"},"/docs/api/interfaces/filedialoglabeltext-6f9":{"component":"17896441","content":"1faed60c"},"/docs/api/interfaces/filedialogprops-791":{"component":"17896441","content":"9668bd09"},"/docs/api/interfaces/fontdialogprops-a55":{"component":"17896441","content":"9ff8cbb0"},"/docs/api/interfaces/gridviewprops-97b":{"component":"17896441","content":"b7ff5ec7"},"/docs/api/interfaces/horizontalheader-be3":{"component":"17896441","content":"44d8735e"},"/docs/api/interfaces/imageprops-18c":{"component":"17896441","content":"60465491"},"/docs/api/interfaces/inputdialogprops-e92":{"component":"17896441","content":"ef9f5686"},"/docs/api/interfaces/lineeditprops-f35":{"component":"17896441","content":"2afd7e76"},"/docs/api/interfaces/listitemprops-0cf":{"component":"17896441","content":"3a2b3cc4"},"/docs/api/interfaces/listprops-aba":{"component":"17896441","content":"f428a126"},"/docs/api/interfaces/menubarprops-af0":{"component":"17896441","content":"6fcfda8e"},"/docs/api/interfaces/menuprops-cdf":{"component":"17896441","content":"df10e4f2"},"/docs/api/interfaces/plaintexteditprops-a93":{"component":"17896441","content":"9cd9c302"},"/docs/api/interfaces/progressbarprops-dbb":{"component":"17896441","content":"bae404dd"},"/docs/api/interfaces/progressbarrange-473":{"component":"17896441","content":"d06f98d2"},"/docs/api/interfaces/progressdialogprops-fc8":{"component":"17896441","content":"163baa3b"},"/docs/api/interfaces/radiobuttonprops-656":{"component":"17896441","content":"b67b24bf"},"/docs/api/interfaces/rowsize-848":{"component":"17896441","content":"6ddd3f9e"},"/docs/api/interfaces/scrollareaprops-465":{"component":"17896441","content":"d66b417f"},"/docs/api/interfaces/sliderprops-7f9":{"component":"17896441","content":"01e0955c"},"/docs/api/interfaces/sort-2f3":{"component":"17896441","content":"68754023"},"/docs/api/interfaces/spinboxprops-7ae":{"component":"17896441","content":"c615f064"},"/docs/api/interfaces/systemtrayiconprops-1f0":{"component":"17896441","content":"278aa045"},"/docs/api/interfaces/tabitemprops-ce5":{"component":"17896441","content":"544de4a8"},"/docs/api/interfaces/tabledata-3da":{"component":"17896441","content":"6a2bbfa2"},"/docs/api/interfaces/tableitemprops-283":{"component":"17896441","content":"b8287eb8"},"/docs/api/interfaces/tableprops-156":{"component":"17896441","content":"b724b064"},"/docs/api/interfaces/tabprops-cd8":{"component":"17896441","content":"6c9e5da8"},"/docs/api/interfaces/textprops-7d4":{"component":"17896441","content":"225464a7"},"/docs/api/interfaces/verticalheader-a27":{"component":"17896441","content":"e13681a3"},"/docs/api/interfaces/viewprops-ee0":{"component":"17896441","content":"82502a86"},"/docs/api/interfaces/windowprops-193":{"component":"17896441","content":"834e3922"},"/docs/api/modules/_react_proxy_-857":{"component":"17896441","content":"b7a4c6ff"},"/docs/doc1-392":{"component":"17896441","content":"b2f90839"},"/docs/guides/custom-nodegui-native-plugin-f57":{"component":"17896441","content":"63263d59"},"/docs/guides/debugging-92e":{"component":"17896441","content":"f3f9be1d"},"/docs/guides/debugging-in-vscode-f38":{"component":"17896441","content":"bd7838ba"},"/docs/guides/getting-started-a2a":{"component":"17896441","content":"c9ea0dcf"},"/docs/guides/handle-events-18d":{"component":"17896441","content":"1603ce96"},"/docs/guides/images-cb8":{"component":"17896441","content":"991d377f"},"/docs/guides/layout-0e5":{"component":"17896441","content":"df5def62"},"/docs/guides/networking-a72":{"component":"17896441","content":"374bc769"},"/docs/guides/packaging-44b":{"component":"17896441","content":"5b170ac4"},"/docs/guides/scroll-view-413":{"component":"17896441","content":"76e4d282"},"/docs/guides/styling-0c7":{"component":"17896441","content":"fece615a"},"/docs/guides/tutorial-3f3":{"component":"17896441","content":"e53e6ac1"},"/docs/guides/using-native-node-modules-b53":{"component":"17896441","content":"3ab0ccbe"},"/docs/mdx-955":{"component":"17896441","content":"ce3e42ad"}}')},function(e,t,n){var r,a;void 0===(a="function"==typeof(r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};function a(e,t,n){return en?n:e}function o(e){return 100*(-1+e)}function i(e,t,n){var a;return(a="translate3d"===r.positionUsing?{transform:"translate3d("+o(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+o(e)+"%,0)"}:{"margin-left":o(e)+"%"}).transition="all "+t+"ms "+n,a}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=a(e,r.minimum,1),n.status=1===e?null:e;var o=n.render(!t),u=o.querySelector(r.barSelector),c=r.speed,p=r.easing;return o.offsetWidth,l((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),s(u,i(e,c,p)),1===e?(s(o,{transition:"none",opacity:1}),o.offsetWidth,setTimeout((function(){s(o,{transition:"all "+c+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),c)}),c)):setTimeout(t,c)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*a(Math.random()*t,.1,.95)),t=a(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var a,i=t.querySelector(r.barSelector),l=e?"-100":o(n.status||0),u=document.querySelector(r.parent);return s(i,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),r.showSpinner||(a=t.querySelector(r.spinnerSelector))&&f(a),u!=document.body&&c(u,"nprogress-custom-parent"),u.appendChild(t),t},n.remove=function(){p(document.documentElement,"nprogress-busy"),p(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var l=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),s=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t}function a(e){return e=n(e),t[e]||(t[e]=r(e))}function o(e,t,n){t=a(t),e.style[t]=n}return function(e,t){var n,r,a=arguments;if(2==a.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&o(e,n,r);else o(e,a[1],a[2])}}();function u(e,t){return("string"==typeof e?e:d(e)).indexOf(" "+t+" ")>=0}function c(e,t){var n=d(e),r=n+t;u(n,t)||(e.className=r.substring(1))}function p(e,t){var n,r=d(e);u(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function d(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n})?r.call(t,n,t,e):r)||(e.exports=a)},function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return v})),n.d(t,"e",(function(){return k}));var r=n(1);n.d(t,"d",(function(){return r.a})),n.d(t,"f",(function(){return r.b})),n.d(t,"g",(function(){return r.c})),n.d(t,"h",(function(){return r.d})),n.d(t,"i",(function(){return r.e})),n.d(t,"j",(function(){return r.f})),n.d(t,"k",(function(){return r.g})),n.d(t,"l",(function(){return r.i})),n.d(t,"m",(function(){return r.j})),n.d(t,"n",(function(){return r.k})),n.d(t,"o",(function(){return r.l})),n.d(t,"p",(function(){return r.m})),n.d(t,"q",(function(){return r.n})),n.d(t,"r",(function(){return r.o}));var a=n(3),o=n(0),i=n.n(o),l=n(5),s=(n(8),n(2)),u=n(6),c=n(4),p=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;ae.length)return;if(!(k instanceof s)){if(g&&y!=t.length-1){if(d.lastIndex=w,!(C=d.exec(e)))break;for(var x=C.index+(m?C[1].length:0),E=C.index+C[0].length,S=y,T=w,_=t.length;S<_&&(T=(T+=t[S].length)&&(++y,w=T);if(t[y]instanceof s)continue;O=S-y,k=e.slice(w,T),C.index-=w}else{d.lastIndex=0;var C=d.exec(k),O=1}if(C){m&&(h=C[1]?C[1].length:0),E=(x=C.index+h)+(C=C[0].slice(h)).length;var P=k.slice(0,x),A=k.slice(E),R=[y,O];P&&(++y,w+=P.length,R.push(P));var N=new s(u,f?a.tokenize(C,f):C,b,C,g);if(R.push(N),A&&R.push(A),Array.prototype.splice.apply(t,R),1!=O&&a.matchGrammar(e,t,n,y,w,!0,u),i)break}else if(i)break}}}}},hooks:{add:function(){}},tokenize:function(e,t,n){var r=[e],o=t.rest;if(o){for(var i in o)t[i]=o[i];delete t.rest}return a.matchGrammar(e,r,t,0,0,!1),r}},(o=a.Token=function(e,t,n,r,a){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length,this.greedy=!!a}).stringify=function(e,t,n){if("string"==typeof e)return e;if("Array"===a.util.type(e))return e.map((function(n){return o.stringify(n,t,e)})).join("");var r={type:e.type,content:o.stringify(e.content,t,n),tag:"span",classes:["token",e.type],attributes:{},language:t,parent:n};if(e.alias){var i="Array"===a.util.type(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(r.classes,i)}var l=Object.keys(r.attributes).map((function(e){return e+'="'+(r.attributes[e]||"").replace(/"/g,""")+'"'})).join(" ");return"<"+r.tag+' class="'+r.classes.join(" ")+'"'+(l?" "+l:"")+">"+r.content+""},a);i.languages.markup={comment://,prolog:/<\?[\s\S]+?\?>/,doctype://i,cdata://i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/i,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/&#?[\da-z]{1,8};/i},i.languages.markup.tag.inside["attr-value"].inside.entity=i.languages.markup.entity,i.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(i.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:i.languages[t]},n.cdata=/^$/i;var r={"included-cdata":{pattern://i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:i.languages[t]};var a={};a[e]={pattern:RegExp(/(<__[\s\S]*?>)(?:\s*|[\s\S])*?(?=<\/__>)/.source.replace(/__/g,e),"i"),lookbehind:!0,greedy:!0,inside:r},i.languages.insertBefore("markup","cdata",a)}}),i.languages.xml=i.languages.extend("markup",{}),i.languages.html=i.languages.markup,i.languages.mathml=i.languages.markup,i.languages.svg=i.languages.markup,function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|-=|\+\+?|\+=|!=?|~|\*\*?|\*=|\/=?|%=?|<<=?|>>=?|<=?|>=?|==?|&&?|&=|\^=?|\|\|?|\|=|\?|:/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)\w+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b\w+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+?)\s*(?:\r?\n|\r)(?:[\s\S])*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:n},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s*(?:\r?\n|\r)(?:[\s\S])*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0},{pattern:/(["'])(?:\\[\s\S]|\$\([^)]+\)|`[^`]+`|(?!\1)[^\\])*\1/,greedy:!0,inside:n}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:n.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|aptitude|apt-cache|apt-get|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:if|then|else|elif|fi|for|while|in|case|esac|function|select|do|done|until)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|break|cd|continue|eval|exec|exit|export|getopts|hash|pwd|readonly|return|shift|test|times|trap|umask|unset|alias|bind|builtin|caller|command|declare|echo|enable|help|let|local|logout|mapfile|printf|read|readarray|source|type|typeset|ulimit|unalias|set|shopt)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:true|false)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|==?|!=?|=~|<<[<-]?|[&\d]?>>|\d?[<>]&?|&[>&]?|\|[&|]?|<=?|>=?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}};for(var r=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=n.variable[1].inside,o=0;o=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/,punctuation:/[{}[\];(),.:]/},i.languages.c=i.languages.extend("clike",{"class-name":{pattern:/(\b(?:enum|struct)\s+)\w+/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/,number:/(?:\b0x(?:[\da-f]+\.?[\da-f]*|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?)[ful]*/i}),i.languages.insertBefore("c","string",{macro:{pattern:/(^\s*)#\s*[a-z]+(?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,alias:"property",inside:{string:{pattern:/(#\s*include\s*)(?:<.+?>|("|')(?:\\?.)+?\2)/,lookbehind:!0},directive:{pattern:/(#\s*)\b(?:define|defined|elif|else|endif|error|ifdef|ifndef|if|import|include|line|pragma|undef|using)\b/,lookbehind:!0,alias:"keyword"}}},constant:/\b(?:__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)\b/}),delete i.languages.c.boolean,i.languages.cpp=i.languages.extend("c",{"class-name":{pattern:/(\b(?:class|enum|struct)\s+)\w+/,lookbehind:!0},keyword:/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|class|compl|const|constexpr|const_cast|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|float|for|friend|goto|if|inline|int|int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|long|mutable|namespace|new|noexcept|nullptr|operator|private|protected|public|register|reinterpret_cast|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+\.?[\da-f']*|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+\.?[\d']*|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]*/i,greedy:!0},operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:true|false)\b/}),i.languages.insertBefore("cpp","string",{"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-]+[\s\S]*?(?:;|(?=\s*\{))/,inside:{rule:/@[\w-]+/}},url:{pattern:RegExp("url\\((?:"+t.source+"|[^\n\r()]*)\\)","i"),inside:{function:/^url/i,punctuation:/^\(|\)$/}},selector:RegExp("[^{}\\s](?:[^{};\"']|"+t.source+")*?(?=\\s*\\{)"),string:{pattern:t,greedy:!0},property:/[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*(?=\s*:)/i,important:/!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),e.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:n.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:e.languages.css}},alias:"language-css"}},n.tag))}(i),i.languages.css.selector={pattern:i.languages.css.selector,inside:{"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-:.\w]+/,id:/#[-:.\w]+/,attribute:{pattern:/\[(?:[^[\]"']|("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1)*\]/,greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)[-*\w\xA0-\uFFFF]*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},attribute:{pattern:/^(\s*)[-\w\xA0-\uFFFF]+/,lookbehind:!0},value:[/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,{pattern:/(=\s*)[-\w\xA0-\uFFFF]+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],punctuation:/[()]/}},i.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*/i,lookbehind:!0}}),i.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:/#[\da-f]{3,8}/i,entity:/\\[\da-f]{1,8}/i,unit:{pattern:/(\d)(?:%|[a-z]+)/,lookbehind:!0},number:/-?[\d.]+/}),i.languages.javascript=i.languages.extend("clike",{"class-name":[i.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])[_$A-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.])\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,function:/#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,operator:/-[-=]?|\+[+=]?|!=?=?|<>?>?=?|=(?:==?|>)?|&[&=]?|\|[|=]?|\*\*?=?|\/=?|~|\^=?|%=?|\?|\.{3}/}),i.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,i.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s])\s*)\/(\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=\s*($|[\r\n,.;})\]]))/,lookbehind:!0,greedy:!0},"function-variable":{pattern:/#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)?\s*\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\))/,lookbehind:!0,inside:i.languages.javascript},{pattern:/[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*=>)/i,inside:i.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*=>)/,lookbehind:!0,inside:i.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\s*)\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*\{)/,lookbehind:!0,inside:i.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),i.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}|(?!\${)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\${|}$/,alias:"punctuation"},rest:i.languages.javascript}},string:/[\s\S]+/}}}),i.languages.markup&&i.languages.markup.tag.addInlined("script","javascript"),i.languages.js=i.languages.javascript,function(e){var t=e.util.clone(e.languages.javascript);e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=/<\/?(?:[\w.:-]+\s*(?:\s+(?:[\w.:-]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s{'">=]+|\{(?:\{(?:\{[^}]*\}|[^{}])*\}|[^{}])+\}))?|\{\.{3}[a-z_$][\w$]*(?:\.[a-z_$][\w$]*)*\}))*\s*\/?)?>/i,e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/i,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">]+)/i,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.insertBefore("inside","attr-name",{spread:{pattern:/\{\.{3}[a-z_$][\w$]*(?:\.[a-z_$][\w$]*)*\}/,inside:{punctuation:/\.{3}|[{}.]/,"attr-value":/\w+/}}},e.languages.jsx.tag),e.languages.insertBefore("inside","attr-value",{script:{pattern:/=(\{(?:\{(?:\{[^}]*\}|[^}])*\}|[^}])+\})/i,inside:{"script-punctuation":{pattern:/^=(?={)/,alias:"punctuation"},rest:e.languages.jsx},alias:"language-javascript"}},e.languages.jsx.tag);var n=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(n).join(""):""},r=function(t){for(var a=[],o=0;o0&&a[a.length-1].tagName===n(i.content[0].content[1])&&a.pop():"/>"===i.content[i.content.length-1].content||a.push({tagName:n(i.content[0].content[1]),openedBraces:0}):a.length>0&&"punctuation"===i.type&&"{"===i.content?a[a.length-1].openedBraces++:a.length>0&&a[a.length-1].openedBraces>0&&"punctuation"===i.type&&"}"===i.content?a[a.length-1].openedBraces--:l=!0),(l||"string"==typeof i)&&a.length>0&&0===a[a.length-1].openedBraces){var s=n(i);o0&&("string"==typeof t[o-1]||"plain-text"===t[o-1].type)&&(s=n(t[o-1])+s,t.splice(o-1,1),o--),t[o]=new e.Token("plain-text",s,null,s)}i.content&&"string"!=typeof i.content&&r(i.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||r(e.tokens)}))}(i),function(e){var t=e.languages.javadoclike={parameter:{pattern:/(^\s*(?:\/{3}|\*|\/\*\*)\s*@(?:param|arg|arguments)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^\s*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(t,"addSupport",{value:function(t,n){"string"==typeof t&&(t=[t]),t.forEach((function(t){!function(t,n){var r="doc-comment",a=e.languages[t];if(a){var o=a[r];if(!o){var i={"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,alias:"comment"}};o=(a=e.languages.insertBefore(t,"comment",i))[r]}if(o instanceof RegExp&&(o=a[r]={pattern:o}),Array.isArray(o))for(var l=0,s=o.length;l>>?=?|->|([-+&|])\2|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","class-name",{annotation:{alias:"punctuation",pattern:/(^|[^.])@\w+/,lookbehind:!0},namespace:{pattern:/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)[a-z]\w*(\.[a-z]\w*)+/,lookbehind:!0,inside:{punctuation:/\./}},generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":n,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}(i),function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,(function(e){if("function"==typeof o&&!o(e))return e;for(var a,l=i.length;-1!==n.code.indexOf(a=t(r,l));)++l;return i[l]=e,a})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(l){for(var s=0;s=o.length);s++){var u=l[s];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=o[a],p=n.tokenStack[c],d="string"==typeof u?u:u.content,f=t(r,c),m=d.indexOf(f);if(m>-1){++a;var g=d.substring(0,m),h=new e.Token(r,e.tokenize(p,n.grammar),"language-"+r,p),b=d.substring(m+f.length),v=[];g&&v.push.apply(v,i([g])),v.push(h),b&&v.push.apply(v,i([b])),"string"==typeof u?l.splice.apply(l,[s,1].concat(v)):u.content=v}}else u.content&&i(u.content)}return l}(n.tokens)}}}})}(i),function(e){e.languages.php=e.languages.extend("clike",{keyword:/\b(?:__halt_compiler|abstract|and|array|as|break|callable|case|catch|class|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|eval|exit|extends|final|finally|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|namespace|new|or|parent|print|private|protected|public|require|require_once|return|static|switch|throw|trait|try|unset|use|var|while|xor|yield)\b/i,boolean:{pattern:/\b(?:false|true)\b/i,alias:"constant"},constant:[/\b[A-Z_][A-Z0-9_]*\b/,/\b(?:null)\b/i],comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0}}),e.languages.insertBefore("php","string",{"shell-comment":{pattern:/(^|[^\\])#.*/,lookbehind:!0,alias:"comment"}}),e.languages.insertBefore("php","comment",{delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"}}),e.languages.insertBefore("php","keyword",{variable:/\$+(?:\w+\b|(?={))/i,package:{pattern:/(\\|namespace\s+|use\s+)[\w\\]+/,lookbehind:!0,inside:{punctuation:/\\/}}}),e.languages.insertBefore("php","operator",{property:{pattern:/(->)[\w]+/,lookbehind:!0}});var t={pattern:/{\$(?:{(?:{[^{}]+}|[^{}]+)}|[^{}])+}|(^|[^\\{])\$+(?:\w+(?:\[.+?]|->\w+)*)/,lookbehind:!0,inside:{rest:e.languages.php}};e.languages.insertBefore("php","string",{"nowdoc-string":{pattern:/<<<'([^']+)'(?:\r\n?|\n)(?:.*(?:\r\n?|\n))*?\1;/,greedy:!0,alias:"string",inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},"heredoc-string":{pattern:/<<<(?:"([^"]+)"(?:\r\n?|\n)(?:.*(?:\r\n?|\n))*?\1;|([a-z_]\w*)(?:\r\n?|\n)(?:.*(?:\r\n?|\n))*?\2;)/i,greedy:!0,alias:"string",inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:t}},"single-quoted-string":{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,alias:"string",inside:{interpolation:t}}}),delete e.languages.php.string,e.hooks.add("before-tokenize",(function(t){if(/<\?/.test(t.code)){e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#)(?:[^?\n\r]|\?(?!>))*|\/\*[\s\S]*?(?:\*\/|$))*?(?:\?>|$)/gi)}})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")}))}(i),function(e){var t=e.languages.javascript,n=/{(?:[^{}]|{(?:[^{}]|{[^{}]*})*})+}/.source,r="(@(?:param|arg|argument|property)\\s+(?:"+n+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(r+/[$\w\xA0-\uFFFF.]+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(r+/\[[$\w\xA0-\uFFFF.]+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{punctuation:/[.,:?=<>|{}()[\]]/}},{pattern:/(@(?:augments|extends|class|interface|memberof!?|this)\s+)[A-Z]\w*(?:\.[A-Z]\w*)*/,lookbehind:!0,inside:{punctuation:/\./}}],example:{pattern:/(@example\s+)[^@]+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^(\s*(?:\*\s*)?).+$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(i),i.languages.actionscript=i.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|else|extends|finally|for|function|if|implements|import|in|instanceof|interface|internal|is|native|new|null|package|private|protected|public|return|super|switch|this|throw|try|typeof|use|var|void|while|with|dynamic|each|final|get|include|namespace|native|override|set|static)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),i.languages.actionscript["class-name"].alias="function",i.languages.markup&&i.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:{rest:i.languages.markup}}}),function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},rest:e.languages.javascript}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(i),function(e){e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:(?:Uint|Int)(?:8|16|32)|Uint8Clamped|Float(?:32|64))?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|(?:Weak)?(?:Set|Map)|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:/(\.\s*)#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*/,lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|location|navigator|performance|(?:local|session)Storage|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var t=["function","function-variable","method","method-variable","property-access"],n=0;n))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:type|opaque|declare|Class)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:await|Diff|Exact|Keys|ObjMap|PropertyType|Shape|Record|Supertype|Subtype|Enum)\b(?!\$)/,lookbehind:!0})}(i),i.languages.n4js=i.languages.extend("javascript",{keyword:/\b(?:any|Array|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),i.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),i.languages.n4jsd=i.languages.n4js,i.languages.typescript=i.languages.extend("javascript",{keyword:/\b(?:abstract|as|async|await|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|is|keyof|let|module|namespace|new|null|of|package|private|protected|public|readonly|return|require|set|static|super|switch|this|throw|try|type|typeof|var|void|while|with|yield)\b/,builtin:/\b(?:string|Function|any|number|boolean|Array|symbol|console|Promise|unknown|never)\b/}),i.languages.ts=i.languages.typescript,function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function l(e,t){return"___"+t.toUpperCase()+"_"+e+"___"}function s(t,n,r){var a={code:t,grammar:n,language:r};return e.hooks.run("before-tokenize",a),a.tokens=e.tokenize(a.code,a.grammar),e.hooks.run("after-tokenize",a),a.tokens}function u(t){var n={};n["interpolation-punctuation"]=a;var o=e.tokenize(t,n);if(3===o.length){var i=[1,1];i.push.apply(i,s(o[1],e.languages.javascript,"javascript")),o.splice.apply(o,i)}return new e.Token("interpolation",o,r.alias,t)}function c(t,n,r){var a=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),i=0,c={},p=s(a.map((function(e){if("string"==typeof e)return e;for(var n,a=e.content;-1!==t.indexOf(n=l(i++,r)););return c[n]=a,n})).join(""),n,r),d=Object.keys(c);return i=0,function e(t){for(var n=0;n=d.length)return;var r=t[n];if("string"==typeof r||"string"==typeof r.content){var a=d[i],o="string"==typeof r?r:r.content,l=o.indexOf(a);if(-1!==l){++i;var s=o.substring(0,l),p=u(c[a]),f=o.substring(l+a.length),m=[];if(s&&m.push(s),m.push(p),f){var g=[f];e(g),m.push.apply(m,g)}"string"==typeof r?(t.splice.apply(t,[n,1].concat(m)),n+=m.length-1):r.content=m}}else{var h=r.content;Array.isArray(h)?e(h):e([h])}}}(p),new e.Token(r,p,"language-"+r,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:md|markdown)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),t].filter(Boolean);var p={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function d(e){return"string"==typeof e?e:Array.isArray(e)?e.map(d).join(""):d(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in p&&function t(n){for(var r=0,a=n.length;r/g,t),n&&(e=e+"|"+e.replace(/_/g,"\\*")),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``.+?``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\r?\n|\r)|$)/.source.replace(/__/g,r),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\r?\n|\r)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/(^[ \t]*(?:\r?\n|\r))(?: {4}|\t).+(?:(?:\r?\n|\r)(?: {4}|\t).+)*/m,lookbehind:!0,alias:"keyword"},{pattern:/``.+?``|`[^`\r\n]+`/,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\r?\n|\r))[\s\S]+?(?=(?:\r?\n|\r)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\r?\n|\r)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#+.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/__(?:(?!_)|_(?:(?!_))+_)+__/.source,!0),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/_(?:(?!_)|__(?:(?!_))+__)+_/.source,!0),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+?\2/.source,!1),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)| ?\[(?:(?!\]))+\])/.source,!1),lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(\[)[^\]]+(?=\]$)/,lookbehind:!0},content:{pattern:/(^!?\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},string:{pattern:/"(?:\\.|[^"\\])*"(?=\)$)/}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var r=t[n],a=[];/^\w+$/.test(n)||a.push(/\w+/.exec(n)[0]),"diff"===n&&a.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:a}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(i),i.languages.git={comment:/^#.*/m,deleted:/^[-\u2013].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/m,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/m}},coord:/^@@.*@@$/m,commit_sha1:/^commit \w{40}$/m},i.languages.go=i.languages.extend("clike",{keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,builtin:/\b(?:bool|byte|complex(?:64|128)|error|float(?:32|64)|rune|string|u?int(?:8|16|32|64)?|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(?:ln)?|real|recover)\b/,boolean:/\b(?:_|iota|nil|true|false)\b/,operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,number:/(?:\b0x[a-f\d]+|(?:\b\d+\.?\d*|\B\.\d+)(?:e[-+]?\d+)?)i?/i,string:{pattern:/(["'`])(\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0}}),delete i.languages.go["class-name"],function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/i,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:true|false)\b/,block:{pattern:/^(\s*~?\s*)[#\/]\S+?(?=\s*~?\s*$|\s)/i,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")}))}(i),i.languages.json={property:{pattern:/"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,greedy:!0},comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,number:/-?\d+\.?\d*(e[+-]?\d+)?/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:true|false)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},i.languages.less=i.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-]+?(?:\([^{}]+\)|[^(){};])*?(?=\s*\{)/i,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\([^{}]*\)|[^{};@])*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/i,operator:/[+\-*\/]/}),i.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-]+.*?(?=[(;])/,lookbehind:!0,alias:"function"}}),i.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},builtin:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,symbol:{pattern:/^[^:=\r\n]+(?=\s*:(?!=))/m,inside:{variable:/\$+(?:[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:[/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,{pattern:/(\()(?:addsuffix|abspath|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:s|list)?)(?=[ \t])/,lookbehind:!0}],operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/},i.languages.objectivec=i.languages.extend("c",{keyword:/\b(?:asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while|in|self|super)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,string:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|@"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete i.languages.objectivec["class-name"],i.languages.ocaml={comment:/\(\*[\s\S]*?\*\)/,string:[{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},{pattern:/(['`])(?:\\(?:\d+|x[\da-f]+|.)|(?!\1)[^\\\r\n])\1/i,greedy:!0}],number:/\b(?:0x[\da-f][\da-f_]+|(?:0[bo])?\d[\d_]*\.?[\d_]*(?:e[+-]?[\d_]+)?)/i,type:{pattern:/\B['`]\w*/,alias:"variable"},directive:{pattern:/\B#\w+/,alias:"function"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|object|of|open|prefix|private|rec|then|sig|struct|to|try|type|val|value|virtual|where|while|with)\b/,boolean:/\b(?:false|true)\b/,operator:/:=|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lxor|lsl|lsr|mod|nor|or)\b/,punctuation:/[(){}\[\]|_.,:;]/},i.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},"string-interpolation":{pattern:/(?:f|rf|fr)(?:("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:{{)*){(?!{)(?:[^{}]|{(?!{)(?:[^{}]|{(?!{)(?:[^{}])+})+})+}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|rb|br)?("""|''')[\s\S]+?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|rb|br)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^\s*)@\w+(?:\.\w+)*/i,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:and|as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:True|False|None)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*\.?\d*|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},i.languages.python["string-interpolation"].inside.interpolation.inside.rest=i.languages.python,i.languages.py=i.languages.python,i.languages.reason=i.languages.extend("clike",{comment:{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:mod|land|lor|lxor|lsl|lsr|asr)\b/}),i.languages.insertBefore("reason","class-name",{character:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,alias:"string"},constructor:{pattern:/\b[A-Z]\w*\b(?!\s*\.)/,alias:"variable"},label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete i.languages.reason.function,function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t]+.+)*/m,lookbehind:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,inside:{atrule:/(?:@[\w-]+|[+=])/m}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|or|not)\b/,{pattern:/(\s+)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s]+.*)/m,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/([ \t]*)\S(?:,?[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,?[^,\r\n]+)*)*/,lookbehind:!0}})}(i),i.languages.scss=i.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-]+(?:\([^()]+\)|[^(])*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()]|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}]+[:{][^}]+))/m,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[\w-]|\$[-\w]+|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),i.languages.insertBefore("scss","atrule",{keyword:[/@(?:if|else(?: if)?|for|each|while|import|extend|debug|warn|mixin|include|function|return|content)/i,{pattern:/( +)(?:from|through)(?= )/,lookbehind:!0}]}),i.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),i.languages.insertBefore("scss","function",{placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:true|false)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|or|not)(?=\s)/,lookbehind:!0}}),i.languages.scss.atrule.inside.rest=i.languages.scss,i.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:_INSERT|COL)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURNS?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:TRUE|FALSE|NULL)\b/i,number:/\b0x[\da-f]+\b|\b\d+\.?\d*|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|IN|LIKE|NOT|OR|IS|DIV|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t={url:/url\((["']?).*?\1\)/i,string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:if|else|for|return|unless)(?=\s+|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,number:/\b\d+(?:\.\d+)?%?/,boolean:/\b(?:true|false)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.+|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],punctuation:/[{}()\[\];:,]/};t.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^{|}$/,alias:"punctuation"},rest:t}},t.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:t}},e.languages.stylus={comment:{pattern:/(^|[^\\])(\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},"atrule-declaration":{pattern:/(^\s*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:t}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:(?:\{[^}]*\}|.+)|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:t}},statement:{pattern:/(^[ \t]*)(?:if|else|for|return|unless)[ \t]+.+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:t}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)[^{\r\n]*(?:;|[^{\r\n,](?=$)(?!(\r?\n|\r)(?:\{|\2[ \t]+)))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:t.interpolation}},rest:t}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\))?|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\))?|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t]+)))/m,lookbehind:!0,inside:{interpolation:t.interpolation,punctuation:/[{},]/}},func:t.func,string:t.string,interpolation:t.interpolation,punctuation:/[{}()\[\];:.]/}}(i);var l=i.util.clone(i.languages.typescript);i.languages.tsx=i.languages.extend("jsx",l),i.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^_`|~]+/i,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/},i.languages.yaml={scalar:{pattern:/([\-:]\s*(?:![^\s]+)?[ \t]*[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)[^\r\n]+(?:\2[^\r\n]+)*)/,lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:/(\s*(?:^|[:\-,[{\r\n?])[ \t]*(?:![^\s]+)?[ \t]*)[^\r\n{[\]},#\s]+?(?=\s*:\s)/,lookbehind:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:/([:\-,[{]\s*(?:![^\s]+)?[ \t]*)(?:\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?)?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?)(?=[ \t]*(?:$|,|]|}))/m,lookbehind:!0,alias:"number"},boolean:{pattern:/([:\-,[{]\s*(?:![^\s]+)?[ \t]*)(?:true|false)[ \t]*(?=$|,|]|})/im,lookbehind:!0,alias:"important"},null:{pattern:/([:\-,[{]\s*(?:![^\s]+)?[ \t]*)(?:null|~)[ \t]*(?=$|,|]|})/im,lookbehind:!0,alias:"important"},string:{pattern:/([:\-,[{]\s*(?:![^\s]+)?[ \t]*)("|')(?:(?!\2)[^\\\r\n]|\\.)*\2(?=[ \t]*(?:$|,|]|}|\s*#))/m,lookbehind:!0,greedy:!0},number:{pattern:/([:\-,[{]\s*(?:![^\s]+)?[ \t]*)[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+\.?\d*|\.?\d+)(?:e[+-]?\d+)?|\.inf|\.nan)[ \t]*(?=$|,|]|})/im,lookbehind:!0},tag:/![^\s]+/,important:/[&*][\w]+/,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},i.languages.yml=i.languages.yaml,t.a=i},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(a){return!1}}()?Object.assign:function(e,t){for(var n,l,s=i(e),u=1;uA.length&&A.push(e)}function I(e,t,n,r){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var l=!1;if(null===e)l=!0;else switch(a){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case o:case i:l=!0}}if(l)return n(r,e,""===t?"."+j(e,0):t),1;if(l=0,t=""===t?".":t+":",Array.isArray(e))for(var s=0;s