Difference between revisions of "Comparison of wxSmith features"

From Code::Blocks
(Updated wxStdDialogButtonSizer & wxStyledTextCtrl addition to wx-DevC++)
Line 336: Line 336:
 
|-  
 
|-  
 
! style="text-align: left; background: #ececec;" | wxMenu
 
! style="text-align: left; background: #ececec;" | wxMenu
| {{no}}
+
| {{yes}}
 
| {{yes}}
 
| {{yes}}
 
| {{yes}}
 
| {{yes}}
Line 560: Line 560:
 
|-  
 
|-  
 
! style="text-align: left; background: #ececec;" | wxStatusBar
 
! style="text-align: left; background: #ececec;" | wxStatusBar
| {{no}}
+
| {{yes}}
 
| {{yes}}
 
| {{yes}}
 
| {{no}}
 
| {{no}}
Line 600: Line 600:
 
|-  
 
|-  
 
! style="text-align: left; background: #ececec;" | wxToolbar
 
! style="text-align: left; background: #ececec;" | wxToolbar
| {{no}}
+
| {{yes}}
 
| {{yes}}
 
| {{yes}}
 
| {{yes}}
 
| {{yes}}

Revision as of 00:29, 25 February 2007

Here is a list of wxSmith features when compared to other wxWidgets RAD solutions.

Note that support for new features are added on a daily basis for some of these RADs.

Please update this list when something gets added.

General information

Basic general information about the RADs: developer, license/price etc.

RAD Developer Cost (USD) Open source Software licence
wxSmith Bartlomiej Swiecki Free Yes GPL
DialogBlocks Julian Smart Free (trial), €66 (normal), €35 (student) No Proprietary
wxDesigner Robert Roebling Free (trial), €129 (normal), €29 (student) No Proprietary
wxFormBuilder José Antonio Hurtado, Juan Antonio Ortega Free Yes GPL
VisualWx ? Free No ?
wxDevC++ Guru Kathiresan , Tony Reina, Malcolm Nealon, Joel Low Free Yes GPL
RAD Developer Cost (USD) Open source Software licence

Widgets supported

Widget wxSmith DialogBlocks wxDesigner wxFormBuilder VisualWx wxDevC++
wxBitmapButton No Yes Yes Yes Yes Yes
wxBoxSizer Yes Yes Yes Yes Yes Yes
wxButton Yes Yes Yes Yes Yes Yes
wxCalendarCtrl Yes Yes No Yes Yes Yes
wxCheckBox Yes Yes Yes Yes Yes Yes
wxCheckListBox Yes Yes No No Yes Yes
wxChoice Yes Yes Yes Yes Yes Yes
wxChoicebook Yes Yes No Yes Yes No
wxColourDialog No No No No No Yes
wxComboBox Yes Yes Yes Yes Yes Yes
wxContextHelpButton No Yes No No Yes No
wxDatePickerCtrl Yes Yes No Yes Yes Yes
wxDialUpManager No No No No No Yes
wxDirDialog No No No No No Yes
wxDynamicSashWindow No No No No Yes No
wxFlexGridSizer Yes Yes Yes Yes Yes Yes
wxFileDialog No No No No No Yes
wxFindReplaceDialog No No No No No Yes
wxFontDialog No No No No No Yes
wxGauge Yes Yes Yes Yes Yes Yes
wxGenericDirCtrl Yes Yes No No Yes No
wxGrid No Yes Yes Yes Yes Yes
wxGridBagSizer No Yes No No No No
wxGridSizer Yes Yes Yes Yes Yes Yes
wxHtmlEasyPrinting No No No No No Yes
wxHtmlListBox No No No No No No
wxHtmlWindow Yes Yes No Yes Yes Yes
wxHyperLinkCtrl No No No No No Yes
wxListbook Yes Yes No Yes Yes No
wxListBox Yes Yes Yes Yes Yes Yes
wxListCtrl Yes Yes Yes Yes Yes Yes
wxListView No No No No Yes No
wxMediaCtrl No No No No No Yes
wxMenu Yes Yes Yes Yes Yes Yes
wxMessageDialog No No No No No Yes
wxMultiChoiceDialog No No No No No Yes
wxNotebook Yes Yes Yes Yes Yes Yes
wxOwnerDrawnComboBox No No No No No Yes
wxPanel Yes Yes Yes Yes Yes Yes
wxPasswordEntryDialog No No No No No Yes
wxPrintDialog No No No No No Yes
wxProgressDialog No No No No No Yes
wxPropertySheetDialog No Yes No No No No
wxRadioBox Yes Yes Yes Yes No Yes
wxRadioButton Yes Yes Yes Yes Yes Yes
wxRichTextCtrl Yes Yes Yes Yes Yes Yes
wxSashLayoutWindow No Yes No No Yes No
wxSashWindow No Yes No No Yes No
wxScrollBar Yes Yes No Yes Yes Yes
wxScrolledWindow Yes Yes Yes Yes Yes Yes
wxSingleChoiceDialog No No No No No Yes
wxSlider Yes Yes Yes Yes Yes Yes
wxSpacer Yes Yes Yes Yes Yes No
wxSpinButton Yes Yes Yes Yes Yes Yes
wxSpinCtrl Yes Yes Yes Yes Yes Yes
wxSplitterWindow Yes Yes Yes Yes Yes Yes
wxStaticBitmap Yes Yes Yes Yes Yes Yes
wxStaticBox Yes Yes No No Yes Yes
wxStaticBoxSizer Yes Yes Yes Yes Yes Yes
wxStaticLine Yes Yes Yes Yes Yes Yes
wxStaticText Yes Yes Yes Yes Yes Yes
wxStatusBar Yes Yes No Yes Yes Yes
wxStdDialogButtonSizer Yes Yes No Yes No Yes
wxTextCtrl Yes Yes Yes Yes Yes Yes
wxTextEntryDialog No No No No No Yes
wxToggleButton Yes Yes Yes Yes Yes Yes
wxToolbar Yes Yes Yes Yes Yes Yes
wxTreebook No No No No No No
wxTreeCtrl Yes Yes Yes Yes Yes Yes
wxVListBox No No No No No No
wxVScrolledWindow No No No No No No
wxWindow (Foreign) No Yes Yes No Yes No
wxWizardPage No Yes No No Yes No
Widget wxSmith DialogBlocks wxDesigner wxFormBuilder VisualWx wx-DevC++

Contrib widgets supported

Widget wxSmith DialogBlocks wxDesigner wxFormBuilder VisualWx wxDevC++
awxLed No No No Yes No No
wxEditableListBox No No No No Yes No
wxFlatNotebook No No No Yes No No
wxLEDNumberCtrl No No No No Yes No
wxPlotWindow No No No Yes Yes No
wxPropertyGrid No No No Yes No No
wxPropertyGridManager No No No Yes No No
wxScintilla No No No Yes No No
wxStyledTextCtrl No No No No Yes Yes
wxTreeListCtrl No No No No No Yes
Widget wxSmith DialogBlocks wxDesigner wxFormBuilder VisualWx wxDevC++

Languages supported

Feature wxSmith DialogBlocks wxDesigner wxFormBuilder VisualWx wxDevC++
C++ code output Yes Yes Yes Yes Yes Yes
Python code output No Yes Yes No Yes No
Lua code output No No No No Yes No
Ruby code output No No No No Yes No
Perl code output No No Yes No Yes No
C# code output No No Yes No No No
Basic code output No No No No No No
Feature wxSmith DialogBlocks wxDesigner wxFormBuilder VisualWx wxDevC++

Features supported

Feature wxSmith DialogBlocks wxDesigner wxFormBuilder VisualWx wxDevC++
XRC input Yes Yes Yes Yes Yes No
XRC output Yes Yes Yes Yes Yes Yes
XRC code loading Yes Yes No No ? No
Validators No Yes No No No Yes
Conditional UI No Yes No No No No
Event table and handler generation Partial Yes Partial No Partial Yes
Bitmaps support No Yes Yes No Yes Yes
English descriptions No Yes No No Yes No
Easy access to window pointers Yes Yes No No ? Yes
Visually creating custom controls Partial Yes Partial No Partial No
Template controls No No No No Yes No
Sizer design Yes Yes Yes Yes Yes Yes
Non-sizer design Partial No No No Yes Yes
Feature wxSmith DialogBlocks wxDesigner wxFormBuilder VisualWx wxDevC++
  • ^  Currently, only one dialog resource per XRC file is imported.

Features explained

^ Validators

The aim of the validator concept is to make dialogs very much easier to write. A validator is an object that can be plugged into a control (such as a wxTextCtrl), and mediates between C++ data and the control, transferring the data in either direction and validating it. It also is able to intercept events generated by the control, providing filtering behaviour without the need to derive a new control class.

How to use validators in a RAD that supports this concept: Just add a variable, select the variable and a validator, and the data transfer between variable and control is done for you.

^ Conditional UI

It's the ability to adapt the user interface to the UI guidelines of different platform.

Just mark elements as for one platform (or several), and preview the look for any given platform.

Example of how it looks on DialogBlocks

^ Event table and handler generation

The RAD generates the event tables and empty handlers (including UI update handlers) so you can immediately concentrate on writing code to make the dialog come to life.

It includes a choice of event types for each window, with function name editing.

DialogBlocks Event Handler

Here DialogBlocks haves the list of event handlers.

The most noticeable feature here is that if you do a double-click on a event, you're transported to the function associated in the code. It's very handy.

Event Tables in DialogBlocks

VisualWx Event Handler

Here VisualWx filters the events:

  • Base wxWidgets Events
  • Component Events
  • Windows Events
  • VisualWx Events
  • Custom Events

Event Tables in VisualWx

^ Bitmap support

Bitmaps support means that you can import images into your project from a variety of formats and associate them with your static bitmap and bitmap button controls.

You can specify whether the bitmaps will converted into XPM format (the standard format for small bitmaps in wxWidgets) and whether the XPM image will be inserted as inline C++ code, or loaded from a file.

^ English descriptions

English descriptions show a brief description of each element, to help you get used to sizers and also to make it easier to see at a glance the important aspects of your dialog element.

An example of DialogBlocks English descriptions

^ Easy access to window pointers

The easy access to window pointers concept means:

Give each window a variable name, and the RAD will add the name to the class declaration, and initialise it to the appropriate window in the implementation.

In XRC mode, the RAD can generate the code to find the window and assign it to the pointer variable.

^ Template controls

Template controls are sets of most common widgets together, like an Ok/Cancel pair buttons inside a sizer, being user-definable.