1 /**************************************************************************** 2 ** 3 ** Copyright (C) 2016 The Qt Company Ltd. 4 ** Contact: https://www.qt.io/licensing/ 5 ** 6 ** This file is part of Qt Creator. 7 ** 8 ** Commercial License Usage 9 ** Licensees holding valid commercial Qt licenses may use this file in 10 ** accordance with the commercial license agreement provided with the 11 ** Software or, alternatively, in accordance with the terms contained in 12 ** a written agreement between you and The Qt Company. For licensing terms 13 ** and conditions see https://www.qt.io/terms-conditions. For further 14 ** information use the contact form at https://www.qt.io/contact-us. 15 ** 16 ** GNU General Public License Usage 17 ** Alternatively, this file may be used under the terms of the GNU 18 ** General Public License version 3 as published by the Free Software 19 ** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT 20 ** included in the packaging of this file. Please review the following 21 ** information to ensure the GNU General Public License requirements will 22 ** be met: https://www.gnu.org/licenses/gpl-3.0.html. 23 ** 24 ****************************************************************************/ 25 26 #pragma once 27 28 #include <QtGlobal> 29 30 namespace ScxmlEditor { 31 namespace Constants { 32 33 const char INFO_READ_ONLY[] = "ScxmlEditor.ReadOnly"; 34 35 const char C_SCXMLEDITOR[] = "Qt5.ScxmlEditor"; 36 const char C_SCXMLEDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("OpenWith::Editors", "SCXML Editor"); 37 38 const char K_SCXML_EDITOR_ID[] = "ScxmlEditor.XmlEditor"; 39 const char C_SCXML_EDITOR[] = "Scxml Editor"; 40 41 const char C_SCXMLTAG_ATTRIBUTE_ID[] = "id"; 42 const char C_SCXMLTAG_ATTRIBUTE_EVENT[] = "event"; 43 44 const char C_SCXMLTAG_TAGTYPE[] = "tagType"; 45 const char C_SCXMLTAG_ACTIONTYPE[] = "actionType"; 46 const char C_SCXMLTAG_PARENTTAG[] = "parentTag"; 47 48 const char C_SCXML_EDITORINFO_COLORS[] = "colors"; 49 const char C_SCXML_EDITORINFO_GEOMETRY[] = "geometry"; 50 const char C_SCXML_EDITORINFO_SCENEGEOMETRY[] = "scenegeometry"; 51 const char C_SCXML_EDITORINFO_LOCALGEOMETRY[] = "localGeometry"; 52 const char C_SCXML_EDITORINFO_MOVEPOINT[] = "movePoint"; 53 const char C_SCXML_EDITORINFO_STARTTARGETFACTORS[] = "startTargetFactors"; 54 const char C_SCXML_EDITORINFO_ENDTARGETFACTORS[] = "endTargetFactors"; 55 const char C_SCXML_EDITORINFO_FONTCOLOR[] = "fontColor"; 56 const char C_SCXML_EDITORINFO_STATECOLOR[] = "stateColor"; 57 58 const char C_STATE_WARNING_ID[] = "IDWarning"; 59 const char C_STATE_WARNING_STATE[] = "StateWarning"; 60 const char C_STATE_WARNING_TRANSITION[] = "TransitionWarning"; 61 const char C_STATE_WARNING_INITIAL[] = "InitialWarning"; 62 63 const char C_UI_FACTORY_OBJECT_ACTIONPROVIDER[] = "actionProvider"; 64 65 const char C_COLOR_SCHEME_DEFAULT[] = "factory_default_theme"; 66 const char C_COLOR_SCHEME_SCXMLDOCUMENT[] = "scxmldocument_theme"; 67 68 const char C_OBJECTNAME_WARNINGPROVIDER[] = "warningProvider"; 69 70 const char C_WARNINGMODEL_FILTER_ACTIVE[] = "active"; 71 const char C_WARNINGMODEL_FILTER_NOT[] = "not"; 72 73 const char C_SETTINGS_SPLITTER[] = "ScxmlEditor/HorizontalSplitter"; 74 const char C_SETTINGS_LASTEXPORTFOLDER[] = "ScxmlEditor/LastExportFolder"; 75 const char C_SETTINGS_LASTSAVESCREENSHOTFOLDER[] = "ScxmlEditor/LastSaveScreenshotFolder"; 76 const char C_SETTINGS_COLORSETTINGS_COLORTHEMES[] = "ScxmlEditor/ColorSettingsColorThemes"; 77 const char C_SETTINGS_COLORSETTINGS_CURRENTCOLORTHEME[] = "ScxmlEditor/ColorSettingsCurrentColorTheme"; 78 const char C_SETTINGS_ERRORPANE_GEOMETRY[] = "ScxmlEditor/ErrorPaneGeometry"; 79 const char C_SETTINGS_ERRORPANE_SHOWERRORS[] = "ScxmlEditor/ErrorPaneShowErrors"; 80 const char C_SETTINGS_ERRORPANE_SHOWWARNINGS[] = "ScxmlEditor/ErrorPaneShowWarnings"; 81 const char C_SETTINGS_ERRORPANE_SHOWINFOS[] = "ScxmlEditor/ErrorPaneShowInfos"; 82 83 } // namespace ScxmlEditor 84 } // namespace Constants 85