in my form constructor.
in my form constructor.
So assuming your slider is initially positioned at 0, you get:
Isn't that what you get? Doesn't the slider show "0" as its tooltip?Qt Code:
myslider->setTooltip("0");To copy to clipboard, switch view to plain text mode
No.Nothing is visible .no t even a 0 value;
So this doesn't work?
Qt Code:
#include <QtGui> int main(int argc, char **argv) { QSlider slider; slider.setToolTip("tooltip"); slider.show(); return app.exec(); }To copy to clipboard, switch view to plain text mode
No.Its not working.
in my application i have a slider control.
and i wrote some thing like this in my form constructor.
ui->myslider->setposition(10);
ui->myslider0>settooltip("some text");
but its not working.i have tried all possible ways.still not able to fox this problem.
Bookmarks