Are you new to OOP, or to programming?
At any rate, it looks you do not understand the difference between a class and an object.
You should start by reading and understanding these (and other) basic pricipals before you start programming "real" applications.
To your error:
void C_Interfaz:n_ButtonConfig_released()
{
//C_Interfaz::ui.Interfaz->geometry.width(488, 266); //you are trying to use a class, instead of an object instance of that class.
C_Interfaz *InterfzObj = new C_Interfaz();
QRect rect
= InterfzObj
->geometry
();
InterfzObj->setGeometry(rect.x(),rect.y(),488, 266);
}
void C_Interfaz:n_ButtonConfig_released()
{
//C_Interfaz::ui.Interfaz->geometry.width(488, 266); //you are trying to use a class, instead of an object instance of that class.
C_Interfaz *InterfzObj = new C_Interfaz();
QRect rect = InterfzObj->geometry();
InterfzObj->setGeometry(rect.x(),rect.y(),488, 266);
}
To copy to clipboard, switch view to plain text mode
Bookmarks