ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Slots | Signals | Public Member Functions | Protected Member Functions | List of all members
AccountMdiWindow Class Reference

MDI window for displaying and managing user accounts. More...

#include <AccountMdiWindow.hpp>

Inheritance diagram for AccountMdiWindow:
Inheritance graph
Collaboration diagram for AccountMdiWindow:
Collaboration graph

Public Slots

void reload () override
 
void addNew ()
 
void editSelected ()
 
void deleteSelected ()
 
void lockSelected ()
 
void unlockSelected ()
 
void resetPasswordSelected ()
 
void viewHistorySelected ()
 
void viewSessionsSelected ()
 
- Public Slots inherited from EntityListMdiWindow
void markAsStale ()
 Mark the list as stale (data changed on server).
 
void clearStaleIndicator ()
 Clear the stale indicator.
 
virtual void reload ()=0
 Reload data from the server.
 

Signals

void statusChanged (const QString &message)
 
void errorOccurred (const QString &error_message)
 
void selectionChanged (int selection_count)
 
void addNewRequested ()
 
void showAccountDetails (const AccountWithLoginInfo &accountWithLoginInfo)
 
void showAccountHistory (const QString &username)
 
void showSessionHistory (const boost::uuids::uuid &accountId, const QString &username)
 
void accountDeleted (const boost::uuids::uuid &account_id)
 

Public Member Functions

 AccountMdiWindow (ClientManager *clientManager, const QString &username, QWidget *parent=nullptr)
 
ClientAccountModelaccountModel () const
 
QSize sizeHint () const override
 
- Public Member Functions inherited from EntityListMdiWindow
 EntityListMdiWindow (QWidget *parent=nullptr)
 

Protected Member Functions

QString normalRefreshTooltip () const override
 Get the normal (non-stale) tooltip text for the refresh action.
 
- Protected Member Functions inherited from EntityListMdiWindow
void initializeStaleIndicator (QAction *refreshAction, const QString &iconPath)
 Initialize the stale indicator support.
 
virtual QString staleRefreshTooltip () const
 Get the stale tooltip text for the refresh action.
 

Detailed Description

MDI window for displaying and managing user accounts.

This window is only accessible to admin users and provides functionality for viewing, creating, editing, deleting, and locking/unlocking accounts.

Member Function Documentation

◆ normalRefreshTooltip()

QString normalRefreshTooltip ( ) const
overrideprotectedvirtual

Get the normal (non-stale) tooltip text for the refresh action.

Override this to customize the tooltip text.

Reimplemented from EntityListMdiWindow.