优化
This commit is contained in:
@@ -26,7 +26,6 @@ QWidget* IntermediateFrequencyWidget::createSpectrogramPowerPlot() {
|
||||
void init() override {
|
||||
Plot::init();
|
||||
mObjectName = "SpectrumPlot";
|
||||
bindRenderThread(mObjectName + "Thread");
|
||||
xAxis = YSG::FrequentAxis::Builder(this, Qt::Horizontal)
|
||||
.set_tickLength(-10)
|
||||
.set_coordRange(frequent_range)
|
||||
@@ -92,7 +91,6 @@ QWidget* IntermediateFrequencyWidget::create_Afterglow_Plot(){
|
||||
void init() override {
|
||||
Plot::init();
|
||||
mObjectName = "AfterglowPlot";
|
||||
bindRenderThread(mObjectName + "Thread");
|
||||
xAxis = YSG::FrequentAxis::Builder(this, Qt::Horizontal)
|
||||
.set_coordRange(frequent_range)
|
||||
.set_tickLength(-10)
|
||||
|
||||
@@ -24,7 +24,6 @@ QWidget* RadioWidget::createSpectrogramPowerPlot() {
|
||||
void init() override {
|
||||
Plot::init();
|
||||
mObjectName = "SpectrumPlot";
|
||||
bindRenderThread(mObjectName + "Thread");
|
||||
|
||||
|
||||
xAxis = YSG::FrequentAxis::Builder(this, Qt::Horizontal)
|
||||
@@ -89,7 +88,6 @@ QWidget* RadioWidget::createWaterFallPlot() {
|
||||
void init() override {
|
||||
Plot::init();
|
||||
mObjectName = "WaterFallPlot";
|
||||
bindRenderThread(mObjectName + "Thread");
|
||||
xAxis = YSG::FrequentAxis::Builder(this, Qt::Horizontal)
|
||||
.set_tickLength(-10)
|
||||
.set_subTickLength(-5)
|
||||
@@ -146,7 +144,6 @@ QWidget* RadioWidget::createAudioSpectrogramPlot() {
|
||||
void init() override {
|
||||
Plot::init();
|
||||
mObjectName = "SpectrumPlot";
|
||||
bindRenderThread(mObjectName + "Thread");
|
||||
|
||||
|
||||
xAxis = YSG::FrequentAxis::Builder(this, Qt::Horizontal)
|
||||
@@ -210,7 +207,6 @@ QWidget* RadioWidget::createTimePowerPlot() {
|
||||
void init() override {
|
||||
Plot::init();
|
||||
mObjectName = "AudioPlot";
|
||||
bindRenderThread(mObjectName + "Thread");
|
||||
|
||||
xAxis = YSG::TimeAxis::Builder(this, Qt::Horizontal)
|
||||
.set_tickLength(-10)
|
||||
|
||||
@@ -22,7 +22,6 @@ QWidget* SweepFrequencyWidget::createSpectrogramPowerPlot() {
|
||||
void init() override {
|
||||
Plot::init();
|
||||
mObjectName = "AxisTestPlot";
|
||||
bindRenderThread(mObjectName + "Thread");
|
||||
|
||||
|
||||
xAxis = YSG::Axis::Builder(this, Qt::Horizontal)
|
||||
|
||||
@@ -25,7 +25,7 @@ int main(int argc, char *argv[]) {
|
||||
#endif
|
||||
MainWidget w;
|
||||
app.mMainWidget = &w;
|
||||
YSG::startRenderScheduler();
|
||||
w.show();
|
||||
YSG::startAllRenderThread();
|
||||
return QApplication::exec();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user