Never worry about the ugly PyQt5 interface ----- QcureUi beautification package

Quickly beautify PyQt--QcureUi


QcureUi

Instructions

  • pip install QcureUi

  • Call QcureUi.cure.Windows ()

  • There are five parameters to fill in:

    1. The first parameter is the QWidget panel class (required)

    2. The second parameter is the tray name (required)

    3. The third parameter is to choose to beautify the color panel (optional, default is default)

    There are now parameters: blue, blueDeep, blueGreen, pink four

    When this parameter is True, it will randomly return one from the existing color library

    4. The fourth parameter is the window name (optional, default is QCureWindow)

    5. The fifth parameter is the window icon (optional, default is empty)

Precautions

  • Note: The default name of the tray icon is icon.jpg, change the icon to place the picture in the running directory
  • 使用示例:
    from cureUi import cure
    app = QApplication(sys.argv)
    win = cure.Windows(Examples(), ‘tray name’, True, ‘program name’, ‘myicon.ico’)
    sys.exit(app.exec_())
Published 15 original articles · Liked 175 · Visits 9429

Guess you like

Origin blog.csdn.net/qq_45414559/article/details/105560090