For those of you who strive to write fully portable, Standard-compliant code:
What's the best library for writing GUI applications?
I've heard good things about wxWidgets. Would it be the preferred choice?
--
Frederick Gotham 17 1630
On Sat, 08 Jul 2006 16:36:47 GMT, Frederick Gotham
<fg*******@SPAM.comwrote:
>For those of you who strive to write fully portable, Standard-compliant code:
What's the best library for writing GUI applications?
HTML? We live in 2006!
"Frederick Gotham" <fg*******@SPAM.comwrote in message
news:za*******************@news.indigo.ie...
>
For those of you who strive to write fully portable, Standard-compliant
code:
What's the best library for writing GUI applications?
I've heard good things about wxWidgets. Would it be the preferred choice?
Qt. Last time I looked at wxWidgets (2+ years) it seemed to use
a lot of old style constructs - macros and such. Qt keeps that
to a minimum.
Roland Pibinger wrote:
On Sat, 08 Jul 2006 16:36:47 GMT, Frederick Gotham
<fg*******@SPAM.comwrote:
For those of you who strive to write fully portable, Standard-compliant code:
What's the best library for writing GUI applications?
HTML? We live in 2006!
so you asking him to write a cgi program in c++ and provide an
installation with embedded webserver :D.. excellent..
:))
Duane Hebert wrote:
Qt. Last time I looked at wxWidgets (2+ years) it seemed to use a lot of
old style constructs - macros and such. Qt keeps that to a minimum.
By adding 2 new keywords, signals & slots.
Oh, and they are dynamically typed, where the rest of C++ (including
careful macro usage) is statically typed.
Pick your poison.
--
Phlip
"Phlip" <ph*******@gEEEmail.comwrote in message
news:pa***************************@gEEEmail.com...
Duane Hebert wrote:
>Qt. Last time I looked at wxWidgets (2+ years) it seemed to use a lot of old style constructs - macros and such. Qt keeps that to a minimum.
By adding 2 new keywords, signals & slots.
Oh, and they are dynamically typed, where the rest of C++ (including
careful macro usage) is statically typed.
QDialog doh(this);
doh.exec();
Pick your poison.
Sure.
On Sat, 8 Jul 2006 14:36:32 -0400, "Duane Hebert" <sp**@flarn2.com>
wrote:
>"Frederick Gotham" <fg*******@SPAM.comwrote in message news:za*******************@news.indigo.ie...
>For those of you who strive to write fully portable, Standard-compliant code: What's the best library for writing GUI applications? I've heard good things about wxWidgets. Would it be the preferred choice?
Qt. Last time I looked at wxWidgets (2+ years) it seemed to use a lot of old style constructs - macros and such.
If I had time for an experiment I would try wxLua
( http://wxlua.sourceforge.net/). C++ is not a good choice for GUI
programming. Lua ( http://www.lua.org/) brings the flexibility of a
scripting language to C++. The combination of Lua and Wx seems
promising although wxLua currently is in "Development Status : 4 -
Beta".
Best wishes,
Roland Pibinger
On Sat, 08 Jul 2006 23:53:15 GMT, Phlip <ph*******@gEEEmail.com>
wrote:
>Duane Hebert wrote:
>Qt. Last time I looked at wxWidgets (2+ years) it seemed to use a lot of old style constructs - macros and such. Qt keeps that to a minimum.
By adding 2 new keywords, signals & slots.
.... and foreach. So, Qt-C++ isn't C++ any more, just lile C++/CLI.
>Oh, and they are dynamically typed, where the rest of C++ (including careful macro usage) is statically typed.
You mean, the 'rest of C++' does not support polymorphic programming?
"Roland Pibinger" <rp*****@yahoo.comwrote in message
news:44**************@news.utanet.at...
On Sat, 08 Jul 2006 23:53:15 GMT, Phlip <ph*******@gEEEmail.com>
wrote:
>>Duane Hebert wrote:
>>Qt. Last time I looked at wxWidgets (2+ years) it seemed to use a lot of old style constructs - macros and such. Qt keeps that to a minimum.
By adding 2 new keywords, signals & slots.
... and foreach. So, Qt-C++ isn't C++ any more, just lile C++/CLI.
Qt has some extensions but unlike some other gui libs,
you don't need to use them.
>>Oh, and they are dynamically typed, where the rest of C++ (including careful macro usage) is statically typed.
You mean, the 'rest of C++' does not support polymorphic programming?
Yeah, I didn't get that either. I would prefer that to
extensive use of macros.
Roland Pibinger wrote:
>>Oh, and they are dynamically typed, where the rest of C++ (including careful macro usage) is statically typed.
You mean, the 'rest of C++' does not support polymorphic programming?
Static typing means earlying binding to the base type of a set of
polymorphic types. All types in the set must relate by inheritance (to
provide the vtable or equivalent).
GUIs work best with dynamic typing (and block closures, which Qt doesn't
provide).
Qt provides dynamic typing when the 'signal' keyword does not specify which
base type must satisfy a corresponding 'slot'. Any type with a matching slot
will qualify.
That's not a bad thing, but it is indeed one more inconsistency between raw
C++ and Qt-C++.
Macros, by contrast, and despite their other flaws, can enforce a modest
amount of early typing.
--
Phlip http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!!
Roland Pibinger wrote:
If I had time for an experiment I would try wxLua
(http://wxlua.sourceforge.net/). C++ is not a good choice for GUI
programming. Lua (http://www.lua.org/) brings the flexibility of a
scripting language to C++.
Lua (like wxPython and the apocryphal wyRuby) provides dynamic typing and -
generally - block closures. GUIs need them.
--
Phlip http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!!
Frederick Gotham написав:
For those of you who strive to write fully portable, Standard-compliant code:
What's the best library for writing GUI applications?
I've heard good things about wxWidgets. Would it be the preferred choice?
What do you think about FOX? http://www.fox-toolkit.org/
For those of you who strive to write fully portable,
Standard-compliant code:
What's the best library for writing GUI applications?
I've heard good things about wxWidgets. Would it be the preferred
choice?
I wonder if there's any of the x-platform webbrosers, that provide a
slim and clean way of making a C++ program with a HTML/JavaScript GUI
frontend...
Frederick Gotham wrote:
For those of you who strive to write fully portable, Standard-compliant code:
What's the best library for writing GUI applications?
I've heard good things about wxWidgets. Would it be the preferred choice?
--
Frederick Gotham
I think SmartWin++ is maybe another choice,I found it at www.sourceforge.net,and have tried for some time.The framework is
designed in modern c++ style,and support std c++.I hope anyone who
experienced the framework could tell me about his opinion.
Phlip wrote:
Roland Pibinger wrote:
If I had time for an experiment I would try wxLua
(http://wxlua.sourceforge.net/). C++ is not a good choice for GUI
programming. Lua (http://www.lua.org/) brings the flexibility of a
scripting language to C++.
Lua (like wxPython and the apocryphal wyRuby) provides dynamic typing and -
generally - block closures. GUIs need them.
--
Phlip http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!!
can we embed Lua in C or C++?
Diego Martins wrote:
can we embed Lua in C or C++?
It happens all the time - that's how most of the game industry works.
Programmers write the engine in C++, with C libraries, and bond to Lua.
Then designers script each game level by authoring monsters in Lua,
associating them with props and triggers, etc.
Python, Perl, Ruby, etc. all enjoy this grace. And the technique
'AlternateHardAndSoftLayers' makes C++ very flexible and easy to work
with. Your high-level logic should be in the softer language.
--
Phlip
Frederick Gotham posted:
>
For those of you who strive to write fully portable, Standard-compliant
code:
What's the best library for writing GUI applications?
I've heard good things about wxWidgets. Would it be the preferred
choice?
I'm looking for the library which interacts best with the C++ Standard
Library.
I think I'm torn between wxWidgets and Qt at the moment.
--
Frederick Gotham
Frederick Gotham wrote:
>
I'm looking for the library which interacts best with the C++ Standard
Library.
I think I'm torn between wxWidgets and Qt at the moment.
Ever tried VCF? http://vcf-online.org This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: BJrn Lindqvist |
last post by:
See: http://www.wxpython.org/quotes.php. especially:
"wxPython is the best and most mature cross-platform GUI toolkit,
given a number of constraints. The only reason wxPython isn't the
standard...
|
by: shablool |
last post by:
Hi all!
The Strinx library is an efficient and easy-to-use string library. It
is written in C++, using modern template approach. It uses a class
hierarchy to implement a set of string objects...
|
by: Steven T. Hatton |
last post by:
Now that I have a better grasp of the scope and capabilities of the C++
Standard Library, I understand that products such as Qt actually provide
much of the same functionality through their own...
|
by: Mountain Bikn' Guy |
last post by:
What is the current preferred way to save user preferences in dotnet? Is the
registry the right place to do this? Can anyone recommend a good article (or
book) for this topic? Thanks.
|
by: Maciej Sobczak |
last post by:
I'm pleased to announce that the new release of the SOCI library is
available for download. The homepage of the project is:
http://soci.sourceforge.net/
The SOCI library is a database-access...
|
by: rCs |
last post by:
The SEI has published CMU/SEI-2006-TR-006 "Specifications for Managed
Strings" and released a "proof-of-concept" implementation of the
managed string library.
The specification, source code for...
|
by: Robert Seacord |
last post by:
The SEI has published CMU/SEI-2006-TR-006 "Specifications for Managed
Strings" and released a "proof-of-concept" implementation of the managed
string library.
The specification, source code for...
|
by: Eigenvector |
last post by:
I apologize if this is a trivial question, but it's always made me wonder
when I have to compile my code.
There are some #includes that you don't really need to reference in your
library and...
|
by: jacob navia |
last post by:
We have discussed often the proposition from Microsoft
for a safer C library.
A rationale document is published here by one of the members of
the design team at microsoft:...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...
| |