moli
Well-known member
What do you mean?Does the Qt part have anything to get masternode info yet?
What do you mean?Does the Qt part have anything to get masternode info yet?
Oh.... This thread is all about the wallet qt GUI.... I guess you haven't seen how the qt interface has changed from when we had two versions, 9 (with no DS) and 10 (with DS), which was a fork from Litecoin. Then we moved on to v11 which was the first version forked from Bitcoin... Then crowning added a bunch of features to the wallet... So many things have happened. You have to look up the test threads to read, sorry. And yes the qt can give you info about masternode. Go to the debug screen and type in "masternode help", you'll see.No idea The Qt interface is a separate part and interacts through clientmodel, walletmodel, etc., right? I'd need those to return the data given by the client, mnbudget, mnfinalbudget, etc? Playing around making a popup window for MN data and maybe voting if I can get that far and had an error with signals, looking around at how that part works now and I've not come across anything so far. Didn't look around long though, thought I'd ask in case its already been done elsewhere. Think I'm on 12.1 but moo helped me out with git, its working and I don't want to bugger it up, will have a look for the version now.
Does the Qt part have anything to get masternode info yet?
I guess I didn't understand his question... Are you planning to make the wallet qt to pop out a screen with MN and Budget info like DashNinja?Not yet. It's on my ToDo list, but right now I'm swamped with work in my 'other' life, so the implementation has to wait a bit.
But it's not forgotten :smile:
I guess I didn't understand his question... Are you planning to make the wallet qt to pop out a screen with MN and Budget info like DashNinja?
Ah... very cool, crowning! Can't wait to see that!
I've been playing around with this again today and getting on ok with clientmodel and rpcconsole, any thoughts on what info to show in there? This was just a few routines to get comfortable with it and I'll get things more detailed like the "Number of Masternodes" string in the information tab but I'd likely add too much information so could do with knowing what's actually wanted in there.
Most people would like to see the budget stuff like displayed here: http://178.254.18.153/~pub/Dash/masternode_payments_stats.html
Since the number of budget-proposals isn't fix a table is needed for all that information. Have a look at transactiontablemodel.cpp, transactionrecord.cpp, transactionview.cpp and transactionfilterproxy.cpp to get an idea how it's done.
That's quite some work for your first feature implementation. But you'll learn a lot along that way
Any thoughts on what to do with the budget hashes? I'd imagine they should be the primary reference but they're a bit awkward to display.
Put the basic info in this table and either add a column with a "Details" button, or state somewhere "Click on entry for details" and make the lines clickable.
When clicked just open a standard popup with budget hash, or like I did with the complete voting command, and whatever else the end-user might be interested in.
EDIT: Complete voting command?
Awesome progress!Still a fair bit to do but usable, values need going over again and stylesheets mainly :/