You are not logged in.

#1 2011-04-03 18:52:00

Kuwiano
Member
Registered: 2011-02-21
Posts: 17

GUI Programmierung

In our School we lern how to programm windows form applications. So I thought there must be some alternative for Linux. But after trying gtk+ and qt .... no not really. I am not able to make a simple calculator. So is there any alternative like WFA?

Offline

#2 2011-04-03 19:05:06

akb825
Member
Registered: 2011-03-27
Posts: 87

Re: GUI Programmierung

If you want something like Windows Forms, you can actually use Windows Forms with mono. (http://www.mono-project.com/Main_Page) I'm not sure it's 100% cross compatible, but it's at least close.

Offline

#3 2011-04-03 19:10:42

Kuwiano
Member
Registered: 2011-02-21
Posts: 17

Re: GUI Programmierung

I would have no problem with qt if it can do the same as WinForms for me. If I have an textbox or something like this it didn't even give me autocomplete... too difficult for the beginning hmm

Offline

#4 2011-04-03 19:12:24

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: GUI Programmierung

Kuwiano wrote:

too difficult for the beginning hmm

It's only difficult because you think you can do it the same way as you "learned" at school. Start from the scratch, bring some time and read a tutorial.

Offline

#5 2011-04-03 19:15:35

Kuwiano
Member
Registered: 2011-02-21
Posts: 17

Re: GUI Programmierung

mhh ok any suggestions for a good IDE / GUI Designer in one?

Offline

#6 2011-04-03 19:16:22

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,611

Re: GUI Programmierung

When playing with Qt, did you use Qt Designer to develop your GUI graphically?
Did you use Qt Creator as your IDE?  It has autocomplete and requires no fiddling to get it set up for Qt.

If you don't want C++, maybe take a look at Python with PyQt.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#7 2011-04-03 19:18:42

Kuwiano
Member
Registered: 2011-02-21
Posts: 17

Re: GUI Programmierung

I used QTCreator for both ... and it didn't work no autocomplete and nothing also I got immadetly the error mainwindow.o wasn't found

Offline

#8 2011-04-03 19:54:39

Stebalien
Member
Registered: 2010-04-27
Posts: 1,239
Website

Re: GUI Programmierung

Try glade, python, and pygtk.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C

Offline

#9 2011-04-04 04:34:15

invalidArgument597
Member
From: Ohio, United States
Registered: 2011-04-02
Posts: 37

Re: GUI Programmierung

Honestly, you've got several options here. I'm a bit curved to the GTK side of the fence, so my reccomendation would be Glade with pretty much whatever-language-you're-most-comfortable-with's GTK+ bindings. I'm primarily a Perl dev, so I use Glade with Perl and Perl-Gtk2, however for some Perl is like an allergic reaction, so it depends on what you're most accustomed to. Since you made Windows apps, I assume that was in C#. Very similar to that, as I'm sure you know, is Java, and for that you could use Netbeans with the (semi official) Swing toolkit, there's even a GUI builder there. Hope you can take some info out of this.


This account replaced by 'iv597'. Just can't delete old accounts on here...

Offline

#10 2011-04-05 08:09:04

cafejunkie
Member
From: /dev/null
Registered: 2010-12-22
Posts: 7
Website

Re: GUI Programmierung

I myself am partial to QT (I find everything overall more intuitive) but YMMV. The thing is with WinForms is the way the Visual Studio GUI builder works is different from how things are done on this side of the computing world big_smile
With GTK (as well as most other UI Toolkits) rather than just "dragging and dropping" your widgets freeform into the window you actually need to create containers for those widgets. It is a bit of a learning curve if all you are used to is building GUI applications with WinForms in Visual Studio.
I would follow the other's recommendations about C#. Get yourself monodevelop and dive in with a GTK# application. Coming from a visual studio/win forms world it will feel very familiar to you. If you want to skip mono and GTK# I will add a +1 to glade although I'd go with python and pygtk vs perl gtk for a beginner (don't get me wrong, Perl is great and I love it but it's not something I'd recommend to someone in your current situation smile ).


"Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen an angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had." --LinusTorvalds

Offline

#11 2011-04-05 16:37:22

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: GUI Programmierung

Stebalien wrote:

Try glade, python, and pygtk.

Should use  PyGObject these days

Anyway, Kuwiano, what language are they teaching you at school?


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB