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

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

#include <AccountMdiWindow.hpp>

Inherits QWidget.

Collaboration diagram for AccountMdiWindow:
Collaboration graph

Public Slots

void reload ()
 
void addNew ()
 
void editSelected ()
 
void deleteSelected ()
 
void lockSelected ()
 
void unlockSelected ()
 
void resetPasswordSelected ()
 
void viewHistorySelected ()
 
void markAsStale ()
 Mark the data as stale (changed on server).
 
void clearStaleIndicator ()
 Clear the stale indicator.
 

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 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
 

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

◆ markAsStale

void markAsStale ( )
slot

Mark the data as stale (changed on server).

Shows a visual indicator that data may be out of date and should be refreshed. Called when an account change notification is received from the server.

◆ clearStaleIndicator

void clearStaleIndicator ( )
slot

Clear the stale indicator.

Called after data is reloaded to indicate data is fresh.