91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 5.13MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2023-08-11
  • 語言: 其他
  • 標簽: QCustomPlot??

資源簡介

最近的項目用到了QCustomPlot,所以一邊實現功能一邊寫了實驗的demo,里面相關的功能都有提及,剛剛接觸QCustomPlot或者由著方面需求的小伙伴可以參考一下,相互學習,共同進步,有關于QCustomPlot的相關問題我們可以共同探討。
環境:Qt5.9.2(之前5.6.1通過),MinGW編譯器。

資源截圖

代碼片段和文件信息

#include?“stdafx.h“

#include?“AxisFixedPixelTicker.h“

struct?AxisFixedPixelTickerPrivate
{
int?m_iPixel?=?25;
QCPAxis?*?m_pDependAxis?=?nullptr;
};

AxisFixedPixelTicker::AxisFixedPixelTicker(QCPAxis?*?axis)
:?QCPAxisTicker()
?d_ptr(new?AxisFixedPixelTickerPrivate)
{
d_ptr->m_pDependAxis?=?axis;
}

AxisFixedPixelTicker::~AxisFixedPixelTicker()
{

}

void?AxisFixedPixelTicker::SetTickPixelStep(int?pixel)
{
d_ptr->m_iPixel?=?pixel;
}

int?AxisFixedPixelTicker::GetTickPixelStep()?const
{
return?d_ptr->m_iPixel;
}

double?AxisFixedPixelTicker::getTickStep(const?QCPRange?&?range)?
{
if?(d_ptr->m_pDependAxis)
{
bool?vertical;
if?(d_ptr->m_pDependAxis->axisType()?==?QCPAxis::atLeft
||?d_ptr->m_pDependAxis->axisType()?==?QCPAxis::atRight)
{
vertical?=?true;
}
else
{
vertical?=?false;
}

int?screenLength?=?vertical???d_ptr->m_pDependAxis->axisRect()->rect().height()?:?d_ptr->m_pDependAxis->axisRect()->rect().width();
return?d_ptr->m_iPixel?*?range.size()?/?screenLength;
}
else
{
// return?__super::getTickStep(range);
}
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-10-15?08:56??customplot\
?????文件????????1127??2018-07-23?09:25??customplot\AxisFixedPixelTicker.cpp
?????文件?????????606??2016-11-14?00:01??customplot\AxisFixedPixelTicker.h
?????文件???????20147??2018-07-24?15:34??customplot\BasicPlot.cpp
?????文件????????4446??2016-11-14?00:02??customplot\BasicPlot.h
?????文件????????1024??2018-07-24?15:33??customplot\BasicPlot_p.h
?????文件????????1735??2016-10-28?19:57??customplot\BasicWidget.cpp
?????文件????????1331??2016-11-14?00:01??customplot\BasicWidget.h
?????文件?????????531??2016-10-28?19:48??customplot\BasicWidget_p.h
?????文件????????7836??2016-11-13?23:56??customplot\CrossLinePlot.cpp
?????文件????????1533??2016-11-14?00:01??customplot\CrossLinePlot.h
?????文件????????6576??2016-11-13?22:27??customplot\FinancialPlot.cpp
?????文件????????1687??2016-11-14?00:01??customplot\FinancialPlot.h
?????文件?????????228??2016-10-27?11:42??customplot\FinancialPlot_p.h
?????文件????????4114??2016-11-14?00:03??customplot\FinancialWidget.cpp
?????文件?????????984??2016-11-14?00:03??customplot\FinancialWidget.h
?????文件?????????251??2016-10-27?17:46??customplot\FinancialWidget_p.h
?????文件?????????486??2016-10-26?17:28??customplot\IStockCommon.h
?????文件???????20526??2018-08-24?11:16??customplot\Makefile
?????文件??????528434??2018-08-24?11:16??customplot\Makefile.Debug
?????文件??????528743??2018-08-24?11:16??customplot\Makefile.Release
?????文件?????????450??2016-11-14?00:01??customplot\PlotCallback.h
?????文件?????????897??2016-10-31?11:41??customplot\PlotDefine.h
?????文件????????9007??2016-10-28?20:27??customplot\PlotWidget.cpp
?????文件????????2640??2016-11-14?00:01??customplot\PlotWidget.h
?????文件????????4585??2016-11-13?16:25??customplot\TimeSharingTrendPlot.cpp
?????文件?????????720??2016-11-14?00:01??customplot\TimeSharingTrendPlot.h
?????文件?????????319??2016-10-27?17:57??customplot\TimeSharingTrendPlot_p.h
?????文件????????5522??2016-11-14?00:04??customplot\TimeSharingTrendWidget.cpp
?????文件????????1269??2016-11-14?00:02??customplot\TimeSharingTrendWidget.h
?????文件?????????390??2016-10-27?17:57??customplot\TimeSharingTrendWidget_p.h
............此處省略49個文件信息

評論

共有 條評論