- void hideView() { QDockWidget::hide(); }
- void showData(std::string const & data)
- {
- controller_->initialiseParams(data);
- showView();
- }
- void showView()
- {
- widget_->updateView(); // make sure its up-to-date
- QDockWidget::show();
- }
- bool isVisibleView() const { return QDockWidget::isVisible(); }
- void checkStatus() { updateView(); }
- void redraw() { redrawView(); }
- void redrawView() {}
- void updateData(std::string const & data)
- {
- controller_->initialiseParams(data);
- updateView();
- }
- void updateView()
- {
- widget_->updateView();
- QDockWidget::update();
- }