# Getting started with KXmlGui

This tutorial will guide you in creating a small text editor using [KTextEditor](docs:ktexteditor;index.html) , [KXmlGui](docs:kxmlgui;index.html) for the window and [KIO](docs:kio;index.html) for saving and loading files.

KXmlGui is built on top of QtWidgets and provides several libraries easily create your user interfaces with C++. QtWidgets is a mature technology with several premade components to easily create user interfaces, and it is strongly geared towards non-convergent, traditional desktop interfaces.

The knowledge gained from this tutorial will introduce you to several KDE libraries that are managed with C++, and should prove useful for other tutorials, like [Kirigami](/start/kde-developer-platform/readme/getting-started/kirigami.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.novaflowos.com/start/kde-developer-platform/readme/getting-started/kxmlgui/_index.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
