|
|
@ -23,97 +23,97 @@ namespace Core
|
|
|
|
namespace Constants
|
|
|
|
namespace Constants
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
const char * const OVQT_VERSION_LONG = "0.1";
|
|
|
|
const char *const OVQT_VERSION_LONG = "0.8";
|
|
|
|
const char * const OVQT_VENDOR = "Ryzom Core";
|
|
|
|
const char *const OVQT_VENDOR = "Ryzom Core";
|
|
|
|
const char * const OVQT_YEAR = "2010, 2011";
|
|
|
|
const char *const OVQT_YEAR = "2010, 2011";
|
|
|
|
const char * const OVQT_CORE_PLUGIN = "Core";
|
|
|
|
const char *const OVQT_CORE_PLUGIN = "Core";
|
|
|
|
|
|
|
|
|
|
|
|
//mainwindow
|
|
|
|
//mainwindow
|
|
|
|
const char * const MAIN_WINDOW = "ObjectViewerQt.MainWindow";
|
|
|
|
const char *const MAIN_WINDOW = "ObjectViewerQt.MainWindow";
|
|
|
|
|
|
|
|
|
|
|
|
//menubar
|
|
|
|
//menubar
|
|
|
|
const char * const MENU_BAR = "ObjectViewerQt.MenuBar";
|
|
|
|
const char *const MENU_BAR = "ObjectViewerQt.MenuBar";
|
|
|
|
|
|
|
|
|
|
|
|
//menus
|
|
|
|
//menus
|
|
|
|
const char * const M_FILE = "ObjectViewerQt.Menu.File";
|
|
|
|
const char *const M_FILE = "ObjectViewerQt.Menu.File";
|
|
|
|
const char * const M_EDIT = "ObjectViewerQt.Menu.Edit";
|
|
|
|
const char *const M_EDIT = "ObjectViewerQt.Menu.Edit";
|
|
|
|
const char * const M_VIEW = "ObjectViewerQt.Menu.View";
|
|
|
|
const char *const M_VIEW = "ObjectViewerQt.Menu.View";
|
|
|
|
const char * const M_SCENE = "ObjectViewerQt.Menu.Scene";
|
|
|
|
const char *const M_SCENE = "ObjectViewerQt.Menu.Scene";
|
|
|
|
const char * const M_TOOLS = "ObjectViewerQt.Menu.Tools";
|
|
|
|
const char *const M_TOOLS = "ObjectViewerQt.Menu.Tools";
|
|
|
|
const char * const M_WINDOW = "ObjectViewerQt.Menu.Window";
|
|
|
|
const char *const M_WINDOW = "ObjectViewerQt.Menu.Window";
|
|
|
|
const char * const M_HELP = "ObjectViewerQt.Menu.Help";
|
|
|
|
const char *const M_HELP = "ObjectViewerQt.Menu.Help";
|
|
|
|
|
|
|
|
|
|
|
|
const char * const M_FILE_RECENTFILES = "ObjectViewerQt.Menu.File.RecentFiles";
|
|
|
|
const char *const M_FILE_RECENTFILES = "ObjectViewerQt.Menu.File.RecentFiles";
|
|
|
|
const char * const M_SHEET = "ObjectViewerQt.Menu.Sheet";
|
|
|
|
const char *const M_SHEET = "ObjectViewerQt.Menu.Sheet";
|
|
|
|
|
|
|
|
|
|
|
|
//actions
|
|
|
|
//actions
|
|
|
|
const char * const NEW = "ObjectViewerQt.New";
|
|
|
|
const char *const NEW = "ObjectViewerQt.New";
|
|
|
|
const char * const OPEN = "ObjectViewerQt.Open";
|
|
|
|
const char *const OPEN = "ObjectViewerQt.Open";
|
|
|
|
const char * const SAVE = "ObjectViewerQt.Save";
|
|
|
|
const char *const SAVE = "ObjectViewerQt.Save";
|
|
|
|
const char * const SAVE_AS = "ObjectViewerQt.SaveAs";
|
|
|
|
const char *const SAVE_AS = "ObjectViewerQt.SaveAs";
|
|
|
|
const char * const SAVE_ALL = "ObjectViewerQt.SaveAll";
|
|
|
|
const char *const SAVE_ALL = "ObjectViewerQt.SaveAll";
|
|
|
|
const char * const EXIT = "ObjectViewerQt.Exit";
|
|
|
|
const char *const EXIT = "ObjectViewerQt.Exit";
|
|
|
|
|
|
|
|
|
|
|
|
const char * const UNDO = "ObjectViewerQt.Undo";
|
|
|
|
const char *const UNDO = "ObjectViewerQt.Undo";
|
|
|
|
const char * const REDO = "ObjectViewerQt.Redo";
|
|
|
|
const char *const REDO = "ObjectViewerQt.Redo";
|
|
|
|
const char * const CUT = "ObjectViewerQt.Cut";
|
|
|
|
const char *const CUT = "ObjectViewerQt.Cut";
|
|
|
|
const char * const COPY = "ObjectViewerQt.Copy";
|
|
|
|
const char *const COPY = "ObjectViewerQt.Copy";
|
|
|
|
const char * const PASTE = "ObjectViewerQt.Paste";
|
|
|
|
const char *const PASTE = "ObjectViewerQt.Paste";
|
|
|
|
const char * const DEL = "ObjectViewerQt.Del";
|
|
|
|
const char *const DEL = "ObjectViewerQt.Del";
|
|
|
|
const char * const FIND = "ObjectViewerQt.Find";
|
|
|
|
const char *const FIND = "ObjectViewerQt.Find";
|
|
|
|
const char * const SELECT_ALL = "ObjectViewerQt.SelectAll";
|
|
|
|
const char *const SELECT_ALL = "ObjectViewerQt.SelectAll";
|
|
|
|
const char * const GOTO_POS = "ObjectViewerQt.Goto";
|
|
|
|
const char *const GOTO_POS = "ObjectViewerQt.Goto";
|
|
|
|
|
|
|
|
|
|
|
|
const char * const SETTINGS = "ObjectViewerQt.Settings";
|
|
|
|
const char *const SETTINGS = "ObjectViewerQt.Settings";
|
|
|
|
const char * const TOGGLE_FULLSCREEN = "ObjectViewerQt.ToggleFullScreen";
|
|
|
|
const char *const TOGGLE_FULLSCREEN = "ObjectViewerQt.ToggleFullScreen";
|
|
|
|
|
|
|
|
|
|
|
|
const char * const CLOSE = "ObjectViewerQt.Close";
|
|
|
|
const char *const CLOSE = "ObjectViewerQt.Close";
|
|
|
|
const char * const CLOSEALL = "ObjectViewerQt.CloseAll";
|
|
|
|
const char *const CLOSEALL = "ObjectViewerQt.CloseAll";
|
|
|
|
const char * const CLOSEOTHERS = "ObjectViewerQt.CloseOthers";
|
|
|
|
const char *const CLOSEOTHERS = "ObjectViewerQt.CloseOthers";
|
|
|
|
const char * const ABOUT = "ObjectViewerQt.About";
|
|
|
|
const char *const ABOUT = "ObjectViewerQt.About";
|
|
|
|
const char * const ABOUT_PLUGINS = "ObjectViewerQt.AboutPlugins";
|
|
|
|
const char *const ABOUT_PLUGINS = "ObjectViewerQt.AboutPlugins";
|
|
|
|
const char * const ABOUT_QT = "ObjectViewerQt.AboutQt";
|
|
|
|
const char *const ABOUT_QT = "ObjectViewerQt.AboutQt";
|
|
|
|
|
|
|
|
|
|
|
|
//settings
|
|
|
|
//settings
|
|
|
|
const char * const SETTINGS_CATEGORY_GENERAL = "general";
|
|
|
|
const char *const SETTINGS_CATEGORY_GENERAL = "general";
|
|
|
|
const char * const SETTINGS_CATEGORY_GENERAL_ICON = ":/icons/ic_nel_generic_settings.png";
|
|
|
|
const char *const SETTINGS_CATEGORY_GENERAL_ICON = ":/icons/ic_nel_generic_settings.png";
|
|
|
|
const char * const SETTINGS_TR_CATEGORY_GENERAL = QT_TR_NOOP("General");
|
|
|
|
const char *const SETTINGS_TR_CATEGORY_GENERAL = QT_TR_NOOP("General");
|
|
|
|
|
|
|
|
|
|
|
|
const char * const MAIN_WINDOW_SECTION = "MainWindow";
|
|
|
|
const char *const MAIN_WINDOW_SECTION = "MainWindow";
|
|
|
|
const char * const MAIN_WINDOW_STATE = "WindowState";
|
|
|
|
const char *const MAIN_WINDOW_STATE = "WindowState";
|
|
|
|
const char * const MAIN_WINDOW_GEOMETRY = "WindowGeometry";
|
|
|
|
const char *const MAIN_WINDOW_GEOMETRY = "WindowGeometry";
|
|
|
|
const char * const QT_STYLE = "QtStyle";
|
|
|
|
const char *const QT_STYLE = "QtStyle";
|
|
|
|
const char * const QT_PALETTE = "QtPalette";
|
|
|
|
const char *const QT_PALETTE = "QtPalette";
|
|
|
|
|
|
|
|
|
|
|
|
const char * const LANGUAGE = "Language";
|
|
|
|
const char *const LANGUAGE = "Language";
|
|
|
|
const char * const PLUGINS_PATH = "PluginPath";
|
|
|
|
const char *const PLUGINS_PATH = "PluginPath";
|
|
|
|
const char * const DATA_PATH_SECTION = "DataPath";
|
|
|
|
const char *const DATA_PATH_SECTION = "DataPath";
|
|
|
|
const char * const SEARCH_PATHS = "SearchPaths";
|
|
|
|
const char *const SEARCH_PATHS = "SearchPaths";
|
|
|
|
const char * const RECURSIVE_SEARCH_PATHS = "RecursiveSearchPathes";
|
|
|
|
const char *const RECURSIVE_SEARCH_PATHS = "RecursiveSearchPathes";
|
|
|
|
const char * const LEVELDESIGN_PATH = "LevelDesignPath";
|
|
|
|
const char *const LEVELDESIGN_PATH = "LevelDesignPath";
|
|
|
|
const char * const ASSETS_PATH = "AssetsPath";
|
|
|
|
const char *const ASSETS_PATH = "AssetsPath";
|
|
|
|
const char * const PRIMITIVES_PATH = "PrimitivesPath";
|
|
|
|
const char *const PRIMITIVES_PATH = "PrimitivesPath";
|
|
|
|
const char * const LIGOCONFIG_FILE = "LigoConfigFile";
|
|
|
|
const char *const LIGOCONFIG_FILE = "LigoConfigFile";
|
|
|
|
const char * const REMAP_EXTENSIONS = "RemapExtensions";
|
|
|
|
const char *const REMAP_EXTENSIONS = "RemapExtensions";
|
|
|
|
|
|
|
|
|
|
|
|
const char * const LOG_SECTION = "LogSettings";
|
|
|
|
const char *const LOG_SECTION = "LogSettings";
|
|
|
|
const char * const LOG_ERROR = "LogError";
|
|
|
|
const char *const LOG_ERROR = "LogError";
|
|
|
|
const char * const LOG_WARNING = "LogWarning";
|
|
|
|
const char *const LOG_WARNING = "LogWarning";
|
|
|
|
const char * const LOG_DEBUG = "LogDebug";
|
|
|
|
const char *const LOG_DEBUG = "LogDebug";
|
|
|
|
const char * const LOG_ASSERT = "LogAssert";
|
|
|
|
const char *const LOG_ASSERT = "LogAssert";
|
|
|
|
const char * const LOG_INFO = "LogInfo";
|
|
|
|
const char *const LOG_INFO = "LogInfo";
|
|
|
|
|
|
|
|
|
|
|
|
//resources
|
|
|
|
//resources
|
|
|
|
const char * const ICON_NEL = ":/core/images/nel.png";
|
|
|
|
const char *const ICON_NEL = ":/core/images/nel.png";
|
|
|
|
const char * const ICON_SETTINGS = ":/core/images/preferences.png";
|
|
|
|
const char *const ICON_SETTINGS = ":/core/images/preferences.png";
|
|
|
|
const char * const ICON_PILL = ":/core/icons/ic_nel_pill.png";
|
|
|
|
const char *const ICON_PILL = ":/core/icons/ic_nel_pill.png";
|
|
|
|
const char * const ICON_OPEN = ":/core/icons/ic_nel_open.png";
|
|
|
|
const char *const ICON_OPEN = ":/core/icons/ic_nel_open.png";
|
|
|
|
const char * const ICON_NEW = ":/core/icons/ic_nel_new.png";
|
|
|
|
const char *const ICON_NEW = ":/core/icons/ic_nel_new.png";
|
|
|
|
const char * const ICON_SAVE = ":/core/icons/ic_nel_save.png";
|
|
|
|
const char *const ICON_SAVE = ":/core/icons/ic_nel_save.png";
|
|
|
|
const char * const ICON_SAVE_AS = ":/core/icons/ic_nel_save_as.png";
|
|
|
|
const char *const ICON_SAVE_AS = ":/core/icons/ic_nel_save_as.png";
|
|
|
|
const char * const ICON_CRASH = ":/core/icons/ic_nel_crash.png";
|
|
|
|
const char *const ICON_CRASH = ":/core/icons/ic_nel_crash.png";
|
|
|
|
const char * const ICON_UNDO = ":/core/icons/ic_nel_undo.png";
|
|
|
|
const char *const ICON_UNDO = ":/core/icons/ic_nel_undo.png";
|
|
|
|
const char * const ICON_REDO = ":/core/icons/ic_nel_redo.png";
|
|
|
|
const char *const ICON_REDO = ":/core/icons/ic_nel_redo.png";
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace Constants
|
|
|
|
} // namespace Constants
|
|
|
|
} // namespace Core
|
|
|
|
} // namespace Core
|
|
|
|