1、单独应用在一个QWidget中。
通过新建一个瀑布图后移除瀑布图即可只留住色度条。 QCustomPlot *customPlot ui->widget;QCPColorScale *colorScale new QCPColorScale(customPlot);customPlot->plotLayout()->addElement(0, 1, colorScale); // add it to the ri…
虚拟机再执行 sudo 命令的时候,出现类似这样的报错:
xx is not in the sudoers file. This incident will be reported 其实,背景是这样的,我自己没事瞎作死,干了个这事,给 /etc/sudoers 文件的最下面一行…