[Top][All Lists]

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

[Octave-bug-tracker] [bug #55795] Default Qt figure toolbar should use a

From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #55795] Default Qt figure toolbar should use an uitoolbar
Date: Thu, 28 Feb 2019 03:06:27 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0


                 Summary: Default Qt figure toolbar should use an uitoolbar
                 Project: GNU Octave
            Submitted by: pantxo
            Submitted on: jeu. 28 févr. 2019 08:06:24 UTC
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any



This has already been discussed in the past and is a known incompatibility
between Octave's Qt toolkit and Matlab. The current figure toolbar is
implemented in C++ and as such it is not only incompatible with Matlab, but
also not handy when it comes to modifying it.

I attached a preliminary cset that switches to
uitoolbar/uitoggletool/uipushtool for the implementation of the default
toolbar. ATM there are no significant differences with the current toolbar,
just a few additions:
* New button section for New, Open, Save and Save as,
* Use standard icons from the (linux) desktop when available. For this I added
a new "__named_icon__" property to ui(toggle/push)tool, so that we don't have
to store cdata resources in each button.

I have added some Tango icons for zoom-in/out/original and designed new ones
for pan and rotate (which I am not so proud about, don't hesitate to rework).


File Attachments:

Date: jeu. 28 févr. 2019 08:06:24 UTC  Name: qt_use_uitoolbar4.patch  Size:
247kio   By: pantxo



Reply to this item at:


  Message posté via Savannah

reply via email to

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