gui: add console history
+ add HistorySerializer to merge histories in correct order * move console to own file * promote msgLineEdit to class based on NICOS-HistoryLineEdit Change-Id: I853d49a70640f38275c8762ab345003db5ec5592 Reviewed-on: https://forge.frm2.tum.de/review/c/secop/frappy/+/30753 Tested-by: Jenkins Automated Tests <pedersen+jenkins@frm2.tum.de> Reviewed-by: Enrico Faulhaber <enrico.faulhaber@frm2.tum.de> Reviewed-by: Alexander Zaft <a.zaft@fz-juelich.de>
This commit is contained in:
@@ -36,8 +36,8 @@ try:
|
||||
QPointF, QPropertyAnimation, QRectF, QSettings, QSize, Qt, \
|
||||
pyqtProperty, pyqtSignal, pyqtSlot
|
||||
from PyQt6.QtGui import QAction, QBrush, QColor, QCursor, QDrag, QFont, \
|
||||
QFontMetrics, QIcon, QKeySequence, QMouseEvent, QPainter, QPalette, \
|
||||
QPen, QPixmap, QPolygonF, QShortcut, QStandardItem, \
|
||||
QFontMetrics, QIcon, QKeyEvent, QKeySequence, QMouseEvent, QPainter, \
|
||||
QPalette, QPen, QPixmap, QPolygonF, QShortcut, QStandardItem, \
|
||||
QStandardItemModel, QTextCursor
|
||||
from PyQt6.QtWidgets import QApplication, QCheckBox, QComboBox, QDialog, \
|
||||
QDialogButtonBox, QDoubleSpinBox, QFileDialog, QFrame, QGridLayout, \
|
||||
@@ -56,9 +56,9 @@ except ImportError as e:
|
||||
QPointF, QPropertyAnimation, QRectF, QSettings, QSize, Qt, \
|
||||
pyqtProperty, pyqtSignal, pyqtSlot
|
||||
from PyQt5.QtGui import QBrush, QColor, QCursor, QDrag, QFont, \
|
||||
QFontMetrics, QIcon, QKeySequence, QMouseEvent, QPainter, QPalette, \
|
||||
QPen, QPixmap, QPolygonF, QStandardItem, QStandardItemModel, \
|
||||
QTextCursor
|
||||
QFontMetrics, QIcon, QKeyEvent, QKeySequence, QMouseEvent, QPainter, \
|
||||
QPalette, QPen, QPixmap, QPolygonF, QStandardItem, \
|
||||
QStandardItemModel, QTextCursor
|
||||
from PyQt5.QtWidgets import QAction, QApplication, QCheckBox, QComboBox, \
|
||||
QDialog, QDialogButtonBox, QDoubleSpinBox, QFileDialog, QFrame, \
|
||||
QGridLayout, QGroupBox, QHBoxLayout, QInputDialog, QLabel, QLineEdit, \
|
||||
|
||||
Reference in New Issue
Block a user