Vuo  2.0.3
Instance Methods | Protected Attributes | List of all members
VuoEditorEventsButton Class Reference

Description

A "Show/Hide Events" toggle button.

Definition at line 174 of file VuoEditorWindowToolbar.mm.

Instance Methods

(id) - initWithQMacToolBarItem:
 Creates a show-events toggle button. More...
 
(NSString *) - itemIdentifier
 Cocoa calls this method when a toolbar item is clicked. More...
 
(void) - setState:
 Toggles the button. More...
 
(NSButton *) - button
 Returns the button. More...
 

Protected Attributes

QMacToolBarItem * _toolBarItem
 The Qt widget corresponding to this Cocoa widget. More...
 
NSButton * button
 The child button widget. More...
 
bool _isDark
 True if dark mode is enabled. More...
 

Method Documentation

◆ button

- (NSButton *) button

Returns the button.

Definition at line 279 of file VuoEditorWindowToolbar.mm.

◆ initWithQMacToolBarItem:

- (id) initWithQMacToolBarItem: (QMacToolBarItem *)  toolBarItem

Creates a show-events toggle button.

Definition at line 190 of file VuoEditorWindowToolbar.mm.

◆ itemIdentifier

- (NSString *) itemIdentifier

Cocoa calls this method when a toolbar item is clicked.

Definition at line 240 of file VuoEditorWindowToolbar.mm.

◆ setState:

- (void) setState: (bool)  state

Toggles the button.

Definition at line 251 of file VuoEditorWindowToolbar.mm.

Member Data Documentation

◆ _isDark

- (bool) _isDark
protected

True if dark mode is enabled.

Definition at line 178 of file VuoEditorWindowToolbar.mm.

◆ _toolBarItem

- (QMacToolBarItem*) _toolBarItem
protected

The Qt widget corresponding to this Cocoa widget.

Definition at line 176 of file VuoEditorWindowToolbar.mm.

◆ button

- (NSButton*) button
protected

The child button widget.

Definition at line 177 of file VuoEditorWindowToolbar.mm.


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