qt - emit qml signal on start application -
Is there a way to emit or is there a signal that emits in the beginning of an application in qml?
My purpose is to check the weather that some values are in the list and when, I want to enable a button
Something like this:
< Code> rectangle {id: main button {id: myButton checkable: false onClicked: {/ * something}} // first version connection: {target: myClass onSignalEmit () {myButton.checkable = true}} / / second Start the Wursat emission ()}
As @ rated ninja said that you Can use components. Then complete in this case
rectangle {id: main .... element. : start up(); }
Comments
Post a Comment