测试版向正式版迁移 Qt5.10 -> Qt5.7
This commit is contained in:
parent
a5a23f82cd
commit
e7c76deceb
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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"/>
|
||||
|
|
Loading…
Reference in New Issue