From: Ethan A M. <me...@uw...> - 2021-03-03 00:15:44
|
On Tuesday, 2 March 2021 15:36:12 PST m sutton wrote: > On 2/24/2021 11:59 PM, Ethan A Merritt wrote: > > On Wednesday, 24 February 2021 18:50:51 PST m sutton wrote: > >> Hi All, > >> > >> I have used the X11 terminal forever. I'm looking to use the Qt > >> terminal with my switch to version 5.4. > >> > >> One thing I can't seem to do is set the default plot window size. With > >> X11 you could do this through the Xresource mechanism. > >> > >> I can set it with the 'set term qt' command, but I would like to be able > >> to set in the Qt settings dialog. Then it could be saved with the settings. > > I do this by setting the environmental variable GNUTERM > > in my login profile: > > > > setenv GNUTERM "qt size 700,440 font 'ArnoPro,12'" > > > > Ethan > > I guess I didn't realize the GNUTERM could contain terminal options. > Until now I never had the need to have options in GNUTERM. > > > > > >> I also noticed that the 'set term qt' command doesn't support a > >> rounded/norounded option for line drawing. This can only be done via > >> the Qt settings dialog. > >> > >> So here is my idea. Add window width and height inputs to the Qt > >> settings dialog to set a default terminal size. Add rounded/norounded > >> (aka butt) option to the 'set term qt' command. > Any thoughts on extending the 'set term qt' to have options like > rounded/norounded and antialias on/off capability? I would really like > to set these on the fly without my users having to open the settings dialog. Only that it would be harder than you might think. Remember that there are two separate programs involved. Command line input goes to gnuplot but the display is being managed by gnuplot_qt, which looks at the saved settings in ~/.config/gnuplot_qtrc and changes made via the dialog. Ethan |