53 const std::vector<PartyInfo>& parties,
56 QWidget* parent =
nullptr);
58 boost::uuids::uuid selectedPartyId()
const;
59 QString selectedPartyName()
const;
66 BusinessCentreRole = Qt::UserRole,
73 void populateCentreCombo();
75 void selectSystemParty();
76 void selectOperationalItem(QTreeWidgetItem* item);
77 QTreeWidgetItem* firstVisibleItem()
const;
78 void refreshFlagIcons();
83 std::vector<PartyInfo> parties_;
86 QRadioButton* systemRadio_;
89 QRadioButton* operationalRadio_;
90 QWidget* operationalContent_;
91 QLineEdit* filterEdit_;
92 QComboBox* centreCombo_;
93 QTreeWidget* listWidget_;
95 QPushButton* okButton_;
96 QPushButton* cancelButton_;
97 QTimer* flagRefreshTimer_;
100 boost::uuids::uuid selectedId_;
101 QString selectedName_;