954,505 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Which GUI ?

Hello.

I made an command-line application. Now I want tomake an gui version but I don't know which GUI I should choose. I want the executable to have requirements for libaries while running (so I don't think about using GTK). I tried QT but I don't know if I can export a value from an spinbox to an variable (I need to do an equation) and give the result to other widget.
Thank you for any help.

FreeFull
Newbie Poster
11 posts since Apr 2007
Reputation Points: 10
Solved Threads: 0
 

So its a linux app?

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601
 

This app will be compiled for both windows and linux. If it would be just for linux I would try GTK (most linux distros have it).

FreeFull
Newbie Poster
11 posts since Apr 2007
Reputation Points: 10
Solved Threads: 0
 

If it was windows only i would just use MFC or the .NET CLR but these dont run on linux.

Mono maybe?

GTK is probably best. You can get it for windows i think

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601
 

(Accidental copy of post below)

FreeFull
Newbie Poster
11 posts since Apr 2007
Reputation Points: 10
Solved Threads: 0
 

You can get GTK in Windows, but I don't want people download GTK just to run my program. If someone would answer my question about QT that it is possible and say how this problem would be solved(you don't neet QT to run programs using it).

FreeFull
Newbie Poster
11 posts since Apr 2007
Reputation Points: 10
Solved Threads: 0
 

Send a signal to export a value from QSpinBox ti Variable.

QObject::connect(spinBox_variable, SIGNAL(ValueChanged(int)), variable, SLOT(setvalue(int)));
jan1024188
Posting Whiz in Training
254 posts since Aug 2006
Reputation Points: 27
Solved Threads: 2
 

Send a signal to export a value from QSpinBox ti Variable.

QObject::connect(spinBox_variable, SIGNAL(ValueChanged(int)), variable, SLOT(setvalue(int)));



??????

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601
 

what "????????" ?

Its error here....with ti...I wanted to write to variable

jan1024188
Posting Whiz in Training
254 posts since Aug 2006
Reputation Points: 27
Solved Threads: 2
 

Thank you, I will try it right now!

Edit: how do I import the value of another variable into the LCD number widget?

FreeFull
Newbie Poster
11 posts since Apr 2007
Reputation Points: 10
Solved Threads: 0
 
LCDNumber -> setValue(variable);
jan1024188
Posting Whiz in Training
254 posts since Aug 2006
Reputation Points: 27
Solved Threads: 2
 

Thank you!

FreeFull
Newbie Poster
11 posts since Apr 2007
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You