qt/bitcoingui.cpp:563:9: note: suggested alternative: ‘toolbar’ toolBar->setIconSize(QSize(128, 128)); ^~~~~~~ toolbar
As the compiler suggestion suggests, names are case sensitive. Yeah, I also tried doing that, then it gives the following: qt/bitcoingui.cpp: In member function ‘void BitcoinGUI::createToolBars()’: qt/bitcoingui.cpp:563:37: error: no matching function for call to ‘QToolBar::setIconSize(int, int)’ toolbar->setIconSize(100,100); ^ In file included from /root/source_code/depends/i686-w64-mingw32/share/../include/QtWidgets/QToolBar:1:0, from qt/bitcoingui.cpp:61: /root/source_code/depends/i686-w64-mingw32/share/../include/QtWidgets/qtoolbar.h:170:10: note: candidate: void QToolBar::setIconSize(const QSize&) void setIconSize(const QSize &iconSize); ^~~~~~~~~~~ /root/source_code/depends/i686-w64-mingw32/share/../include/QtWidgets/qtoolbar.h:170:10: note: candidate expects 1 argument, 2 provided Makefile:7546: recipe for target 'qt/qt_libprontoqt_a-bitcoingui.o' failed make[2]: *** [qt/qt_libprontoqt_a-bitcoingui.o] Error 1 make[2]: Leaving directory '/root/source_code/src' Makefile:10568: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/root/source_code/src' Makefile:688: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1
Tried doing "setIconSize(100);" instead of "setIconSize(100,100);" and it gives the same result.
|
|
|
This should be set in somewhere here, right?
Yes. Do it right after the toolbar is created. Hmm, tried couple ways, but then it fails to compile when compiling bitcoingui.o Running autogen.sh now, but not sure if that could fix the problem. --- Nope, running autogen.sh did not fix that, still get the following: qt/bitcoingui.cpp: In member function ‘void BitcoinGUI::createToolBars()’: qt/bitcoingui.cpp:563:9: error: ‘toolBar’ was not declared in this scope toolBar->setIconSize(QSize(128, 128)); ^~~~~~~ qt/bitcoingui.cpp:563:9: note: suggested alternative: ‘toolbar’ toolBar->setIconSize(QSize(128, 128)); ^~~~~~~ toolbar Makefile:7546: recipe for target 'qt/qt_libprontoqt_a-bitcoingui.o' failed make[2]: *** [qt/qt_libprontoqt_a-bitcoingui.o] Error 1 make[2]: Leaving directory '/root/source_code/src' Makefile:10568: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/root/source_code/src' Makefile:688: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Tried some other ways: qt/bitcoingui.cpp: In member function ‘void BitcoinGUI::createToolBars()’: qt/bitcoingui.cpp:563:17: error: expected unqualified-id before ‘->’ token QToolBar->setIconSize(100,100); ^~ Makefile:7546: recipe for target 'qt/qt_libprontoqt_a-bitcoingui.o' failed make[2]: *** [qt/qt_libprontoqt_a-bitcoingui.o] Error 1 make[2]: Leaving directory '/root/source_code/src' Makefile:10568: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/root/source_code/src' Makefile:688: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1
|
|
|
Ah, I was mistaken. You are using the QIcon class for your icons. The size of the displayed icon is determined by the current active style. For a QToolbar, the size of an icon is default to 24x24. You can change this by using QToolBar::setIconSize(). I think that should work.
Thank you! This should be set in somewhere here, right?
|
|
|
Hi. Thanks for the answer. Yes, I'm using 128x128 PNG actually. Also, I've noticed that even the standard PNG's are 32x32, while when the wallet is opened, it's 24x24, no matter what size PNG you have in the folder.
|
|
|
Maybe anyone will know, how do I increase the icon size on QToolbar? I've found how to remove the text and I want to see a bit bigger icons. I've done some changes, but only the toolbar itself has grown in size. Icons of QToolbar stay at 24x24 px. I tried searching the code, but I just couldn't find it... Maybe anyone knows?
|
|
|
Hi. I was wondering if there's any faster way to see how the wallet is looking like / functioning, than compiling it each time after changes?
Hi, after changes to what ? If you make some changes to the code then you need to recompile in order to apply them to the binary you execute (the software). I'm talking more of a graphical changes, such as changed icons, font change, icon placements and etc. As I understand that should be possible to do with QT Creator, but I'm unable to load the project somewhy.
|
|
|
Hi. I was wondering if there's any faster way to see how the wallet is looking like / functioning, than compiling it each time after changes?
|
|
|
Got an answer from Graviex that they would list us for 0.4 BTC or 4M GIO. If there's anyone who would like to purchase masternodes or to give a donation, please let me know!
|
|
|
OFFICIAL WEBSITE DEVELOPMENT IN PROGRESS! SELLING MASTERNODES! PRICE: 1000 PRONTO (0.025 BTC). CONTACT VIA PM, DISCORD (SBDomains#7921) OR TELEGRAM (SBDomains)!
|
|
|
Sneak peek at the upcoming website!
|
|
|
Thanks. How many coins do we need to run masternode?
Thanks for the question. Price of 1 masternode is only 1000 PRONTO ( BTC0.025).
|
|
|
Bounties have been sent out!
|
|
|
Can you post a list of nodes?
Sure thing, here's a list of currently active masternodes! 173.212.195.20:5238 35.195.228.33:5238 81.4.102.177:5238 178.238.230.21:5238 23.94.145.123:5238 167.160.189.148:5238 192.227.185.200:5238 23.94.145.115:5238 172.245.133.235:5238 178.134.36.66:5238 35.241.167.179:5238 185.246.155.85:5238 104.223.96.133:5238 198.50.205.246:5238 92.241.82.10:5238 31.146.158.2:5238 64.52.163.118:5238 185.222.58.77:5238 212.186.240.54:5238 5.189.179.97:5238
|
|
|
STARTED THE DEVELOPMENT OF OFFICIAL WEBSITE TODAY. SHOULD BE COMPLETE IN ABOUT A WEEK.
|
|
|
SORRY, ACCIDENTAL POST, YOU CAN REMOVE THIS ONE *
|
|
|
BLOCK EXPLORER ADDED!
|
|
|
GPUHASH.ORG ADDED TO THE MAIN ANN POST MINING POOLS LIST!
|
|
|
|