mirror of
https://github.com/KLayout/klayout.git
synced 2026-08-31 18:16:08 +02:00
The patch is based on splitting the application class into two incarnations - one for GUI capability and one without. GSI binding happens dynamically based on the mode chosen. We can do so because the application class is the first one to become active and can decide the mode by itself. In general, the application class carries too much functionality and splitting is a task for the future. Right now, the functionality is inside the base class and the derived classes basically only configure the base class. A better design would be to drop the QApplication inheritance in the RBA::Application class hierarchy and provide access to the QApplication object through qapp_gui getter.