LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-23-2005, 12:21 PM   #1
Kimbo
LQ Newbie
 
Registered: Feb 2005
Distribution: Ubuntu 7.04
Posts: 19

Rep: Reputation: 0
newbie with KDevelop


Hi!

I am a new with KDevelop, and I would someone could help me out a little.
The things is that I know C++, but aren't able to make a KDE app(grapical), so here is the things I need to know:

1. When I start KDevelop, and make a new project (C++ -> KDE -> Simple Designer based KDE Application), and there you will see a small dialog with one label and one button.
How do I change the text on the button when I click on it??
I have tried with: button->setText("some text"); but that didn't work!

2. Is there a quick way to make a message box(in a similar way as in VB6: Msgbox "some text")?

3. I have used VB a lot because VC6++ does not have a good IDE, so could anyone give me some translations from VB to KDevelop.. (see question 1& 2)

4. Where do I find some good tutorials? or a place where I could download a lot of examples?

Last edited by Kimbo; 03-23-2005 at 12:23 PM.
 
Old 03-23-2005, 12:24 PM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
If you're used to VB and want something familiar you could try: http://gambas.sourceforge.net
 
Old 03-23-2005, 02:10 PM   #3
Kimbo
LQ Newbie
 
Registered: Feb 2005
Distribution: Ubuntu 7.04
Posts: 19

Original Poster
Rep: Reputation: 0
Talking

Thanks!

I've just installed Gambas and played around with it... this is what I'm gonna use for a while...

But I still hope to get an answers on my questions
 
Old 03-24-2005, 06:57 AM   #4
Kimbo
LQ Newbie
 
Registered: Feb 2005
Distribution: Ubuntu 7.04
Posts: 19

Original Poster
Rep: Reputation: 0
Hmm doesn't anyone know how to change the buttons text at runtime?
 
Old 03-24-2005, 07:40 AM   #5
cppkid
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Ubuntu
Posts: 185

Rep: Reputation: 30
Hey Buddy its simple, even simpler then its in stupid Windows.
All you have to do is that you have to use Qt-designer with Kdevelop.
Wait a minute let me confirm that link....

just go to the website

http://www.kdevelop.org

In the website navigation bar at the left of the page there is a heading DOCUMENTATION and under that heading there is a sub heading TUTORIALS.
Click in front of tutorials, and it will show you the tutorials for Kdevelop and the first link for tutorial is
Qt Designer-3 and KDevelop-3
Just follow the link and you will learn it in maximum of 30 min.

Direct link for the tutorial is

http://women.kde.org/articles/tutorials/kdevelop3/

In this tutorial you just jum to the chapter3 which is
Creating the application
and follow the instuctions.
Wish you all the best.
 
Old 03-24-2005, 08:03 AM   #6
Kimbo
LQ Newbie
 
Registered: Feb 2005
Distribution: Ubuntu 7.04
Posts: 19

Original Poster
Rep: Reputation: 0
thanks!

Let me see "'Creating the application"... hmm... ahh!
 
Old 04-02-2005, 06:17 PM   #7
adymo
LQ Newbie
 
Registered: Jan 2005
Posts: 9

Rep: Reputation: 0
Take a look at
http://www.kdevelop.org/index.html?f...tes/index.html

PS: make sure you use KDevelop >= 3.1. It has integrated GUI designer. See issues 2 and 3 of KDevelop technotes.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kdevelop newbie compile problems blastradius Programming 4 10-28-2005 05:19 PM
Where is kdevelop??? baraujo SUSE / openSUSE 2 03-25-2005 11:20 AM
kdevelop newbie with QT tib_tib Linux - Software 3 04-02-2004 12:10 PM
KDevelop newbie needs help... perdesiz Programming 1 02-20-2004 05:00 PM
kdevelop help .......please! (newbie) deepsix Programming 6 04-28-2003 12:21 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration