Re: [pgadmin-hackers] import function's progress report

2009-01-06 Thread Quan Zongliang
> Are somebody working on an embbed python in pgadmin? TODO Item: - Python scripting engine? No one doing it. --- Quan Zongliang quanzongli...@gmail.com CIT Japan: http://www.cit.co.jp CIT China: http://www.citbj.com.cn -- Sent via pgadmin-hackers

Re: [pgadmin-hackers] import function's progress report

2009-01-05 Thread Dickson S. Guedes
Magnus Hagander escreveu: Quan Zongliang wrote: - Consider embedding Python (which is on the TODO anyway) and allowing transforms to be scripted on the client. I know nothing about Python. Left it later. :) Heh. Well, please consider leaving a good "hook point" for such an int

Re: [pgadmin-hackers] import function's progress report

2009-01-05 Thread Dave Page
On Sun, Jan 4, 2009 at 7:46 AM, Quan Zongliang wrote: > > The work restarted. > >> No, we don't make UI design optional - we use the appropriate controls >> for the task and leave it at that. > I had read wxWizard's document. The button's label and status can't be > controlled. You can use code s

Re: [pgadmin-hackers] import function's progress report

2009-01-05 Thread Quan Zongliang
> You can use code such as: > > FindWindow(wxID_FORWARD)->Disable(); > > Right - but those controls can be incorporated onto a panel that > provides additional user feedback such as a progress bar - and just > disable the Next/Finish button until the import has completed. > > Please bear in mind

Re: [pgadmin-hackers] import function's progress report

2009-01-03 Thread Quan Zongliang
The work restarted. > No, we don't make UI design optional - we use the appropriate controls > for the task and leave it at that. I had read wxWizard's document. The button's label and status can't be controlled. But I think we need or buttons and labels or more controller to control the data

Re: [pgadmin-hackers] import function's progress report

2008-12-31 Thread Dave Page
On Wed, Dec 31, 2008 at 11:50 AM, Quan Zongliang wrote: >> If you want to use Next/Previous buttons, then you should certainly be >> using a wxWizard. They're actually pretty easy to code. > Ok, I will look to it. > And ... the work will go on with wxToolbook, as I know nothing about > wxWizard no

Re: [pgadmin-hackers] import function's progress report

2008-12-31 Thread Quan Zongliang
> If you want to use Next/Previous buttons, then you should certainly be > using a wxWizard. They're actually pretty easy to code. Ok, I will look to it. And ... the work will go on with wxToolbook, as I know nothing about wxWizard now. Maybe the users would like to use style like wxNotebook? It c

Re: [pgadmin-hackers] import function's progress report

2008-12-31 Thread Quan Zongliang
> Do you plan to support loading multiple tables in one batch > (transaction)? If not initially, it would be great if you could plan for > the ability to do so on in the future - that is, don't make assumptions > that we will not want it. Because that would be a great feature. No plan, but it is a

Re: [pgadmin-hackers] import function's progress report

2008-12-31 Thread Magnus Hagander
Quan Zongliang wrote: > enbled. This is easy to code (I am lazy -.-). It can be modified if need. >> The different sources should be on a single 'Source' tab. At the top >> of that tab, use a radio button set to allow the user to select the > > Now, When open the import dialog, only one source pag

Re: [pgadmin-hackers] import function's progress report

2008-12-31 Thread Magnus Hagander
Dave Page wrote: > On Wed, Dec 31, 2008 at 11:18 AM, Quan Zongliang > wrote: >>> OK. Note that the different pages should be on a wxNotebook - don't >>> use buttons to control the UI (we've - OK, I've - made that mistake >>> before). >> >> I use wxToolbook and writed a XML handler. Because I can n

Re: [pgadmin-hackers] import function's progress report

2008-12-31 Thread Quan Zongliang
> OK. Note that the different pages should be on a wxNotebook - don't > use buttons to control the UI (we've - OK, I've - made that mistake > before). I use wxToolbook and writed a XML handler. Because I can not find method to hide or disable tabs with wxNotebook. The UI is controlled by "Back" a

Re: [pgadmin-hackers] import function's progress report

2008-12-31 Thread Dave Page
On Wed, Dec 31, 2008 at 11:18 AM, Quan Zongliang wrote: >> OK. Note that the different pages should be on a wxNotebook - don't >> use buttons to control the UI (we've - OK, I've - made that mistake >> before). > > > I use wxToolbook and writed a XML handler. Because I can not find method > to hide

Re: [pgadmin-hackers] import function's progress report

2008-12-31 Thread Magnus Hagander
Dave Page wrote: > Hi > > On Wed, Dec 31, 2008 at 7:14 AM, Quan Zongliang > wrote: >> Hi, all >> 3. Columns page: >> Set data format ( date & number), space trim and column's order >> I plan to support express, user can input a pgsql express to treat data. > > Hmm, pgsql expressions could be s

Re: [pgadmin-hackers] import function's progress report

2008-12-31 Thread Dave Page
Hi On Wed, Dec 31, 2008 at 7:14 AM, Quan Zongliang wrote: > Hi, all > > This is a progress report about import function. > A screenshot with dialog test mode (/t) attached. > Only the file page's code is finished. > > 1. Target page: > Now it is blank. > Reserved for standalone version to select

Re: [pgadmin-hackers] import function's progress report

2008-12-30 Thread Quan Zongliang
By the way: If someone need source, send private mail to me. Now, that send them to mail-list is untimely. --- Quan Zongliang quanzongli...@gmail.com CIT Japan: http://www.cit.co.jp CIT China: http://www.citbj.com.cn -- Sent via pgadmin-hackers ma