-// Copyright (C) 2016 CEA/DEN, EDF R&D
+// Copyright (C) 2016-2024 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
class QAction;
namespace MEDCALC {
class MedEvent;
-};
+}
class TestController: public QObject {
Q_OBJECT
void createActions();
+ bool isMainEventLoopStarted() const { return _myEventLoopStarted; }
-
+ bool eventFilter(QObject *obj, QEvent *event);
+
protected:
virtual void customEvent(QEvent * event);
pqTestUtility * _tester;
QAction * _lock_action;
+private slots:
+ void onMainEventLoopStarting();
+
private:
const int _playEventType;
const int _quitEventType;
bool _aboutToPlayTest;
+
+ bool _myEventLoopStarted;
};
#endif /* SRC_MEDCALC_GUI_TESTCONTROLLER_HXX_ */