Hi All,
I am new to the UI development in QT.I have one query regarding the color bar in Qwtscaledraw.

QwtScaleWidget * test = axisWidget(QwtPlot::xBottom);


if (test) {
test->setFont(QApplication::font());
test->setColorBarEnabled(true);
test->setColorBarWidth(20);

}


I have added the above code to draw the QWtScaledraw for the color bar.
color bar is dispalying I need to add border for the color bar.
I used the method drawColorBar to draw the border still its not working.
please guide me on this.