Bitcoin Forum
March 28, 2024, 11:13:03 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Electrum custom GUI ?  (Read 177 times)
dkbit98 (OP)
Legendary
*
Offline Offline

Activity: 2184
Merit: 7020


SATOCHIP.io


View Profile WWW
November 07, 2020, 11:39:29 AM
Merited by OmegaStarScream (1)
 #1

I like using Electrum wallet but I think that GUI interface could be a bit better.

Is there some custom made GUI for Electrum and how hard is to make one from scratch?

I could not find any information on their website, or on reddit and doing internet search.

..JAMBLER.io..Create Your Bitcoin Mixing
Business Now for   F R E E 
▄█████████████████████████████
█████████████████████████
████▀████████████████████
███▀█████▄█▀███▀▀▀██████
██▀█████▄█▄██████████████
██▄▄████▀▄▄▄▀▀▀▀▀▄▄██████
█████▄▄▄██████████▀▄████
█████▀▄█▄██████▀█▄█████
███████▀▄█▀█▄██▀█▄███████
█████████▄█▀▄█▀▄█████████
█████████████████████████
█████████████████████████
▀█████████████████████████████
█████████████████████████████████████████████████
.
      OUR      
PARTNERS

.
█████████████████████████████████████████████████
████▄
██
██
██
██
██
██
██
██
██
██
██
████▀
▄█████████████████████████████
████████▀▀█████▀▀████████
█████▀█████████████▀█████
████████████████████████
███████████████▄█████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████▀█████████
████████████████████████
█████▄█████████████▄█████
████████▄▄█████▄▄████████
▀█████████████████████████████
█████████████████████████████████████████████████
.
   INVEST   
BITCOIN

.
█████████████████████████████████████████████████
████▄
██
██
██
██
██
██
██
██
██
██
██
████▀
1711667583
Hero Member
*
Offline Offline

Posts: 1711667583

View Profile Personal Message (Offline)

Ignore
1711667583
Reply with quote  #2

1711667583
Report to moderator
"Bitcoin: mining our own business since 2009" -- Pieter Wuille
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1711667583
Hero Member
*
Offline Offline

Posts: 1711667583

View Profile Personal Message (Offline)

Ignore
1711667583
Reply with quote  #2

1711667583
Report to moderator
1711667583
Hero Member
*
Offline Offline

Posts: 1711667583

View Profile Personal Message (Offline)

Ignore
1711667583
Reply with quote  #2

1711667583
Report to moderator
ABCbits
Legendary
*
Offline Offline

Activity: 2828
Merit: 7327



View Profile
November 07, 2020, 11:58:03 AM
Merited by OmegaStarScream (1)
 #2

Is there some custom made GUI for Electrum

No idea

how hard is to make one from scratch?

Depending on how familiar you are with Python and Qt (which used to create GUI for Electrum) or other GUI library you use.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
November 07, 2020, 12:04:15 PM
 #3

Yeah it looks like they're using another library to do the graphics: https://github.com/spesmilo/electrum/tree/master/electrum/gui/qt

