19 void addRow(
const std::array<QTableWidgetItem *, 2> &_columns);
25 virtual void leaveEvent(QEvent * _event)
override;
33 void slotSelectionChanged();
36 std::vector<std::array<QTableWidgetItem *, 2>> my_dataRowItems;
45 ManageOwner(
const std::string &authServerURL,
const std::string &assetType,
const std::string &assetName,
const std::string &ownerName);
56 std::string
tolower(std::string s);
58 bool hasError(
const std::string &response);
81 ManageGroupOwner(
const std::string &authServerURL,
const std::string &assetName,
const std::string &ownerName) :
ManageOwner(authServerURL,
"Group", assetName, ownerName) {};
91 ManageProjectOwner(
const std::string &authServerURL,
const std::string &assetName,
const std::string &ownerName) :
ManageOwner(authServerURL,
"Project", assetName, ownerName) {};
Definition ManageOwner.h:77
virtual void slotGroupCheckBoxChanged(bool state, int row)
Definition ManageOwner.cpp:380
virtual ~ManageGroupOwner()
Definition ManageOwner.h:82
ManageGroupOwner(const std::string &authServerURL, const std::string &assetName, const std::string &ownerName)
Definition ManageOwner.h:81
Definition ManageOwner.h:41
ot::CheckBox * m_ownerCheckBox
Definition ManageOwner.h:68
bool hasSuccessful(const std::string &response)
Definition ManageOwner.cpp:237
void slotShowGroupsWithAccessOnly(void)
Definition ManageOwner.cpp:222
ManageOwnerTable * m_ownersList
Definition ManageOwner.h:62
void fillOwnerList(void)
Definition ManageOwner.cpp:311
ManageOwner & operator=(ManageOwner &)=delete
void slotGroupsSelection(void)
Definition ManageOwner.cpp:232
std::string m_authServerURL
Definition ManageOwner.h:64
std::string m_assetOwner
Definition ManageOwner.h:67
ot::LineEdit * m_filterGroups
Definition ManageOwner.h:61
std::list< std::string > m_userList
Definition ManageOwner.h:70
ManageOwner(ManageOwner &)=delete
std::string m_assetType
Definition ManageOwner.h:65
bool hasError(const std::string &response)
Definition ManageOwner.cpp:253
virtual void slotGroupCheckBoxChanged(bool state, int row)=0
std::string m_assetName
Definition ManageOwner.h:66
void slotGroupsFilter(void)
Definition ManageOwner.cpp:227
virtual ~ManageOwner()
Definition ManageOwner.cpp:214
std::string tolower(std::string s)
Definition ManageOwner.cpp:262
void readUserList(void)
Definition ManageOwner.cpp:268
Definition ManageOwner.h:12
void getSelectedItems(QTableWidgetItem *&first, QTableWidgetItem *&second)
Definition ManageOwner.cpp:130
void addRow(const std::array< QTableWidgetItem *, 2 > &_columns)
Definition ManageOwner.cpp:50
void Clear(void)
Definition ManageOwner.cpp:61
ManageOwnerTable()
Definition ManageOwner.cpp:26
virtual void mouseMoveEvent(QMouseEvent *_event) override
Definition ManageOwner.cpp:73
virtual ~ManageOwnerTable()
Definition ManageOwner.cpp:46
virtual void leaveEvent(QEvent *_event) override
Definition ManageOwner.cpp:99
Definition ManageOwner.h:87
ManageProjectOwner(const std::string &authServerURL, const std::string &assetName, const std::string &ownerName)
Definition ManageOwner.h:91
virtual void slotGroupCheckBoxChanged(bool state, int row)
Definition ManageOwner.cpp:429
virtual ~ManageProjectOwner()
Definition ManageOwner.h:92