forked from qt-creator/qt-creator
Added preview menu and shortcuts for qt quick (Ctrl+Alt+R)
This was needed since we cannot start stuff otherwise without a project Task-number: BAUHAUS-450 Reviewed-by: kkoehne
This commit is contained in:
@@ -35,7 +35,10 @@
|
||||
namespace QmlJSEditor {
|
||||
namespace Constants {
|
||||
|
||||
// menus
|
||||
const char * const M_QTQUICK = "QtQuickDesigner.Menu";
|
||||
const char * const M_CONTEXT = "QML JS Editor.ContextMenu";
|
||||
|
||||
const char * const RUN_SEP = "QmlJSEditor.Run.Separator";
|
||||
const char * const C_QMLJSEDITOR_ID = "QMLProjectManager.QMLJSEditor";
|
||||
const char * const C_QMLJSEDITOR_DISPLAY_NAME = QT_TRANSLATE_NOOP("OpenWith::Editors", "QMLJS Editor");
|
||||
@@ -46,6 +49,8 @@ const char * const FOLLOW_SYMBOL_UNDER_CURSOR = "QmlJSEditor.FollowSymbolUnderCu
|
||||
const char * const QML_MIMETYPE = "application/x-qml";
|
||||
const char * const JS_MIMETYPE = "application/javascript";
|
||||
|
||||
|
||||
|
||||
} // namespace Constants
|
||||
} // namespace QmlJSEditor
|
||||
|
||||
|
||||
Reference in New Issue
Block a user