Vuo 2.4.4
Loading...
Searching...
No Matches
VuoToolbar.hh
Go to the documentation of this file.
1
10#pragma once
11
15Q_FORWARD_DECLARE_OBJC_CLASS(NSTitlebarAccessoryViewController);
18
22class VuoToolbar : public QObject
23{
24 Q_OBJECT
25
26protected:
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
52private:
53 NSTextField *titleView;
54 NSTitlebarAccessoryViewController *titleViewController;
55
56#ifdef VUO_PRO
57#include "pro/VuoToolbar_Pro.hh"
58#endif
59
60};