qt creator of all aspects of the source code analysis (2-10)

table of Contents

Creating Plugins

The core Qt Creator is a plugin loader, load and run a set of plug-ins that actually provides you learn from the Qt Creator IDE functions. Even the main application window and menu provided by plug-ins. Plug in different ways, for other plug-ins to access features of this plug-in, and allow certain aspects of their extended application.

For example, the Coreplug-in is fully operational Qt Creator must have very basic plug-in, which provides the main window, and related API, used to add a menu item, model, type of editor, navigation panel and many others.

TextEditorFramework and plug-in provides the basis to achieve different text editor, to achieve highlighting, code completion and folded, and then, to add other plugins use the add more specialized type of text editor Qt Creator, for example, for editing C / C ++ or .profile.

After reading this guide, you will learn the basic composition of the plug-in, how to write a plug-in specification documents, the life cycle of plug-ins, plug-ins extend existing functionality and provides an interface to other plug-ins general principles of what is, and should be enough to write your first plug-ins.

Fundamental contents

Design Guidelines

The Plugin Manager, the Object Pool, and Registered Objects(翻译)


原创造福大家,共享改变世界

献出一片爱心,温暖作者心灵


Guess you like

Origin www.cnblogs.com/codeForFamily/p/qt-creator-ide-source-learn-2-10.html