About 194,000 results
Open links in new tab
  1. Using Qt's built-in icons in PyQt & PySide - Python GUIs

    May 11, 2020 · Qt ships with a small set of standard icons you can use in any of your applications for common actions. The icons are all accessible through the current active application style -- available as a series of flags, which can be passed to .standardIcon to get the icon.

  2. python - How to set a window icon with PyQt5? - Stack Overflow

    I am trying to set a window icon (top left of the window) but the normal icon disappeared instead. I tried with many icon resolutions (8x8, 16x16, 32x32, 64x64) and extensions (.png and .ico). What am I doing wrong?

  3. QIcon — Qt for Python

    Such pixmaps are used by Qt widgets to show an icon representing a particular action. The simplest use of QIcon is to create one from a QPixmap file or resource, and then use it, allowing Qt to work out all the required icon styles and sizes.

  4. Icons Example - Qt for Python

    Icons Example# The Icons example shows how QIcon can generate pixmaps reflecting an icon’s state, mode and size. These pixmaps are generated from the set of pixmaps made available to the icon, and are used by Qt widgets to show an icon representing a particular action.

  5. How to Create Icons for Windows in PyQt6? - Python Guides

    Mar 28, 2025 · Learn how to create and set icons for windows in PyQt6 using QIcon. Customize your application’s appearance with icons for main windows, dialogs, and toolbars.

  6. python+pyqt5设置窗体图标和任务栏图标及窗体标题的方法_pyqt…

    Dec 18, 2022 · 本文详细介绍了如何在Python中使用QPixmap、 QIcon、 base64编码和PyQt Designer来设置窗体图标,并探讨了不同方法在转换为exe时的优缺点。 特别关注了如何将图片打包到exe或.py文件中,以及如何通过PyRCC处理.qrc文件来简化过程。 摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 > 本次设置窗体标题只用了一种方法,在进行窗体实例化后window = Window (),使用setWindowTitle (str)命令,在主程序中的设置命令如下所示: …

  7. Python QPushButton setIcon: put icon on button - Stack Overflow

    Dec 15, 2009 · I want to put an in ICON into a push button.. the code should work like that: self.printButton = QtGui.QPushButton (self.tab_name) self.printButton.setIcon (QtGui.QPixmap ('printer.tif')) ...

  8. spyder-ide/qtawesome: Iconic fonts in PyQt and PySide applications - GitHub

    QtAwesome enables iconic fonts such as Font Awesome and Elusive Icons in PyQt and PySide applications. It started as a Python port of the QtAwesome C++ library by Rick Blommers. Using conda: or using pip (only if you don't have conda installed): QtAwesome identifies icons by their prefix and their icon name, separated by a period (.) character.

  9. QtAwesome - PyPI

    Feb 27, 2025 · QtAwesome enables iconic fonts such as Font Awesome and Elusive Icons in PyQt and PySide applications. It started as a Python port of the QtAwesome C++ library by Rick Blommers. Using conda: or using pip (only if you don't have conda installed): QtAwesome identifies icons by their prefix and their icon name, separated by a period (.) character.

  10. Spice Up Your Qt for Python With Font Awesome Icons

    Jun 16, 2020 · Elevate your UI design by adding Font Awesome icons to your PyQt5 or PySide2 project. QtAwesome makes it really easy. With the QtAwesome package, you can be up and running with thousands of icons at your disposal in a matter of minutes.

  11. Some results have been removed
Refresh