Simplify QtCreator file, update TODO once more, tag patch level

This commit is contained in:
Axel Kohlmeyer
2023-08-06 20:34:03 -04:00
parent 6dcfe130a4
commit f345146103
3 changed files with 17 additions and 17 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.16)
project(lammps-gui VERSION 1.1.0 LANGUAGES CXX)
project(lammps-gui VERSION 1.1.1 LANGUAGES CXX)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTOMOC ON)

View File

@ -4,6 +4,9 @@ LAMMPS-GUI TODO list:
- use qgetenv, qputenv for portability
- update enabled/disabled status for accelerators during startup and fall back to None if needed.
- rewrite syntax highlighting to be line oriented instead of word oriented.
handle first part of line based on regular expressions, then advance and only highlight strings and numbers.
handle "&" continuation and multiline strings with """ like C style comments in Qt docs example
- add CTRL-q hotkey to log windows so you can exit the entire application (add do you really want to? dialog to this)
- add "syntax check" with enabled "-skiprun" flag
- add multi-tab settings dialog where certain properties can be set through customizing the LAMMPS command line
@ -11,8 +14,10 @@ LAMMPS-GUI TODO list:
- add list of 5(?) most recently opened/saved files to file dialog (and also write to settings state on exit) (note: must store full path!)
# Long term ideas
- rewrite entire application to either use QtCreator for everything or just build the App and its layout manually
- also a rewrite should establish consistent naming conventions. now we have a mix of LAMMPS style, Qt style, and others.
- add option to attach a debugger to the running program (highly non-portable, need customization support in preferences)
- write a "wizard" dialog that can be used for beginners to create an input file template for a few typical use scenarios
- possibly also implement a callback interface, so that external programs can be called after thermo data is updated.
- support single stepping, i.e. process input line by line (need to detect continuation chars!) with highlighting active line(s)
- have command text input file in/above status bar where individual commands can be tested. have insert button to copy line into file at the current point
- support text completion as done with lammps-shell

View File

@ -13,19 +13,13 @@
<property name="windowTitle">
<string>LammpsGui</string>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="CodeEditor" name="textEdit">
<property name="enabled">
<bool>true</bool>
</property>
<property name="acceptDrops">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
<widget class="CodeEditor" name="textEdit">
<property name="enabled">
<bool>true</bool>
</property>
<property name="acceptDrops">
<bool>true</bool>
</property>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
@ -33,7 +27,7 @@
<x>0</x>
<y>0</y>
<width>600</width>
<height>23</height>
<height>24</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
@ -345,7 +339,8 @@
</action>
<action name="actionDefaults">
<property name="icon">
<iconset theme="document-revert"/>
<iconset theme="document-revert">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="text">
<string>Reset to &amp;Defaults</string>