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

[sc-dev] [supercollider/supercollider] 178af4: class library: use only QT GUI classes.



  Branch: refs/heads/qt-only-gui
  Home:   https://github.com/supercollider/supercollider
  Commit: 178af45d9c7eea8e02443451fa8f713183ecea26
      https://github.com/supercollider/supercollider/commit/178af45d9c7eea8e02443451fa8f713183ecea26
  Author: Julian Rohrhuber <jrhb@xxxxxxxxxxxxxxxxxxxxx>
  Date:   2014-01-12 (Sun, 12 Jan 2014)

  Changed paths:
    M HelpSource/Classes/Button.schelp
    M HelpSource/Classes/CheckBox.schelp
    M HelpSource/Classes/CompositeView.schelp
    M HelpSource/Classes/Dialog.schelp
    M HelpSource/Classes/DragBoth.schelp
    M HelpSource/Classes/DragSink.schelp
    M HelpSource/Classes/DragSource.schelp
    M HelpSource/Classes/EnvelopeView.schelp
    M HelpSource/Classes/Font.schelp
    M HelpSource/Classes/FreqScopeView.schelp
    M HelpSource/Classes/GUI.schelp
    M HelpSource/Classes/GeneralHID.schelp
    M HelpSource/Classes/GridLayout.schelp
    M HelpSource/Classes/HLayout.schelp
    M HelpSource/Classes/HLayoutView.schelp
    M HelpSource/Classes/Knob.schelp
    M HelpSource/Classes/LevelIndicator.schelp
    M HelpSource/Classes/ListView.schelp
    M HelpSource/Classes/MovieView.schelp
    M HelpSource/Classes/MultiSliderView.schelp
    M HelpSource/Classes/NumberBox.schelp
    M HelpSource/Classes/Pen.schelp
    M HelpSource/Classes/PopUpMenu.schelp
    R HelpSource/Classes/QLayout.schelp
    M HelpSource/Classes/QPenPrinter.schelp
    R HelpSource/Classes/QTreeViewItem.schelp
    M HelpSource/Classes/QuartzComposerView.schelp
    M HelpSource/Classes/RangeSlider.schelp
    M HelpSource/Classes/SCViewHolder.schelp
    M HelpSource/Classes/ScopeView.schelp
    M HelpSource/Classes/ScrollView.schelp
    M HelpSource/Classes/Slider.schelp
    M HelpSource/Classes/Slider2D.schelp
    M HelpSource/Classes/SoundFileView.schelp
    M HelpSource/Classes/StackLayout.schelp
    M HelpSource/Classes/StaticText.schelp
    M HelpSource/Classes/Stethoscope.schelp
    M HelpSource/Classes/TabletSlider2D.schelp
    M HelpSource/Classes/TabletView.schelp
    M HelpSource/Classes/TextField.schelp
    M HelpSource/Classes/TextView.schelp
    M HelpSource/Classes/TreeView.schelp
    M HelpSource/Classes/UserView.schelp
    M HelpSource/Classes/VLayout.schelp
    M HelpSource/Classes/VLayoutView.schelp
    M HelpSource/Classes/View.schelp
    M HelpSource/Classes/WebView.schelp
    M HelpSource/Classes/Window.schelp
    M HelpSource/Guides/GUI-Layout-Management.schelp
    M QtCollider/Common.h
    M QtCollider/metatype.cpp
    M QtCollider/primitives/prim_QQuartzComposer.mm
    M QtCollider/primitives/prim_QWidget.cpp
    M QtCollider/primitives/prim_misc.cpp
    M QtCollider/type_codec.cpp
    M QtCollider/widgets/QcTreeWidget.cpp
    M SCClassLibrary/Common/GUI/Base/EZKnob.sc
    M SCClassLibrary/Common/GUI/Base/EZListView.sc
    M SCClassLibrary/Common/GUI/Base/EZNumber.sc
    M SCClassLibrary/Common/GUI/Base/EZPopUpMenu.sc
    M SCClassLibrary/Common/GUI/Base/EZRangerSC.sc
    M SCClassLibrary/Common/GUI/Base/EZScroller.sc
    M SCClassLibrary/Common/GUI/Base/EZSlider.sc
    M SCClassLibrary/Common/GUI/Base/EZSpecEditor.sc
    M SCClassLibrary/Common/GUI/Base/EZText.sc
    M SCClassLibrary/Common/GUI/Base/EZgui.sc
    M SCClassLibrary/Common/GUI/GUI.sc
    M SCClassLibrary/Common/GUI/Grid.sc
    M SCClassLibrary/Common/GUI/HelpBrowser.sc
    M SCClassLibrary/Common/GUI/Inspector.sc
    M SCClassLibrary/Common/GUI/PlusGUI/Control/FreqScope.sc
    M SCClassLibrary/Common/GUI/PlusGUI/Control/GeneralHIDGUI.sc
    M SCClassLibrary/Common/GUI/PlusGUI/Control/SynthDescLibPlusGUI.sc
    M SCClassLibrary/Common/GUI/PlusGUI/Control/UGen-scope.sc
    M SCClassLibrary/Common/GUI/PlusGUI/Control/WiiMoteGUI.sc
    M SCClassLibrary/Common/GUI/PlusGUI/Control/scopeResponse.sc
    M SCClassLibrary/Common/GUI/PlusGUI/Control/server-scope.sc
    M SCClassLibrary/Common/GUI/PlusGUI/Core/ClassBrowser.sc
    M SCClassLibrary/Common/GUI/PlusGUI/Math/PlotView.sc
    M SCClassLibrary/Common/GUI/SCViewHolder.sc
    R SCClassLibrary/Common/GUI/ViewRedirect.sc
    A SCClassLibrary/Common/GUI/backwardsCompatibility/classNameRedirects.sc
    M SCClassLibrary/Common/GUI/guicrucial/PageLayout.sc
    M SCClassLibrary/Common/GUI/guicrucial/StringGui.sc
    M SCClassLibrary/Common/GUI/guicrucial/gui.sc
    M SCClassLibrary/Common/GUI/viewExtensions.sc
    M SCClassLibrary/JITLib/GUI/ProxyMonitorGui.sc
    M SCClassLibrary/JITLib/GUI/TaskProxyGui.sc
    M SCClassLibrary/QtCollider/BasicViews.sc
    M SCClassLibrary/QtCollider/QDialog.sc
    M SCClassLibrary/QtCollider/QEnvelopeView.sc
    M SCClassLibrary/QtCollider/QFont.sc
    M SCClassLibrary/QtCollider/QImage.sc
    M SCClassLibrary/QtCollider/QKnob.sc
    M SCClassLibrary/QtCollider/QLayout.sc
    M SCClassLibrary/QtCollider/QLevelIndicator.sc
    M SCClassLibrary/QtCollider/QListView.sc
    M SCClassLibrary/QtCollider/QMultiSliderView.sc
    M SCClassLibrary/QtCollider/QNumberBox.sc
    M SCClassLibrary/QtCollider/QPen.sc
    M SCClassLibrary/QtCollider/QQuartzComposerView.sc
    M SCClassLibrary/QtCollider/QRangeSlider.sc
    M SCClassLibrary/QtCollider/QScope.sc
    M SCClassLibrary/QtCollider/QScope2.sc
    M SCClassLibrary/QtCollider/QSlider.sc
    M SCClassLibrary/QtCollider/QSlider2D.sc
    M SCClassLibrary/QtCollider/QSoundFileView.sc
    M SCClassLibrary/QtCollider/QStethoscope.sc
    M SCClassLibrary/QtCollider/QStethoscope2.sc
    M SCClassLibrary/QtCollider/QTextView.sc
    M SCClassLibrary/QtCollider/QTreeView.sc
    M SCClassLibrary/QtCollider/QUserView.sc
    M SCClassLibrary/QtCollider/QView.sc
    M SCClassLibrary/QtCollider/QWebView.sc
    M SCClassLibrary/QtCollider/QWindow.sc
    M SCClassLibrary/QtCollider/dnd_views.sc
    M SCClassLibrary/QtCollider/flowViewSupportQt.sc
    M SCClassLibrary/QtCollider/viewExtensionsQt.sc

  Log Message:
  -----------
  class library: use only QT GUI classes.

