[Python-modules-commits] [python-qtawesome] 01/04: Imported Upstream version 0.2.0

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sun Feb 28 18:56:46 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository python-qtawesome.

commit fd3e3be7b66fbf8eb27c018aa61e437242e8aec8
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Sat Feb 27 17:25:46 2016 +0000

    Imported Upstream version 0.2.0
---
 .gitignore                                        |  13 +
 .travis.yml                                       |  70 +++
 LICENSE                                           |  21 +
 MANIFEST.in                                       |   1 +
 README.md                                         |  81 +++
 RELEASE.md                                        |  11 +
 UPDATE.md                                         |  22 +
 conda.recipe/build.sh                             |   2 +
 conda.recipe/meta.yaml                            |  31 +
 example.py                                        |  88 +++
 qtawesome-screenshot.png                          | Bin 0 -> 26394 bytes
 qtawesome/.project                                |  17 +
 qtawesome/.pydevproject                           |   8 +
 qtawesome/__init__.py                             |  39 ++
 qtawesome/_version.py                             |   2 +
 qtawesome/animation.py                            |  41 ++
 qtawesome/fonts/elusiveicons-webfont-charmap.json | 306 ++++++++++
 qtawesome/fonts/elusiveicons-webfont.ttf          | Bin 0 -> 79556 bytes
 qtawesome/fonts/fontawesome-webfont-charmap.json  | 696 ++++++++++++++++++++++
 qtawesome/fonts/fontawesome-webfont.ttf           | Bin 0 -> 142072 bytes
 qtawesome/iconic_font.py                          | 277 +++++++++
 setup.cfg                                         |   2 +
 setup.py                                          |  77 +++
 23 files changed, 1805 insertions(+)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..fae64de
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,13 @@
+# Python compiled files
+*.py[ocd]
+
+# Packages
+*.egg
+*.egg-info
+dist
+build
+
+# Gedit files
+*~
+
+
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..8edfa05
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,70 @@
+language: python
+sudo: false
+
+env:
+  global:
+    - MINCONDA_VERSION="latest"
+    - MINCONDA_LINUX="Linux-x86_64"
+    - MINCONDA_OSX="MacOSX-x86_64"
+matrix:
+  include:
+     # Linux
+    - python: "2.7"
+      env: USE_QT_API=PyQt5
+      os: linux
+    - python: "2.7"
+      env: USE_QT_API=PyQt4
+      os: linux
+    #- python: "2.7"
+    #  env: USE_QT_API=PySide
+    #  os: linux
+    - python: "3.4"
+      env: USE_QT_API=PyQt4
+      os: linux
+    - python: "3.5"
+      env: USE_QT_API=PyQt5
+      os: linux
+    - python: "3.5"
+      env: USE_QT_API=PyQt4
+      os: linux
+before_install:
+  - "export DISPLAY=:99.0"
+  - "sh -e /etc/init.d/xvfb start"
+install:
+  # Define the value to download
+  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
+      MINCONDA_OS=$MINCONDA_LINUX;
+    elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
+      MINCONDA_OS=$MINCONDA_OSX;
+    fi
+  # You may want to periodically update this, although the conda update
+  # conda line below will keep everything up-to-date.  We do this
+  # conditionally because it saves us some downloading if the version is
+  # the same.
+  - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
+      wget "http://repo.continuum.io/miniconda/Miniconda-$MINCONDA_VERSION-$MINCONDA_OS.sh" -O miniconda.sh;
+    else
+      wget "http://repo.continuum.io/miniconda/Miniconda3-$MINCONDA_VERSION-$MINCONDA_OS.sh" -O miniconda.sh;
+    fi
+  - bash miniconda.sh -b -p $HOME/miniconda
+  - export PATH="$HOME/miniconda/bin:$PATH"
+  - hash -r
+  - conda config --set always_yes yes --set changeps1 no
+  - conda update -q conda
+  # Useful for debugging any issues with conda
+  - conda info -a
+
+  # Test environments for different Qt bindings
+  - if [[ "$USE_QT_API" == "PyQt5" ]]; then
+      conda config --add channels spyder-ide;
+      conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION qt5 pyqt5;
+    elif [[ "$USE_QT_API" == "PyQt4" ]]; then
+      conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION qt pyqt;
+    elif [[ "$USE_QT_API" == "PySide" ]]; then
+      conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION qt pyside;
+    fi
+  - source activate test-environment
+  - python setup.py install
+script:  
+  - python example.py
+
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..265b989
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+The MIT License
+
+Copyright (c) 2015 The Spyder development team 
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/MANIFEST.in b/MANIFEST.in
new file mode 100644
index 0000000..3cbb96c
--- /dev/null
+++ b/MANIFEST.in
@@ -0,0 +1 @@
+include qtawesome/fonts/*
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..1dd49eb
--- /dev/null
+++ b/README.md
@@ -0,0 +1,81 @@
+QtAwesome - Iconic Fonts in PyQt and PySide applications
+========================================================
+
+## Description
+
+QtAwesome enables iconic fonts such as Font Awesome and Elusive Icons in PyQt and PySide applications.
+
+It started as a port to Python of the QtAwesome C++ library by Rick Blommers.
+
+## Installation
+
+```python
+pip install qtawesome
+```
+
+## Examples
+
+```python
+import qtawesome as qta
+```
+
+- Use Font Awesome and Elusive Icons.
+
+```python
+# Get icons by name.
+fa_icon = qta.icon('fa.flag')
+fa_button = QtGui.QPushButton(fa_icon, 'Font Awesome!')
+
+asl_icon = qta.icon('ei.asl')
+elusive_button = QtGui.QPushButton(asl_icon, 'Elusive Icons!')
+```
+
+- Apply some styling
+
+```python
+# Styling icons
+styling_icon = qta.icon('fa.music',
+                        active='fa.legal',
+                        color='blue',
+                        color_active='orange')
+music_button = QtGui.QPushButton(styling_icon, 'Styling')
+```
+
+- Stack multiple icons
+
+```python
+# Stacking icons
+camera_ban = qta.icon('fa.camera', 'fa.ban',
+                      options=[{'scale_factor': 0.5,
+                                'active': 'fa.legal'},
+                               {'color': 'red'}])
+stack_button = QtGui.QPushButton(camera_ban, 'Stack')
+stack_button.setIconSize(QtCore.QSize(32, 32))
+```
+
+- Animations
+
+```python
+# Spining icons
+spin_button = QtGui.QPushButton(' Spinning icon')
+spin_icon = qta.icon('fa.spinner', color='red',
+                     animation=qta.Spin(spin_button))
+spin_button.setIcon(spin_icon)
+```
+
+- Screenshot
+
+![QtAwesome screenshot](qtawesome-screenshot.png)
+
+## Other features
+
+- QtAwesome comes bundled with Font Awesome and Elusive Icons, but it can also be used with other iconic fonts. The `load_font` function allows to load other fonts dynamically.
+- QtAwesome relies on the [QtPy](https://github.com/spyder-ide/qtpy.git) project as a compatibility layer on the top ot PyQt or PySide.
+
+## License
+
+MIT License. Copyright 2015 - The Spyder development team.
+See the [LICENSE](LICENSE) file for details.
+
+The Font Awesome and Elusive Icons fonts are licensed under the SIL Open Font License.
+
diff --git a/RELEASE.md b/RELEASE.md
new file mode 100644
index 0000000..fa749fa
--- /dev/null
+++ b/RELEASE.md
@@ -0,0 +1,11 @@
+To release a new version of qtawesome on PyPI:
+
+Update _version.py (set release version, remove 'dev')
+git add and git commit
+python setup.py sdist upload
+python setup.py bdist_wheel upload
+git tag -a vX.X.X -m 'comment'
+Update _version.py (add 'dev' and increment minor)
+git add and git commit
+git push
+git push --tags
diff --git a/UPDATE.md b/UPDATE.md
new file mode 100644
index 0000000..977d21d
--- /dev/null
+++ b/UPDATE.md
@@ -0,0 +1,22 @@
+To update font-awesome or elusive icons, one must
+
+- replace the ttf font file with the new version
+- regenerate the json charmap with the `icons.yml` file from the upstream
+  repository:
+
+````Python
+import yaml, json
+
+with open('icons.yml', 'r') as file:
+    icons = yaml.load(file)['icons']
+
+charmap = {icon['id']: icon['unicode'] for icon in icons}
+
+for icon in icons:
+    if 'aliases' in icon:
+        for name in icon['aliases']:
+            charmap[name] = icon['unicode']
+
+with open('charmap.json', 'w') as file:
+    json.dump(charmap, file, indent=4, sort_keys=True)
+```
diff --git a/conda.recipe/build.sh b/conda.recipe/build.sh
new file mode 100644
index 0000000..f341bce
--- /dev/null
+++ b/conda.recipe/build.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+$PYTHON setup.py install
diff --git a/conda.recipe/meta.yaml b/conda.recipe/meta.yaml
new file mode 100644
index 0000000..7ab8aa4
--- /dev/null
+++ b/conda.recipe/meta.yaml
@@ -0,0 +1,31 @@
+package:
+  name: qtawesome
+  version: 0.1.8.post1
+
+source:
+  git_url: ../
+  git_tag: a9e3d1e
+
+build:
+  noarch_python: True
+
+requirements:
+  build:
+    - python
+    - six
+    - qtpy
+  run:
+    - python
+    - qtpy
+    - six
+
+test:
+  imports:
+    - qtawesome
+  requires:
+    - pyqt
+
+about:
+  home: https://github.com/spyder-ide/qtawesome
+  license: MIT
+  summary: Iconic fonts in PyQt and PySide applications
diff --git a/example.py b/example.py
new file mode 100644
index 0000000..d5bc50b
--- /dev/null
+++ b/example.py
@@ -0,0 +1,88 @@
+import sys
+from qtpy import QtCore, QtWidgets
+import qtawesome as qta
+from six import unichr
+
+
+class AwesomeExample(QtWidgets.QDialog):
+
+    def __init__(self):
+        super(AwesomeExample, self).__init__()
+
+        # Get icons by name.
+        fa_icon = qta.icon('fa.flag')
+        fa_button = QtWidgets.QPushButton(fa_icon, 'Font Awesome!')
+
+        asl_icon = qta.icon('ei.asl')
+        elusive_button = QtWidgets.QPushButton(asl_icon, 'Elusive Icons!')
+
+        # Styling
+        styling_icon = qta.icon('fa.music',
+                                active='fa.legal',
+                                color='blue',
+                                color_active='orange')
+        music_button = QtWidgets.QPushButton(styling_icon, 'Styling')
+
+        # Render a label with this font
+        label = QtWidgets.QLabel(unichr(0xf19c) + ' ' + 'Label')
+        label.setFont(qta.font('fa', 16))
+
+        # Stack icons
+        camera_ban = qta.icon('fa.camera', 'fa.ban',
+                              options=[{'scale_factor': 0.5,
+                                        'active': 'fa.legal'},
+                                       {'color': 'red', 'opacity': 0.7}])
+        stack_button = QtWidgets.QPushButton(camera_ban, 'Stack')
+        stack_button.setIconSize(QtCore.QSize(32, 32))
+
+        # Spin icons
+        spin_button = QtWidgets.QPushButton(' Spinning icon')
+        spin_icon = qta.icon('fa.spinner', color='red',
+                             animation=qta.Spin(spin_button))
+        spin_button.setIcon(spin_icon)
+
+        # Pulse icons
+        pulse_button = QtWidgets.QPushButton(' Pulsing icon')
+        pulse_icon = qta.icon('fa.spinner', color='green',
+                              animation=qta.Pulse(pulse_button))
+        pulse_button.setIcon(pulse_icon)
+
+        # Stacked spin icons
+        stack_spin_button = QtWidgets.QPushButton('Stack spin')
+        options = [{'scale_factor': 0.4,
+                    'animation': qta.Spin(stack_spin_button)},
+                   {'color': 'blue'}]
+        stack_spin_icon = qta.icon('ei.asl', 'fa.square-o',
+                                   options=options)
+        stack_spin_button.setIcon(stack_spin_icon)
+        stack_spin_button.setIconSize(QtCore.QSize(32, 32))
+        # Stack and offset icons
+        saveall = qta.icon('fa.save', 'fa.save',
+                           options=[{'scale_factor': 0.8,
+                                     'offset': (0.2, 0.2),
+                                     'color': 'gray'},
+                                    {'scale_factor': 0.8}])
+        saveall_button = QtWidgets.QPushButton(saveall, 'Stack, offset')
+
+        # Layout
+        vbox = QtWidgets.QVBoxLayout()
+        widgets = [fa_button, elusive_button, music_button, stack_button,
+                   saveall_button, spin_button, pulse_button,
+                   stack_spin_button, label]
+        for w in widgets:
+            vbox.addWidget(w)
+
+        self.setLayout(vbox)
+        self.setWindowTitle('Awesome')
+        self.show()
+
+
+def main():
+    app = QtWidgets.QApplication(sys.argv)
+    QtCore.QTimer.singleShot(5000, app.exit)
+    _ = AwesomeExample()
+    sys.exit(app.exec_())
+
+
+if __name__ == '__main__':
+    main()
diff --git a/qtawesome-screenshot.png b/qtawesome-screenshot.png
new file mode 100644
index 0000000..822d3c8
Binary files /dev/null and b/qtawesome-screenshot.png differ
diff --git a/qtawesome/.project b/qtawesome/.project
new file mode 100644
index 0000000..ebc607d
--- /dev/null
+++ b/qtawesome/.project
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>QtAwesome</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.python.pydev.PyDevBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.python.pydev.pythonNature</nature>
+	</natures>
+</projectDescription>
diff --git a/qtawesome/.pydevproject b/qtawesome/.pydevproject
new file mode 100644
index 0000000..037bd25
--- /dev/null
+++ b/qtawesome/.pydevproject
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<?eclipse-pydev version="1.0"?><pydev_project>
+<pydev_pathproperty name="org.python.pydev.PROJECT_SOURCE_PATH">
+<path>/${PROJECT_DIR_NAME}</path>
+</pydev_pathproperty>
+<pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python 2.7</pydev_property>
+<pydev_property name="org.python.pydev.PYTHON_PROJECT_INTERPRETER">Default</pydev_property>
+</pydev_project>
diff --git a/qtawesome/__init__.py b/qtawesome/__init__.py
new file mode 100644
index 0000000..4a0001e
--- /dev/null
+++ b/qtawesome/__init__.py
@@ -0,0 +1,39 @@
+"""
+qtawesome - use font-awesome in PyQt / PySide applications
+
+This is a port to Python of the C++ QtAwesome library by Rick Blommers
+"""
+from .iconic_font import IconicFont, set_global_defaults
+from .animation import Pulse, Spin
+from ._version import version_info, __version__
+
+_resource = {'iconic': None, }
+
+
+def _instance():
+    if _resource['iconic'] is None:
+        _resource['iconic'] = IconicFont(('fa', 'fontawesome-webfont.ttf', 'fontawesome-webfont-charmap.json'),
+                                         ('ei', 'elusiveicons-webfont.ttf', 'elusiveicons-webfont-charmap.json'))
+    return _resource['iconic']
+
+
+def icon(*args, **kwargs):
+    return _instance().icon(*args, **kwargs)
+
+
+def load_font(*args, **kwargs):
+    return _instance().load_font(*args, **kwargs)
+
+
+def charmap(prefixed_name):
+    prefix, name = prefixed_name.split('.')
+    return _instance().charmap[prefix][name]
+
+
+def font(*args, **kwargs):
+    return _instance().font(*args, **kwargs)
+
+
+def set_defaults(**kwargs):
+    return set_global_defaults(**kwargs)
+
diff --git a/qtawesome/_version.py b/qtawesome/_version.py
new file mode 100644
index 0000000..f660ae1
--- /dev/null
+++ b/qtawesome/_version.py
@@ -0,0 +1,2 @@
+version_info = (0, 2, 0)
+__version__ = '.'.join(map(str, version_info))
diff --git a/qtawesome/animation.py b/qtawesome/animation.py
new file mode 100644
index 0000000..dfc272f
--- /dev/null
+++ b/qtawesome/animation.py
@@ -0,0 +1,41 @@
+from qtpy.QtCore import QTimer
+
+
+class Spin:
+
+    def __init__(self, parent_widget, interval=10, step=1):
+        self.parent_widget = parent_widget
+        self.interval, self.step = interval, step
+        self.info = {}
+
+    def _update(self, parent_widget):
+        if self.parent_widget in self.info:
+            timer, angle, step = self.info[self.parent_widget]
+
+            if angle >= 360:
+                angle = 0
+
+            angle += step
+            self.info[parent_widget] = timer, angle, step
+            parent_widget.update()
+
+    def setup(self, icon_painter, painter, rect):
+
+        if self.parent_widget not in self.info:
+            timer = QTimer()
+            timer.timeout.connect(lambda: self._update(self.parent_widget))
+            self.info[self.parent_widget] = [timer, 0, self.step]
+            timer.start(self.interval)
+        else:
+            timer, angle, self.step = self.info[self.parent_widget]
+            x_center = rect.width() * 0.5
+            y_center = rect.height() * 0.5
+            painter.translate(x_center, y_center)
+            painter.rotate(angle)
+            painter.translate(-x_center, -y_center)
+
+
+class Pulse(Spin):
+
+    def __init__(self, parent_widget):
+        Spin.__init__(self, parent_widget, interval=300, step=45)
diff --git a/qtawesome/fonts/elusiveicons-webfont-charmap.json b/qtawesome/fonts/elusiveicons-webfont-charmap.json
new file mode 100644
index 0000000..099bcb8
--- /dev/null
+++ b/qtawesome/fonts/elusiveicons-webfont-charmap.json
@@ -0,0 +1,306 @@
+{
+    "address-book": "0xf102",
+    "address-book-alt": "0xf101",
+    "adjust": "0xf104",
+    "adjust-alt": "0xf103",
+    "adult": "0xf105",
+    "align-center": "0xf106",
+    "align-justify": "0xf107",
+    "align-left": "0xf108",
+    "align-right": "0xf109",
+    "arrow-down": "0xf10a",
+    "arrow-left": "0xf10b",
+    "arrow-right": "0xf10c",
+    "arrow-up": "0xf10d",
+    "asl": "0xf10e",
+    "asterisk": "0xf10f",
+    "backward": "0xf110",
+    "ban-circle": "0xf111",
+    "barcode": "0xf112",
+    "behance": "0xf113",
+    "bell": "0xf114",
+    "blind": "0xf115",
+    "blogger": "0xf116",
+    "bold": "0xf117",
+    "book": "0xf118",
+    "bookmark": "0xf11a",
+    "bookmark-empty": "0xf119",
+    "braille": "0xf11b",
+    "briefcase": "0xf11c",
+    "broom": "0xf11d",
+    "brush": "0xf11e",
+    "bulb": "0xf11f",
+    "bullhorn": "0xf120",
+    "calendar": "0xf122",
+    "calendar-sign": "0xf121",
+    "camera": "0xf123",
+    "car": "0xf124",
+    "caret-down": "0xf125",
+    "caret-left": "0xf126",
+    "caret-right": "0xf127",
+    "caret-up": "0xf128",
+    "cc": "0xf129",
+    "certificate": "0xf12a",
+    "check": "0xf12c",
+    "check-empty": "0xf12b",
+    "chevron-down": "0xf12d",
+    "chevron-left": "0xf12e",
+    "chevron-right": "0xf12f",
+    "chevron-up": "0xf130",
+    "child": "0xf131",
+    "circle-arrow-down": "0xf132",
+    "circle-arrow-left": "0xf133",
+    "circle-arrow-right": "0xf134",
+    "circle-arrow-up": "0xf135",
+    "cloud": "0xf137",
+    "cloud-alt": "0xf136",
+    "cog": "0xf139",
+    "cog-alt": "0xf138",
+    "cogs": "0xf13a",
+    "comment": "0xf13c",
+    "comment-alt": "0xf13b",
+    "compass": "0xf13e",
+    "compass-alt": "0xf13d",
+    "credit-card": "0xf13f",
+    "css": "0xf140",
+    "dashboard": "0xf141",
+    "delicious": "0xf142",
+    "deviantart": "0xf143",
+    "digg": "0xf144",
+    "download": "0xf146",
+    "download-alt": "0xf145",
+    "dribbble": "0xf147",
+    "edit": "0xf148",
+    "eject": "0xf149",
+    "envelope": "0xf14b",
+    "envelope-alt": "0xf14a",
+    "error": "0xf14d",
+    "error-alt": "0xf14c",
+    "eur": "0xf14e",
+    "exclamation-sign": "0xf14f",
+    "eye-close": "0xf150",
+    "eye-open": "0xf151",
+    "facebook": "0xf152",
+    "facetime-video": "0xf153",
+    "fast-backward": "0xf154",
+    "fast-forward": "0xf155",
+    "female": "0xf156",
+    "file": "0xf15c",
+    "file-alt": "0xf157",
+    "file-edit": "0xf159",
+    "file-edit-alt": "0xf158",
+    "file-new": "0xf15b",
+    "file-new-alt": "0xf15a",
+    "film": "0xf15d",
+    "filter": "0xf15e",
+    "fire": "0xf15f",
+    "flag": "0xf161",
+    "flag-alt": "0xf160",
+    "flickr": "0xf162",
+    "folder": "0xf166",
+    "folder-close": "0xf163",
+    "folder-open": "0xf164",
+    "folder-sign": "0xf165",
+    "font": "0xf167",
+    "fontsize": "0xf168",
+    "fork": "0xf169",
+    "forward": "0xf16b",
+    "forward-alt": "0xf16a",
+    "foursquare": "0xf16c",
+    "friendfeed": "0xf16e",
+    "friendfeed-rect": "0xf16d",
+    "fullscreen": "0xf16f",
+    "gbp": "0xf170",
+    "gift": "0xf171",
+    "github": "0xf173",
+    "github-text": "0xf172",
+    "glass": "0xf174",
+    "glasses": "0xf175",
+    "globe": "0xf177",
+    "globe-alt": "0xf176",
+    "googleplus": "0xf178",
+    "graph": "0xf17a",
+    "graph-alt": "0xf179",
+    "group": "0xf17c",
+    "group-alt": "0xf17b",
+    "guidedog": "0xf17d",
+    "hand-down": "0xf17e",
+    "hand-left": "0xf17f",
+    "hand-right": "0xf180",
+    "hand-up": "0xf181",
+    "hdd": "0xf182",
+    "headphones": "0xf183",
+    "hearing-impaired": "0xf184",
+    "heart": "0xf187",
+    "heart-alt": "0xf185",
+    "heart-empty": "0xf186",
+    "home": "0xf189",
+    "home-alt": "0xf188",
+    "hourglass": "0xf18a",
+    "idea": "0xf18c",
+    "idea-alt": "0xf18b",
+    "inbox": "0xf18f",
+    "inbox-alt": "0xf18d",
+    "inbox-box": "0xf18e",
+    "indent-left": "0xf190",
+    "indent-right": "0xf191",
+    "info-circle": "0xf192",
+    "instagram": "0xf193",
+    "iphone-home": "0xf194",
+    "italic": "0xf195",
+    "key": "0xf196",
+    "laptop": "0xf198",
+    "laptop-alt": "0xf197",
+    "lastfm": "0xf199",
+    "leaf": "0xf19a",
+    "lines": "0xf19b",
+    "link": "0xf19c",
+    "linkedin": "0xf19d",
+    "list": "0xf19f",
+    "list-alt": "0xf19e",
+    "livejournal": "0xf1a0",
+    "lock": "0xf1a2",
+    "lock-alt": "0xf1a1",
+    "magic": "0xf1a3",
+    "magnet": "0xf1a4",
+    "male": "0xf1a5",
+    "map-marker": "0xf1a7",
+    "map-marker-alt": "0xf1a6",
+    "mic": "0xf1a9",
+    "mic-alt": "0xf1a8",
+    "minus": "0xf1ab",
+    "minus-sign": "0xf1aa",
+    "move": "0xf1ac",
+    "music": "0xf1ad",
+    "myspace": "0xf1ae",
+    "network": "0xf1af",
+    "off": "0xf1b0",
+    "ok": "0xf1b3",
+    "ok-circle": "0xf1b1",
+    "ok-sign": "0xf1b2",
+    "opensource": "0xf1b4",
+    "paper-clip": "0xf1b6",
+    "paper-clip-alt": "0xf1b5",
+    "path": "0xf1b7",
+    "pause": "0xf1b9",
+    "pause-alt": "0xf1b8",
+    "pencil": "0xf1bb",
+    "pencil-alt": "0xf1ba",
+    "person": "0xf1bc",
+    "phone": "0xf1be",
+    "phone-alt": "0xf1bd",
+    "photo": "0xf1c0",
+    "photo-alt": "0xf1bf",
+    "picasa": "0xf1c1",
+    "picture": "0xf1c2",
+    "pinterest": "0xf1c3",
+    "plane": "0xf1c4",
+    "play": "0xf1c7",
+    "play-alt": "0xf1c5",
+    "play-circle": "0xf1c6",
+    "plurk": "0xf1c9",
+    "plurk-alt": "0xf1c8",
+    "plus": "0xf1cb",
+    "plus-sign": "0xf1ca",
+    "podcast": "0xf1cc",
+    "print": "0xf1cd",
+    "puzzle": "0xf1ce",
+    "qrcode": "0xf1cf",
+    "question": "0xf1d1",
+    "question-sign": "0xf1d0",
+    "quote-alt": "0xf1d2",
+    "quote-right": "0xf1d4",
+    "quote-right-alt": "0xf1d3",
+    "quotes": "0xf1d5",
+    "random": "0xf1d6",
+    "record": "0xf1d7",
+    "reddit": "0xf1d8",
+    "redux": "0xf1d9",
+    "refresh": "0xf1da",
+    "remove": "0xf1dd",
+    "remove-circle": "0xf1db",
+    "remove-sign": "0xf1dc",
+    "repeat": "0xf1df",
+    "repeat-alt": "0xf1de",
+    "resize-full": "0xf1e0",
+    "resize-horizontal": "0xf1e1",
+    "resize-small": "0xf1e2",
+    "resize-vertical": "0xf1e3",
+    "return-key": "0xf1e4",
+    "retweet": "0xf1e5",
+    "reverse-alt": "0xf1e6",
+    "road": "0xf1e7",
+    "rss": "0xf1e8",
+    "scissors": "0xf1e9",
+    "screen": "0xf1eb",
+    "screen-alt": "0xf1ea",
+    "screenshot": "0xf1ec",
+    "search": "0xf1ee",
+    "search-alt": "0xf1ed",
+    "share": "0xf1f0",
+    "share-alt": "0xf1ef",
+    "shopping-cart": "0xf1f2",
+    "shopping-cart-sign": "0xf1f1",
+    "signal": "0xf1f3",
+    "skype": "0xf1f4",
+    "slideshare": "0xf1f5",
+    "smiley": "0xf1f7",
+    "smiley-alt": "0xf1f6",
+    "soundcloud": "0xf1f8",
+    "speaker": "0xf1f9",
+    "spotify": "0xf1fa",
+    "stackoverflow": "0xf1fb",
+    "star": "0xf1fe",
+    "star-alt": "0xf1fc",
+    "star-empty": "0xf1fd",
+    "step-backward": "0xf1ff",
+    "step-forward": "0xf200",
+    "stop": "0xf202",
+    "stop-alt": "0xf201",
+    "stumbleupon": "0xf203",
+    "tag": "0xf204",
+    "tags": "0xf205",
+    "tasks": "0xf206",
+    "text-height": "0xf207",
+    "text-width": "0xf208",
+    "th": "0xf20b",
+    "th-large": "0xf209",
+    "th-list": "0xf20a",
+    "thumbs-down": "0xf20c",
+    "thumbs-up": "0xf20d",
+    "time": "0xf20f",
+    "time-alt": "0xf20e",
+    "tint": "0xf210",
+    "torso": "0xf211",
+    "trash": "0xf213",
+    "trash-alt": "0xf212",
+    "tumblr": "0xf214",
+    "twitter": "0xf215",
+    "universal-access": "0xf216",
+    "unlock": "0xf218",
+    "unlock-alt": "0xf217",
+    "upload": "0xf219",
+    "usd": "0xf21a",
+    "user": "0xf21b",
+    "viadeo": "0xf21c",
+    "video": "0xf21f",
+    "video-alt": "0xf21d",
+    "video-chat": "0xf21e",
+    "view-mode": "0xf220",
+    "vimeo": "0xf221",
+    "vkontakte": "0xf222",
+    "volume-down": "0xf223",
+    "volume-off": "0xf224",
+    "volume-up": "0xf225",
+    "w3c": "0xf226",
+    "warning-sign": "0xf227",
+    "website": "0xf229",
+    "website-alt": "0xf228",
+    "wheelchair": "0xf22a",
+    "wordpress": "0xf22b",
+    "wrench": "0xf22d",
+    "wrench-alt": "0xf22c",
+    "youtube": "0xf22e",
+    "zoom-in": "0xf22f",
+    "zoom-out": "0xf230"
+}
diff --git a/qtawesome/fonts/elusiveicons-webfont.ttf b/qtawesome/fonts/elusiveicons-webfont.ttf
new file mode 100644
index 0000000..b6fe85d
Binary files /dev/null and b/qtawesome/fonts/elusiveicons-webfont.ttf differ
diff --git a/qtawesome/fonts/fontawesome-webfont-charmap.json b/qtawesome/fonts/fontawesome-webfont-charmap.json
new file mode 100644
index 0000000..0e97d03
--- /dev/null
+++ b/qtawesome/fonts/fontawesome-webfont-charmap.json
@@ -0,0 +1,696 @@
+{
+    "500px": "f26e", 
+    "adjust": "f042", 
+    "adn": "f170", 
+    "align-center": "f037", 
+    "align-justify": "f039", 
+    "align-left": "f036", 
+    "align-right": "f038", 
+    "amazon": "f270", 
+    "ambulance": "f0f9", 
+    "anchor": "f13d", 
+    "android": "f17b", 
+    "angellist": "f209", 
+    "angle-double-down": "f103", 
+    "angle-double-left": "f100", 
+    "angle-double-right": "f101", 
+    "angle-double-up": "f102", 
+    "angle-down": "f107", 
+    "angle-left": "f104", 
+    "angle-right": "f105", 
+    "angle-up": "f106", 
+    "apple": "f179", 
+    "archive": "f187", 
+    "area-chart": "f1fe", 
+    "arrow-circle-down": "f0ab", 
+    "arrow-circle-left": "f0a8", 
+    "arrow-circle-o-down": "f01a", 
+    "arrow-circle-o-left": "f190", 
+    "arrow-circle-o-right": "f18e", 
+    "arrow-circle-o-up": "f01b", 
+    "arrow-circle-right": "f0a9", 
+    "arrow-circle-up": "f0aa", 
+    "arrow-down": "f063", 
+    "arrow-left": "f060", 
+    "arrow-right": "f061", 
+    "arrow-up": "f062", 
+    "arrows": "f047", 
+    "arrows-alt": "f0b2", 
+    "arrows-h": "f07e", 
+    "arrows-v": "f07d", 
+    "asterisk": "f069", 
+    "at": "f1fa", 
+    "automobile": "f1b9", 
+    "backward": "f04a", 
+    "balance-scale": "f24e", 
+    "ban": "f05e", 
+    "bank": "f19c", 
+    "bar-chart": "f080", 
+    "bar-chart-o": "f080", 
+    "barcode": "f02a", 
+    "bars": "f0c9", 
+    "battery-0": "f244", 
+    "battery-1": "f243", 
+    "battery-2": "f242", 
+    "battery-3": "f241", 
+    "battery-4": "f240", 
+    "battery-empty": "f244", 
+    "battery-full": "f240", 
+    "battery-half": "f242", 
+    "battery-quarter": "f243", 
+    "battery-three-quarters": "f241", 
+    "bed": "f236", 
+    "beer": "f0fc", 
+    "behance": "f1b4", 
+    "behance-square": "f1b5", 
+    "bell": "f0f3", 
+    "bell-o": "f0a2", 
+    "bell-slash": "f1f6", 
+    "bell-slash-o": "f1f7", 
+    "bicycle": "f206", 
+    "binoculars": "f1e5", 
+    "birthday-cake": "f1fd", 
+    "bitbucket": "f171", 
+    "bitbucket-square": "f172", 
+    "bitcoin": "f15a", 
+    "black-tie": "f27e", 
+    "bluetooth": "f293", 
+    "bluetooth-b": "f294", 
+    "bold": "f032", 
+    "bolt": "f0e7", 
+    "bomb": "f1e2", 
+    "book": "f02d", 
+    "bookmark": "f02e", 
+    "bookmark-o": "f097", 
+    "briefcase": "f0b1", 
+    "btc": "f15a", 
+    "bug": "f188", 
+    "building": "f1ad", 
+    "building-o": "f0f7", 
+    "bullhorn": "f0a1", 
+    "bullseye": "f140", 
+    "bus": "f207", 
+    "buysellads": "f20d", 
+    "cab": "f1ba", 
+    "calculator": "f1ec", 
+    "calendar": "f073", 
+    "calendar-check-o": "f274", 
+    "calendar-minus-o": "f272", 
+    "calendar-o": "f133", 
+    "calendar-plus-o": "f271", 
+    "calendar-times-o": "f273", 
+    "camera": "f030", 
+    "camera-retro": "f083", 
+    "car": "f1b9", 
+    "caret-down": "f0d7", 
+    "caret-left": "f0d9", 
... 969 lines suppressed ...

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-qtawesome.git



More information about the Python-modules-commits mailing list