Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
f16e8b0
qt: Replaced QAction with QToolButton for BitcoinGUI toolbar buttons.
xdustinface May 26, 2020
7224de8
qt: Give the BitcoinGUI's toolbar more style
xdustinface May 26, 2020
7dee671
qt: Give the toolbar logo a higher resolution
xdustinface May 26, 2020
9235332
qt: Restore the traditional themes toolbar previous styles and logo
xdustinface Jun 27, 2020
daf60f2
qt: Add Montserrat (picked in Dash Style Guide) as application font
xdustinface May 29, 2020
46506d0
qt: Use default montserrat instead of fixed pitch font in dash themes
xdustinface Jun 6, 2020
cc461b9
qt: Removed all font related changes from .ui files
xdustinface Jun 4, 2020
7a7b9d5
qt: Removed all font-weight changes from general.css
xdustinface Jun 4, 2020
2caafe1
qt: Use default font in receive requests and transaction description
xdustinface Jun 11, 2020
fcec57b
qt: Set a proper font weight with GUIUtil::setFont where requried
xdustinface Jun 4, 2020
618f300
qt: Use correct default font for size calculations
xdustinface Jun 12, 2020
d6db73a
qt: Load custom font in splashscreen
xdustinface Jun 4, 2020
b2eccfe
qt: Add -font-weight-normal, -font-weight-bold and -font-scale arguments
xdustinface Jun 15, 2020
3d2fed7
qt: Disable macOS system focus rectangles for dash themes
xdustinface Jun 4, 2020
2c348a2
qt: Change themes path from ":themes" to ":css" in qrc file
xdustinface Jun 8, 2020
0bce680
qt: Renamed trad.css to traditional.css
xdustinface Jun 8, 2020
28ae550
qt: Add -custom-css-dir startup parameter
xdustinface Jun 8, 2020
e6e3290
qt: Keep track of disabled rects for macOS
xdustinface Jun 8, 2020
f882929
qt: Keep track of font updates
xdustinface Jun 8, 2020
c7accf6
qt: Add UI debug mode (-debug-ui)
xdustinface Jun 8, 2020
cc06200
qt: Set parents properly to inherit css and remove redundant loading
xdustinface Jun 8, 2020
022910c
qt: Add stylesheets to Intro (first run dialog)
xdustinface Jun 23, 2020
cec544a
qt: Adding Qt::Window flag to the constructor of RPCConsole
xdustinface Jun 8, 2020
31594dd
qt: Set the default theme properly
xdustinface Jun 8, 2020
5eaf6a3
qt: Runtime theme changes and improved debug-ui
xdustinface Jun 8, 2020
e9d63f0
qt: Fix some issues with runtime theme changes
xdustinface Jun 10, 2020
c7994b7
qt: OptionsDialog - Replaced QTabBar with QStackedWidget
xdustinface Jun 10, 2020
1125d7b
qt: RPCConsole - Replaced QTabBar with QStackedWidget
xdustinface Jun 10, 2020
f05be46
qt: SignVerifyMessageDialog - Replaced QTabBar with QStackedWidget
xdustinface Jun 10, 2020
fba4e68
qt: Add styles for tabbar replacement buttons
xdustinface Jun 10, 2020
d8df33b
qt: Update theme colors in GUIUtil
xdustinface Jun 10, 2020
ca9bcbd
qt: Give links a more eye friendly blue
xdustinface Jun 10, 2020
76e4a81
qt: Use themed colors in net traffic graph
xdustinface Jun 10, 2020
57079e2
qt: Use themed styles/color in overview page
xdustinface Jun 10, 2020
1766353
qt: Use themed stylesheets in Intro
xdustinface Jun 23, 2020
e38b797
qt: Modified QR code image painting to match the theme colors
xdustinface Jun 11, 2020
67c0275
qt: Draw a border around net traffic graph
xdustinface Jun 10, 2020
ff28f98
qt: Give the TransactionView's instantsendWidget a name
xdustinface Jun 5, 2020
fceec29
qt: Rename conflicting label in SendCoinsDialog
xdustinface Jun 9, 2020
6ec3de5
qt: Give the TransactionView's search field the first focus on startup
xdustinface Jun 9, 2020
8e1287c
qt: Some updates to the PrivateSend widget on the OverviewPage
xdustinface Jun 9, 2020
be08f50
qt: Fix some layout issues in SendCoinsDialog's UI file.
xdustinface Jun 16, 2020
bbbc12e
qt: Fix vertical alignment of the two balance labels in SendCoinsDialog
xdustinface Jun 22, 2020
cec706d
qt: Add newline in textedit of receiverequest
xdustinface Jun 11, 2020
e2be853
qt: OptionsDialog - Hide override hint if there is nothing overridden
xdustinface Jun 23, 2020
d03a1ad
qt: User border-image in place of image
xdustinface Jun 8, 2020
e0e7ce3
qt: Fix layout issues in TransactionView
xdustinface Jun 8, 2020
04c69c2
qt: Fix layout issues in OverviewPage
xdustinface Jun 8, 2020
0804f0b
qt: Replace transparent with #00000000 in stylesheets
xdustinface Jun 9, 2020
568d1b9
qt: Use #a84832 as red where possible.
xdustinface Jun 9, 2020
8854bcd
qt: Finetune QPushButton style
xdustinface Jun 9, 2020
8cf080e
qt: Customized QSlider (used in the Debug window -> NetworkTraffic)
xdustinface Jun 9, 2020
6cbc74f
qt: Finetune QToolbar style
xdustinface Jun 9, 2020
17376e9
qt: Customized QProgressBar
xdustinface Jun 9, 2020
575e4fa
qt: Customized QCalendarWidget
xdustinface Jun 23, 2020
20e047b
qt: Update weekend colors of QCalendarWidget on style changes
xdustinface Jun 23, 2020
4a80c75
qt: Finetune QStatusBar style
xdustinface Jun 9, 2020
77cb530
qt: Finetune QMenu style
xdustinface Jun 12, 2020
471a589
qt: Customized QGroupBox
xdustinface Jun 10, 2020
431b074
qt: Customized QToolTip
xdustinface Jun 17, 2020
15b66e5
qt: Give inputs widgets a proper hover/focus/selected/disabled style
xdustinface Jun 4, 2020
8d424c2
qt: Finetune SendCoinsDialog
xdustinface Jun 9, 2020
caf3c90
qt: Allow stylesheet modifications for auto completition popup
xdustinface Jun 14, 2020
40d71c5
qt: Customized RPC console's autocompletition popup
xdustinface Jun 14, 2020
9934fb5
qt: OptionsDialog - Give the reset button the "light button" style
xdustinface Jun 23, 2020
02087f9
qt: Finetune shared styles in general.css
xdustinface Jun 10, 2020
f3f589e
qt: Finetune coloring in dark.css
xdustinface Jun 10, 2020
477790f
qt: Finetune coloring in light.css
xdustinface Jun 10, 2020
bb54e85
qt: Run update-css-files.py
xdustinface Jun 26, 2020
0292370
qt: Move font-size settings from css to c++.
xdustinface Jun 15, 2020
007fae8
qt: Add "Appearance Tab" to OptionsDialog and move "Theme" into it
xdustinface Jun 15, 2020
6b133b2
qt: Add "Font scale" settings to Appearance Tab of OptionsDialog
xdustinface Jun 15, 2020
18ec266
qt: Introduce GUIUtil::Weight as mapper for QFont::Weight
xdustinface Jun 16, 2020
468eae7
qt: Add font weight settings to Appearance tab of OptionsDialog
xdustinface Jun 16, 2020
b5f0d61
qt: Introduce GUIUtil::FontFamily and make font family adjustable
xdustinface Jun 16, 2020
940c838
qt: Add font family setting to Appearance tab of OptionsDialog
xdustinface Jun 16, 2020
eaf2227
qt: Load font related settings in GUIUtil::loadFonts
xdustinface Jun 16, 2020
975ad53
qt: Remove min-width of BitcoinAmountField in ReceiveCoinsDialog
xdustinface Jun 16, 2020
2d79f69
qt: Add BitcoinUnits::data(const int &row, int role)
xdustinface Jun 16, 2020
71634ca
qt: Adjust BitcoinAmountField
xdustinface Jun 15, 2020
9a673f9
qt: Removed leftover from legacy BitcoinAmountField
xdustinface Jun 16, 2020
b65bcb0
qt: Move amount field into a Hlayout with a spacer (ReveiveCoinsDialog)
xdustinface Jun 16, 2020
7f18421
qt: Removed obsolete workaround related to BitcoinAmountField
xdustinface Jun 17, 2020
936d38d
qt: Add platform specific css loading to GUIUtil::loadStyleSheet
xdustinface Jun 18, 2020
c39051f
qt: Add platform specific css style for scrollbars
xdustinface Jun 18, 2020
df2b987
qt: Remove scrollbar.css and all its remaining mentions
xdustinface Jun 18, 2020
a79939d
qt: Improved GUIUtil::loadStyleSheet modification checks for -debug-ui
xdustinface Jun 20, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 23 additions & 4 deletions src/Makefile.qt.include
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,27 @@ RES_CSS = \
qt/res/css/dark.css \
qt/res/css/general.css \
qt/res/css/light.css \
qt/res/css/scrollbars.css \
qt/res/css/trad.css
qt/res/css/traditional.css

