KDE TechBase
  • Page
  • Discussion
  • Edit
  • +
  • History
KDE TechBase is a Wiki - You can help! Please contribute! Questions?
Please ask development related questions in the KDE Community Forum.

Talk:Development/Tutorials/Using KXmlGuiWindow

< Talk:Development | Tutorials

I had a couple of problems:

In order to make cmake find my installed header files, I needed to specify -DCMAKE_INSTALL_PREFIX=/home/kde-devel/kde

and still it wouldn't compile. I had to change it to use KXmlGuiWindow instead of KMainWindow as it didn't seem to be able to use setupGUI();

/Sune

[edit] Why KXmlGuiWindow???

Hi! I can't understand why KXmlGuiWindow is used. There are no any xml files. And it's used in the tutorial as KMainWindow. Also the title is "How To Use KMainWindow". So, from my point of view it needs to be improved. --Powerfox 00:29, 29 July 2007 (CEST)

Why? This page is the base for the next part, "using KAction". Giving a correct skeleton now can save some work later. -- pino 15:52, 29 November 2007 (CET)

[edit] Example code line numbering

Hello, I am working through this tutorial and am having a problem cutting and pasting the code from this page to my text-editor. The line number information is copied with each selection. This means that I have to go back through it and delete the numbers 1, 2, 3, 4, 5.... (and extra spaces and such) for each line. the first tutorial IMO seemed to do this in a more copy-paste friendly way. Note I do like having the line numbers, but I would also like to be able to copy-paste the code easily.

As I answered to a similar post on one of the other tutorials, I can't replicate this problem. With Konqueror 3 and 4, Firefox 2 and Opera I can select the code without selecting the line numbers too. What browser are you using? --milliams 22:30, 28 May 2008 (CEST)


[edit] destructor for MainWindow class

Hello, why destructor is missing in the MainWindow class? --Chethan 09:37, 27 Sep 2009 (IST)

Retrieved from "http://techbase.kde.org/Talk:Development/Tutorials/Using_KXmlGuiWindow"

Navigation

  • Home
  • Help
  • Recent changes

Sections

  • Getting started
  • Development
  • Schedules
  • Policies
  • Contribute
  • Projects

Toolbox

  • What links here
  • Related changes
  • Special pages
  • Printable version
  • Permanent link

Personal tools

  • 38.107.191.97
  • Talk for this IP
  • Log in / create account
  • Login with OpenID
Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal