30 #ifndef RVIZ_SCREENSHOT_DIALOG_H 31 #define RVIZ_SCREENSHOT_DIALOG_H 36 class QAbstractButton;
37 class QDialogButtonBox;
43 class ScaledImageWidget;
57 QWidget* render_window,
58 const QString& default_save_dir = QString());
76 void showEvent(QShowEvent* event)
override;
93 #endif // RVIZ_SCREENSHOT_DIALOG_H
ScreenshotDialog(QWidget *main_window, QWidget *render_window, const QString &default_save_dir=QString())
void savedInDirectory(const QString &directory)
Emitted when the user saves a file.
ScaledImageWidget * image_widget_
A dialog for grabbing a screen shot.
~ScreenshotDialog() override
QString default_save_dir_
void onButtonClicked(QAbstractButton *clicked)
QDialogButtonBox * button_box_
void showEvent(QShowEvent *event) override
void setSaveFullWindow(bool save_full_window)