MSV-Project / MSVTK

Multiscale Visualization ToolKit
https://web.archive.org/web/20141218040109/http://msvtk.org/
Apache License 2.0
14 stars 8 forks source link

Default button doesn't show up correctly #15

Closed finetjul closed 11 years ago

finetjul commented 11 years ago

-> A warning is generated: The interactor must be set prior to enabling the widget -> the VTK button label doesn't show up, one needs to toggle FlyTo checkbox to trigger the rendering (and the button still doesn't show up). Maybe update() should be called in msvQVTKButtonsMainWindowPrivate::addVTKButton() -> toolButton->setShowButton(true) should be the value of the checkbox -> msvQVTKButtonsMainWindowPrivate::addVTKButton() should probably call setShowLabel on the button. -> there is trash (e.g. "YYYYYYYYYYYYYYYYYYYYYY") in the tooltip text (and it sometimes crash). You can't use vtkSetMacro when setting text (in msvVTKButtonsInterface), you must use vtkSetStringMacro instead.