Thank you so much, first of all. This was just what I needed. I do have one question though:
I'm trying to add a QSlider, and set its min and max values. Based off the documentation, I took
new QSlider ( int minValue,
int maxValue,
int pageStep,
int value, Orientation orientation,
QWidget * parent,
const char * name
= 0 )
new QSlider ( int minValue, int maxValue, int pageStep, int value, Orientation orientation, QWidget * parent, const char * name = 0 )
To copy to clipboard, switch view to plain text mode
and made it into
new QSlider ( 0,
100,
10,
0, Qt
::Vertical,
QWidget * parent,
const char * name
= 0 )
new QSlider ( 0, 100, 10, 0, Qt::Vertical, QWidget * parent, const char * name = 0 )
To copy to clipboard, switch view to plain text mode
But I cant figure out what to pass for "QWidget * parent, const char * name = 0". Everything I try returns errors.
Any suggestions?
Bookmarks