5 #ifndef PIVX_QT_MNSELECTIONDIALOG_H
6 #define PIVX_QT_MNSELECTIONDIALOG_H
16 class QTreeWidgetItem;
31 void setMnVoters(
const std::vector<VoteInfo>& _votes);
40 Ui::MnSelectionDialog *
ui;
49 std::map<std::string, VoteInfo>
votes;
58 void appendItem(QFlags<Qt::ItemFlag> flgCheckbox,
59 QFlags<Qt::ItemFlag> flgTristate,
60 const QString& mnName,
61 const QString& mnStats,
int colCheckBoxWidth_treeMode
int minVoteUpdateTimeInSecs
std::vector< std::string > selectedMnList
void viewItemChanged(QTreeWidgetItem *, int)
std::vector< std::string > getSelectedMnAlias()
MnSelectionDialog(QWidget *parent)
void appendItem(QFlags< Qt::ItemFlag > flgCheckbox, QFlags< Qt::ItemFlag > flgTristate, const QString &mnName, const QString &mnStats, VoteInfo *ptrVoteInfo)
Ui::MnSelectionDialog * ui
std::map< std::string, VoteInfo > votes
void setMnVoters(const std::vector< VoteInfo > &_votes)
void setModel(MNModel *_mnModel, int minVoteUpdateTimeInSecs)