2013-08-12 12:29:01 -07:00
|
|
|
//
|
|
|
|
// Menu.h
|
2014-04-08 17:30:36 -07:00
|
|
|
// interface/src
|
2013-08-12 12:29:01 -07:00
|
|
|
//
|
|
|
|
// Created by Stephen Birarda on 8/12/13.
|
2014-04-08 17:30:36 -07:00
|
|
|
// Copyright 2013 High Fidelity, Inc.
|
|
|
|
//
|
|
|
|
// Distributed under the Apache License, Version 2.0.
|
|
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
2013-08-12 12:29:01 -07:00
|
|
|
//
|
|
|
|
|
2016-02-24 17:38:01 -08:00
|
|
|
#include <ui/Menu.h>
|
|
|
|
|
2014-04-09 12:03:17 -07:00
|
|
|
#ifndef hifi_Menu_h
|
|
|
|
#define hifi_Menu_h
|
2013-08-12 12:29:01 -07:00
|
|
|
|
2016-02-24 17:38:01 -08:00
|
|
|
class MenuItemProperties;
|
2016-02-18 17:11:40 -08:00
|
|
|
|
2016-02-24 17:38:01 -08:00
|
|
|
class Menu : public ui::Menu {
|
2015-04-25 16:20:15 -07:00
|
|
|
Q_OBJECT
|
2016-02-24 17:38:01 -08:00
|
|
|
|
2015-04-25 16:20:15 -07:00
|
|
|
public:
|
|
|
|
static Menu* getInstance();
|
2016-02-24 17:38:01 -08:00
|
|
|
Menu();
|
|
|
|
Q_INVOKABLE void addMenuItem(const MenuItemProperties& properties);
|
2013-08-12 12:29:01 -07:00
|
|
|
};
|
|
|
|
|
2013-08-15 10:46:51 -07:00
|
|
|
namespace MenuOption {
|
2013-09-11 22:08:07 +02:00
|
|
|
const QString AboutApp = "About Interface";
|
2015-03-28 13:05:23 -07:00
|
|
|
const QString AddRemoveFriends = "Add/Remove Friends...";
|
2014-09-11 10:24:04 -07:00
|
|
|
const QString AddressBar = "Show Address Bar";
|
2014-05-19 16:55:33 -07:00
|
|
|
const QString Animations = "Animations...";
|
2015-09-02 21:04:29 -07:00
|
|
|
const QString AnimDebugDrawAnimPose = "Debug Draw Animation";
|
2015-11-21 09:50:56 -08:00
|
|
|
const QString AnimDebugDrawDefaultPose = "Debug Draw Default Pose";
|
|
|
|
const QString AnimDebugDrawPosition= "Debug Draw Position";
|
2016-04-13 09:26:01 -07:00
|
|
|
const QString AskToResetSettings = "Ask To Reset Settings";
|
2015-10-13 10:38:52 -07:00
|
|
|
const QString AssetMigration = "ATP Asset Migration";
|
2016-04-01 13:02:26 -07:00
|
|
|
const QString AssetServer = "Asset Browser";
|
2014-05-04 16:24:23 -07:00
|
|
|
const QString Attachments = "Attachments...";
|
2016-01-14 13:11:11 -08:00
|
|
|
const QString AudioNetworkStats = "Audio Network Stats";
|
2014-04-03 16:48:56 -07:00
|
|
|
const QString AudioNoiseReduction = "Audio Noise Reduction";
|
2014-11-20 19:34:56 -06:00
|
|
|
const QString AudioScope = "Show Scope";
|
2014-07-10 16:16:54 -07:00
|
|
|
const QString AudioScopeFiftyFrames = "Fifty";
|
2014-05-27 23:24:28 -04:00
|
|
|
const QString AudioScopeFiveFrames = "Five";
|
2014-07-10 16:16:54 -07:00
|
|
|
const QString AudioScopeFrames = "Display Frames";
|
2014-11-20 19:34:56 -06:00
|
|
|
const QString AudioScopePause = "Pause Scope";
|
2014-05-27 23:24:28 -04:00
|
|
|
const QString AudioScopeTwentyFrames = "Twenty";
|
2014-07-30 12:04:03 -07:00
|
|
|
const QString AudioStatsShowInjectedStreams = "Audio Stats Show Injected Streams";
|
2016-01-14 13:11:11 -08:00
|
|
|
const QString AudioTools = "Show Level Meter";
|
2015-05-14 08:50:43 -07:00
|
|
|
const QString AutoMuteAudio = "Auto Mute Microphone";
|
2015-04-28 10:13:18 -07:00
|
|
|
const QString AvatarReceiveStats = "Show Receive Stats";
|
2015-06-16 08:41:21 -07:00
|
|
|
const QString Back = "Back";
|
2013-08-15 10:46:51 -07:00
|
|
|
const QString BandwidthDetails = "Bandwidth Details";
|
2015-05-11 15:48:51 -07:00
|
|
|
const QString BinaryEyelidControl = "Binary Eyelid Control";
|
2015-01-13 22:39:16 -08:00
|
|
|
const QString BookmarkLocation = "Bookmark Location";
|
|
|
|
const QString Bookmarks = "Bookmarks";
|
2015-03-05 21:10:02 +01:00
|
|
|
const QString CachesSize = "RAM Caches Size";
|
2015-05-05 10:50:19 -07:00
|
|
|
const QString CalibrateCamera = "Calibrate Camera";
|
2015-11-06 01:58:08 +01:00
|
|
|
const QString CameraEntityMode = "Entity Mode";
|
2015-06-25 12:36:36 -07:00
|
|
|
const QString CenterPlayerInView = "Center Player In View";
|
2014-04-03 16:48:56 -07:00
|
|
|
const QString Chat = "Chat...";
|
|
|
|
const QString Collisions = "Collisions";
|
2015-07-28 22:02:36 +02:00
|
|
|
const QString Connexion = "Activate 3D Connexion Devices";
|
2014-05-26 09:58:06 -07:00
|
|
|
const QString Console = "Console...";
|
2015-02-18 12:39:51 -08:00
|
|
|
const QString ControlWithSpeech = "Control With Speech";
|
2015-01-15 10:38:17 -08:00
|
|
|
const QString CopyAddress = "Copy Address to Clipboard";
|
|
|
|
const QString CopyPath = "Copy Path to Clipboard";
|
2015-07-29 20:08:58 -07:00
|
|
|
const QString CoupleEyelids = "Couple Eyelids";
|
2016-04-12 16:44:11 -07:00
|
|
|
const QString CrashPureVirtualFunction = "Pure Virtual Function Call";
|
2016-04-13 10:24:56 -07:00
|
|
|
const QString CrashPureVirtualFunctionThreaded = "Pure Virtual Function Call (threaded)";
|
2016-04-12 16:44:11 -07:00
|
|
|
const QString CrashDoubleFree = "Double Free";
|
2016-04-13 10:24:56 -07:00
|
|
|
const QString CrashDoubleFreeThreaded = "Double Free (threaded)";
|
2016-04-12 16:44:11 -07:00
|
|
|
const QString CrashNullDereference = "Null Dereference";
|
2016-04-13 10:24:56 -07:00
|
|
|
const QString CrashNullDereferenceThreaded = "Null Dereference (threaded)";
|
2016-04-12 16:44:11 -07:00
|
|
|
const QString CrashAbort = "Abort";
|
2016-04-13 10:24:56 -07:00
|
|
|
const QString CrashAbortThreaded = "Abort (threaded)";
|
2016-04-12 16:44:11 -07:00
|
|
|
const QString CrashOutOfBoundsVectorAccess = "Out of Bounds Vector Access";
|
2016-04-13 10:24:56 -07:00
|
|
|
const QString CrashOutOfBoundsVectorAccessThreaded = "Out of Bounds Vector Access (threaded)";
|
2016-04-12 16:44:11 -07:00
|
|
|
const QString CrashNewFault = "New Fault";
|
2016-04-13 10:24:56 -07:00
|
|
|
const QString CrashNewFaultThreaded = "New Fault (threaded)";
|
2016-03-08 23:45:51 -08:00
|
|
|
const QString DeadlockInterface = "Deadlock Interface";
|
2013-08-15 10:46:51 -07:00
|
|
|
const QString DecreaseAvatarSize = "Decrease Avatar Size";
|
2016-08-08 08:59:57 -07:00
|
|
|
const QString DefaultSkybox = "Default Skybox";
|
2015-02-18 12:39:51 -08:00
|
|
|
const QString DeleteBookmark = "Delete Bookmark...";
|
2014-07-16 12:22:27 -07:00
|
|
|
const QString DisableActivityLogger = "Disable Activity Logger";
|
2015-08-20 16:10:31 -07:00
|
|
|
const QString DisableEyelidAdjustment = "Disable Eyelid Adjustment";
|
2014-10-30 14:43:43 -07:00
|
|
|
const QString DisableLightEntities = "Disable Light Entities";
|
2015-03-05 21:10:02 +01:00
|
|
|
const QString DiskCacheEditor = "Disk Cache Editor";
|
2015-08-24 13:24:31 -07:00
|
|
|
const QString DisplayCrashOptions = "Display Crash Options";
|
2014-08-19 17:26:01 -07:00
|
|
|
const QString DisplayHandTargets = "Show Hand Targets";
|
2014-05-07 17:32:51 -07:00
|
|
|
const QString DisplayModelBounds = "Display Model Bounds";
|
2014-12-06 11:45:49 -08:00
|
|
|
const QString DisplayModelTriangles = "Display Model Triangles";
|
2014-05-07 17:32:51 -07:00
|
|
|
const QString DisplayModelElementChildProxies = "Display Model Element Children";
|
2014-07-10 16:16:54 -07:00
|
|
|
const QString DisplayModelElementProxy = "Display Model Element Bounds";
|
2015-02-27 17:57:42 -08:00
|
|
|
const QString DisplayDebugTimingDetails = "Display Timing Details";
|
2015-02-18 12:39:51 -08:00
|
|
|
const QString DontDoPrecisionPicking = "Don't Do Precision Picking";
|
|
|
|
const QString DontRenderEntitiesAsScene = "Don't Render Entities as Scene";
|
2014-04-03 16:48:56 -07:00
|
|
|
const QString EchoLocalAudio = "Echo Local Audio";
|
|
|
|
const QString EchoServerAudio = "Echo Server Audio";
|
2015-03-27 13:36:20 -07:00
|
|
|
const QString EnableCharacterController = "Enable avatar collisions";
|
2016-09-29 10:18:54 -07:00
|
|
|
const QString EnableIncrementalTextureTransfer = "Enable Incremental Texture Transfer";
|
|
|
|
const QString EnableDynamicTextureManagement = "Enable Dynamic Texture Management";
|
2016-01-25 18:32:12 -08:00
|
|
|
const QString EnableInverseKinematics = "Enable Inverse Kinematics";
|
2014-07-11 16:08:37 -07:00
|
|
|
const QString ExpandMyAvatarSimulateTiming = "Expand /myAvatar/simulation";
|
|
|
|
const QString ExpandMyAvatarTiming = "Expand /myAvatar";
|
|
|
|
const QString ExpandOtherAvatarTiming = "Expand /otherAvatar";
|
|
|
|
const QString ExpandPaintGLTiming = "Expand /paintGL";
|
|
|
|
const QString ExpandUpdateTiming = "Expand /update";
|
2014-03-13 15:17:16 -07:00
|
|
|
const QString Faceshift = "Faceshift";
|
2013-08-15 10:46:51 -07:00
|
|
|
const QString FirstPerson = "First Person";
|
2015-08-04 18:02:34 -07:00
|
|
|
const QString FivePointCalibration = "5 Point Calibration";
|
2015-08-14 07:33:36 -07:00
|
|
|
const QString FixGaze = "Fix Gaze (no saccade)";
|
2015-06-16 08:41:21 -07:00
|
|
|
const QString Forward = "Forward";
|
2013-08-15 10:46:51 -07:00
|
|
|
const QString FrameTimer = "Show Timer";
|
2016-01-07 12:42:18 -08:00
|
|
|
const QString FullscreenMirror = "Mirror";
|
2016-01-07 12:09:02 -08:00
|
|
|
const QString Help = "Help...";
|
2013-08-15 10:46:51 -07:00
|
|
|
const QString IncreaseAvatarSize = "Increase Avatar Size";
|
2015-06-25 12:36:36 -07:00
|
|
|
const QString IndependentMode = "Independent Mode";
|
2016-05-17 14:46:50 -07:00
|
|
|
const QString ActionMotorControl = "Enable Default Motor Control";
|
2014-09-23 15:11:45 -07:00
|
|
|
const QString LeapMotionOnHMD = "Leap Motion on HMD";
|
2014-04-03 16:48:56 -07:00
|
|
|
const QString LoadScript = "Open and Run Script File...";
|
|
|
|
const QString LoadScriptURL = "Open and Run Script from URL...";
|
2013-10-29 16:16:58 -07:00
|
|
|
const QString LodTools = "LOD Tools";
|
2013-10-09 13:00:05 -07:00
|
|
|
const QString Login = "Login";
|
2014-07-10 16:16:54 -07:00
|
|
|
const QString Log = "Log";
|
2015-07-02 12:34:32 -07:00
|
|
|
const QString LogExtraTimings = "Log Extra Timing Details";
|
2014-07-10 16:16:54 -07:00
|
|
|
const QString LowVelocityFilter = "Low Velocity Filter";
|
2015-09-02 21:04:29 -07:00
|
|
|
const QString MeshVisible = "Draw Mesh";
|
2016-01-07 12:42:18 -08:00
|
|
|
const QString MiniMirror = "Mini Mirror";
|
2014-04-03 16:48:56 -07:00
|
|
|
const QString MuteAudio = "Mute Microphone";
|
2014-05-07 12:57:11 -07:00
|
|
|
const QString MuteEnvironment = "Mute Environment";
|
2015-04-29 21:23:47 -07:00
|
|
|
const QString MuteFaceTracking = "Mute Face Tracking";
|
2015-06-25 12:36:36 -07:00
|
|
|
const QString NamesAboveHeads = "Names Above Heads";
|
2016-08-23 10:29:49 -07:00
|
|
|
const QString Networking = "Networking...";
|
2015-02-18 12:39:51 -08:00
|
|
|
const QString NoFaceTracking = "None";
|
2015-03-26 16:36:46 -07:00
|
|
|
const QString OctreeStats = "Entity Statistics";
|
2015-08-04 18:02:34 -07:00
|
|
|
const QString OnePointCalibration = "1 Point Calibration";
|
2015-02-27 17:57:42 -08:00
|
|
|
const QString OnlyDisplayTopTen = "Only Display Top Ten";
|
2016-01-08 16:58:25 -08:00
|
|
|
const QString OutputMenu = "Display";
|
2016-02-25 08:31:11 -08:00
|
|
|
const QString Overlays = "Overlays";
|
2015-04-20 16:14:36 -07:00
|
|
|
const QString PackageModel = "Package Model...";
|
2013-08-15 10:46:51 -07:00
|
|
|
const QString Pair = "Pair";
|
2016-08-25 08:53:08 -07:00
|
|
|
const QString PhysicsShowHulls = "Draw Collision Shapes";
|
2016-01-26 18:56:22 -08:00
|
|
|
const QString PhysicsShowOwned = "Highlight Simulation Ownership";
|
2014-08-19 17:26:01 -07:00
|
|
|
const QString PipelineWarnings = "Log Render Pipeline Warnings";
|
2016-01-07 12:09:02 -08:00
|
|
|
const QString Preferences = "General...";
|
2014-04-03 16:48:56 -07:00
|
|
|
const QString Quit = "Quit";
|
2014-02-13 18:19:20 -08:00
|
|
|
const QString ReloadAllScripts = "Reload All Scripts";
|
2015-07-10 15:47:46 -07:00
|
|
|
const QString ReloadContent = "Reload Content (Clears all caches)";
|
2014-08-19 17:26:01 -07:00
|
|
|
const QString RenderBoundingCollisionShapes = "Show Bounding Collision Shapes";
|
2016-05-06 18:55:09 -07:00
|
|
|
const QString RenderMyLookAtVectors = "Show My Eye Vectors";
|
|
|
|
const QString RenderOtherLookAtVectors = "Show Other Eye Vectors";
|
2016-04-15 18:07:37 -07:00
|
|
|
const QString RenderMaxTextureMemory = "Maximum Texture Memory";
|
|
|
|
const QString RenderMaxTextureAutomatic = "Automatic Texture Memory";
|
|
|
|
const QString RenderMaxTexture64MB = "64 MB";
|
|
|
|
const QString RenderMaxTexture256MB = "256 MB";
|
|
|
|
const QString RenderMaxTexture512MB = "512 MB";
|
|
|
|
const QString RenderMaxTexture1024MB = "1024 MB";
|
|
|
|
const QString RenderMaxTexture2048MB = "2048 MB";
|
2014-10-13 18:00:50 -07:00
|
|
|
const QString RenderResolution = "Scale Resolution";
|
|
|
|
const QString RenderResolutionOne = "1";
|
|
|
|
const QString RenderResolutionTwoThird = "2/3";
|
|
|
|
const QString RenderResolutionHalf = "1/2";
|
|
|
|
const QString RenderResolutionThird = "1/3";
|
|
|
|
const QString RenderResolutionQuarter = "1/4";
|
2016-03-09 16:24:08 -08:00
|
|
|
const QString RenderSensorToWorldMatrix = "Show SensorToWorld Matrix";
|
2013-08-15 10:46:51 -07:00
|
|
|
const QString ResetAvatarSize = "Reset Avatar Size";
|
2014-10-03 09:37:56 -07:00
|
|
|
const QString ResetSensors = "Reset Sensors";
|
2016-01-07 12:09:02 -08:00
|
|
|
const QString RunningScripts = "Running Scripts...";
|
2013-08-15 10:46:51 -07:00
|
|
|
const QString RunTimingTests = "Run Timing Tests";
|
2014-04-15 00:30:01 +02:00
|
|
|
const QString ScriptEditor = "Script Editor...";
|
2014-09-16 17:09:32 -07:00
|
|
|
const QString ScriptedMotorControl = "Enable Scripted Motor Control";
|
2016-06-08 13:38:07 -07:00
|
|
|
const QString SendWrongDSConnectVersion = "Send wrong DS connect version";
|
2016-05-24 13:31:19 -07:00
|
|
|
const QString SendWrongProtocolVersion = "Send wrong protocol version";
|
2016-04-23 16:43:00 +12:00
|
|
|
const QString SetHomeLocation = "Set Home Location";
|
2015-05-26 15:22:25 -07:00
|
|
|
const QString ShowDSConnectTable = "Show Domain Connection Timing";
|
2014-09-17 14:11:41 -07:00
|
|
|
const QString ShowBordersEntityNodes = "Show Entity Nodes";
|
2015-07-04 11:25:27 -07:00
|
|
|
const QString ShowRealtimeEntityStats = "Show Realtime Entity Stats";
|
2015-07-14 12:12:38 -07:00
|
|
|
const QString StandingHMDSensorMode = "Standing HMD Sensor Mode";
|
2015-07-28 14:07:25 -07:00
|
|
|
const QString SimulateEyeTracking = "Simulate";
|
2015-07-27 15:33:15 -07:00
|
|
|
const QString SMIEyeTracking = "SMI Eye Tracking";
|
2013-08-15 10:46:51 -07:00
|
|
|
const QString Stats = "Stats";
|
2014-02-13 18:19:20 -08:00
|
|
|
const QString StopAllScripts = "Stop All Scripts";
|
2014-04-03 16:48:56 -07:00
|
|
|
const QString SuppressShortTimings = "Suppress Timings Less than 10ms";
|
2015-06-25 12:36:36 -07:00
|
|
|
const QString ThirdPerson = "Third Person";
|
2015-08-04 18:02:34 -07:00
|
|
|
const QString ThreePointCalibration = "3 Point Calibration";
|
2015-08-19 21:11:48 -07:00
|
|
|
const QString ThrottleFPSIfNotFocus = "Throttle FPS If Not Focus"; // FIXME - this value duplicated in Basic2DWindowOpenGLDisplayPlugin.cpp
|
2014-11-13 17:47:02 -08:00
|
|
|
const QString ToolWindow = "Tool Window";
|
2013-08-15 10:46:51 -07:00
|
|
|
const QString TransmitterDrive = "Transmitter Drive";
|
2014-04-03 16:48:56 -07:00
|
|
|
const QString TurnWithHead = "Turn using Head";
|
2015-04-20 16:14:36 -07:00
|
|
|
const QString UseAudioForMouth = "Use Audio for Mouth";
|
2015-04-22 13:15:57 -07:00
|
|
|
const QString UseCamera = "Use Camera";
|
2016-01-25 18:32:12 -08:00
|
|
|
const QString UseAnimPreAndPostRotations = "Use Anim Pre and Post Rotations";
|
2015-04-22 13:15:57 -07:00
|
|
|
const QString VelocityFilter = "Velocity Filter";
|
2015-03-29 18:35:56 -07:00
|
|
|
const QString VisibleToEveryone = "Everyone";
|
|
|
|
const QString VisibleToFriends = "Friends";
|
|
|
|
const QString VisibleToNoOne = "No one";
|
2015-08-23 17:59:58 +02:00
|
|
|
const QString WorldAxes = "World Axes";
|
2013-08-15 10:46:51 -07:00
|
|
|
}
|
2015-04-25 16:20:15 -07:00
|
|
|
|
2014-04-09 12:03:17 -07:00
|
|
|
#endif // hifi_Menu_h
|
2016-02-24 17:38:01 -08:00
|
|
|
|