git-svn-id: svn://db.shs.com.ru/libs@691 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2019-12-12 17:48:23 +00:00
parent 23c7f76f53
commit 903e516bbb
6 changed files with 698 additions and 462 deletions

View File

@@ -0,0 +1,65 @@
/*
QGLView
Copyright (C) 2019 Ivan Pelipenko peri4ko@yandex.ru
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 <http://www.gnu.org/licenses/>.
*/
#ifndef VIEW_EDITOR_H
#define VIEW_EDITOR_H
#include <QWidget>
#include "qglview.h"
namespace Ui {
class ViewEditor;
}
class ViewEditor: public QWidget
{
Q_OBJECT
public:
explicit ViewEditor(QWidget * parent = 0);
void assignQGLView(QGLView * v);
protected:
void changeEvent(QEvent * e);
Ui::ViewEditor * ui;
QGLView * view;
bool active;
private slots:
void on_spinFOV_valueChanged(double val);
void on_spinDepthStart_valueChanged(double val);
void on_spinViewGamma_valueChanged(double val);
void on_comboViewRenderMode_currentIndexChanged(int val);
void on_groupHoverHalo_clicked(bool val);
void on_groupSelectionHalo_clicked(bool val);
void on_spinHoverHaloFill_valueChanged(double val);
void on_spinSelectionHaloFill_valueChanged(double val);
void on_colorHoverHalo_colorChanged(QColor color);
void on_colorSelectionHalo_colorChanged(QColor color);
void on_checkAutoExposure_toggled(bool val);
void on_checkFXAA_clicked(bool val);
void on_checkCameraOrbit_clicked(bool val);
void on_checkCameraLight_clicked(bool val);
void on_checkService_clicked(bool val);
signals:
};
#endif // VIEW_EDITOR_H