Translations:Development/Tutorials/Using KXmlGuiWindow/14/en
We initialise our text editor with an object and use KXmlGuiWindow's built-in setCentralWidget() function on it which tells the KXmlGuiWindow what should appear in the central section of the window.