Vuo
2.3.2
editor
VuoEditorUtilities.hh
Go to the documentation of this file.
1
10
#pragma once
11
12
class
VuoEditorWindow
;
13
class
VuoNodeClass
;
14
class
VuoRecentFileMenu
;
15
19
class
VuoEditorUtilities
:
public
QObject
20
{
21
Q_OBJECT
22
23
public
:
24
static
QPixmap
vuoLogoForDialogs
();
25
Q_INVOKABLE
static
QString
getHTMLForSVG
(QString svgPath,
int
pointsWide,
int
pointsHigh);
26
27
static
void
openUserModulesFolder
();
28
static
void
openSystemModulesFolder
();
29
30
static
bool
optionKeyPressedForEvent
(QEvent *event);
31
32
static
bool
isNodeClassEditable
(
VuoNodeClass
*nodeClass, QString &editLabel, QString &sourcePath);
33
static
bool
isNodeClassSuccessorTo
(QString oldNodeClass, QString newNodeClass);
34
35
static
QList<QMainWindow *>
getOpenEditingWindows
();
36
static
QList<VuoEditorWindow *>
getOpenCompositionEditingWindows
();
37
static
QList<QMainWindow *>
getOpenEditingWindowsStacked
();
38
static
QMainWindow *
existingWindowWithFile
(
const
QString &filename);
39
40
static
QAction *
getRaiseDocumentActionForWindow
(QMainWindow *window);
41
static
VuoRecentFileMenu
*
getRecentFileMenuForWindow
(QMainWindow *window);
42
static
QMenu *
getFileMenuForWindow
(QMainWindow *window);
43
static
void
setWindowAsActiveWindow
(QMainWindow *window);
44
static
void
setWindowOpacity
(QMainWindow *window,
int
opacity);
45
};
Generated on Sat Jun 19 2021 10:17:43 for Vuo by
1.9.1