diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-06-23 03:03:41 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-07-02 10:10:18 -0400 |
| commit | cbdc4cc3284f13477bfbf292d15c4a5742627091 (patch) | |
| tree | 7f50bb71db03fed7a57df70bc217a3ffd63d597a /src/modinfodialog.ui | |
| parent | 8d1c121f648f2f6a8e0a5e2ad76cd245e318290d (diff) | |
split notes tab
added new HTMLEditor that triggers an editingFinished() on focus our, used by notes tab
Diffstat (limited to 'src/modinfodialog.ui')
| -rw-r--r-- | src/modinfodialog.ui | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/src/modinfodialog.ui b/src/modinfodialog.ui index 29a7400f..360ecc79 100644 --- a/src/modinfodialog.ui +++ b/src/modinfodialog.ui @@ -6,7 +6,7 @@ <rect>
<x>0</x>
<y>0</y>
- <width>790</width>
+ <width>735</width>
<height>534</height>
</rect>
</property>
@@ -20,7 +20,7 @@ <enum>QTabWidget::Rounded</enum>
</property>
<property name="currentIndex">
- <number>0</number>
+ <number>7</number>
</property>
<property name="movable">
<bool>true</bool>
@@ -180,7 +180,7 @@ <rect>
<x>0</x>
<y>0</y>
- <width>741</width>
+ <width>686</width>
<height>436</height>
</rect>
</property>
@@ -859,7 +859,7 @@ text-align: left;</string> </item>
</layout>
</widget>
- <widget class="QWidget" name="tabNexus1">
+ <widget class="QWidget" name="tabNexus">
<attribute name="icon">
<iconset resource="resources.qrc">
<normaloff>:/MO/gui/resources/internet-web-browser.png</normaloff>:/MO/gui/resources/internet-web-browser.png</iconset>
@@ -963,7 +963,7 @@ p, li { white-space: pre-wrap; } </widget>
</item>
<item>
- <widget class="QLabel" name="versionLabel1">
+ <widget class="QLabel" name="versionLabel">
<property name="whatsThis">
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
@@ -1071,7 +1071,7 @@ p, li { white-space: pre-wrap; } </widget>
</item>
<item>
- <widget class="QTextEdit" name="notesEdit">
+ <widget class="HTMLEditor" name="notesEdit">
<property name="toolTip">
<string>Enter notes about the mod here. These can be viewed in the mod list by hovering over the notes column or the flags column.</string>
</property>
@@ -1210,6 +1210,11 @@ p, li { white-space: pre-wrap; } <extends>QPlainTextEdit</extends>
<header>texteditor.h</header>
</customwidget>
+ <customwidget>
+ <class>HTMLEditor</class>
+ <extends>QTextEdit</extends>
+ <header>texteditor.h</header>
+ </customwidget>
</customwidgets>
<resources>
<include location="resources.qrc"/>
|
