Skip to content

Instantly share code, notes, and snippets.

View ArneGockeln's full-sized avatar
🏠
Working from home

Arne Gockeln ArneGockeln

🏠
Working from home
View GitHub Profile
@ArneGockeln
ArneGockeln / gist:504624275142b78082487867f73d047d
Created January 20, 2022 12:44
add git alias for pretty log printing
# add an alias for the command
$ git config --global alias.logpretty 'log --pretty=format:"%ad %h: %s" --date=short'
# retrieve log history
$ git logpretty
2022-01-20 4d7ce7de: fix: perf bmrk chart dark mode annotation hover color
2022-01-20 15f6b240: fix: fund style name in perf bmrk list+chart
2022-01-20 5643fdf7: fix: change font weight to 300
2022-01-19 12444d96: fix: cleanup debug output
[...]
@QuantumCD
QuantumCD / Qt 5 Dark Fusion Palette
Created August 15, 2013 21:40
This is a complete (I think) dark color palette for the Qt 5 Fusion theme, as well as a nice style sheet for the tool tips that make them blend better with the rest of the theme. To have immediate effect, be sure to put this in your main function before showing the parent window. Child windows should automatically inherit the palette unless you …
qApp->setStyle(QStyleFactory::create("Fusion"));
QPalette darkPalette;
darkPalette.setColor(QPalette::Window, QColor(53,53,53));
darkPalette.setColor(QPalette::WindowText, Qt::white);
darkPalette.setColor(QPalette::Base, QColor(25,25,25));
darkPalette.setColor(QPalette::AlternateBase, QColor(53,53,53));
darkPalette.setColor(QPalette::ToolTipBase, Qt::white);
darkPalette.setColor(QPalette::ToolTipText, Qt::white);
darkPalette.setColor(QPalette::Text, Qt::white);