Connect QStateMachine child and parent classes
The base class has a protected state machine. Is it possible to somehow link this machine to an machine of the current class?
startTest->addTransition(FillingGas::machine, SIGNAL(finished()), alignment);
Since the machine is a protected member variable, you can access it from subclasses.