2012-11-02 13:26:20 -04:00
|
|
|
#include <QListWidget>
|
2016-07-05 23:49:43 -04:00
|
|
|
#include <retroshare/rsids.h>
|
2012-11-02 13:26:20 -04:00
|
|
|
|
|
|
|
class GroupSelectionBox: public QListWidget
|
|
|
|
{
|
2012-11-08 19:46:41 -05:00
|
|
|
Q_OBJECT
|
2012-11-02 13:26:20 -04:00
|
|
|
|
2012-11-08 19:46:41 -05:00
|
|
|
public:
|
|
|
|
GroupSelectionBox(QWidget *parent);
|
2012-11-02 13:26:20 -04:00
|
|
|
|
2016-07-05 23:49:43 -04:00
|
|
|
void selectedGroupIds(std::list<RsNodeGroupId> &groupIds) const;
|
2012-11-08 19:46:41 -05:00
|
|
|
void selectedGroupNames(QList<QString> &groupNames) const;
|
|
|
|
|
2016-07-05 23:49:43 -04:00
|
|
|
void setSelectedGroupIds(const std::list<RsNodeGroupId> &groupIds);
|
2012-11-08 19:46:41 -05:00
|
|
|
|
|
|
|
private slots:
|
|
|
|
void fillGroups();
|
2012-11-02 13:26:20 -04:00
|
|
|
};
|