mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-11 23:05:34 +08:00
Improve the performance and usability of the raw FSD message display
* Replaced QListView with QPlainTextEdit * Added filter options for packet type and text * Option to globally disable/enable the feature. Default disabled Maniphest Tasks: Ref T240
This commit is contained in:
committed by
Klaus Basan
parent
58d128a9da
commit
b12002caa2
@@ -51,7 +51,16 @@ namespace BlackMisc
|
||||
void setRawMessage(const QString &rawMessage) { m_rawMessage = rawMessage; }
|
||||
|
||||
//! Get reception time
|
||||
QDateTime getReceptionTime() const;
|
||||
const QDateTime &getReceptionTime() const { return m_receptionTime; }
|
||||
|
||||
//! Returns true if the raw message is from the given PDU packet type
|
||||
bool isPacketType(const QString &type) const;
|
||||
|
||||
//! Does the raw message contain str?
|
||||
bool containsString(const QString &str) const;
|
||||
|
||||
//! Returns a list of all known packet types.
|
||||
static const QStringList &getAllPacketTypes ();
|
||||
|
||||
//! \copydoc BlackMisc::Mixin::Index::propertyByIndex
|
||||
CVariant propertyByIndex(const BlackMisc::CPropertyIndex &index) const;
|
||||
|
||||
Reference in New Issue
Block a user