setup electron app with boilerplate

This commit is contained in:
talksik
2026-02-19 19:41:26 -08:00
parent fc6a5e43db
commit 1f249c47a6
5174 changed files with 8743 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
#ifndef MEMBERPICKERDIALOG_H
#define MEMBERPICKERDIALOG_H
#include "../models.h"
#include <QDialog>
QT_BEGIN_NAMESPACE
class QListWidget;
QT_END_NAMESPACE
/// A simple dialog that shows a checklist of humans and returns the selected emails.
class MemberPickerDialog : public QDialog
{
Q_OBJECT
public:
explicit MemberPickerDialog(const QString &title, QWidget *parent = nullptr);
/// Populate the checklist. Members whose emails appear in `exclude` are hidden.
void setMembers(const std::vector<Human> &members, const std::vector<QString> &exclude = {});
/// Returns the emails of all checked items.
QStringList selectedEmails() const;
private:
QListWidget *m_list;
};
#endif // MEMBERPICKERDIALOG_H