Mac OS X interface problems

Поиск
Список
Период
Сортировка
Искать

Mac OS X interface problems

От:
Andreas Pflug <pgadmin@pse-consulting.de>
Дата:
Please don't use private mail, we need to discuss this in the 
pgadmin-hackers community.

Maarten Engelen wrote:
> Attached you will find two screenshots of the preference dialog an the 
> database property dialog after I changed the default font setting from 
> Lucida Grande to Courier. I had to do this in the pgadmin3 preference 
> file, because (as you will see from the screenshot) there is no dropdown 
> control to choose a new font. The control is uneditable.
> 
> I edited the database property dialog xrc file to make it a bit wider. 
> But the controls still don't space evenly over the dialog.

Your description doesn't fit the snapshots (font is "genova", not 
"courier"; anyway, this doesn't seem to be the well-known font problem.

Please try the wx xrc sample: copy the attached basicdlg.xrc to 
samples/xrc/rc, make and start xrcdemo (ignore the version hint) and 
have a look at the basic dialog. It should display correctly, with the 
exception of the three buttons at the bottom which might be 
misplaced/cut off. Post the result here if it doesn't look ok.

Regards,
Andreas




  
    Options
    0,0d
    246,166d
    
    
      
        General
        1
        
          
            User language
            5,5d
          
          
            
            70,5d
            160,12d
            
          
          
            SQL help site
            5,22d
          
          
            70,20d
            160,-1d
            Enter the path or URL to the PostgreSQL documentation
          
          
            HTTP proxy
            5,37d
          
          
            70,35d
            160,-1d
          
        
      
      
        Preferences
        
          
            Font
            5,7d
          
          
            70,5d
            140,12d
            
          
          
            ...
            215,5d
            15,-1d
          
          
            Read and write Unicode UTF-8 files
            5,35d
            226,12d
          
          
            Do not prompt for unsaved files on exit
            0
            5,47d
            226,12d
          
          
            Confirm object deletion?
            1
            5,59d
            226,12d
          
          
            Show users for privileges?
            0
            5,71d
            226,12d
          
          
            Show object properties on double click in treeview?
            0
            5,83d
            226,12d
          
        
      
      
        Query
        
          
            Font
            5,7d
          
          
            70,5d
            140,-1d
            
          
          
            ...
            215,5d
            15,-1d
          
          
            Maximum rows to retrieve
            5,22d
          
          
            100
            175,20d
            35,-1d
            Maximums rows to retrieve into output window; 0 = unlimited
          
          
            Max. characters per column
            5,37d
          
          
            256
            175,35d
            35,-1d
          
          
            Count rows if estimated less than
            5,52d
          
          
            175,50d
            35,-1d
          
          
            Copy SQL from main form to SQL dialogue
            1
            5,67d
            226,12d
          
        
      
      
        Logging
        
          
            Logfile (%ID will be replaced with the Process ID)
            5,5d
          
          
            pgadmin3_%ID.log
            5,17d
            205,-1d
            Enter a filename to write application logs to.
          
          
            ...
            215,17d
            15,-1d
            Browse for a logfile.
          
          
            Log Level
            
              &No logging
              &Errors only
              Errors and N&otices
              Errors, Notices, &SQL
              &Debug (not recommended for normal use)
            
            2
            1
            25,35d
            
            Select the level of detail to record in the logfile.
          
        
      
      2,3d
      240,141d
    
    
      &Help
      2,147d
      Accept the current settings and close the dialogue.
    
    
      &OK
      1
      140,147d
      Accept the current settings and close the dialogue.
    
    
    &Cancel
      0
      193,147d
      Cancel any changes and close the dialogue.
    
  

Re: Mac OS X interface problems

