(sorry for my bad english, I'm not a nativce speaker)
Hi,
I use QT Creator, C++ and OpenCV. My mainprogram is working fine. But when I call my Dialog I get some unsolved problems.....
I have a Dialog and some Sliders in it.
In my Mainwindow there are some integer (from Header|Privat)).
Now I want to set the value of the sliders in the Dialog from the values ofn the integer from my mainwindow.
Can somone give me a little simple workaround, how to do?
I tried a lot of things, but now I am a little bit confused
I just need a little workaround how it should works in a simple way.....
I try like this:
//Mainwindow
...
mconfig= new myconfig(this);
mconfig-> show();
//try to set int POLX to value of sliderOLX in dialog named myconfig
connect(this, SIGNAL(POLX),parent,SLOT(myconfig::ui->sliderOLX->setValue))
...
//Mainwindow
void EBL_FK::keyPressEvent(QKeyEvent *e)
...
mconfig= new myconfig(this);
mconfig-> show();
//try to set int POLX to value of sliderOLX in dialog named myconfig
connect(this, SIGNAL(POLX),parent,SLOT(myconfig::ui->sliderOLX->setValue))
...
To copy to clipboard, switch view to plain text mode
thx a lot for your help
How would be the right way?
Bookmarks