Scratchpad using CodeEditor class (#3246)

This commit is contained in:
Maksim Derbasov 2021-05-04 20:17:03 +03:00 committed by GitHub
parent 2f984b201a
commit f0005665a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 2 deletions

View File

@ -6,7 +6,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>500</width> <width>574</width>
<height>600</height> <height>600</height>
</rect> </rect>
</property> </property>
@ -22,7 +22,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QPlainTextEdit" name="plainTextEdit"> <widget class="CodeEditor" name="plainTextEdit">
<property name="font"> <property name="font">
<font> <font>
<family>Courier New</family> <family>Courier New</family>
@ -99,6 +99,13 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<customwidgets>
<customwidget>
<class>CodeEditor</class>
<extends>QPlainTextEdit</extends>
<header>codeeditor.h</header>
</customwidget>
</customwidgets>
<resources/> <resources/>
<connections> <connections>
<connection> <connection>