Improved: Tabs can be closed by middle click in the Configuration Editor. Ctrl+A can be used to select all rows.

Fixed: When a line was edited manually in the Configuration Editor, the file was not saved automatically when "Instant mode" was enabled.
This commit is contained in:
jthedering committed 2017-08-12 11:13:30 +00:00
1 parent 87d9084d61
commit 5a795a2d26
15 files changed
+299 -83

No files matched your search

+34 -8
View File
@@ -28,7 +28,7 @@
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QTabWidget" name="tabWidget">
<widget class="MiddleClickTabWidget" name="tabWidget">
<property name="documentMode">
<bool>true</bool>
</property>
@@ -71,6 +71,8 @@
<addaction name="actionCopy"/>
<addaction name="actionPaste"/>
<addaction name="actionDelete"/>
<addaction name="separator"/>
<addaction name="actionSelectAll"/>
</widget>
<widget class="QMenu" name="menuView">
<property name="title">
@@ -568,7 +570,7 @@
<string>New</string>
</property>
<property name="shortcut">
<string>Ctrl+N</string>
<string notr="true">Ctrl+N</string>
</property>
</action>
<action name="actionOpen">
@@ -583,7 +585,7 @@
<string>Open</string>
</property>
<property name="shortcut">
<string>Ctrl+O</string>
<string notr="true">Ctrl+O</string>
</property>
</action>
<action name="actionSave">
@@ -598,7 +600,7 @@
<string>Save</string>
</property>
<property name="shortcut">
<string>Ctrl+S</string>
<string notr="true">Ctrl+S</string>
</property>
</action>
<action name="actionSaveAs">
@@ -612,13 +614,16 @@
<property name="toolTip">
<string>Save as...</string>
</property>
<property name="shortcut">
<string notr="true"/>
</property>
</action>
<action name="actionExit">
<property name="text">
<string>Exit</string>
</property>
<property name="shortcut">
<string>Alt+F4</string>
<string notr="true">Alt+F4</string>
</property>
</action>
<action name="actionCut">
@@ -630,7 +635,7 @@
<string>Cut</string>
</property>
<property name="shortcut">
<string>Ctrl+X</string>
<string notr="true">Ctrl+X</string>
</property>
</action>
<action name="actionCopy">
@@ -642,7 +647,7 @@
<string>Copy</string>
</property>
<property name="shortcut">
<string>Ctrl+C</string>
<string notr="true">Ctrl+C</string>
</property>
</action>
<action name="actionPaste">
@@ -654,7 +659,7 @@
<string>Paste</string>
</property>
<property name="shortcut">
<string>Ctrl+V</string>
<string notr="true">Ctrl+V</string>
</property>
</action>
<action name="actionDelete">
@@ -665,6 +670,9 @@
<property name="text">
<string>Delete</string>
</property>
<property name="shortcut">
<string notr="true"/>
</property>
</action>
<action name="actionToolbar">
<property name="checkable">
@@ -692,6 +700,18 @@
<string>Reset all file-specific preferences</string>
</property>
</action>
<action name="actionSelectAll">
<property name="icon">
<iconset resource="Editor.qrc">
<normaloff>:/icons/edit-select-all.ico</normaloff>:/icons/edit-select-all.ico</iconset>
</property>
<property name="text">
<string>Select all</string>
</property>
<property name="shortcut">
<string notr="true">Ctrl+A</string>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets>
@@ -705,6 +725,12 @@
<extends>QSpinBox</extends>
<header>Editor/widgets/ExponentialSpinBox.h</header>
</customwidget>
<customwidget>
<class>MiddleClickTabWidget</class>
<extends>QTabWidget</extends>
<header>Editor/widgets/MiddleClickTabWidget.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources>
<include location="Editor.qrc"/>