Introduction

In this tutorial we will write a simple plugin (called Auscrie for “Auto Screenshooter”) for LeechCraft. This way we will illustrate basic concepts of plugin writing. Our plugin would be able to take a screenshot of LeechCraft’s window and save it somewhere or upload to a imagebin. Screenshooting would be initiated by a button in the toolbar.

We will learn:

  • how to create dummy new plugins and build them;
  • how to add UI written in Qt Designer to plugins;
  • preferable ways of working with network and HTTP in particular in LeechCraft;
  • using LeechCraft messages to notify user about various events in your plugin.