Ref T171, use callsign completer in history and matcher log

* "private slots" -> "private"
* UI connects as Qt::QueuedConnection
This commit is contained in:
Klaus Basan
2017-10-13 20:04:21 +02:00
parent a51f696bee
commit aa52889767
6 changed files with 69 additions and 124 deletions

View File

@@ -39,11 +39,9 @@ namespace BlackGui
private:
QScopedPointer<Ui::CAircraftPartsHistory> ui;
QTimer m_timerCallsignUpdate { this };
QTimer m_timerUpdateHistory { this };
QTextDocument m_text { this };
uint m_htmlHash = 0;
bool m_isBeingModified = false;
//! Init
void initGui();
@@ -55,18 +53,12 @@ namespace BlackGui
bool partsHistoryEnabled() const;
private:
//! Update the completer
void updateCallsignCompleter();
//! Update parts history
void updatePartsHistory();
//! Callsign was entered
void callsignEntered();
//! Callsign was modified
void callsignModified();
//! When values changed elsewhere
void valuesChanged();