src/mainwindow.ui

Sun, 12 Sep 2021 12:14:32 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Sun, 12 Sep 2021 12:14:32 +0300
changeset 128
7c834fe36b25
parent 125
f127982d3412
child 141
185eb297dc1e
permissions
-rw-r--r--

Moved automatic grid adjusting into a new action

<?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>800</width>
    <height>600</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>LDForge</string>
  </property>
  <widget class="QWidget" name="centralwidget">
   <layout class="QVBoxLayout" name="verticalLayout">
    <item>
     <widget class="QTabWidget" name="tabs"/>
    </item>
   </layout>
  </widget>
  <widget class="QMenuBar" name="menubar">
   <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
     <width>800</width>
     <height>32</height>
    </rect>
   </property>
   <widget class="QMenu" name="menuFile">
    <property name="title">
     <string>File</string>
    </property>
    <widget class="QMenu" name="menuRecentFiles">
     <property name="title">
      <string>Recent files</string>
     </property>
    </widget>
    <addaction name="actionNew"/>
    <addaction name="actionOpen"/>
    <addaction name="menuRecentFiles"/>
    <addaction name="separator"/>
    <addaction name="actionSettingsEditor"/>
    <addaction name="separator"/>
    <addaction name="actionQuit"/>
   </widget>
   <widget class="QMenu" name="menuView">
    <property name="title">
     <string>View</string>
    </property>
    <addaction name="actionRenderStyleNormal"/>
    <addaction name="actionRenderStyleBfc"/>
    <addaction name="actionRenderStyleRandom"/>
    <addaction name="actionRenderStylePickScene"/>
    <addaction name="separator"/>
    <addaction name="actionAdjustGridToView"/>
   </widget>
   <addaction name="menuFile"/>
   <addaction name="menuView"/>
  </widget>
  <widget class="QStatusBar" name="statusbar"/>
  <action name="actionQuit">
   <property name="text">
    <string>Quit</string>
   </property>
  </action>
  <action name="actionOpen">
   <property name="text">
    <string>Open…</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+O</string>
   </property>
  </action>
  <action name="actionNew">
   <property name="text">
    <string>New</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+N</string>
   </property>
  </action>
  <action name="actionSettingsEditor">
   <property name="text">
    <string>Preferences…</string>
   </property>
  </action>
  <action name="actionRenderStyleNormal">
   <property name="checkable">
    <bool>true</bool>
   </property>
   <property name="text">
    <string>Normal colours</string>
   </property>
  </action>
  <action name="actionRenderStyleBfc">
   <property name="checkable">
    <bool>true</bool>
   </property>
   <property name="text">
    <string>BFC color coding</string>
   </property>
  </action>
  <action name="actionRenderStyleRandom">
   <property name="checkable">
    <bool>true</bool>
   </property>
   <property name="text">
    <string>Random colours</string>
   </property>
  </action>
  <action name="actionRenderStylePickScene">
   <property name="checkable">
    <bool>true</bool>
   </property>
   <property name="text">
    <string>Pick scene colours</string>
   </property>
  </action>
  <action name="actionAdjustGridToView">
   <property name="text">
    <string>Adjust grid to view</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+G</string>
   </property>
  </action>
 </widget>
 <resources/>
 <connections/>
</ui>

mercurial