我有这样的QFrame
习惯
//! Widget which displays a audio level meter, indicating the
//! level and peak levels of the window of audio samples most recently analyzed
class BLACKGUI_EXPORT CLevelMeter : public QFrame
{
Q_OBJECT
Q_PROPERTY(QColor lowColor READ getLowColor WRITE setLowColor)
Q_PROPERTY(QColor highColor READ getHighColor WRITE setHighColor)
Q_PROPERTY(QColor peakColor READ getPeakColor WRITE setPeakColor)
我想在这样的qss
样式表中设置这些颜色
BlackGui--CLevelMeter {
lowColor: blue;
border: 1px solid grey;
border-radius: 5px;
这不起作用,有机会这样做吗?