News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

wxPropertyGrid for compiler options

Started by pauliusz, August 06, 2007, 01:37:52 AM

Previous topic - Next topic

pauliusz

The thing I didn't like most in CB was compiler options dialog... So I started to implement wxPropertyGrid for it. Attached patch is the first result of my work.
I would recommend to apply [ Patch #2104 ] wxPropertyGrid 1.2.6->1.2.8 before trying it out... although it should work with 1.2.6 also (I haven't tried)...

Currently I am working on problem with splitter positioning... Now you have to expand window to see checkbox'es. Maybe someone has good idea about this?

I see big potential in wxPropertyGrid since it will be possible to add combobox for CPU selection and optimization level, editbox for options like stack size and etc.

[attachment deleted by admin]

TDragon

This sounds pretty cool ... if it would work. Crash report attached. XP Pro SP2, wxMSW 2.8.4, C::B r4349 w/ patch 2104 and your patch.

[attachment deleted by admin]
[url="https://jmeubank.github.io/tdm-gcc/"]https://jmeubank.github.io/tdm-gcc/[/url] - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

thomas

Tried the very same thing some 12-13 months ago, decided to stay far away from wxPropertyGrid after fighting against it for 2 weeks.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

pauliusz

Quote from: thomas on August 06, 2007, 09:08:42 AM
Tried the very same thing some 12-13 months ago, decided to stay far away from wxPropertyGrid after fighting against it for 2 weeks.

What problems you were fighting with?

pauliusz

Quote from: TDragon on August 06, 2007, 02:09:49 AM
This sounds pretty cool ... if it would work. Crash report attached. XP Pro SP2, wxMSW 2.8.4, C::B r4349 w/ patch 2104 and your patch.

Strange... Couldn't reproduce crash with exactly the same environment.

Biplab

It works well and looks cool. Good work. :)

Quote from: pauliusz on August 06, 2007, 01:37:52 AM
Currently I am working on problem with splitter positioning... Now you have to expand window to see checkbox'es. Maybe someone has good idea about this?

I can see the checkboxes without any resizing or moving the splitters. BTW, I'm still using wxPropGrid-1.2.6.
Be a part of the solution, not a part of the problem.

pauliusz

Improvements:
* sunken border for grid
* freeze/thaw, improves rendering speed and removes any flickering (may also fix TDragon problem)

[attachment deleted by admin]

dmoore

Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]

pauliusz

Quote from: dmoore on August 07, 2007, 12:15:52 AM
screenshot for the incredibly lazy?

Here you go...

[attachment deleted by admin]

dmoore

Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]

rjmyst3

[url="http://wxformbuilder.org"]http://wxformbuilder.org[/url]

killerbot

lazy here : can you show a screenshot, with one of those long settings : Eg : In C mose, support all ISO C90 programs.In C++ mode, remove GNU extensions that conflict with ISO C++ [-ansi] ?

pauliusz

Quote from: killerbot on August 07, 2007, 07:45:46 AM
lazy here : can you show a screenshot, with one of those long settings : Eg : In C mose, support all ISO C90 programs.In C++ mode, remove GNU extensions that conflict with ISO C++ [-ansi] ?

[attachment deleted by admin]

thomas

Quote from: pauliusz on August 06, 2007, 09:49:39 AMWhat problems you were fighting with?
It is seemingly impossible to make it work the way one wants it. It looks what it looks like, it places controls where it places them, and it uses the controls it uses.
If that's not exactly what you want by any chance, you're lost. True, you can adjust the font size and colour... but that is about it.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."