测试版向正式版迁移 Qt5.10 -> Qt5.7

This commit is contained in:
sonichy 2019-11-22 22:50:02 +08:00
parent a5a23f82cd
commit e7c76deceb
3 changed files with 5 additions and 11 deletions

BIN
HTYEdit

Binary file not shown.

View File

@ -220,8 +220,7 @@ void MainWindow::open(QString fileName)
if (child->loadFile(fileName)) {
path = fileName;
LS1->setText("打开 " + fileName);
int count = ((QTextEdit*)(window->widget()))->toPlainText().count();
LS2->setText(QString("行,列1,0 字符数: %1").arg(count));
cursorPositionChange();
//SyntaxHighlight();
updateCommand();
}

View File

@ -74,7 +74,7 @@
<x>0</x>
<y>0</y>
<width>800</width>
<height>26</height>
<height>28</height>
</rect>
</property>
<widget class="QMenu" name="menu">
@ -471,6 +471,9 @@
</property>
</action>
<action name="action_p">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>p</string>
</property>
@ -480,14 +483,6 @@
<property name="shortcut">
<string>Ctrl+Alt+P</string>
</property>
<property name="shortcutVisibleInContextMenu">
<bool>false</bool>
</property>
</action>
<action name="action_h1">
<property name="text">
<string>h1</string>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>