diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/ico_light_group.png b/code/nel/tools/3d/object_viewer_qt/src/images/ico_light_group.png new file mode 100644 index 000000000..312f08a0f Binary files /dev/null and b/code/nel/tools/3d/object_viewer_qt/src/images/ico_light_group.png differ diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/ico_mrm_mesh.png b/code/nel/tools/3d/object_viewer_qt/src/images/ico_mrm_mesh.png new file mode 100644 index 000000000..8896f7b49 Binary files /dev/null and b/code/nel/tools/3d/object_viewer_qt/src/images/ico_mrm_mesh.png differ diff --git a/code/nel/tools/3d/object_viewer_qt/src/tune_mrm_dialog.cpp b/code/nel/tools/3d/object_viewer_qt/src/tune_mrm_dialog.cpp new file mode 100644 index 000000000..81af1eae3 --- /dev/null +++ b/code/nel/tools/3d/object_viewer_qt/src/tune_mrm_dialog.cpp @@ -0,0 +1,36 @@ +/* + Object Viewer Qt + Copyright (C) 2010 Dzmitry Kamiahin + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +*/ + +#include "stdpch.h" +#include "tune_mrm_dialog.h" + +namespace NLQT +{ + +CTuneMRMDialog::CTuneMRMDialog(QWidget *parent) + : QDockWidget(parent) +{ + ui.setupUi(this); +} + +CTuneMRMDialog::~CTuneMRMDialog() +{ +} + +} /* namespace NLQT */ diff --git a/code/nel/tools/3d/object_viewer_qt/src/tune_mrm_dialog.h b/code/nel/tools/3d/object_viewer_qt/src/tune_mrm_dialog.h new file mode 100644 index 000000000..74b3c9bae --- /dev/null +++ b/code/nel/tools/3d/object_viewer_qt/src/tune_mrm_dialog.h @@ -0,0 +1,52 @@ +/* + Object Viewer Qt + Copyright (C) 2010 Dzmitry Kamiahin + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +*/ + +#ifndef TUNE_MRM_DIALOG_H +#define TUNE_MRM_DIALOG_H + +#include "ui_tune_mrm_form.h" + +// STL includes + +// NeL includes + +// Project includes + +namespace NLQT +{ + +class CTuneMRMDialog: public QDockWidget +{ + Q_OBJECT + +public: + CTuneMRMDialog(QWidget *parent = 0); + ~CTuneMRMDialog(); + +private Q_SLOTS: + +private: + + Ui::CTuneMRMDialog ui; + +}; /* class CTuneMRMDialog */ + +} /* namespace NLQT */ + +#endif // TUNE_MRM_DIALOG_H diff --git a/code/nel/tools/3d/object_viewer_qt/src/tune_mrm_form.ui b/code/nel/tools/3d/object_viewer_qt/src/tune_mrm_form.ui new file mode 100644 index 000000000..ba6bd4d5e --- /dev/null +++ b/code/nel/tools/3d/object_viewer_qt/src/tune_mrm_form.ui @@ -0,0 +1,164 @@ + + + CTuneMRMDialog + + + + 0 + 0 + 576 + 87 + + + + + 476 + 87 + + + + QDockWidget::AllDockWidgetFeatures + + + Tune MRM (The maximum faces in scene) + + + + + + + + + Max (specify the max value) + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + true + + + QAbstractSpinBox::NoButtons + + + 10000000 + + + 100000 + + + + + + + + + + + Current (real final max polygon value) + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + true + + + QAbstractSpinBox::NoButtons + + + 10000000 + + + 100000 + + + + + + + + + 100000 + + + 5000 + + + 10000 + + + 100000 + + + Qt::Horizontal + + + 5000 + + + + + + + 100000 + + + 100000 + + + Qt::Horizontal + + + + + + + + + + horizontalSlider + valueChanged(int) + spinBox + setValue(int) + + + 214 + 67 + + + 232 + 47 + + + + +