Conditional execution Conditions should be used instead of a conditional statement at the beginning of a QAction entry point that checks if the QAction should be executed.