qstatemachine

How to design a state machine in face of non-blocking I/O?

I'm using Qt framework which has by default non-blocking I/O to develop an application navigating through several web pages (online stores) and carrying out different actions on these pages. I'm "mapping" specific web page to a state machine which I use to navigate through this page. This state machine has these transitions; Connect, Log...

Can I Add States, Trasitions, Proprerties if I a QStateMachine is already started?

I have some problem with states don't setting properties. Probably the problem is because I add the properties after the machine is started and I'm adding to the current state. But I need to add properties, states and transition when the machine is already running. Thank you. ...

Should QHistoryState configuration be persistent between QStateMachine starts/stops?

Let's say that my QStateMachine have a structure depicted below: Note: actionsHistory is QHistoryState with initializeActions set as default state. The transitions flow go like this: actions actionsHistory initializeActions (default state for actionsHistory) doActions interrupt (after QEvent::User) actions actionsHistory doActions ...

How to get this Qt state machine to work?

I have two widgets that can be checked, and a numeric entry field that should contain a value greater than zero. Whenever both widgets have been checked, and the numeric entry field contains a value greater than zero, a button should be enabled. I am struggling with defining a proper state machine for this situation. So far I have the fo...

QStatemachine and parallel states

Dear All, I'm going crazy with QStateMachine wth ParallelState. I've a main state (sequential) which contain a first state, a second state which contains a group of parallel states, and another state that is again sequential. The first state represent a process which create N input files, the second represents N threads which works over ...