Files
        @ 53e3647e3096
    
        
              Branch filter: 
        
    Location: tempo-plotter/src/setting_defines.h
        
            
            53e3647e3096
            4.7 KiB
            text/plain
        
        
    
    fix overlapping value tracker texts by spacing them out
label height is still hard coded
    label height is still hard coded
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124  | /*
  Copyright © 2019 Hasan Yavuz Özderya
  This file is part of serialplot.
  serialplot is free software: you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.
  serialplot is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.
  You should have received a copy of the GNU General Public License
  along with serialplot.  If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SETTING_DEFINES_H
#define SETTING_DEFINES_H
const char SettingGroup_MainWindow[] = "MainWindow";
const char SettingGroup_Port[] = "Port";
const char SettingGroup_DataFormat[] = "DataFormat";
const char SettingGroup_Binary[] = "DataFormat_Binary";
const char SettingGroup_ASCII[] = "DataFormat_ASCII";
const char SettingGroup_CustomFrame[] = "DataFormat_CustomFrame";
const char SettingGroup_Channels[] = "Channels";
const char SettingGroup_Plot[] = "Plot";
const char SettingGroup_Commands[] = "Commands";
const char SettingGroup_Record[] = "Record";
const char SettingGroup_TextView[] = "TextView";
const char SettingGroup_UpdateCheck[] = "UpdateCheck";
// mainwindow setting keys
const char SG_MainWindow_Size[] = "size";
const char SG_MainWindow_Pos[] = "pos";
const char SG_MainWindow_ActivePanel[] = "activePanel";
const char SG_MainWindow_HidePanels[] = "hidePanels";
const char SG_MainWindow_Maximized[] = "maximized";
const char SG_MainWindow_State[] = "state";
// port setting keys
const char SG_Port_SelectedPort[] = "selectedPort";
const char SG_Port_BaudRate[] = "baudRate";
const char SG_Port_Parity[] = "parity";
const char SG_Port_DataBits[] = "dataBits";
const char SG_Port_StopBits[] = "stopBits";
const char SG_Port_FlowControl[] = "flowControl";
// data format panel keys
const char SG_DataFormat_Format[] = "format";
// binary stream reader keys
const char SG_Binary_NumOfChannels[] = "numOfChannels";
const char SG_Binary_NumberFormat[] = "numberFormat";
const char SG_Binary_Endianness[] = "endianness";
// ascii reader keys
const char SG_ASCII_NumOfChannels[] = "numOfChannels";
const char SG_ASCII_Delimiter[] = "delimiter";
const char SG_ASCII_CustomDelimiter[] = "customDelimiter";
// framed reader keys
const char SG_CustomFrame_NumOfChannels[] = "numOfChannels";
const char SG_CustomFrame_FrameStart[] = "frameStart";
const char SG_CustomFrame_FixedSize[] = "fixedSize";
const char SG_CustomFrame_FrameSize[] = "frameSize";
const char SG_CustomFrame_NumberFormat[] = "numberFormat";
const char SG_CustomFrame_Endianness[] = "endianness";
const char SG_CustomFrame_Checksum[] = "checksum";
const char SG_CustomFrame_DebugMode[] = "debugMode";
// channel info keys
const char SG_Channels_Channel[] = "channel";
const char SG_Channels_Name[] = "name";
const char SG_Channels_Color[] = "color";
const char SG_Channels_Visible[] = "visible";
const char SG_Channels_Gain[] = "gain";
const char SG_Channels_GainEn[] = "gainEnabled";
const char SG_Channels_Offset[] = "offset";
const char SG_Channels_OffsetEn[] = "offsetEnabled";
// plot settings keys
const char SG_Plot_NumOfSamples[] = "numOfSamples";
const char SG_Plot_PlotWidth[] = "plotWidth";
const char SG_Plot_IndexAsX[] = "indexAsX";
const char SG_Plot_XMax[] = "xMax";
const char SG_Plot_XMin[] = "xMin";
const char SG_Plot_AutoScale[] = "autoScale";
const char SG_Plot_YMax[] = "yMax";
const char SG_Plot_YMin[] = "yMin";
const char SG_Plot_DarkBackground[] = "darkBackground";
const char SG_Plot_Grid[] = "grid";
const char SG_Plot_MinorGrid[] = "minorGrid";
const char SG_Plot_Legend[] = "legend";
const char SG_Plot_MultiPlot[] = "multiPlot";
const char SG_Plot_Symbols[] = "symbols";
// command setting keys
const char SG_Commands_Command[] = "command";
const char SG_Commands_Name[] = "name";
const char SG_Commands_Type[] = "type";
const char SG_Commands_Data[] = "data";
// record panel settings keys
const char SG_Record_AutoIncrement[]    = "autoIncrement";
const char SG_Record_RecordPaused[]     = "recordPaused";
const char SG_Record_StopOnClose[]      = "stopOnClose";
const char SG_Record_Header[]           = "header";
const char SG_Record_Separator[]        = "separator";
const char SG_Record_DisableBuffering[] = "disableBuffering";
const char SG_Record_Timestamp[]        = "timestamp";
// text view settings keys
const char SG_TextView_NumLines[] = "numLines";
const char SG_TextView_Decimals[] = "decimals";
// update check settings keys
const char SG_UpdateCheck_Periodic[]  = "periodicCheck";
const char SG_UpdateCheck_LastCheck[] = "lastCheck";
#endif // SETTING_DEFINES_H
 |