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 "CADtexturingControl.h"
25 #include <QFileDialog>
26
CADtexturingControl(QWidget * parent,Qt::WindowFlags flags)27 CADtexturingControl::CADtexturingControl(QWidget * parent, Qt::WindowFlags flags) : QDockWidget(parent, flags)
28 {
29 setupUi(this);
30
31 QObject::connect(this->saverendering, SIGNAL(clicked()), this, SLOT(on_saverendering() ));
32 QObject::connect(this->render_edges, SIGNAL(stateChanged(int)), this, SLOT(on_renderedgesChanged(int)));
33 }
34
on_saverendering()35 void CADtexturingControl::on_saverendering(){
36 emit(saverenderingClicked());
37 }
38
on_renderedgesChanged(int state)39 void CADtexturingControl::on_renderedgesChanged(int state){
40 emit(renderedgesChanged(state));
41 }
42