Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using Kimono;
- using Qyoto;
- namespace zad2
- {
- public class MainWindow : KXmlGuiWindow
- {
- private KTextEdit te;
- public MainWindow (/*QWidget parent = null*/) : base(/*parent*/)
- {
- te = new KTextEdit("Hi, I am text edit field!", this);
- SetCentralWidget(te);
- //SetupGUI();
- }
- public static void Main(string[] args)
- {
- KAboutData ad = new KAboutData("Zadqwerty2", "",
- KDE.Ki18n("Zadqwerty2"), "v1.0", KDE.Ki18n("Description"),
- KAboutData.LicenseKey.License_LGPL);
- KCmdLineArgs.Init(args, ad);
- new KApplication();
- KXmlGuiWindow window = new MainWindow();
- window.Show();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement