octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch #7847] Make gnuplot Qt terminal default for GUI/IDE via envir


From: Daniel J Sebald
Subject: Re: [patch #7847] Make gnuplot Qt terminal default for GUI/IDE via environment variable
Date: Sun, 23 Sep 2012 13:20:10 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

On 09/23/2012 09:10 AM, Ben Abbott wrote:

On Sep 23, 2012, at 5:27 AM, Daniel J Sebald wrote:

On 09/22/2012 09:55 AM, Mike Miller wrote:
On Sat, Sep 22, 2012 at 10:18 AM, Ben Abbott<address@hidden>   wrote:

On Sep 22, 2012, at 3:30 AM, Daniel J Sebald wrote:

[snip]
First, I think the preference is going to be that GUIDE+O use Qt terminal.  It 
is a nice looking terminal using the Qt icons giving it a look and feel that 
match GUIDE+O.  It has a couple more features than X11 terminal and is more 
robust in terms of aliasing, alpha-scaling, print buttons, etc.  It will be 
ostensibly the same figure window on all three (four?) major platforms.  There 
is the option to customize a figure window and place just the plot within the 
figure window (i.e., forward looking).

Dan, is your intent here that only Qt GUI users get the Qt gnuplot
while console users get the X11 gnuplot?

No, that wasn't my intention.  Someone using the console should be able to 
select Qt gnuplot if they like.  I was thinking X11 should remain the default 
(i.e., the current defaults).  I think there is some library that needs to be 
present to use Qt.  If the GUI is running, we all the Qt support is present.  
If running from the console, that is not assured.

I hadn't noticed Mike's changeset would change the behavior of CLI Octave.  If I'm reading you 
correctly, Octave should set the terminal to "qt" if (the GNUTERM environment variable is 
empty) and (gnuplot supports the "qt" terminal) and (the GUI is running).  Correct?

Yes, I believe that makes sense. If there is a way for the scripts to determine the GUIDE is running I think it is fair that somewhat non-generic code such as the private functions in the plotting engine use that condition.

Dan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]