That being said it realistically wouldn't be too hard just to make a custom module and call stuff from thst but you'd also need a nice looking gui style available (and I'm not sure python has one)...
OmegaStarScream
Staff
Legendary
*
Offline Offline

Activity: 3430
Merit: 6083



View Profile
November 07, 2020, 12:15:37 PM
 #4

Depending on how familiar you are with Python and Qt (which used to create GUI for Electrum) or other GUI library you use.

Don't they use Kivy as well? Or is that just for the phone app? Maybe @dkbit98 could look into the following material design libraries (if seeking for a complete remake):

PyQt: https://pypi.org/project/pyqt5-material/
Kivy: https://github.com/kivymd/KivyMD

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
dkbit98 (OP)
Legendary
*
Offline Offline

Activity: 2184
Merit: 7020


SATOCHIP.io


View Profile WWW
November 07, 2020, 12:42:16 PM
 #5

Thank you for quick replies guys.

At the moment I don't have the right skills to make my own GUI, and I was more hoping to find alternative skins that other people made.

..JAMBLER.io..Create Your Bitcoin Mixing
Business Now for   F R E E 
▄█████████████████████████████
█████████████████████████
████▀████████████████████
███▀█████▄█▀███▀▀▀██████
██▀█████▄█▄██████████████
██▄▄████▀▄▄▄▀▀▀▀▀▄▄██████
█████▄▄▄██████████▀▄████
█████▀▄█▄██████▀█▄█████
███████▀▄█▀█▄██▀█▄███████
█████████▄█▀▄█▀▄█████████
█████████████████████████
█████████████████████████
▀█████████████████████████████
█████████████████████████████████████████████████
.
      OUR      
PARTNERS

.
█████████████████████████████████████████████████
████▄
██
██
██
██
██
██
██
██
██
██
██
████▀
▄█████████████████████████████
████████▀▀█████▀▀████████
█████▀█████████████▀█████
████████████████████████
███████████████▄█████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████▀█████████
████████████████████████
█████▄█████████████▄█████
████████▄▄█████▄▄████████
▀█████████████████████████████
█████████████████████████████████████████████████
.
   INVEST   
BITCOIN

.
█████████████████████████████████████████████████
████▄
██
██
██
██
██
██
██
██
██
██
██
████▀
NotATether
Legendary
*
Offline Offline

Activity: 1554
Merit: 6533


bitcoincleanup.com / bitmixlist.org


View Profile WWW
November 07, 2020, 03:35:31 PM
Merited by ABCbits (1), Husna QA (1), dkbit98 (1)
 #6

There's no third-party Electrum theme (at least for desktop) because Qt is responsible for creating the window, changing the colors of the widgets, placing the widgets around, changing the icons, and so forth. Qt doesn't have built-in theming support because the end-user creates the layout of the window, so there's no way for Qt to know the layout so the colors and icons in it can be changed (I have made a few apps in Qt5).

Electrum could implement theming support itself but it doesn't expose an API for you to make a plugin that represents a theme. All of the colors and icons are hardcoded so short of Electrum developers themselves making a bunch of Qt variables that can be rendered together to make a new theme, there's no way to make a custom theme.

..JAMBLER.io..Create Your Bitcoin Mixing
Business Now for   F R E E 
▄█████████████████████████████
█████████████████████████
████▀████████████████████
███▀█████▄█▀███▀▀▀██████
██▀█████▄█▄██████████████
██▄▄████▀▄▄▄▀▀▀▀▀▄▄██████
█████▄▄▄██████████▀▄████
█████▀▄█▄██████▀█▄█████
███████▀▄█▀█▄██▀█▄███████
█████████▄█▀▄█▀▄█████████
█████████████████████████
█████████████████████████
▀█████████████████████████████
█████████████████████████████████████████████████
.
      OUR      
PARTNERS

.
█████████████████████████████████████████████████
████▄
██
██
██
██
██
██
██
██
██
██
██
████▀
▄█████████████████████████████
████████▀▀█████▀▀████████
█████▀█████████████▀█████
████████████████████████
███████████████▄█████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████▀█████████
████████████████████████
█████▄█████████████▄█████
████████▄▄█████▄▄████████
▀█████████████████████████████
█████████████████████████████████████████████████
.
   INVEST   
BITCOIN

.
█████████████████████████████████████████████████
████▄
██
██
██
██
██
██
██
██
██
██
██
████▀
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4315

<insert witty quote here>


View Profile
November 08, 2020, 12:10:17 AM
Merited by pooya87 (1)
 #7

I doubt that "reskinning" Electrum is feasible given that all the GUI objects are pretty much embedded in the source code... it's not like a simple .xml layout/config file or something that you can modify to rearrange things...

A while back I was experimenting with adding a custom menu option for a "privacy" option in Electrum (stop your balance leaking into the Windows control panel/system tray etc)... anyway, adding in that menu option involved creating a whole bunch of code to add and deal with the checkbox and menu option.

..JAMBLER.io..Create Your Bitcoin Mixing
Business Now for   F R E E 
▄█████████████████████████████
█████████████████████████
████▀████████████████████
███▀█████▄█▀███▀▀▀██████
██▀█████▄█▄██████████████
██▄▄████▀▄▄▄▀▀▀▀▀▄▄██████
█████▄▄▄██████████▀▄████
█████▀▄█▄██████▀█▄█████
███████▀▄█▀█▄██▀█▄███████
█████████▄█▀▄█▀▄█████████
█████████████████████████
█████████████████████████
▀█████████████████████████████
█████████████████████████████████████████████████
.
      OUR      
PARTNERS

.
█████████████████████████████████████████████████
████▄
██
██
██
██
██
██
██
██
██
██
██
████▀
▄█████████████████████████████
████████▀▀█████▀▀████████
█████▀█████████████▀█████
████████████████████████
███████████████▄█████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████▀█████████
████████████████████████
█████▄█████████████▄█████
████████▄▄█████▄▄████████
▀█████████████████████████████
█████████████████████████████████████████████████
.
   INVEST   
BITCOIN

.
█████████████████████████████████████████████████
████▄
██
██
██
██
██
██
██
██
██
██
██
████▀
pooya87
Legendary
*
Offline Offline

Activity: 3402
Merit: 10434



View Profile
November 09, 2020, 07:28:21 AM
 #8

i don't have that much python knowledge but i have always seen the UI part being tightly coupled with the business logic which makes "decoupling" them extremely hard. if new UIs whether in form of extensions or skins were to be added, the code has to be first refactored which takes a lot of time so i don't think it would happen ever.
some basic features like changing the color of the UI could be added though.

..JAMBLER.io..Create Your Bitcoin Mixing
Business Now for   F R E E 
▄█████████████████████████████
█████████████████████████
████▀████████████████████
███▀█████▄█▀███▀▀▀██████
██▀█████▄█▄██████████████
██▄▄████▀▄▄▄▀▀▀▀▀▄▄██████
█████▄▄▄██████████▀▄████
█████▀▄█▄██████▀█▄█████
███████▀▄█▀█▄██▀█▄███████
█████████▄█▀▄█▀▄█████████
█████████████████████████
█████████████████████████
▀█████████████████████████████
█████████████████████████████████████████████████
.
      OUR      
PARTNERS

.
█████████████████████████████████████████████████
████▄
██
██
██
██
██
██
██
██
██
██
██
████▀
▄█████████████████████████████
████████▀▀█████▀▀████████
█████▀█████████████▀█████
████████████████████████
███████████████▄█████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████▀█████████
████████████████████████
█████▄█████████████▄█████
████████▄▄█████▄▄████████
▀█████████████████████████████
█████████████████████████████████████████████████
.
   INVEST   
BITCOIN

.
█████████████████████████████████████████████████
████▄
██
██
██
██
██
██
██
██
██
██
██
████▀
nc50lc
Legendary
*
Offline Offline

Activity: 2366
Merit: 5429


Self-proclaimed Genius


View Profile
November 09, 2020, 02:11:58 PM
Merited by ABCbits (1), Husna QA (1)
 #9

If just the icons, then it's doable with no coding knowledge (but minor editing skills and/or tools are required).
All you have to do is to edit/replace some icons here: https://github.com/spesmilo/electrum/tree/master/electrum/gui/icons
Example:


The icons' names should be the same and it should be in "8-bit png" "sRGB web format" in order not to get error messages.
(could be different but it works without errors at my end)
Then run Electrum from source or compile it.

Check-out my (ugly) DarkMode&Red Electrum - running from source (Dark Mode - on):

I want the connection icon red so, I've allocated a small green circle for the actual connection status.

..JAMBLER.io..Create Your Bitcoin Mixing
Business Now for   F R E E 
▄█████████████████████████████
█████████████████████████
████▀████████████████████
███▀█████▄█▀███▀▀▀██████
██▀█████▄█▄██████████████
██▄▄████▀▄▄▄▀▀▀▀▀▄▄██████
█████▄▄▄██████████▀▄████
█████▀▄█▄██████▀█▄█████
███████▀▄█▀█▄██▀█▄███████
█████████▄█▀▄█▀▄█████████
█████████████████████████
█████████████████████████
▀█████████████████████████████
█████████████████████████████████████████████████
.
      OUR      
PARTNERS

.
█████████████████████████████████████████████████
████▄
██
██
██
██
██
██
██
██
██
██
██
████▀
▄█████████████████████████████
████████▀▀█████▀▀████████
█████▀█████████████▀█████
████████████████████████
███████████████▄█████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████▀█████████
████████████████████████
█████▄█████████████▄█████
████████▄▄█████▄▄████████
▀█████████████████████████████
█████████████████████████████████████████████████
.
   INVEST   
BITCOIN

.
█████████████████████████████████████████████████
████▄
██
██
██
██
██
██
██
██
██
██
██
████▀
NotATether
Legendary
*
Offline Offline

Activity: 1554
Merit: 6533


bitcoincleanup.com / bitmixlist.org


View Profile WWW
November 10, 2020, 06:55:38 PM
 #10

If just the icons, then it's doable with no coding knowledge (but minor editing skills and/or tools are required).

For editing the icons it is sufficient to just replace the icon files themselves with the ones you want to use since PyQt5 opens the files at runtime, so you could also simply download the portable python bundle of Electrum and run it normally after replacing the icons, no compilation required.

If it were a C++ Qt5 program the paths to the icons would be in XML files that need to be compiled to binary, and the program itself also needs to be compiled in that case.

..JAMBLER.io..Create Your Bitcoin Mixing
Business Now for   F R E E 
▄█████████████████████████████
█████████████████████████
████▀████████████████████
███▀█████▄█▀███▀▀▀██████
██▀█████▄█▄██████████████
██▄▄████▀▄▄▄▀▀▀▀▀▄▄██████
█████▄▄▄██████████▀▄████
█████▀▄█▄██████▀█▄█████
███████▀▄█▀█▄██▀█▄███████
█████████▄█▀▄█▀▄█████████
█████████████████████████
█████████████████████████
▀█████████████████████████████
█████████████████████████████████████████████████
.
      OUR      
PARTNERS

.
█████████████████████████████████████████████████
████▄
██
██
██
██
██
██
██
██
██
██
██
████▀
▄█████████████████████████████
████████▀▀█████▀▀████████
█████▀█████████████▀█████
████████████████████████
███████████████▄█████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████▀█████████
████████████████████████
█████▄█████████████▄█████
████████▄▄█████▄▄████████
▀█████████████████████████████
█████████████████████████████████████████████████
.
   INVEST   
BITCOIN

.
█████████████████████████████████████████████████
████▄
██
██
██
██
██
██
██
██
██
██
██
████▀
libertariandude
Newbie
*
Offline Offline

Activity: 6
Merit: 1


View Profile
December 23, 2020, 07:20:40 AM
 #11

Electrum Desktop uses Qt and mobile uses Kivy.

I believe importing custom themes on Desktop would require a lot of refactoring of the source code in order to allow that.

I have some coding experience and am interested in learning Kivy to update the UI to KivyMD.
Not sure how hard it will be, but I believe it wont be that hard.

Does anyone know if there's someone already working on it?
NotATether
Legendary
*
Offline Offline

Activity: 1554
Merit: 6533


bitcoincleanup.com / bitmixlist.org


View Profile WWW
December 24, 2020, 08:00:03 AM
 #12

Electrum Desktop uses Qt and mobile uses Kivy.

I believe importing custom themes on Desktop would require a lot of refactoring of the source code in order to allow that.

I have some coding experience and am interested in learning Kivy to update the UI to KivyMD.
Not sure how hard it will be, but I believe it wont be that hard.

Does anyone know if there's someone already working on it?

"Electrum KivyMD" doesn't return any hits on Google Search except for this thread so you can take that as a no.
Fortunately, all of Electrum's Qt and Kivy stuff are self-contained in a single folder, so you only have a few files to change.

..JAMBLER.io..Create Your Bitcoin Mixing
Business Now for   F R E E 
▄█████████████████████████████
█████████████████████████
████▀████████████████████
███▀█████▄█▀███▀▀▀██████
██▀█████▄█▄██████████████
██▄▄████▀▄▄▄▀▀▀▀▀▄▄██████
█████▄▄▄██████████▀▄████
█████▀▄█▄██████▀█▄█████
███████▀▄█▀█▄██▀█▄███████
█████████▄█▀▄█▀▄█████████
█████████████████████████
█████████████████████████
▀█████████████████████████████
█████████████████████████████████████████████████
.
      OUR      
PARTNERS

.
█████████████████████████████████████████████████
████▄
██
██
██
██
██
██
██
██
██
██
██
████▀
▄█████████████████████████████
████████▀▀█████▀▀████████
█████▀█████████████▀█████
████████████████████████
███████████████▄█████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████▀█████████
████████████████████████
█████▄█████████████▄█████
████████▄▄█████▄▄████████
▀█████████████████████████████
█████████████████████████████████████████████████
.
   INVEST   
BITCOIN

.
█████████████████████████████████████████████████
████▄
██
██
██
██
██
██
██
██
██
██
██
████▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!