Title: Properties shadowing methods and missing functions · Issue #42 · MeVisLab/pythonqt · GitHub
Open Graph Title: Properties shadowing methods and missing functions · Issue #42 · MeVisLab/pythonqt
X Title: Properties shadowing methods and missing functions · Issue #42 · MeVisLab/pythonqt
Description: Hi all, I am new to the concept of pythonqt and find it fascinating. Great work! I am working from the python side, so please keep that in mind. I am trying to access QGraphicsWidget layout property from python but apparently cannot. Whe...
Open Graph Description: Hi all, I am new to the concept of pythonqt and find it fascinating. Great work! I am working from the python side, so please keep that in mind. I am trying to access QGraphicsWidget layout propert...
X Description: Hi all, I am new to the concept of pythonqt and find it fascinating. Great work! I am working from the python side, so please keep that in mind. I am trying to access QGraphicsWidget layout propert...
Opengraph URL: https://github.com/MeVisLab/pythonqt/issues/42
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Properties shadowing methods and missing functions","articleBody":"Hi all,\r\nI am new to the concept of pythonqt and find it fascinating. Great work!\r\nI am working from the python side, so please keep that in mind.\r\n\r\nI am trying to access QGraphicsWidget layout property from python but apparently cannot.\r\nWhen I set it via setLayout(), it seems to work, but retrieving it is not working. I always get None from QGraphicsWidget.layout\r\nThe method layout() is not available, which if I understand correctly, the philosophy of pythonqt is to expose the property to be able to atribute a value to it from python and python methods cannot have the same name as properties.\r\nBut if I instantiate and do obj.layout = QGraphicsGridLayout() I get an error that layout is a pointer and cannot receive an object.\r\nCan someone comment on this issues and help me understand it better? I am willing to help but I there are some things about python that I do not fully understand yet.\r\n\r\nOther issues I've encountered\r\nmissing function: QMetaObject has no connectSlotsByName\r\nOperators are not accessible via python. Example: QDataStream >>operator\r\n\r\nThanks\r\n","author":{"url":"https://github.com/fbordignon","@type":"Person","name":"fbordignon"},"datePublished":"2021-04-08T13:18:43Z","url":"https://github.com/MeVisLab/pythonqt/issues/42"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:23ab6e04-4a44-18fb-3ecf-8e91c3fdc786 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A98E:12A3DF:2654F0:32DC2B:6AFF75A9 |
| html-safe-nonce | 62f8861b77ef7019e8f981d6f3a5b202b53f31b7c4629145c557579e451b0432 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOThFOjEyQTNERjoyNjU0RjA6MzJEQzJCOjZBRkY3NUE5IiwidmlzaXRvcl9pZCI6IjE4MDg5MDczOTY0MTY3NjMzMDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d4862ab204233198dde76ae849ff0379eebdaf2a0a15cffc1a2155cd064d095e |
| hovercard-subject-tag | issue:853465583 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/MeVisLab/pythonqt/42/issue_layout |
| twitter:image | https://opengraph.githubassets.com/56a428f61b9cf8b2056add4ccfabb6ecce56e12586258f232f492d369252b61c/MeVisLab/pythonqt/issues/42 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/56a428f61b9cf8b2056add4ccfabb6ecce56e12586258f232f492d369252b61c/MeVisLab/pythonqt/issues/42 |
| og:image:alt | Hi all, I am new to the concept of pythonqt and find it fascinating. Great work! I am working from the python side, so please keep that in mind. I am trying to access QGraphicsWidget layout propert... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | fbordignon |
| hostname | github.com |
| expected-hostname | github.com |
| None | 35e31dc3576ce5a5753c960de52d6fbb2e3131488d65b48fb38a436f42fcbefe |
| turbo-cache-control | no-preview |
| go-import | github.com/MeVisLab/pythonqt git https://github.com/MeVisLab/pythonqt.git |
| octolytics-dimension-user_id | 15028021 |
| octolytics-dimension-user_login | MeVisLab |
| octolytics-dimension-repository_id | 193056137 |
| octolytics-dimension-repository_nwo | MeVisLab/pythonqt |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 193056137 |
| octolytics-dimension-repository_network_root_nwo | MeVisLab/pythonqt |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ed8a67e95c8353d0d4bc94ad2812a7ecbf91bffa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width