Fixed contributor avatar links (#2126)

* Fixed contributor avatar links

Had to put them in qtresource format so those will actually display in Settings -> About.
Reference: https://doc.qt.io/qt-5/resources.html#compiled-in-resources

* Added my avatar and updated documentation
This commit is contained in:
Paweł 2020-10-26 17:02:52 +01:00 committed by GitHub
parent 17b9cf8798
commit 05469d1bba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 4 deletions

BIN
resources/avatars/zneix.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View file

@ -3,10 +3,14 @@
# TODO: Parse this into a CONTRIBUTORS.md too
# Adding yourself? Copy and paste this template at the bottom of this file and fill in the fields in a PR!
# Name | Link | Avatar (Loaded as a resource) | Title (description of work done). Contributor is what we use for someone who has contributed in general (like sent a programming-related PR)
# Name | Link | Avatar (Loaded as a resource) | Title (description of work done).
fourtf | https://fourtf.com | avatars/fourtf.png | Author, main developer
pajlada | https://pajlada.se | avatars/pajlada.png | Collaborator, co-developer
# Avatar should be located in avatars/ directory. Its size should be 128x128 (get it from https://github.com/username.png?size=128).
# Make sure to reduce avatar's size as much as possible with tool like pngcrush or optipng and run ./generate_resources.py
# Contributor is what we use for someone who has contributed in general (like sent a programming-related PR)
fourtf | https://fourtf.com | :/avatars/fourtf.png | Author, main developer
pajlada | https://pajlada.se | :/avatars/pajlada.png | Collaborator, co-developer
Cranken | https://github.com/Cranken | | Contributor
hemirt | https://github.com/hemirt | | Contributor
@ -32,8 +36,9 @@ Mm2PL | https://github.com/mm2pl | | Contributor
gempir | https://github.com/gempir | | Contributor
mfmarlow | https://github.com/mfmarlow | | Contributor
dnsge | https://github.com/dnsge | | Contributor
zneix | https://github.com/zneix | | Contributor
zneix | https://github.com/zneix | :/avatars/zneix.png | Contributor
y0dax | https://github.com/y0dax | | Contributor
# If you are a contributor add yourself above this line
Defman21 | https://github.com/Defman21 | | Documentation

View file

@ -2,6 +2,7 @@
<qresource prefix="/">
<file>avatars/fourtf.png</file>
<file>avatars/pajlada.png</file>
<file>avatars/zneix.png</file>
<file>buttons/addSplit.png</file>
<file>buttons/addSplitDark.png</file>
<file>buttons/ban.png</file>

View file

@ -6,6 +6,7 @@ Resources2::Resources2()
{
this->avatars.fourtf = QPixmap(":/avatars/fourtf.png");
this->avatars.pajlada = QPixmap(":/avatars/pajlada.png");
this->avatars.zneix = QPixmap(":/avatars/zneix.png");
this->buttons.addSplit = QPixmap(":/buttons/addSplit.png");
this->buttons.addSplitDark = QPixmap(":/buttons/addSplitDark.png");
this->buttons.ban = QPixmap(":/buttons/ban.png");

View file

@ -11,6 +11,7 @@ public:
struct {
QPixmap fourtf;
QPixmap pajlada;
QPixmap zneix;
} avatars;
struct {
QPixmap addSplit;