RES_FONTS = \
qt/res/fonts/Montserrat/Montserrat-Black.otf \
qt/res/fonts/Montserrat/Montserrat-BlackItalic.otf \
qt/res/fonts/Montserrat/Montserrat-Bold.otf \
qt/res/fonts/Montserrat/Montserrat-BoldItalic.otf \
qt/res/fonts/Montserrat/Montserrat-ExtraBold.otf \
qt/res/fonts/Montserrat/Montserrat-ExtraBoldItalic.otf \
qt/res/fonts/Montserrat/Montserrat-ExtraLight.otf \
qt/res/fonts/Montserrat/Montserrat-ExtraLightItalic.otf \
qt/res/fonts/Montserrat/Montserrat-Italic.otf \
qt/res/fonts/Montserrat/Montserrat-Light.otf \
qt/res/fonts/Montserrat/Montserrat-LightItalic.otf \
qt/res/fonts/Montserrat/Montserrat-Medium.otf \
qt/res/fonts/Montserrat/Montserrat-MediumItalic.otf \
qt/res/fonts/Montserrat/Montserrat-Regular.otf \
qt/res/fonts/Montserrat/Montserrat-SemiBold.otf \
qt/res/fonts/Montserrat/Montserrat-SemiBoldItalic.otf \
qt/res/fonts/Montserrat/Montserrat-Thin.otf \
qt/res/fonts/Montserrat/Montserrat-ThinItalic.otf

