Loading...
Searching...
No Matches
SyncGroup

Detailed Description

Classes

class  SyncGroup
 
class  SyncGroupWidget
 

Class Documentation

◆ SyncGroup

class SyncGroup

Public Member Functions

 SyncGroup (int id)
 
void addMember (ViewFrame *frame)
 
void removeMember (ViewFrame *frame)
 
void replaceMember (ViewFrame *oldFrame, ViewFrame *newFrame)
 
bool isEmpty () const
 
int identifier () const
 
bool contains (ViewFrame *frame) const
 
const std::set< ViewFrame * > & members () const
 
ViewFramelastSyncFrame () const
 
void syncLocation (ViewFrame *frame, View *view, const ViewLocation &location)
 

Static Public Member Functions

static void syncToTarget (View *srcView, ViewFrame *targetFrame, const ViewLocation &location)
 

Constructor & Destructor Documentation

◆ SyncGroup()

SyncGroup::SyncGroup ( int id)

Member Function Documentation

◆ addMember()

void SyncGroup::addMember ( ViewFrame * frame)

◆ removeMember()

void SyncGroup::removeMember ( ViewFrame * frame)

◆ replaceMember()

void SyncGroup::replaceMember ( ViewFrame * oldFrame,
ViewFrame * newFrame )

◆ isEmpty()

bool SyncGroup::isEmpty ( ) const

◆ identifier()

int SyncGroup::identifier ( ) const
inline

◆ contains()

bool SyncGroup::contains ( ViewFrame * frame) const

◆ members()

const std::set< ViewFrame * > & SyncGroup::members ( ) const
inline

◆ lastSyncFrame()

ViewFrame * SyncGroup::lastSyncFrame ( ) const
inline

◆ syncLocation()

void SyncGroup::syncLocation ( ViewFrame * frame,
View * view,
const ViewLocation & location )

◆ syncToTarget()

static void SyncGroup::syncToTarget ( View * srcView,
ViewFrame * targetFrame,
const ViewLocation & location )
static

◆ SyncGroupWidget

class SyncGroupWidget

Public Member Functions

 SyncGroupWidget (ViewFrame *frame)
 
void updateStatus ()
 
void setViewFrame (ViewFrame *frame)
 
- Public Member Functions inherited from ClickableIcon
 ClickableIcon (const QImage &activeIcon, const QImage &inactiveIcon, const QSize &desiredPointSize)
 
 ClickableIcon (const QImage &icon, const QSize &desiredPointSize)
 
void setAllowToggle (bool canToggle)
 
void setActive (bool state)
 
bool active () const
 
void setImage (const QImage &icon)
 
void setImage (const QImage &activeIcon, const QImage &inactiveIcon)
 
QSize desiredPointSize () const
 
void setDesiredPointSize (const QSize &size)
 
double opacity () const
 
void setOpacity (double opacity)
 

Additional Inherited Members

- Signals inherited from ClickableIcon
void clicked ()
 
void toggle (bool newState)
 
- Protected Member Functions inherited from ClickableIcon
void enterEvent (QEnterEvent *event) override
 
void leaveEvent (QEvent *event) override
 
void paintEvent (QPaintEvent *event) override
 
void mousePressEvent (QMouseEvent *) override
 
void mouseReleaseEvent (QMouseEvent *event) override
 
- Properties inherited from ClickableIcon
QSize desiredPointSize
 
double opacity
 

Constructor & Destructor Documentation

◆ SyncGroupWidget()

SyncGroupWidget::SyncGroupWidget ( ViewFrame * frame)

Member Function Documentation

◆ updateStatus()

void SyncGroupWidget::updateStatus ( )

◆ setViewFrame()

void SyncGroupWidget::setViewFrame ( ViewFrame * frame)