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

mysql - How to enter php data into a html multiple select box -

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

c++ - Cassandra datastax cpp driver - avoiding unnecessary copies -