RES_MOVIES = $(wildcard $(srcdir)/qt/res/movies/spinner-*.png)

Expand All @@ -367,7 +386,7 @@ qt_libdashqt_a_CXXFLAGS = $(AM_CXXFLAGS) $(QT_PIE_FLAGS)
qt_libdashqt_a_OBJCXXFLAGS = $(AM_OBJCXXFLAGS) $(QT_PIE_FLAGS)

qt_libdashqt_a_SOURCES = $(BITCOIN_QT_CPP) $(BITCOIN_QT_H) $(QT_FORMS_UI) \
$(QT_QRC) $(QT_QRC_LOCALE) $(QT_TS) $(PROTOBUF_PROTO) $(RES_ICONS) $(RES_IMAGES) $(RES_CSS) $(RES_MOVIES)
$(QT_QRC) $(QT_QRC_LOCALE) $(QT_TS) $(PROTOBUF_PROTO) $(RES_ICONS) $(RES_IMAGES) $(RES_CSS) $(RES_FONTS) $(RES_MOVIES)

nodist_qt_libdashqt_a_SOURCES = $(QT_MOC_CPP) $(QT_MOC) $(PROTOBUF_CC) \
$(PROTOBUF_H) $(QT_QRC_CPP) $(QT_QRC_LOCALE_CPP)
Expand Down Expand Up @@ -430,7 +449,7 @@ $(QT_QRC_LOCALE_CPP): $(QT_QRC_LOCALE) $(QT_QM)
$(SED) -e '/^\*\*.*Created:/d' -e '/^\*\*.*by:/d' > $@
@rm $(@D)/temp_$(<F)

$(QT_QRC_CPP): $(QT_QRC) $(QT_FORMS_H) $(RES_ICONS) $(RES_IMAGES) $(RES_CSS) $(RES_MOVIES) $(PROTOBUF_H)
$(QT_QRC_CPP): $(QT_QRC) $(QT_FORMS_H) $(RES_ICONS) $(RES_IMAGES) $(RES_CSS) $(RES_FONTS) $(RES_MOVIES) $(PROTOBUF_H)
@test -f $(RCC)
$(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(RCC) $(RCCFLAGS) -name dash $< | \
$(SED) -e '/^\*\*.*Created:/d' -e '/^\*\*.*by:/d' > $@
Expand Down
2 changes: 2 additions & 0 deletions src/qt/addressbookpage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ AddressBookPage::AddressBookPage(const PlatformStyle *platformStyle, Mode _mode,
connect(ui->tableView, SIGNAL(customContextMenuRequested(QPoint)), this, SLOT(contextualMenu(QPoint)));

connect(ui->closeButton, SIGNAL(clicked()), this, SLOT(accept()));

GUIUtil::updateFonts();
}

AddressBookPage::~AddressBookPage()
Expand Down
7 changes: 7 additions & 0 deletions src/qt/askpassphrasedialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <qt/forms/ui_askpassphrasedialog.h>

#include <qt/guiconstants.h>
#include <qt/guiutil.h>
#include <qt/walletmodel.h>

#include <support/allocators/secure.h>
Expand All @@ -28,6 +29,12 @@ AskPassphraseDialog::AskPassphraseDialog(Mode _mode, QWidget *parent) :
{
ui->setupUi(this);

GUIUtil::setFont({ui->capsLabel}, GUIUtil::Weight::Bold);

GUIUtil::updateFonts();

GUIUtil::disableMacFocusRect(this);

ui->passEdit1->setMinimumSize(ui->passEdit1->sizeHint());
ui->passEdit2->setMinimumSize(ui->passEdit2->sizeHint());
ui->passEdit3->setMinimumSize(ui->passEdit3->sizeHint());
Expand Down
Loading