mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
f0d49e4f69
* Qt: Adds settings option to showGovernanceTab * Qt: Adds not-yet-functional Governance tab to UI * library: adds hook into governance rom node interface * Qt: WIP: puts CGovernanceObject hashes on Governance tab WIP: basically ready to be filled out, most of the infra in place now. * Qt: Populates Governance table values Governance table now contains real values for current columns. Display columns may potentially change. - want url in table if right click option opens url? - What set of cols wanted? Show yes/no votes? - Decide refresh functionality. - Do we even want filter func? (checkbox show: proposal, trigger, active coming) * qt: Shows Voting Status on Governance page Towards DMT like Governance page, now shows voting status, but needs to look at super blocks to determine if proposal period has passed and show final funded or unfunded for past proposals. * Qt: refactor governance tab to use Model-View arch Refactors the QT Governance tab to use a Model-View architecture. The list of Proposals is stored in a QAbstractItemModel, and a QTableView is used to display. This makes a much cleaner separation of concerns in the implementation. Also, can now use the QSortFilterProxyModel to get responsive filtering. Less internal state inside the GovernanceList, critical sections removed. - Needs update loop implemented. - Needs Proposal detail widget implemented. * qt: adds periodic update to gov proposal list Periodically update list of governance related proposals. * qt: populates governancelist voting status column * qt: governancelist Porposal shows extra info on doubleClick * qt: governancelist: reorder .cpp impl to match .h * qt: governancelist: fixup based on CI - Adds LOCK(cs_main) for call to pGovObj->IsValidLocally. - retab, removes trailing whitespace in governancelist.{cpp,h} * qt: clang-format for governancelist * Fixes - drop unused include - use proper univalue "get_" functions - shorter/translatable statuses - shorter dates - add missing css styles * qt: addresses governancelist code review items * qt: use enum to name columns of governancelist * fix: clear context menu before adding new items * fix: skip potential nullptr proposals * improve: show proposal url in context menu * refactor: tweak enum name, make sure it's int starting from 0, use full name * fix: column count * improve: make it sortable, sort by start_date by default * qt: use full col name in voting status col change signal emit * better sorting * use mapToSource to fix data fetching Co-authored-by: UdjinM6 <UdjinM6@users.noreply.github.com>
26 lines
907 B
Prolog
26 lines
907 B
Prolog
FORMS += \
|
|
../src/qt/forms/aboutdialog.ui \
|
|
../src/qt/forms/addressbookpage.ui \
|
|
../src/qt/forms/appearancewidget.ui \
|
|
../src/qt/forms/askpassphrasedialog.ui \
|
|
../src/qt/forms/coincontroldialog.ui \
|
|
../src/qt/forms/debugwindow.ui \
|
|
../src/qt/forms/editaddressdialog.ui \
|
|
../src/qt/forms/governancelist.ui \
|
|
../src/qt/forms/helpmessagedialog.ui \
|
|
../src/qt/forms/intro.ui \
|
|
../src/qt/forms/masternodelist.ui \
|
|
../src/qt/forms/qrdialog.ui \
|
|
../src/qt/forms/openuridialog.ui \
|
|
../src/qt/forms/optionsdialog.ui \
|
|
../src/qt/forms/overviewpage.ui \
|
|
../src/qt/forms/receivecoinsdialog.ui \
|
|
../src/qt/forms/receiverequestdialog.ui \
|
|
../src/qt/forms/sendcoinsdialog.ui \
|
|
../src/qt/forms/sendcoinsentry.ui \
|
|
../src/qt/forms/signverifymessagedialog.ui \
|
|
../src/qt/forms/transactiondescdialog.ui
|
|
|
|
RESOURCES += \
|
|
../src/qt/dash.qrc
|