От:
Maarten Engelen <maarten@jvonet.nl>
Дата:
Well, not a very good start: I'm getting a compiler error when  
compiling the xrcdemo. :(

g++ -o xrcdemo  xrcdemo_xrcdemo.o xrcdemo_myframe.o xrcdemo_derivdlg.o  
xrcdemo_custclas.o -framework QuickTime -framework IOKit -framework  
Carbon -framework Cocoa -framework System    -L../../lib  
-lwx_macud_xrc-2.5  -lwx_macud_html-2.5  -lwx_macud_adv-2.5    
-lwx_macud_core-2.5  -lwx_base_carbonud_xml-2.5  -lwx_base_carbonud-2.5  
   -lwxtiffd-2.5 -lwxjpegd-2.5 -lwxpngd-2.5   -lwxregexud-2.5  
-lwxexpatd-2.5 -framework QuickTime -framework IOKit -framework Carbon  
-framework Cocoa -framework System  -lz -lpthread -liconv  -framework  
WebKit
ld: Undefined symbols:
wxURL::wxURL[in-charge](wxString const&)
wxURL::~wxURL [in-charge]()
make: *** [xrcdemo] Error 1

Any idea how to fix this?

Regards,

Maarten

Op 20-dec-04 om 12:17 heeft Andreas Pflug het volgende geschreven:

> Please don't use private mail, we need to discuss this in the  
> pgadmin-hackers community.
>
> Maarten Engelen wrote:
>> Attached you will find two screenshots of the preference dialog an  
>> the database property dialog after I changed the default font setting  
>> from Lucida Grande to Courier. I had to do this in the pgadmin3  
>> preference file, because (as you will see from the screenshot) there  
>> is no dropdown control to choose a new font. The control is  
>> uneditable.
>> I edited the database property dialog xrc file to make it a bit  
>> wider. But the controls still don't space evenly over the dialog.
>
> Your description doesn't fit the snapshots (font is "genova", not  
> "courier"; anyway, this doesn't seem to be the well-known font  
> problem.
>
> Please try the wx xrc sample: copy the attached basicdlg.xrc to  
> samples/xrc/rc, make and start xrcdemo (ignore the version hint) and  
> have a look at the basic dialog. It should display correctly, with the  
> exception of the three buttons at the bottom which might be  
> misplaced/cut off. Post the result here if it doesn't look ok.
>
> Regards,
> Andreas
>
>
> 
> 
>   
>     Options
>     0,0d
>     246,166d
>      
> 
>           
>           
>             SQL help site
>             5,22d
>           
>           
>             70,20d
>             160,-1d
>             Enter the path or URL to the PostgreSQL  
> documentation
>           
>           
>             HTTP proxy
>             5,37d
>           
>           
>             70,35d
>             160,-1d
>           
>         
>       
>       
>         Preferences
>         
>           
>             Font
>             5,7d
>           
>           
>             70,5d
>             140,12d
>             
>           
>           
>             ...
>             215,5d
>             15,-1d
>           
>           
>             Read and write Unicode UTF-8 files
>             5,35d
>             226,12d
>           
>           
>             Do not prompt for unsaved files on exit
>             0
>             5,47d
>             226,12d
>           
>           
>             Confirm object deletion?
>             1
>             5,59d
>             226,12d
>           
>           
>             Show users for privileges?
>             0
>             5,71d
>             226,12d
>           
>           
>             Show object properties on double click in  
> treeview?
>             0
>             5,83d
>             226,12d
>           
>         
>       
>       
>         Query
>         
>           
>             Font
>             5,7d
>           
>           
>             70,5d
>             140,-1d
>             
>           
>           
>             ...
>             215,5d
>             15,-1d
>           
>           
>             Maximum rows to retrieve
>             5,22d
>           
>           
>             100
>             175,20d
>             35,-1d
>             Maximums rows to retrieve into output window; 0 =  
> unlimited
>           
>           
>             Max. characters per column
>             5,37d
>           
>           
>             256
>             175,35d
>             35,-1d
>           
>           
>             Count rows if estimated less than
>             5,52d
>           
>           
>             175,50d
>             35,-1d
>           
>           
>             Copy SQL from main form to SQL dialogue
>             1
>             5,67d
>             226,12d
>           
>         
>       
>       
>         Logging
>         
>           
>             Logfile (%ID will be replaced with the Process  
> ID)
>             5,5d
>           
>           
>             pgadmin3_%ID.log
>             5,17d
>             205,-1d
>             Enter a filename to write application logs  
> to.
>           
>           
>             ...
>             215,17d
>             15,-1d
>             Browse for a logfile.
>           
>           
>             Log Level
>             
>               &No logging
>               &Errors only
>               Errors and N&otices
>               Errors, Notices, &SQL
>               &Debug (not recommended for normal use)
>             
>             2
>             1
>             25,35d
>             
>             Select the level of detail to record in the  
> logfile.
>           
>         
>       
>       2,3d
>       240,141d
>     
>     
>       &Help
>       2,147d
>       Accept the current settings and close the  
> dialogue.
>     
>     
>       &OK
>       1
>       140,147d
>       Accept the current settings and close the  
> dialogue.
>     
>     
>     &Cancel
>       0
>       193,147d
>       Cancel any changes and close the dialogue.
>     
>   
> 

Re: Mac OS X interface problems

От:
Andreas Pflug <pgadmin@pse-consulting.de>
Дата:
Maarten Engelen wrote:
> Well, not a very good start: I'm getting a compiler error when  
> compiling the xrcdemo. :(
> 
> g++ -o xrcdemo  xrcdemo_xrcdemo.o xrcdemo_myframe.o xrcdemo_derivdlg.o  
> xrcdemo_custclas.o -framework QuickTime -framework IOKit -framework  
> Carbon -framework Cocoa -framework System    -L../../lib  
> -lwx_macud_xrc-2.5  -lwx_macud_html-2.5  -lwx_macud_adv-2.5    
> -lwx_macud_core-2.5  -lwx_base_carbonud_xml-2.5  -lwx_base_carbonud-2.5  
>   -lwxtiffd-2.5 -lwxjpegd-2.5 -lwxpngd-2.5   -lwxregexud-2.5  
> -lwxexpatd-2.5 -framework QuickTime -framework IOKit -framework Carbon  
> -framework Cocoa -framework System  -lz -lpthread -liconv  -framework  
> WebKit
> ld: Undefined symbols:
> wxURL::wxURL[in-charge](wxString const&)
> wxURL::~wxURL [in-charge]()
> make: *** [xrcdemo] Error 1
> 
> Any idea how to fix this?

No. xrcdemo doesn't use wxURL. Maybe you need a newer cvs snapshot 
(ideally CVS HEAD)
Please ask at wx-dev for assistance.

Regards,
Andreas
FAQ