File: test_fonticon_fa6.py

package info (click to toggle)
python-fonticon-fontawesome6 6.4.0%2Bds1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 224 kB
  • sloc: python: 2,117; makefile: 9
file content (24 lines) | stat: -rw-r--r-- 493 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
from fonticon_fa6 import FA6B, FA6R, FA6S
from qtpy.QtWidgets import QPushButton
from superqt.fonticon import icon


def test_FA6S(qtbot):
    btn = QPushButton()
    qtbot.addWidget(btn)
    btn.setIcon(icon(FA6S.spinner))
    btn.show()


def test_FA6B(qtbot):
    btn = QPushButton()
    qtbot.addWidget(btn)
    btn.setIcon(icon(FA6B.accusoft))
    btn.show()


def test_FA6R(qtbot):
    btn = QPushButton()
    qtbot.addWidget(btn)
    btn.setIcon(icon(FA6R.address_book))
    btn.show()