Skip to content

Class summary: TestMyCode

Henrik Lindberg edited this page Nov 9, 2017 · 1 revision

TestMyCode

Class TestMyCode is the foundation of the QtCreatorTMC project in the sense that it is the actual plugin class. Like all Qt Creator plugins, TestMyCode inherits ExtensionSystem::IPlugin (which in turn inherits QObject). Of particular interest is TestMyCode::initialize() which is called right after the constructor. The TestMyCode menu and its menu items are set up in this function (among other things). The menu items involve QAction objects. Each of these objects is connected to a function responsible for executing the menu item's task.

General introductory information on Qt Creator plugins:
https://doc-snapshots.qt.io/qtcreator-extending/first-plugin.html

Relevant files:
src/testmycode.*