working on QT change/get win property (stylesheet for cvTrackBar fixed !!!)

This commit is contained in:
Yannick Verdie
2010-06-11 09:02:57 +00:00
parent 802d5f9940
commit f6f634bace
2 changed files with 55 additions and 57 deletions

View File

@@ -627,12 +627,12 @@ CvTrackbar::CvTrackbar(CvWindow* arg, QString name, int* value, int count, CvTra
//QFile qss(PATH_QSLIDERCSS);
//if (qss.open(QFile::ReadOnly))
//{
//slider->setStyleSheet(QLatin1String(qss.readAll()));
//qss.close();
// slider->setStyleSheet(QLatin1String(qss.readAll()));
// qss.close();
//}
//does not work if we change the style with a stylesheet, why ?
//this next line does not work if we change the style with a stylesheet, why ? (bug in QT ?)
//slider->setTickPosition(QSlider::TicksBelow);
label = new QPushButton;
label->setFlat(true);