Giter Site home page Giter Site logo

muyuuuu / pyqt5-learn Goto Github PK

View Code? Open in Web Editor NEW
14.0 2.0 9.0 45.88 MB

The process and record of learning PyQt5

Home Page: https://muyuuuu.github.io/2019/11/16/A-Beautiful-PyQt5-Interface/

License: Apache License 2.0

Shell 8.59% Python 83.72% Jupyter Notebook 0.65% HTML 7.04%
qss pyqtgraph pyqt5

pyqt5-learn's Introduction

Introduction

  • The Basic-train floder
    • AdvanWin
      • Container: QStackedWidget, QTabWidget, QDockWidget, verticalScrollBar.
      • ViewWidget: tableview, listview, tableWidget, combox, treeWidget.
      • WebPage: webEngineView(It is recommended to call the system browser to open the webpage instead of the software.)
    • BasicWin
    • DataBase
    • MatplotWidget
    • Pyecharts
    • PyQtGraph
    • QSS
    • QtPandas

Basic-train floder

  • QtPandas: Using pyqt5's window to view and edit data with pandas. (Attention: pandas version 0.23 will be needed not the latest version)

  • QSS: Using Qt style sheet to beautify the interface. (Suggestion: Using qss written by others, such as qdarkstyle)
  • PyQtGraph: A simple and fast way to draw in a window.

  • Pyecahrts: Integrating web page drawing in the window.

  • MatplotWidget: Integrating Matplotlib to draw in the window.(more powerful)

  • DataBase: Connecting database by pyqt. (Not recommended, it is recommended to connect to the database directly with python)
  • BasicWin: Contains basic controls such as buttons, calendars, input boxes, comboBox, label, etc.(recommending learn it carefully)

  • AdvanWin:
    • Container: tabwidget, listwidget to hold control
    • ViewWidget: To view and edit table conveniently, also can show result which from query of database.
    • WebPage: To load and show web page in a window.

Attention

Some .py file based on .ui file, the software qtdesigner can open and edit .ui file and generate the same name .py file correspondingly.

So, don't change .ui file unless you know what you are doing.

# More detailed description:

If you know chinese, the following website is a good choice.

About basic and advanced control(tabwidget and button, etc.): https://muyuuuu.github.io/2019/10/06/pyqt5-basic/

Matplotlib, qtpandas, database, etc: https://muyuuuu.github.io/2019/10/11/pyqt-pit/

Layout and beautify window: https://muyuuuu.github.io/2019/10/19/pyqt-layout/

A beautiful and applicable interface: https://github.com/muyuuuu/A-Beautiful-PyQt5-Interface

pyqt5-learn's People

Contributors

muyuuuu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pyqt5-learn's Issues

mvc 问题

在mvc的例子中
在LoginControll中直接通过_view 来调用原本属于view的内容

def verify_user(self):
        id_ = self._view.id_line.text()
        psd_ = self._view.psd_line.text()

我的疑问是: 这种操作方式是不是不算是分层?因为view相对于LoginControll是完全透明的,这里不需要隔离吗?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.