PYTHON_UI Design (ii)--------BASIC framework

Source: Internet
Author: User
Tags qt designer

Just now the most basic qtwidgest of the basic framework of the show, simple Python and in Qt Designer implementation is very simple, but want to through the QT designer Graphic design framework, Then through the GUI into the py script by modifying a piece of code to implement the window display by running the py file, if you are still tangled in this, this post would like to help you.

1. My is QT5, on the QT5 I created is the Widgest framework, click creat Create

2. Then through the GUI command conversion, my last Post explains how to set up in Pycharm, here is not cumbersome.

The following commands are converted:

3. I am small white but I know that the class does not invoke definitely can't implement its function, so various degrees Niang find how to convert the UI into a py file into the implementation after the display effect, here thank https://www.zhihu.com/question/51269489, linked to the questioner, Through his questions, he found that he had the features I needed.

4. After my script, add the following code to run directly to implement the function

PYTHON_UI Design (ii)--------BASIC framework

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.