1 /**************************************************************************** 2 * MeshLab o o * 3 * A versatile mesh processing toolbox o o * 4 * _ O _ * 5 * Copyright(C) 2005 \/)\/ * 6 * Visual Computing Lab /\/| * 7 * ISTI - Italian National Research Council | * 8 * \ * 9 * All rights reserved. * 10 * * 11 * This program is free software; you can redistribute it and/or modify * 12 * it under the terms of the GNU General Public License as published by * 13 * the Free Software Foundation; either version 2 of the License, or * 14 * (at your option) any later version. * 15 * * 16 * This program is distributed in the hope that it will be useful, * 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 19 * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * 20 * for more details. * 21 * * 22 ****************************************************************************/ 23 24 #include <QDialog> 25 #include <QFileDialog> 26 #include "snapshotsetting.h" 27 28 namespace Ui 29 { 30 class SSDialog; 31 } 32 33 class SaveSnapshotDialog: public QDialog 34 { 35 Q_OBJECT 36 37 public: 38 SaveSnapshotDialog(QWidget *parent = 0); 39 ~SaveSnapshotDialog(); 40 void setValues(const SnapshotSetting &ss); 41 SnapshotSetting getValues(); 42 43 private slots: 44 void browseDir(); 45 46 private: 47 Ui::SSDialog* ui; 48 SnapshotSetting settings; 49 }; 50