Gui: use of TaskDialog::addTaskBox
This commit is contained in:
@@ -634,12 +634,9 @@ SbVec3f InteractiveScale::getCoordsOnImagePlane(const SbVec3f& point)
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
TaskImageDialog::TaskImageDialog(Image::ImagePlane* obj)
|
||||
: widget{new TaskImage(obj)}
|
||||
{
|
||||
widget = new TaskImage(obj);
|
||||
auto taskbox = new Gui::TaskView::TaskBox(
|
||||
Gui::BitmapFactory().pixmap("image-plane"), widget->windowTitle(), true, nullptr);
|
||||
taskbox->groupLayout()->addWidget(widget);
|
||||
Content.push_back(taskbox);
|
||||
addTaskBox(Gui::BitmapFactory().pixmap("image-plane"), widget);
|
||||
}
|
||||
|
||||
void TaskImageDialog::open()
|
||||
|
||||
Reference in New Issue
Block a user