octave-maintainers
[Top][All Lists]
Advanced

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

Re: renaming some classes and using the octave namespace in the GUI


From: John W. Eaton
Subject: Re: renaming some classes and using the octave namespace in the GUI
Date: Thu, 8 Feb 2018 13:00:12 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

On 02/08/2018 12:43 PM, Daniel J Sebald wrote:

I'm not sure about the "browser" name change.  I prefer the names match what they are derived from.  This is sort of how Qt is set up, e.g., here's one hierarchy of inheritance:

QAbstractButton
QPushButton
QCommandLinkButton

This maybe makes sense for the fairly generic sort of widgets that Qt provides. But what I'm talking about are Octave objects. The history browser will always be something that allows users to examine the command history, but it may not always be derived from the QtDockWidget object. Having that in the name doesn't make sense to me. It's like Hungarian notation. It seems like it might be a good idea until you decide to change the type of a variable.

We could use another name than browser but I don't want to append DockWidget just because it currently happens to be implemented using a QtDockWidget object.

jwe



reply via email to

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