pyqtx.xico.*¶
-
class
pyqtx.xico.
Ico
[source]¶ Bases:
object
Icons Helper
All icons used are listed as class constants.
This is a base set using QtAwesome.
Its recommended to override this class as a base set and add custom and overrides etc
from pyqtx.xico import Ico as XIco class Ico(Xico): # Custom attrib my_custom = "fa5s.car-crash" # Override cancel = "fa5s.caret-down" # Override main logo @staticmethod def logo(): Ico.icon("fa5s.circle-notch") widget.setIcon(Ico.icon(Ico.cancel))
-
add
= 'fa5s.plus'¶
-
cancel
= 'ei.remove'¶
-
caret_down
= 'fa5s.angle-down'¶
-
clear
= 'ei.remove-circle'¶
-
commander
= 'fa5s.solar-panel'¶
-
connect
= 'fa5s.sign-in-alt'¶
-
db
= 'fa5s.database'¶
-
db_table
= 'fa5s.table'¶
-
db_tables
= 'ei.th-list'¶
-
delete
= 'fa5.trash-alt'¶
-
down
= 'ei.arrow-down'¶
-
edit
= 'fa5.edit'¶
-
favicon
= 'fa5s.cat'¶
-
filter_off
= 'fa5s.server'¶
-
filter_on
= 'fa5s.server'¶
-
help
= 'fa5s.question-circle'¶
-
static
i
(name)[source]¶ Shortcut to
Ico.icon()
-
static
icon
(name)[source]¶ Creates a QIcon
- Parameters
name (str) – font icon to load
- Returns
QIcon
- Return type
QIcon
-
login
= 'ei.lock'¶
-
node
= 'fa5s.angle-right'¶
-
quit
= 'ei.eject'¶
-
refresh
= 'ei.refresh'¶
-
return_key
= 'ei.return-key'¶
-
save
= 'ei.ok-circle'¶
-
server
= 'fa5s.server'¶
-
servers
= 'ei.th-list'¶
-
settings
= 'fa5s.cog'¶
-
start
= 'fa5s.play'¶
-
stop
= 'fa5s.stop'¶
-
terminal
= 'fa5s.desktop'¶
-
up
= 'ei.arrow-up'¶