Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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