This is a rather large refactoring that removes all redirects which were introduced to allow to switch between different GUI kits (such as cocoa, swing and QT) at runtime. This ability was useful, but made the system very complicated and inefficient (This change speeds up Pen by 100 %).

This refactoring leaves intact old syntax insofar as (e.g.) GUI.slider still works, also QSlider can be used. Slider should be used directly now (this has been standard for a while, but there are still other cases around). In the folder GUI/backwardsCompatibility there are redirects for the classes prefixed by Q.

I changed all classes from QSomething to Something wherever there was already a direct access in such a way. More QT specific classes lile QPalette kept their Q-prefix.

The implClass functionaliyt was removed, but it is kept intact in the help system in case in the future someone wants to use class name redirects for something.

Also Stethoscope and FreqScopeWindow (and related classes) needed a change, they now keep the server as an instance variable instead of initialising a global server at startup.

Some helpfiles still need to be adjusted.

Thanks to Jakob Leben for very useful hints.


  Commit: dd6c7898e30f941e230e049830023a54d215895d
      https://github.com/supercollider/supercollider/commit/dd6c7898e30f941e230e049830023a54d215895d
  Author: Julian Rohrhuber <jrhb@xxxxxxxxxxxxxxxxxxxxx>
  Date:   2014-01-12 (Sun, 12 Jan 2014)

  Changed paths:
    M editors/sc-ide/core/sc_server.cpp

  Log Message:
  -----------
  scide: change label: show node tree


  Commit: 8d29e952c6b0b78b169d78c7e20d202aa9d840ff
      https://github.com/supercollider/supercollider/commit/8d29e952c6b0b78b169d78c7e20d202aa9d840ff
  Author: Julian Rohrhuber <jrhb@xxxxxxxxxxxxxxxxxxxxx>
  Date:   2014-01-12 (Sun, 12 Jan 2014)

  Changed paths:
    M HelpSource/Classes/PopUpMenu.schelp
    M SCClassLibrary/QtCollider/QView.sc

  Log Message:
  -----------
  help: improve example in help file


Compare: https://github.com/supercollider/supercollider/compare/178af45d9c7e^...8d29e952c6b0