Files
@ 11522eba8b9b
Branch filter:
Location: tempo-plotter/src/mainwindow.ui
11522eba8b9b
7.5 KiB
text/plain
modify scrollzoomer so that it tries to maintain zoom window when buffer size changes
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 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 | <?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>653</width>
<height>650</height>
</rect>
</property>
<property name="windowTitle">
<string>SerialPlot</string>
</property>
<widget class="QWidget" name="centralWidget">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QSplitter" name="splitter">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<widget class="QWidget" name="plotArea" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</widget>
</item>
<item>
<widget class="HidableTabWidget" name="tabWidget">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<property name="movable">
<bool>false</bool>
</property>
<widget class="QWidget" name="tabLog">
<attribute name="title">
<string>Log</string>
</attribute>
<attribute name="toolTip">
<string>Error and Warning Messages</string>
</attribute>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="leftMargin">
<number>4</number>
</property>
<property name="topMargin">
<number>4</number>
</property>
<property name="rightMargin">
<number>4</number>
</property>
<property name="bottomMargin">
<number>4</number>
</property>
<item>
<widget class="QPlainTextEdit" name="ptLog">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>653</width>
<height>24</height>
</rect>
</property>
<widget class="QMenu" name="menuHelp">
<property name="title">
<string>&Help</string>
</property>
<addaction name="actionDemoMode"/>
<addaction name="actionReportBug"/>
<addaction name="actionCheckUpdate"/>
<addaction name="actionHelpAbout"/>
</widget>
<widget class="QMenu" name="menuFile">
<property name="title">
<string>&File</string>
</property>
<addaction name="actionSaveSettings"/>
<addaction name="actionLoadSettings"/>
<addaction name="actionExportCsv"/>
<addaction name="separator"/>
<addaction name="actionQuit"/>
</widget>
<widget class="QMenu" name="menuSecondary">
<property name="title">
<string>Secondary</string>
</property>
<addaction name="actionBarPlot"/>
<addaction name="separator"/>
<addaction name="actionHorizontal"/>
<addaction name="actionVertical"/>
</widget>
<addaction name="menuFile"/>
<addaction name="menuSecondary"/>
<addaction name="menuHelp"/>
</widget>
<widget class="QToolBar" name="plotToolBar">
<property name="windowTitle">
<string>Plot Toolbar</string>
</property>
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
<addaction name="actionPause"/>
<addaction name="actionClear"/>
</widget>
<widget class="QStatusBar" name="statusBar"/>
<action name="actionPause">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
<property name="icon">
<iconset theme="player_pause">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="text">
<string>Pause</string>
</property>
<property name="toolTip">
<string>Pause Plotting</string>
</property>
<property name="shortcut">
<string>P</string>
</property>
</action>
<action name="actionClear">
<property name="icon">
<iconset theme="editclear">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="text">
<string>Clear</string>
</property>
<property name="shortcut">
<string>Ctrl+K</string>
</property>
</action>
<action name="actionHelpAbout">
<property name="text">
<string>&About</string>
</property>
</action>
<action name="actionDemoMode">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>&Demo Mode</string>
</property>
<property name="toolTip">
<string>Toggle Demo Mode</string>
</property>
</action>
<action name="actionExportCsv">
<property name="text">
<string>&Export CSV</string>
</property>
<property name="toolTip">
<string>Export plot data to CSV</string>
</property>
</action>
<action name="actionQuit">
<property name="text">
<string>&Quit</string>
</property>
<property name="shortcut">
<string>Ctrl+Q</string>
</property>
</action>
<action name="actionReportBug">
<property name="text">
<string>&Report a Bug</string>
</property>
<property name="toolTip">
<string>Report a Bug on SerialPlot Website</string>
</property>
</action>
<action name="actionSaveSettings">
<property name="text">
<string>&Save Settings</string>
</property>
<property name="toolTip">
<string>Save Settings to a File</string>
</property>
</action>
<action name="actionLoadSettings">
<property name="text">
<string>&Load Settings</string>
</property>
<property name="toolTip">
<string>Load Settings from a File</string>
</property>
</action>
<action name="actionCheckUpdate">
<property name="text">
<string>&Check Update</string>
</property>
</action>
<action name="actionBarPlot">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>Bar Plot</string>
</property>
</action>
<action name="actionVertical">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>Vertical</string>
</property>
</action>
<action name="actionHorizontal">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="text">
<string>Horizontal</string>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets>
<customwidget>
<class>HidableTabWidget</class>
<extends>QTabWidget</extends>
<header>hidabletabwidget.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>
|