4 Class.initClassTree( GUI );
17 *debugLevel_ { arg level;
19 ^this.primitiveFailed;
22 ///////////////////// redirection of GUI classes /////////////////////////////
25 *compositeView { ^QView }
26 *hLayoutView { ^QHLayoutView }
27 *vLayoutView { ^QVLayoutView }
29 *scrollView { ^QScrollView; }
31 *staticText { ^QStaticText }
33 *checkBox { ^QCheckBox; }
34 *textField { ^QTextField }
35 *numberBox { ^QNumberBox }
37 *multiSliderView { ^QMultiSliderView }
38 *rangeSlider { ^QRangeSlider }
39 *slider2D { ^QSlider2D }
40 *tabletSlider2D { ^this.notImplemented( "TabletSlider2D"); }
42 *listView { ^QListView }
43 *treeView { ^QTreeView }
44 *popUpMenu { ^QPopUpMenu }
45 *textView { ^QTextView; }
47 *freqScope { ^PlusFreqScopeWindow }
48 *freqScopeView { ^PlusFreqScope }
49 *scopeView { ^QScope }
50 *stethoscope { ^QStethoscope }
51 *soundFileView { ^QSoundFileView }
52 *envelopeView { ^QEnvelopeView }
53 *tabletView { ^this.notImplemented( "TabletView"); }
54 *movieView { ^this.notImplemented( "MovieView"); }
55 *levelIndicator { ^QLevelIndicator }
56 *webView { ^QWebView }
58 *userView { ^QUserView }
60 *dragSource { ^QDragSource; }
61 *dragSink { ^QDragSink; }
62 *dragBoth { ^QDragBoth; }
66 *ezScroller { ^EZScroller }
67 *ezSlider { ^EZSlider }
68 *ezListView { ^EZListView }
69 *ezPopUpMenu { ^EZPopUpMenu}
70 *ezNumber { ^EZNumber}
71 *ezRanger { ^EZRanger }
73 *hLayout { ^QHLayout }
74 *vLayout { ^QVLayout }
75 *gridLayout { ^QGridLayout }
80 *image { ^this.notImplemented( "Image" ) }
82 *notImplemented { arg class;
83 ("QtGUI: " ++ class.asString ++ " is not implemented yet").postln;
87 //////////////////////////////////////////////////////////////////////
91 ^this.primitiveFailed;
94 *style_ { arg styleName;
96 ^this.primitiveFailed;
99 *stringBounds { arg aString, aFont;
100 var bounds = this.prStringBounds( aString, aFont );
108 ^this.primitiveFailed;
113 ^this.primitiveFailed;
118 ^this.primitiveFailed;
122 var view = this.focusView;
124 if( view.respondsTo(\selectedText) ) { ^view.selectedText };
125 if( view.respondsTo(\selectedString) ) { ^view.selectedString };
130 // private ///////////////////////////////////////////////////////////
132 *prStringBounds { arg aString, aFont;
134 ^this.primitiveFailed