Access the widgets value from ui in other classes else mainWindow.



  • Can I access the widgets value from ui in other classes else mainWindow.

    I want to take value from spinBox and use it into my other classe xdata class and than send the new value returned by xdata() to the mainWindow class.

    something like this
    ui->spinBox.value();


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.