Vuo
2.4.4
Loading...
Searching...
No Matches
editor
VuoToolbar.hh
Go to the documentation of this file.
1
10
#pragma once
11
13
Q_FORWARD_DECLARE_OBJC_CLASS
(NSString);
14
Q_FORWARD_DECLARE_OBJC_CLASS
(NSTextField);
15
Q_FORWARD_DECLARE_OBJC_CLASS
(NSTitlebarAccessoryViewController);
16
Q_FORWARD_DECLARE_OBJC_CLASS
(NSWindow);
18
22
class
VuoToolbar
:
public
QObject
23
{
24
Q_OBJECT
25
26
protected
:
27
explicit
VuoToolbar
(QMainWindow *
window
);
28
void
setUp
(
void
);
29
33
virtual
void
addToolbarItems
(
void
) = 0;
34
38
virtual
bool
allowsTabbingWithOtherWindows
(
void
) = 0;
39
43
virtual
NSString *
getTabbingIdentifier
(
void
) = 0;
44
45
virtual
void
updateColor
(
bool
isDark);
46
47
QMainWindow *
window
;
48
QMacToolBar *
qtToolbar
;
49
50
NSWindow *
nsWindow
;
51
52
private
:
53
NSTextField *titleView;
54
NSTitlebarAccessoryViewController *titleViewController;
55
56
#ifdef VUO_PRO
57
#include "pro/VuoToolbar_Pro.hh"
58
#endif
59
60
};
Generated on Thu Nov 9 2023 16:59:29 for Vuo by
1.9.8