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

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -