new development version of wxFormBuilder
new development version of wxFormBuilder
Hi,
a new development version (20050327) of the RAD tool wxFormBuilder has been published. In this version you can integrate custom components with a plugin.
dowload: http://software-libre.org/project/showf ... roup_id=71
homepage: http://wxformbuilder.software-libre.org/
Regards,
Jose Antonio.
a new development version (20050327) of the RAD tool wxFormBuilder has been published. In this version you can integrate custom components with a plugin.
dowload: http://software-libre.org/project/showf ... roup_id=71
homepage: http://wxformbuilder.software-libre.org/
Regards,
Jose Antonio.
- T-Rex
- Moderator
- Posts: 1249
- Joined: Sat Oct 23, 2004 9:58 am
- Location: Zaporizhzhya, Ukraine
- Contact:
Nice work!. I like it. But there are some remarks.
- Why is it possible to add sizers to wxButton, wxTextCtrl etc
- Codegeneration works fine, but GUI doesn't appear (but the GUI of the exapmples is shown)
- mingwm10.dll needed (it is 16 kb size, so maybe it will be good to include it into distribution? )
PS: I remember that it is only a development version
- Why is it possible to add sizers to wxButton, wxTextCtrl etc
- Codegeneration works fine, but GUI doesn't appear (but the GUI of the exapmples is shown)
- mingwm10.dll needed (it is 16 kb size, so maybe it will be good to include it into distribution? )
PS: I remember that it is only a development version
It's a bug, thanks.T-Rex wrote:Nice work!. I like it. But there are some remarks.
- Why is it possible to add sizers to wxButton, wxTextCtrl etc
I don't know what you mean...T-Rex wrote:- Codegeneration works fine, but GUI doesn't appear (but the GUI of the exapmples is shown)
You are right, I will include it in a new version.T-Rex wrote: - mingwm10.dll needed (it is 16 kb size, so maybe it will be good to include it into distribution? )
Thanks.
- T-Rex
- Moderator
- Posts: 1249
- Joined: Sat Oct 23, 2004 9:58 am
- Location: Zaporizhzhya, Ukraine
- Contact:
I mean that Designer doesn't work correctly
If I open an example, Designer shows all controls, but when I create my own project:
+wxFrame
--+wxBoxSizer(wxVERTICAL)
----+wxPanel
------+wxBoxSizer(wxVERTICAL)
--------+wxButton
--------+wxButton
only top-level element (wxFrame) is shown. I can see wxPanel and wxButton
If I open an example, Designer shows all controls, but when I create my own project:
+wxFrame
--+wxBoxSizer(wxVERTICAL)
----+wxPanel
------+wxBoxSizer(wxVERTICAL)
--------+wxButton
--------+wxButton
only top-level element (wxFrame) is shown. I can see wxPanel and wxButton
Try to change layout properties for wxPanel, setting wxEXPAND and proportion = 1.T-Rex wrote:I mean that Designer doesn't work correctly
If I open an example, Designer shows all controls, but when I create my own project:
+wxFrame
--+wxBoxSizer(wxVERTICAL)
----+wxPanel
------+wxBoxSizer(wxVERTICAL)
--------+wxButton
--------+wxButton
only top-level element (wxFrame) is shown. I can see wxPanel and wxButton
- T-Rex
- Moderator
- Posts: 1249
- Joined: Sat Oct 23, 2004 9:58 am
- Location: Zaporizhzhya, Ukraine
- Contact:
Try this code:
As you can see,proportion of the panel is 0, but the panel is visible (its size is 20x20 by default), could you implement such thing in your Designer. It makes the work far more easier.
- If I add a new control, it doesn't become selected automatically. It will be nice if you fix this.
- If i select "wxWindow" or "C++" or "Layout" tab of "OBJECT PROPERTIES", when editing the properties of the control (e.g. wxPanel), if I select another control, the first tab of "OBJECT PROPERTIES" becomes active. It is inconveniently.
Code: Select all
#include <wx/wx.h>
#include <wx/notebook.h>
class MyApp : public wxApp
{
public:
virtual bool OnInit();
};
IMPLEMENT_APP(MyApp)
bool MyApp::OnInit()
{
wxFrame * frame = new wxFrame(NULL, -1, "Test");
wxPanel * panel = new wxPanel(frame, -1);
wxBoxSizer * sizer = new wxBoxSizer(wxVERTICAL);
frame->SetSizer(sizer);
sizer->Add(panel, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5);
frame->Show();
SetTopWindow(frame);
return true;
}
- If I add a new control, it doesn't become selected automatically. It will be nice if you fix this.
- If i select "wxWindow" or "C++" or "Layout" tab of "OBJECT PROPERTIES", when editing the properties of the control (e.g. wxPanel), if I select another control, the first tab of "OBJECT PROPERTIES" becomes active. It is inconveniently.
It is not an standard behaviour, if you compile that code with wxWidgets 2.4.2 the panel is not visible.T-Rex wrote:As you can see,proportion of the panel is 0, but the panel is visible (its size is 20x20 by default), could you implement such thing in your Designer. It makes the work far more easier.
Yes, I will add these remarks to my "To-Do" list.T-Rex wrote: - If I add a new control, it doesn't become selected automatically. It will be nice if you fix this.
- If i select "wxWindow" or "C++" or "Layout" tab of "OBJECT PROPERTIES", when editing the properties of the control (e.g. wxPanel), if I select another control, the first tab of "OBJECT PROPERTIES" becomes active. It is inconveniently.
Thanks.
Please include boost and TinyXML in next version. I have some errors when trying to create tinyxml.a file for compiling and boost files give me some errors too...
--- http://linkku.has.it ---
- Debian Etch, KDevelop3, Anjuta2, wxWidgets CVS, GCC 3.3
- Windows XP, wxDevCpp, wxWidgets 2.6.1
- Debian Etch, KDevelop3, Anjuta2, wxWidgets CVS, GCC 3.3
- Windows XP, wxDevCpp, wxWidgets 2.6.1
Ok, I'll do it.Linkku wrote:Please include boost and TinyXML in next version. I have some errors when trying to create tinyxml.a file for compiling and boost files give me some errors too...
I supose (watching the Tux picture ) that you tried to compile on Linux. Last version is not tested on Linux but previous is tested correctly.
Please see README.txt file, and if you have problems I will thank you a more detailed description on wxFormBuilder forum:
http://software-libre.org/forum/new.php ... roup_id=71
Thanks.
-
- Super wx Problem Solver
- Posts: 466
- Joined: Sat Sep 18, 2004 2:49 am
- Location: California, USA
Re: new development version of wxFormBuilder
Hi,jhurtado wrote:Hi,
a new development version (20050327) of the RAD tool wxFormBuilder has been published. In this version you can integrate custom components with a plugin.
The Project looks promising. I'm not sure what you have in mind about this Designer. If you are going to let this grow as an independent project, I really don
Re: new development version of wxFormBuilder
I have no intentions on coding a full featured IDE, only a GUI designer, there are very good open source IDEs.gururamnath wrote:But if you are planning to make this a full fledged IDE kinda thing, I would ask you not to re-invent the wheel.
I think that it is not necessary for be useful. I don't like the feature of editing code generated (DialogBlocks does this). I think that it is better derive a new class from generated class and add your custom handlers on it. So, you can regenerate GUI code without problems.gururamnath wrote:Even if your project is just a Form designer, people eventually will start asking you to add a feature to compile the code directly and then to edit the code when compiling etc.
The first time that I saw wxDevC++ I really like it, even I was looking source code. But I found a potencial problem on it (for my needs). I think remember that you use VCL controls (from Borland Delphi) for designer and not wxWidgets controls, this is a problem when you want add custom widgets.gururamnath wrote:I had this experience when developing wx-devcpp. Initially I started out as a Form Designer...
I don't know exactly how you implemented sizers and controls but if you have to "emulate" wxWidgets component behaviour development can become a hell!.
Yes, a codeblocks developer contact me in order to integrate wxFormBuilder with it. I gave him information about wxformBuilder internals for that. I think wxFormBuilder is an app easy to understand, it has small code length and writting custom libs of components is really easy.gururamnath wrote:Code::Blocks seems to be budding IDE for wx. Try Code::Blocks or just pickup some opensource wx IDE and make a provision to add wxFormBuilder as a part of it and reduce your work on the IDE part of the wxFormDesigner
Thanks.gururamnath wrote:Good luck with your project.
Jose Antonio.