OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ManageGroupOwner Class Reference

#include "ManageOwner.h"

Inheritance diagram for ManageGroupOwner:
ManageOwner ot::Dialog ot::QWidgetInterface

Public Member Functions

 ManageGroupOwner (const std::string &authServerURL, const std::string &assetName, const std::string &ownerName)
 
virtual ~ManageGroupOwner ()
 
virtual void slotGroupCheckBoxChanged (bool state, int row)
 
- Public Member Functions inherited from ManageOwner
 ManageOwner (const std::string &authServerURL, const std::string &assetType, const std::string &assetName, const std::string &ownerName)
 
virtual ~ManageOwner ()
 
- Public Member Functions inherited from ot::Dialog
 Dialog (QWidget *_parent=(QWidget *) nullptr)
 
 Dialog (const DialogCfg &_config, QWidget *_parent=(QWidget *) nullptr)
 
virtual ~Dialog ()
 
virtual QWidget * getQWidget (void) override
 Returns a pointer to the root widget of this object.
 
virtual const QWidget * getQWidget (void) const override
 
DialogResult showDialog (const ShowFlags &_showFlags=ShowFlags(IdealFit))
 Center the dialog on parent and call exec.
 
void setDialogFlag (DialogCfg::DialogFlag _flag, bool _active=true)
 
void setDialogFlags (DialogCfg::DialogFlags _flags)
 
DialogCfg::DialogFlags dialogFlags (void) const
 
DialogResult dialogResult (void) const
 
void setDialogName (const std::string &_name)
 
const std::string & dialogName (void) const
 
const DialogStateFlagsgetDialogState (void) const
 
- Public Member Functions inherited from ot::QWidgetInterface
 QWidgetInterface ()
 
virtual ~QWidgetInterface ()
 
void setOTWidgetFlags (const WidgetFlags &_flags)
 
const WidgetFlagsotWidgetFlags (void) const
 

Additional Inherited Members

- Public Types inherited from ot::Dialog
enum  DialogResult {
  Ok , Yes , No , Retry ,
  Cancel
}
 
enum  ShowFlag { DefaultShow = 0 << 0 , CenterOnParent = 1 << 0 , FitOnScreen = 1 << 1 , IdealFit = CenterOnParent | FitOnScreen }
 
enum class  DialogState { NoState = 0 << 0 , MousePressed = 1 << 0 , Closing = 1 << 1 }
 
typedef Flags< ShowFlagShowFlags
 
typedef Flags< DialogStateDialogStateFlags
 
- Public Slots inherited from ManageOwner
void slotShowGroupsWithAccessOnly (void)
 
void slotGroupsFilter (void)
 
void slotGroupsSelection (void)
 
- Public Slots inherited from ot::Dialog
void close (DialogResult _result)
 
void closeOk (void)
 
void closeYes (void)
 
void closeNo (void)
 
void closeRetry (void)
 
void closeCancel (void)
 
- Protected Member Functions inherited from ManageOwner
void fillOwnerList (void)
 
std::string tolower (std::string s)
 
bool hasSuccessful (const std::string &response)
 
bool hasError (const std::string &response)
 
void readUserList (void)
 
 ManageOwner ()=delete
 
 ManageOwner (ManageOwner &)=delete
 
ManageOwneroperator= (ManageOwner &)=delete
 
- Protected Member Functions inherited from ot::Dialog
virtual void keyPressEvent (QKeyEvent *_event) override
 
virtual void mousePressEvent (QMouseEvent *_event) override
 
virtual void mouseMoveEvent (QMouseEvent *_event) override
 
virtual void mouseReleaseEvent (QMouseEvent *_event) override
 
virtual void closeEvent (QCloseEvent *_event) override
 
virtual bool mayCloseDialogWindow (void) const
 
- Protected Member Functions inherited from ot::QWidgetInterface
virtual void otWidgetFlagsChanged (const WidgetFlags &_flags)
 
- Protected Attributes inherited from ManageOwner
ot::LineEditm_filterGroups
 
ManageOwnerTablem_ownersList
 
std::string m_authServerURL
 
std::string m_assetType
 
std::string m_assetName
 
std::string m_assetOwner
 
ot::CheckBoxm_ownerCheckBox
 
std::list< std::string > m_userList
 

Constructor & Destructor Documentation

◆ ManageGroupOwner()

ManageGroupOwner::ManageGroupOwner ( const std::string & authServerURL,
const std::string & assetName,
const std::string & ownerName )
inline

◆ ~ManageGroupOwner()

virtual ManageGroupOwner::~ManageGroupOwner ( )
inlinevirtual

Member Function Documentation

◆ slotGroupCheckBoxChanged()

void ManageGroupOwner::slotGroupCheckBoxChanged ( bool state,
int row )
virtual

Implements ManageOwner.


The documentation for this class was generated from the following files: