new text mode editor
This commit is contained in:
@@ -264,16 +264,6 @@
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="applyJsonButton">
|
||||
<property name="visible">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Apply JSON</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="pointerToolButton">
|
||||
<property name="text">
|
||||
@@ -397,8 +387,8 @@
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="jsonPage">
|
||||
<layout class="QVBoxLayout" name="jsonPageLayout">
|
||||
<widget class="QWidget" name="textPage">
|
||||
<layout class="QVBoxLayout" name="textPageLayout">
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
@@ -412,14 +402,7 @@
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QPlainTextEdit" name="jsonEditor">
|
||||
<property name="lineWrapMode">
|
||||
<enum>QPlainTextEdit::LineWrapMode::NoWrap</enum>
|
||||
</property>
|
||||
<property name="placeholderText">
|
||||
<string>Component JSON</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="TextDefinitionEditor" name="textDefinitionEditor" native="true"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
@@ -466,6 +449,7 @@
|
||||
</property>
|
||||
<addaction name="actionNew"/>
|
||||
<addaction name="actionOpen"/>
|
||||
<addaction name="actionReloadLibraries"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="actionSave"/>
|
||||
<addaction name="actionSaveAs"/>
|
||||
@@ -667,6 +651,17 @@
|
||||
<string>Ctrl+O</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionReloadLibraries">
|
||||
<property name="text">
|
||||
<string>Reload &Libraries</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Reload configured library files from disk</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>F5</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionSave">
|
||||
<property name="icon">
|
||||
<iconset resource="../resources/resources.qrc">
|
||||
@@ -806,6 +801,12 @@
|
||||
</action>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>TextDefinitionEditor</class>
|
||||
<extends>QWidget</extends>
|
||||
<header>bedit.gui.editors.text_definition</header>
|
||||
<container>1</container>
|
||||
</customwidget>
|
||||
<customwidget>
|
||||
<class>GraphWorkspaceView</class>
|
||||
<extends>QGraphicsView</extends>
|
||||
|
||||
Reference in New Issue
Block a user