comparison framework/Document.h @ 50:a8bb5b2aca4c

* Fix availability of alignment button and relative align/solo button state
author Chris Cannam
date Thu, 01 Nov 2007 16:02:01 +0000
parents c6328c8d6536
children e41af8419d4a
comparison
equal deleted inserted replaced
49:73f682a551dc 50:a8bb5b2aca4c
188 * Remove the given layer from the given view. 188 * Remove the given layer from the given view.
189 */ 189 */
190 void removeLayerFromView(View *, Layer *); 190 void removeLayerFromView(View *, Layer *);
191 191
192 /** 192 /**
193 * Return true if alignment is supported (i.e. if the necessary
194 * plugin is found).
195 */
196 bool canAlign() const;
197
198 /**
193 * Specify whether models added via addImportedModel should be 199 * Specify whether models added via addImportedModel should be
194 * automatically aligned against the main model if appropriate. 200 * automatically aligned against the main model if appropriate.
195 */ 201 */
196 void setAutoAlignment(bool on) { m_autoAlignment = on; } 202 void setAutoAlignment(bool on) { m_autoAlignment = on; }
197 203