dragotin / kraft

Kraft helps to handle your daily quotes and invoices in your small business.
http://volle-kraft-voraus.de
GNU General Public License v2.0
56 stars 18 forks source link

Kraft should bring its own Icons #175

Closed dragotin closed 1 year ago

dragotin commented 2 years ago

There are situations where the application can not rely on an icon theme having all the required icons, as mentioned in #11 and #149:

The solution is: Kraft is brings as much icons as possible (all?) with the bundled Qt resources mechanism (compiled in).

Questions:

  1. Where to pick the icons from? Best bet so far: https://github.com/tabler/tabler-icons (big set, MIT License)
  2. Pick from installed theme first and fall back on the own Kraft theme or vice versa, or go with the Kraft-Theme only?

All icons we use should be available in SVG format and under a free license that is compatible with GPL.

@Moini do you want to help?

List of Kraft Icons

First column: The name of the SVG to use - feel free to add ;-) Second column: The name of the icon in the current source Third column: The source files that mention the icon

All icons picked from https://tabler-icons.io/

new Icon Name Icon Name in Kraft source in files used
plus plus Add prefsdialog.cpp, prefsunits.cpp, prefswages.cpp
arrow-down arrow-down Down prefswages.cpp
pencil pencil Edit prefsunits.cpp, prefswages.cpp
X X Remove prefsdialog.cpp, prefsunits.cpp, prefswages.cpp
receipt-tax receipt-tax Taxes prefsdialog.cpp
atom atom Units prefsdialog.cpp
arrow-up arrow-up Up prefswages.cpp
cash-banknote cash-banknote Wages prefsdialog.cpp
calculator calculator accessories-calculator templkataloglistview.cpp
logout logout application-exit portal.cpp
arrow-down arrow-down arrow-down positionviewwidget.cpp
arrow-up arrow-up arrow-up positionviewwidget.cpp
check check checkmark prefsdialog.cpp
arrows-up-down arrows-up-down configure positionviewwidget.cpp
file-x file-x document-delete katalogview.cpp
edit edit document-edit doctypeedit.cpp, flostempldialog.cpp, katalogview.cpp, portal.cpp
file-export file-export document-export portal.cpp
file-plus file-plus document-new docassistant.cpp, katalogview.cpp, portal.cpp
template template document-new-from-template portal.cpp
eye eye document-preview portal.cpp
printer printer document-print portal.cpp
edit edit document-properties docassistant.cpp
copy copy edit-copy portal.cpp, prefsdialog.cpp
cut cut edit-cut portal.cpp
minus edit-delete docassistant.cpp, positionviewwidget.cpp
transfer-intransfer-in edit-paste portal.cpp
use lock encrypted positionviewwidget.cpp
archive archive file-library-symbolic portal.cpp
file-plus file-plus filenew positionviewwidget.cpp
flag flag flag positionviewwidget.cpp
edit edit folder-documents katalogview.cpp, prefsdialog.cpp
arrow-narrow-left arrow-narrow-left go-previous docassistant.cpp, textselection.cpp
help help help-about portal.cpp
arrow-ramp-right arrow-ramp-right kraft_alternative positionviewwidget.cpp
arrow-move-right arrow-move-right kraft_demand positionviewwidget.cpp
coin coin kraft_fulltax kraftview.cpp, positionviewwidget.cpp
circle-0 circle-0 kraft_notax kraftview.cpp, positionviewwidget.cpp
circle-half-2 circle-half-2 kraft_redtax kraftview.cpp, positionviewwidget.cpp
dice dice kraftdice templkataloglistview.cpp
plus (see add) list-add doctypeedit.cpp, flostempldialog.cpp, numbercycledialog.cpp
minus (see remove) list-remove doctypeedit.cpp, flostempldialog.cpp, numbercycledialog.cpp
mail-forward mail-forward mail-forward portal.cpp
lock locked object-locked positionviewwidget.cpp
lock-open lock-open object-unlocked positionviewwidget.cpp
language language preferences-desktop-locale kraftdocheaderedit.cpp
device-floppy device-floppy quickopen-file doctypeedit.cpp, prefsdialog.cpp
minus minus remove positionviewwidget.cpp
settings settings settings-configure portal.cpp
user-identiy id-badge-2 user-identity prefsdialog.cpp
noseshimself commented 1 year ago
Mail Forward image https://tabler-icons.io/i/mail-forward
User-Identity image https://tabler-icons.io/i/id-badge-2
Settings image image https://tabler-icons.io/i/settings https://tabler-icons.io/i/tool
Locked/Unlocked image image https://tabler-icons.io/i/lock-open https://tabler-icons.io/i/lock
Help image https://tabler-icons.io/i/help
Add/Remove image image https://tabler-icons.io/i/plus https://tabler-icons.io/i/minus
Export/Backup Database image https://tabler-icons.io/i/database-export

Similar aesthetics: https://iconarchive.com/show/minimal-outline-icons-by-praveen.html https://iconarchive.com/show/ios7-icons-by-icons8.7.html (things like https://iconarchive.com/show/ios7-icons-by-icons8/Data-Numerical-Sorting-12-icon.html) and there are very small SVGs, too: https://css.gg/app

Lines Awesome are looking even cleaner: https://icons8.com/line-awesome

I'm wondering if using the icons was easier for your UI if you used something to turn icons into fonts like https://fontello.com/. Select your icons, change their names, give them Unicode points in the user range and download a font you can display like any other text.