資源簡介
Qt 多線程實現波形圖標,一個簡單的例子,初學者很容易懂,主要是多線程處理數據,發回ui 線程去顯示,防止單線程時,數據量大卡死,并且增加波形拖動和縮放的功能
代碼片段和文件信息
/****************************************************************************
**
**?Copyright?(C)?2016?The?Qt?Company?Ltd.
**?Contact:?https://www.qt.io/licensing/
**
**?This?file?is?part?of?the?Qt?Charts?module?of?the?Qt?Toolkit.
**
**?$QT_BEGIN_LICENSE:GPL$
**?Commercial?License?Usage
**?Licensees?holding?valid?commercial?Qt?licenses?may?use?this?file?in
**?accordance?with?the?commercial?license?agreement?provided?with?the
**?Software?or?alternatively?in?accordance?with?the?terms?contained?in
**?a?written?agreement?between?you?and?The?Qt?Company.?For?licensing?terms
**?and?conditions?see?https://www.qt.io/terms-conditions.?For?further
**?information?use?the?contact?form?at?https://www.qt.io/contact-us.
**
**?GNU?General?Public?License?Usage
**?Alternatively?this?file?may?be?used?under?the?terms?of?the?GNU
**?General?Public?License?version?3?or?(at?your?option)?any?later?version
**?approved?by?the?KDE?Free?Qt?Foundation.?The?licenses?are?as?published?by
**?the?F
評論
共有 條評論