{"id":5584,"date":"2021-07-26T16:05:45","date_gmt":"2021-07-26T15:05:45","guid":{"rendered":"https:\/\/medtech-ingenieur.de\/?p=5584"},"modified":"2021-08-06T14:31:40","modified_gmt":"2021-08-06T13:31:40","slug":"testskripte-mit-python-qt","status":"publish","type":"post","link":"https:\/\/medtech-ingenieur.de\/en\/testskripte-mit-python-qt\/","title":{"rendered":"Test scripts with Python Qt"},"content":{"rendered":"<p>Qt (like &quot;cute&quot; in English) is a C++-based framework of modules and libraries for cross-platform software development. Wrapper libraries, called &quot;bindings,&quot; are used to enable the Qt framework to be used in Python. Python Qt enables the programming of applications with intuitive graphical user interfaces in a comparatively short time.<\/p>\n<p>Anyone searching for Python Qt will primarily come across &quot;Qt for Python,&quot; the official name of the PySide binding development project. Alternatively, there is another set of Python bindings, PyQt, which was more widely used for a long time due to its more stable implementation and more frequent updates. Today, the two bindings are very similar, and the differences are no longer as clear as they were a few years ago. Licensing is the most relevant difference for most users. PyQt is available under the GNU GPL v3 and an additional commercial license, while PySide can be used under an LGPL license. Because the LGPL license has less stringent requirements (e.g., publication of the source code), PySide is more often suitable for commercial use than PyQt. Both bindings can be used for non-commercial or personal applications.<\/p>\n<h3>What do we use Python Qt for?<\/h3>\n<p>Using Python Qt <a href=\"https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/sFLOWpy-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-5704\" src=\"https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/sFLOWpy-1-300x191.png\" alt=\"\" width=\"261\" height=\"166\" srcset=\"https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/sFLOWpy-1-300x191.png 300w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/sFLOWpy-1-100x64.png 100w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/sFLOWpy-1-150x95.png 150w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/sFLOWpy-1-200x127.png 200w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/sFLOWpy-1-450x286.png 450w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/sFLOWpy-1.png 590w\" sizes=\"auto, (max-width: 261px) 100vw, 261px\" \/><\/a>Test scripts and graphical user interfaces can be created in a short amount of time. In hardware and software tests, these accelerate the test process and simplify test execution. The script shown in the right image, for example, simulates the serial communication of a flow sensor during software tests on a medical device. The actual sensor is not required for the test, which simplifies the configuration of specific system states. Entering specific limit values allows alarm signals to be triggered or other algorithms based on the sensor&#039;s measurement data (control, etc.) to be tested. Parameters such as error states, temperatures, or the sensor&#039;s serial number can also be manipulated as required during the test, without the need for a complicated test setup.<\/p>\n<p>Another practical application is the remote control of measuring equipment. For example, the script shown below can be used to control a laboratory power supply and an electronic load via a network connection. Certain hardware tests can also be performed this way from outside the lab or from a home office. With sufficiently complex programs, complete test automation can also be achieved, if necessary.<\/p>\n<p><a href=\"https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/BenchQt.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-5593 size-medium\" src=\"https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/BenchQt-300x220.png\" alt=\"\" width=\"300\" height=\"220\" srcset=\"https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/BenchQt-300x220.png 300w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/BenchQt-100x73.png 100w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/BenchQt-150x110.png 150w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/BenchQt-200x146.png 200w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/BenchQt-450x330.png 450w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/BenchQt.png 557w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<h3>What do you need to get started?<\/h3>\n<p>An installation of Python and basic programming knowledge are basically all you need to get started with Python Qt. The installation files for various Python versions, associated documentation, and even some tutorials can be obtained from the Python website (<a href=\"https:\/\/www.python.org\/\">www.python.org<\/a>). Please ensure that the following option is enabled during installation, otherwise the system will not be able to assign Python-specific command line commands:<\/p>\n<p><a href=\"https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/PythonInstaller.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-5618 size-medium\" src=\"https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/PythonInstaller-300x184.png\" alt=\"\" width=\"300\" height=\"184\" srcset=\"https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/PythonInstaller-300x184.png 300w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/PythonInstaller-768x470.png 768w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/PythonInstaller-100x61.png 100w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/PythonInstaller-150x92.png 150w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/PythonInstaller-200x123.png 200w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/PythonInstaller-450x276.png 450w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/PythonInstaller-600x368.png 600w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/PythonInstaller-900x551.png 900w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/PythonInstaller.png 991w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>You then also have access to pip, the &quot;Package Installer for Python.&quot; To install PySide or PyQt, use the &quot;pip install&quot; command, as in the following example:<\/p>\n<p><a href=\"https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/pipinstall.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-5607 size-medium\" src=\"https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/pipinstall-300x83.png\" alt=\"\" width=\"300\" height=\"83\" srcset=\"https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/pipinstall-300x83.png 300w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/pipinstall-100x28.png 100w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/pipinstall-150x42.png 150w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/pipinstall-200x56.png 200w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/pipinstall-450x125.png 450w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/pipinstall.png 461w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/pipinstall2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-5612 size-medium\" src=\"https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/pipinstall2-300x84.png\" alt=\"\" width=\"300\" height=\"84\" srcset=\"https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/pipinstall2-300x84.png 300w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/pipinstall2-100x28.png 100w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/pipinstall2-150x42.png 150w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/pipinstall2-200x56.png 200w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/pipinstall2-450x126.png 450w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/pipinstall2.png 460w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>If errors occur despite everything when running pip, running the command line as an administrator can help. Documentation and tutorials for Python Qt are available on the PyQt and PySide websites, among others (see related links). It&#039;s often also worthwhile to consult the Qt C++ documentation directly to gain a better understanding of the Python Qt implementation.<\/p>\n<p>Virtual Python development environments (venv\/virtualenv) are useful if you plan to use different versions of the bindings in multiple projects. They significantly simplify the organization of individual projects. Finally, at least a text editor is necessary to write Python code, but it&#039;s more structured with a dedicated development environment (IDE). Which IDE you choose depends largely on personal preference.<\/p>\n<h1>Atom as a Python IDE<\/h1>\n<p>Regardless of whether <em>Visual Studio<\/em>, <em>PyCharm<\/em> or <em>IDLE<\/em>Using a development environment makes programming easier with numerous practical features. Some text editors enable a similar workflow using various add-ins. I personally have set up the text editor Atom as my Python IDE for upcoming Python Qt projects. Versatile extensions are available for Atom to customize the user interface and appearance or expand the text editor&#039;s features:<\/p>\n<p><a href=\"https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/AtomIDE.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-5619\" src=\"https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/AtomIDE-300x160.png\" alt=\"\" width=\"741\" height=\"395\" srcset=\"https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/AtomIDE-300x160.png 300w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/AtomIDE-768x409.png 768w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/AtomIDE-1024x545.png 1024w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/AtomIDE-1536x818.png 1536w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/AtomIDE-100x53.png 100w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/AtomIDE-150x80.png 150w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/AtomIDE-200x107.png 200w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/AtomIDE-450x240.png 450w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/AtomIDE-600x320.png 600w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/AtomIDE-900x479.png 900w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/AtomIDE.png 1921w\" sizes=\"auto, (max-width: 741px) 100vw, 741px\" \/><\/a><\/p>\n<p>The following or similar packages should at least be installed for this purpose (File -&gt; Settings -&gt; Install):<\/p>\n<ul>\n<li>script (for executing code in Atom)<\/li>\n<li>linter-flake8 (code analysis)<\/li>\n<li>python debugger<\/li>\n<\/ul>\n<p>Interesting for workflow and user interface:<\/p>\n<ul>\n<li>python-autopep8 (automatic formatting)<\/li>\n<li>minimap (display of the code overview on the right side)<\/li>\n<li>autocomplete-python (Python-specific auto-completion)<\/li>\n<li>file icons (clearer icons for different file types)<\/li>\n<\/ul>\n<p>Information on necessary settings can be found in the README section of the respective package.<\/p>\n<h1>Using Qt Designer<\/h1>\n<p>If you don&#039;t want to write the entire code of a script by hand, using Qt Designer is a good option. Since the software allows you to place UI elements using drag and drop, it can speed up the creation of user interfaces. The resulting .ui files can then be used to generate Python code, which you only need to fill with the necessary logic to implement the actual software function.<\/p>\n<p><a href=\"https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/QtDesigner.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-5622\" src=\"https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/QtDesigner-300x163.png\" alt=\"\" width=\"730\" height=\"397\" srcset=\"https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/QtDesigner-300x163.png 300w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/QtDesigner-1024x555.png 1024w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/QtDesigner-100x54.png 100w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/QtDesigner-150x81.png 150w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/QtDesigner-200x108.png 200w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/QtDesigner-450x244.png 450w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/QtDesigner-600x325.png 600w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/QtDesigner-900x488.png 900w, https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/QtDesigner.png 1921w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/a><\/p>\n<p>Qt Designer is part of the PyQt5-Tools package and can be installed using the command line command \u201cpip install pyqt5-tools.\u201d Depending on the operating system, Qt Designer will then be located in the Python installation folder (in my case, <em>\u2026\\Python39\\Lib\\site-packages\\qt5_applications\\Qt\\bin\\designer.exe<\/em>) to find.<\/p>\n<h3>Further links<\/h3>\n<p>For further information or project suggestions using Python Qt, please feel free to contact us. Additional information and tutorials can also be found at the following links if you&#039;d like to explore Python Qt yourself:<\/p>\n<p>about Python: <a href=\"https:\/\/www.python.org\/\">https:\/\/www.python.org\/<\/a><br \/>\nabout Qt: <a href=\"https:\/\/wiki.qt.io\/About_Qt\">https:\/\/wiki.qt.io\/About_Qt<\/a><br \/>\nabout PySide \/ Qt for Python: <a href=\"https:\/\/doc.qt.io\/qtforpython\/\">https:\/\/doc.qt.io\/qtforpython<\/a><br \/>\nabout PyQt: <a href=\"https:\/\/riverbankcomputing.com\/software\/pyqt\/intro\">https:\/\/riverbankcomputing.com\/software\/pyqt\/intro<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Qt (wie &#8222;cute&#8220; im Englischen) ist ein auf C++ basierendes Rahmenwerk an Modulen und Bibliotheken zur plattform\u00fcbergreifenden Software Entwicklung. Um das Qt Framework auch in Python nutzen zu k\u00f6nnen, werden Wrapper-Bibliotheken, sogenannte &#8222;Bindings&#8220;, eingesetzt. Python Qt erm\u00f6glicht das Programmieren von Anwendungen mit intuitiv bedienbaren grafischen User Interfaces unter vergleichsweise geringem Zeitaufwand. Wer nach Python Qt [&hellip;]<\/p>\n","protected":false},"author":26,"featured_media":5593,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,468,8],"tags":[305,556,304,557],"class_list":["post-5584","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","category-testen","category-tools","tag-pyqt","tag-pyside","tag-python","tag-testskripte","post-wrapper","thrv_wrapper"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Testskripte mit Python Qt - MEDtech Ingenieur GmbH<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/medtech-ingenieur.de\/en\/testskripte-mit-python-qt\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Testskripte mit Python Qt - MEDtech Ingenieur GmbH\" \/>\n<meta property=\"og:description\" content=\"Qt (wie &#8222;cute&#8220; im Englischen) ist ein auf C++ basierendes Rahmenwerk an Modulen und Bibliotheken zur plattform\u00fcbergreifenden Software Entwicklung. Um das Qt Framework auch in Python nutzen zu k\u00f6nnen, werden Wrapper-Bibliotheken, sogenannte &#8222;Bindings&#8220;, eingesetzt. Python Qt erm\u00f6glicht das Programmieren von Anwendungen mit intuitiv bedienbaren grafischen User Interfaces unter vergleichsweise geringem Zeitaufwand. Wer nach Python Qt [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/medtech-ingenieur.de\/en\/testskripte-mit-python-qt\/\" \/>\n<meta property=\"og:site_name\" content=\"MEDtech Ingenieur GmbH\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/medtechIngenieur\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-26T15:05:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-06T13:31:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/BenchQt.png\" \/>\n\t<meta property=\"og:image:width\" content=\"557\" \/>\n\t<meta property=\"og:image:height\" content=\"408\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Stefan Heinrich\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@MedtechIng\" \/>\n<meta name=\"twitter:site\" content=\"@MedtechIng\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Stefan Heinrich\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/medtech-ingenieur.de\\\/testskripte-mit-python-qt\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/medtech-ingenieur.de\\\/testskripte-mit-python-qt\\\/\"},\"author\":{\"name\":\"Stefan Heinrich\",\"@id\":\"https:\\\/\\\/medtech-ingenieur.de\\\/#\\\/schema\\\/person\\\/6166996933dae4317d985e3ad0208045\"},\"headline\":\"Testskripte mit Python Qt\",\"datePublished\":\"2021-07-26T15:05:45+00:00\",\"dateModified\":\"2021-08-06T13:31:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/medtech-ingenieur.de\\\/testskripte-mit-python-qt\\\/\"},\"wordCount\":955,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/medtech-ingenieur.de\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/medtech-ingenieur.de\\\/testskripte-mit-python-qt\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/medtech-ingenieur.de\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/BenchQt.png\",\"keywords\":[\"PyQt\",\"PySide\",\"Python\",\"Testskripte\"],\"articleSection\":[\"Software\",\"Testen\",\"Tools\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/medtech-ingenieur.de\\\/testskripte-mit-python-qt\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/medtech-ingenieur.de\\\/testskripte-mit-python-qt\\\/\",\"url\":\"https:\\\/\\\/medtech-ingenieur.de\\\/testskripte-mit-python-qt\\\/\",\"name\":\"Testskripte mit Python Qt - MEDtech Ingenieur GmbH\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/medtech-ingenieur.de\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/medtech-ingenieur.de\\\/testskripte-mit-python-qt\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/medtech-ingenieur.de\\\/testskripte-mit-python-qt\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/medtech-ingenieur.de\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/BenchQt.png\",\"datePublished\":\"2021-07-26T15:05:45+00:00\",\"dateModified\":\"2021-08-06T13:31:40+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/medtech-ingenieur.de\\\/testskripte-mit-python-qt\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/medtech-ingenieur.de\\\/testskripte-mit-python-qt\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/medtech-ingenieur.de\\\/testskripte-mit-python-qt\\\/#primaryimage\",\"url\":\"https:\\\/\\\/medtech-ingenieur.de\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/BenchQt.png\",\"contentUrl\":\"https:\\\/\\\/medtech-ingenieur.de\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/BenchQt.png\",\"width\":557,\"height\":408},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/medtech-ingenieur.de\\\/testskripte-mit-python-qt\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Startseite\",\"item\":\"https:\\\/\\\/medtech-ingenieur.de\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Testskripte mit Python Qt\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/medtech-ingenieur.de\\\/#website\",\"url\":\"https:\\\/\\\/medtech-ingenieur.de\\\/\",\"name\":\"MEDtech Ingenieur GmbH\",\"description\":\"Ingenieursdienstleister f\u00fcr Medizintechnik\",\"publisher\":{\"@id\":\"https:\\\/\\\/medtech-ingenieur.de\\\/#organization\"},\"alternateName\":\"MEDtech\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/medtech-ingenieur.de\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/medtech-ingenieur.de\\\/#organization\",\"name\":\"MEDtech Ingenieur\",\"alternateName\":\"MEDtech\",\"url\":\"https:\\\/\\\/medtech-ingenieur.de\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/medtech-ingenieur.de\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/medtech-ingenieur.de\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/logo-700x700-1.png\",\"contentUrl\":\"https:\\\/\\\/medtech-ingenieur.de\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/logo-700x700-1.png\",\"width\":700,\"height\":700,\"caption\":\"MEDtech Ingenieur\"},\"image\":{\"@id\":\"https:\\\/\\\/medtech-ingenieur.de\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/medtechIngenieur\",\"https:\\\/\\\/x.com\\\/MedtechIng\",\"https:\\\/\\\/www.instagram.com\\\/medtech.ingenieure\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/37871229\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/medtech-ingenieur.de\\\/#\\\/schema\\\/person\\\/6166996933dae4317d985e3ad0208045\",\"name\":\"Stefan Heinrich\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/20242615bd0e4cd743477417d3994501f6c70ea4974c6e115a51c9fdaf64a301?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/20242615bd0e4cd743477417d3994501f6c70ea4974c6e115a51c9fdaf64a301?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/20242615bd0e4cd743477417d3994501f6c70ea4974c6e115a51c9fdaf64a301?s=96&d=mm&r=g\",\"caption\":\"Stefan Heinrich\"},\"description\":\"Seit Oktober 2020 geh\u00f6rt Stefan Heinrich zum MEDtech-Ingenieur Team. Hier ist er vor allem als Hardwareentwickler t\u00e4tig.\",\"url\":\"https:\\\/\\\/medtech-ingenieur.de\\\/en\\\/author\\\/sheinrich\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Testskripte mit Python Qt - MEDtech Ingenieur GmbH","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/medtech-ingenieur.de\/en\/testskripte-mit-python-qt\/","og_locale":"en_US","og_type":"article","og_title":"Testskripte mit Python Qt - MEDtech Ingenieur GmbH","og_description":"Qt (wie &#8222;cute&#8220; im Englischen) ist ein auf C++ basierendes Rahmenwerk an Modulen und Bibliotheken zur plattform\u00fcbergreifenden Software Entwicklung. Um das Qt Framework auch in Python nutzen zu k\u00f6nnen, werden Wrapper-Bibliotheken, sogenannte &#8222;Bindings&#8220;, eingesetzt. Python Qt erm\u00f6glicht das Programmieren von Anwendungen mit intuitiv bedienbaren grafischen User Interfaces unter vergleichsweise geringem Zeitaufwand. Wer nach Python Qt [&hellip;]","og_url":"https:\/\/medtech-ingenieur.de\/en\/testskripte-mit-python-qt\/","og_site_name":"MEDtech Ingenieur GmbH","article_publisher":"https:\/\/www.facebook.com\/medtechIngenieur","article_published_time":"2021-07-26T15:05:45+00:00","article_modified_time":"2021-08-06T13:31:40+00:00","og_image":[{"width":557,"height":408,"url":"https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/BenchQt.png","type":"image\/png"}],"author":"Stefan Heinrich","twitter_card":"summary_large_image","twitter_creator":"@MedtechIng","twitter_site":"@MedtechIng","twitter_misc":{"Written by":"Stefan Heinrich","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/medtech-ingenieur.de\/testskripte-mit-python-qt\/#article","isPartOf":{"@id":"https:\/\/medtech-ingenieur.de\/testskripte-mit-python-qt\/"},"author":{"name":"Stefan Heinrich","@id":"https:\/\/medtech-ingenieur.de\/#\/schema\/person\/6166996933dae4317d985e3ad0208045"},"headline":"Testskripte mit Python Qt","datePublished":"2021-07-26T15:05:45+00:00","dateModified":"2021-08-06T13:31:40+00:00","mainEntityOfPage":{"@id":"https:\/\/medtech-ingenieur.de\/testskripte-mit-python-qt\/"},"wordCount":955,"commentCount":0,"publisher":{"@id":"https:\/\/medtech-ingenieur.de\/#organization"},"image":{"@id":"https:\/\/medtech-ingenieur.de\/testskripte-mit-python-qt\/#primaryimage"},"thumbnailUrl":"https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/BenchQt.png","keywords":["PyQt","PySide","Python","Testskripte"],"articleSection":["Software","Testen","Tools"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/medtech-ingenieur.de\/testskripte-mit-python-qt\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/medtech-ingenieur.de\/testskripte-mit-python-qt\/","url":"https:\/\/medtech-ingenieur.de\/testskripte-mit-python-qt\/","name":"Testskripte mit Python Qt - MEDtech Ingenieur GmbH","isPartOf":{"@id":"https:\/\/medtech-ingenieur.de\/#website"},"primaryImageOfPage":{"@id":"https:\/\/medtech-ingenieur.de\/testskripte-mit-python-qt\/#primaryimage"},"image":{"@id":"https:\/\/medtech-ingenieur.de\/testskripte-mit-python-qt\/#primaryimage"},"thumbnailUrl":"https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/BenchQt.png","datePublished":"2021-07-26T15:05:45+00:00","dateModified":"2021-08-06T13:31:40+00:00","breadcrumb":{"@id":"https:\/\/medtech-ingenieur.de\/testskripte-mit-python-qt\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/medtech-ingenieur.de\/testskripte-mit-python-qt\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/medtech-ingenieur.de\/testskripte-mit-python-qt\/#primaryimage","url":"https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/BenchQt.png","contentUrl":"https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2021\/12\/BenchQt.png","width":557,"height":408},{"@type":"BreadcrumbList","@id":"https:\/\/medtech-ingenieur.de\/testskripte-mit-python-qt\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"https:\/\/medtech-ingenieur.de\/"},{"@type":"ListItem","position":2,"name":"Testskripte mit Python Qt"}]},{"@type":"WebSite","@id":"https:\/\/medtech-ingenieur.de\/#website","url":"https:\/\/medtech-ingenieur.de\/","name":"MEDtech Ingenieur GmbH","description":"Engineering service provider for medical technology","publisher":{"@id":"https:\/\/medtech-ingenieur.de\/#organization"},"alternateName":"MEDtech","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/medtech-ingenieur.de\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/medtech-ingenieur.de\/#organization","name":"MEDtech Engineer","alternateName":"MEDtech","url":"https:\/\/medtech-ingenieur.de\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/medtech-ingenieur.de\/#\/schema\/logo\/image\/","url":"https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2024\/01\/logo-700x700-1.png","contentUrl":"https:\/\/medtech-ingenieur.de\/wp-content\/uploads\/2024\/01\/logo-700x700-1.png","width":700,"height":700,"caption":"MEDtech Ingenieur"},"image":{"@id":"https:\/\/medtech-ingenieur.de\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/medtechIngenieur","https:\/\/x.com\/MedtechIng","https:\/\/www.instagram.com\/medtech.ingenieure\/","https:\/\/www.linkedin.com\/company\/37871229\/"]},{"@type":"Person","@id":"https:\/\/medtech-ingenieur.de\/#\/schema\/person\/6166996933dae4317d985e3ad0208045","name":"Stefan Heinrich","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/20242615bd0e4cd743477417d3994501f6c70ea4974c6e115a51c9fdaf64a301?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/20242615bd0e4cd743477417d3994501f6c70ea4974c6e115a51c9fdaf64a301?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/20242615bd0e4cd743477417d3994501f6c70ea4974c6e115a51c9fdaf64a301?s=96&d=mm&r=g","caption":"Stefan Heinrich"},"description":"Stefan Heinrich has been part of the MEDtech engineering team since October 2020. He primarily works as a hardware developer.","url":"https:\/\/medtech-ingenieur.de\/en\/author\/sheinrich\/"}]}},"_links":{"self":[{"href":"https:\/\/medtech-ingenieur.de\/en\/wp-json\/wp\/v2\/posts\/5584","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/medtech-ingenieur.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/medtech-ingenieur.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/medtech-ingenieur.de\/en\/wp-json\/wp\/v2\/users\/26"}],"replies":[{"embeddable":true,"href":"https:\/\/medtech-ingenieur.de\/en\/wp-json\/wp\/v2\/comments?post=5584"}],"version-history":[{"count":95,"href":"https:\/\/medtech-ingenieur.de\/en\/wp-json\/wp\/v2\/posts\/5584\/revisions"}],"predecessor-version":[{"id":5775,"href":"https:\/\/medtech-ingenieur.de\/en\/wp-json\/wp\/v2\/posts\/5584\/revisions\/5775"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/medtech-ingenieur.de\/en\/wp-json\/wp\/v2\/media\/5593"}],"wp:attachment":[{"href":"https:\/\/medtech-ingenieur.de\/en\/wp-json\/wp\/v2\/media?parent=5584"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/medtech-ingenieur.de\/en\/wp-json\/wp\/v2\/categories?post=5584"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/medtech-ingenieur.de\/en\/wp-json\/wp\/v2\/tags?post=5584"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}