TriggersDialog 0 0 622 515 Triggers 0 0 List of all defined triggers. Click on a trigger to change it Load the collection of triggers from a file. &Load :/qtgameengine/icons/open.png:/qtgameengine/icons/open.png Delete the selected trigger. Make sure no object uses it! &Delete :/qtgameengine/icons/delete.png:/qtgameengine/icons/delete.png Add a trigger to the list &Add :/qtgameengine/icons/add.png:/qtgameengine/icons/add.png Clear the complete list of triggers &Clear :/qtgameengine/icons/new.png:/qtgameengine/icons/new.png Save the collection of triggers to a file &Save :/qtgameengine/icons/save.png:/qtgameengine/icons/save.png QDialogButtonBox::Ok true true Name: lineEditName Type here a name for the trigger Condition: plainTextEdit Type here the condition for the trigger Qt::Horizontal 40 20 Use the code editor to edit the condition &Use code editor Moment of checking: Event will be checked at the beginning of each step Begin of step Event will be checked in the middle of each step (just before the step event) Middle of step Event will be checked at the end of each step End of step Constant name: lineEditConstantName When required you can provide a constant name that you can use in code to call the event buttonBox accepted() TriggersDialog accept() 93 492 310 257 buttonBox rejected() TriggersDialog reject() 93 492 310 257