Changed: #1193 Improve layers in dialogs.

This commit is contained in:
dnk-88 2011-01-15 11:25:51 +02:00
parent 351788a0f7
commit 89a224255d
37 changed files with 636 additions and 374 deletions

View file

@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>519</width>
<height>98</height>
<width>489</width>
<height>92</height>
</rect>
</property>
<property name="sizePolicy">
@ -18,8 +18,8 @@
</property>
<property name="minimumSize">
<size>
<width>519</width>
<height>98</height>
<width>489</width>
<height>92</height>
</size>
</property>
<property name="maximumSize">
@ -42,6 +42,12 @@
</property>
<widget class="QWidget" name="dockWidgetContents">
<layout class="QGridLayout" name="gridLayout">
<property name="margin">
<number>9</number>
</property>
<property name="spacing">
<number>1</number>
</property>
<item row="0" column="0" colspan="7">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>

View file

@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>300</width>
<height>562</height>
<height>576</height>
</rect>
</property>
<property name="sizePolicy">
@ -43,6 +43,9 @@
</size>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="spacing">
<number>5</number>
</property>
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
@ -139,9 +142,6 @@
<attribute name="headerVisible">
<bool>false</bool>
</attribute>
<attribute name="headerVisible">
<bool>false</bool>
</attribute>
<column>
<property name="text">
<string notr="true">1</string>
@ -183,9 +183,6 @@
<attribute name="headerVisible">
<bool>false</bool>
</attribute>
<attribute name="headerVisible">
<bool>false</bool>
</attribute>
<column>
<property name="text">
<string notr="true">1</string>

View file

@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>276</width>
<height>273</height>
<width>231</width>
<height>213</height>
</rect>
</property>
<property name="windowTitle">
@ -17,6 +17,12 @@
<string/>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<property name="margin">
<number>6</number>
</property>
<property name="spacing">
<number>5</number>
</property>
<item row="0" column="0">
<widget class="QComboBox" name="comboBox">
<item>
@ -32,9 +38,7 @@
</widget>
</item>
<item row="2" column="0" colspan="3">
<widget class="NLQT::CBasicEditWidget" name="constAttribPlaneWidget" native="true">
<zorder>schemeWidget</zorder>
</widget>
<widget class="NLQT::CBasicEditWidget" name="constAttribPlaneWidget" native="true"/>
</item>
<item row="3" column="0" colspan="3">
<widget class="NLQT::CColorEditWidget" name="constRGBAWidget" native="true"/>
@ -114,6 +118,12 @@
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>5</number>
</property>
<item row="0" column="0">
<widget class="QComboBox" name="schemeComboBox"/>
</item>

View file

@ -6,14 +6,20 @@
<rect>
<x>0</x>
<y>0</y>
<width>283</width>
<height>99</height>
<width>241</width>
<height>75</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>5</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">

View file

@ -6,14 +6,20 @@
<rect>
<x>0</x>
<y>0</y>
<width>255</width>
<height>116</height>
<width>204</width>
<height>103</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>5</number>
</property>
<item row="0" column="0">
<widget class="QSlider" name="rHorizontalSlider">
<property name="sizePolicy">

View file

@ -6,14 +6,20 @@
<rect>
<x>0</x>
<y>0</y>
<width>238</width>
<height>460</height>
<width>193</width>
<height>366</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>5</number>
</property>
<item row="0" column="0" colspan="2">
<widget class="QGroupBox" name="groupBox">
<property name="title">
@ -116,7 +122,7 @@
<enum>QTabWidget::South</enum>
</property>
<property name="currentIndex">
<number>1</number>
<number>2</number>
</property>
<property name="movable">
<bool>true</bool>
@ -126,8 +132,17 @@
<string>Translation</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_6">
<property name="margin">
<number>6</number>
</property>
<property name="spacing">
<number>5</number>
</property>
<item row="0" column="0">
<layout class="QGridLayout" name="gridLayout_3">
<property name="spacing">
<number>5</number>
</property>
<item row="0" column="1">
<widget class="QDoubleSpinBox" name="transUStartDoubleSpinBox">
<property name="decimals">
@ -257,8 +272,14 @@
<string>Scale</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_5">
<property name="margin">
<number>6</number>
</property>
<item row="0" column="0">
<layout class="QGridLayout" name="gridLayout_4">
<property name="spacing">
<number>5</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_9">
<property name="text">
@ -388,6 +409,12 @@
<string>Rotation</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_7">
<property name="margin">
<number>6</number>
</property>
<property name="spacing">
<number>5</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_15">
<property name="text">

View file

@ -6,15 +6,21 @@
<rect>
<x>0</x>
<y>0</y>
<width>268</width>
<height>101</height>
<width>263</width>
<height>95</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0" colspan="2">
<layout class="QGridLayout" name="gridLayout_2">
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>5</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Direction:</string>
@ -22,6 +28,11 @@
</widget>
</item>
<item row="1" column="0">
<layout class="QGridLayout" name="gridLayout">
<property name="spacing">
<number>3</number>
</property>
<item row="0" column="0">
<widget class="QPushButton" name="incVecIPushButton">
<property name="maximumSize">
<size>
@ -34,7 +45,7 @@
</property>
</widget>
</item>
<item row="1" column="1">
<item row="0" column="1">
<widget class="QPushButton" name="incVecJPushButton">
<property name="maximumSize">
<size>
@ -47,7 +58,7 @@
</property>
</widget>
</item>
<item row="1" column="2">
<item row="0" column="2">
<widget class="QPushButton" name="incVecKPushButton">
<property name="maximumSize">
<size>
@ -60,7 +71,55 @@
</property>
</widget>
</item>
<item row="1" column="3" rowspan="3">
<item row="1" column="0">
<widget class="QPushButton" name="decVecIPushButton">
<property name="maximumSize">
<size>
<width>30</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>-I</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="decVecJPushButton">
<property name="maximumSize">
<size>
<width>30</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>-J</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QPushButton" name="decVecKPushButton">
<property name="maximumSize">
<size>
<width>30</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>-K</string>
</property>
</widget>
</item>
<item row="2" column="0" colspan="3">
<widget class="QPushButton" name="globalPushButton">
<property name="text">
<string>Global</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="1">
<widget class="NLQT::CGraphicsInfoWidget" name="xzWidget" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
@ -82,7 +141,7 @@
</property>
</widget>
</item>
<item row="1" column="4" rowspan="3">
<item row="1" column="2">
<widget class="NLQT::CGraphicsInfoWidget" name="yzWidget" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
@ -104,7 +163,7 @@
</property>
</widget>
</item>
<item row="1" column="5" rowspan="2">
<item row="1" column="3">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
@ -117,52 +176,6 @@
</property>
</spacer>
</item>
<item row="2" column="0">
<widget class="QPushButton" name="decVecIPushButton">
<property name="maximumSize">
<size>
<width>30</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>-I</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QPushButton" name="decVecJPushButton">
<property name="maximumSize">
<size>
<width>30</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>-J</string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QPushButton" name="decVecKPushButton">
<property name="maximumSize">
<size>
<width>30</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>-K</string>
</property>
</widget>
</item>
<item row="3" column="0" colspan="3">
<widget class="QPushButton" name="globalPushButton">
<property name="text">
<string>Global</string>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>

View file

@ -6,14 +6,20 @@
<rect>
<x>0</x>
<y>0</y>
<width>304</width>
<height>39</height>
<width>273</width>
<height>20</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
<number>5</number>
</property>
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QDoubleSpinBox" name="startSpinBox">
<property name="buttonSymbols">

View file

@ -6,14 +6,20 @@
<rect>
<x>0</x>
<y>0</y>
<width>294</width>
<height>32</height>
<width>231</width>
<height>20</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
<number>5</number>
</property>
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QSpinBox" name="startSpinBox">
<property name="buttonSymbols">

View file

@ -6,14 +6,17 @@
<rect>
<x>0</x>
<y>0</y>
<width>382</width>
<height>450</height>
<width>349</width>
<height>393</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<property name="margin">
<number>6</number>
</property>
<item row="0" column="0">
<widget class="QTabWidget" name="tabWidget">
<property name="enabled">
@ -33,6 +36,9 @@
<string>General</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_4">
<property name="spacing">
<number>5</number>
</property>
<item row="0" column="0" colspan="3">
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">

View file

@ -1,43 +1,20 @@
/****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the demonstration applications of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** No Commercial Usage
** This file contains pre-release code and may not be distributed.
** You may use this file in accordance with the terms and conditions
** contained in the Technology Preview License Agreement accompanying
** this package.
**
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 2.1 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPL included in the
** packaging of this file. Please review the following information to
** ensure the GNU Lesser General Public License version 2.1 requirements
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
** If you have questions regarding the use of this file, please contact
** Nokia at qt-info@nokia.com.
**
**
**
**
**
**
**
**
** $QT_END_LICENSE$
**
****************************************************************************/
// Object Viewer Qt - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
// Copyright (C) 2010 Winch Gate Property Limited
// Copyright (C) 2010 Dzmitry Kamiahin <dnk-88@tut.by>
// Parts by Nokia Corporation (qt-info@nokia.com) Copyright (C) 2009.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero 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 Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "stdpch.h"
#include "hoverpoints.h"

View file

@ -1,43 +1,20 @@
/****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the demonstration applications of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** No Commercial Usage
** This file contains pre-release code and may not be distributed.
** You may use this file in accordance with the terms and conditions
** contained in the Technology Preview License Agreement accompanying
** this package.
**
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 2.1 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPL included in the
** packaging of this file. Please review the following information to
** ensure the GNU Lesser General Public License version 2.1 requirements
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
** If you have questions regarding the use of this file, please contact
** Nokia at qt-info@nokia.com.
**
**
**
**
**
**
**
**
** $QT_END_LICENSE$
**
****************************************************************************/
// Object Viewer Qt - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
// Copyright (C) 2010 Winch Gate Property Limited
// Copyright (C) 2010 Dzmitry Kamiahin <dnk-88@tut.by>
// Parts by Nokia Corporation (qt-info@nokia.com) Copyright (C) 2009.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero 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 Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef HOVERPOINTS_H
#define HOVERPOINTS_H

View file

@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>352</width>
<height>494</height>
<width>262</width>
<height>473</height>
</rect>
</property>
<property name="sizePolicy">
@ -19,7 +19,13 @@
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<layout class="QGridLayout" name="gridLayout_10">
<property name="horizontalSpacing">
<number>5</number>
</property>
<property name="margin">
<number>6</number>
</property>
<item row="0" column="0">
<widget class="QTabWidget" name="tabWidget">
<property name="sizePolicy">
@ -54,7 +60,7 @@
<string/>
</attribute>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0" colspan="3">
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="blendModeLabel">
@ -90,12 +96,23 @@
</layout>
</item>
<item row="1" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QCheckBox" name="autoLodCheckBox">
<property name="text">
<string>No AutoLOD</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="globalColorLightingCheckBox">
<property name="text">
<string>Global color lighting</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="2" column="0">
<widget class="QCheckBox" name="ztestCheckBox">
<property name="text">
@ -124,7 +141,14 @@
</item>
</layout>
</item>
<item row="5" column="1">
<item row="4" column="0">
<widget class="NLQT::CAttribRGBAWidget" name="colorWidget">
<property name="title">
<string>Color</string>
</property>
</widget>
</item>
<item row="5" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
@ -137,20 +161,6 @@
</property>
</spacer>
</item>
<item row="1" column="1">
<widget class="QCheckBox" name="autoLodCheckBox">
<property name="text">
<string>No AutoLOD</string>
</property>
</widget>
</item>
<item row="4" column="0" colspan="3">
<widget class="NLQT::CAttribRGBAWidget" name="colorWidget">
<property name="title">
<string>Color</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="sizeAnglePage">
@ -171,7 +181,7 @@
</property>
</widget>
</item>
<item row="0" column="2">
<item row="1" column="0">
<widget class="QGroupBox" name="independantGroupBox">
<property name="enabled">
<bool>false</bool>
@ -180,6 +190,19 @@
<string/>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<property name="margin">
<number>9</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item row="0" column="1">
<widget class="QRadioButton" name="heightRadioButton">
<property name="text">
<string>Height</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QRadioButton" name="widthRadioButton">
<property name="text">
@ -190,17 +213,24 @@
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QRadioButton" name="heightRadioButton">
<property name="text">
<string>Height</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="3" column="1">
<item row="2" column="0">
<widget class="NLQT::CAttribFloatWidget" name="sizeWidget">
<property name="title">
<string>Size</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="NLQT::CAttribFloatWidget" name="angle2DWidget">
<property name="title">
<string>Angle 2D</string>
</property>
</widget>
</item>
<item row="4" column="0">
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
@ -213,20 +243,6 @@
</property>
</spacer>
</item>
<item row="1" column="0" colspan="3">
<widget class="NLQT::CAttribFloatWidget" name="sizeWidget">
<property name="title">
<string>Size</string>
</property>
</widget>
</item>
<item row="2" column="0" colspan="3">
<widget class="NLQT::CAttribFloatWidget" name="angle2DWidget">
<property name="title">
<string>Angle 2D</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="rotatePage">
@ -240,6 +256,13 @@
<string/>
</attribute>
<layout class="QGridLayout" name="gridLayout_7">
<item row="0" column="0">
<widget class="NLQT::CAttribPlaneBasisWidget" name="particlePlaneBasicWidget">
<property name="title">
<string>Rotation</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="rotationPCCheckBox">
<property name="text">
@ -256,6 +279,12 @@
<string/>
</property>
<layout class="QGridLayout" name="gridLayout_5">
<property name="margin">
<number>6</number>
</property>
<property name="spacing">
<number>5</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
@ -309,13 +338,6 @@
</property>
</spacer>
</item>
<item row="0" column="0">
<widget class="NLQT::CAttribPlaneBasisWidget" name="particlePlaneBasicWidget">
<property name="title">
<string>Rotation</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="lookAtPage">
@ -396,7 +418,7 @@
</property>
</widget>
</item>
<item row="1" column="0" colspan="2">
<item row="1" column="0">
<widget class="NLQT::CEditRangeFloatWidget" name="radiusCutWidget" native="true"/>
</item>
<item row="2" column="0">
@ -406,7 +428,7 @@
</property>
</widget>
</item>
<item row="3" column="0" colspan="2">
<item row="3" column="0">
<widget class="NLQT::CEditRangeUIntWidget" name="shockWaveNbSegWidget" native="true"/>
</item>
<item row="4" column="0">
@ -416,10 +438,10 @@
</property>
</widget>
</item>
<item row="5" column="0" colspan="2">
<item row="5" column="0">
<widget class="NLQT::CEditRangeFloatWidget" name="shockWaveUFactorWidget" native="true"/>
</item>
<item row="6" column="1">
<item row="6" column="0">
<spacer name="verticalSpacer_5">
<property name="orientation">
<enum>Qt::Vertical</enum>
@ -518,7 +540,7 @@
</property>
</widget>
</item>
<item row="1" column="0" colspan="2">
<item row="1" column="0">
<widget class="NLQT::CEditRangeUIntWidget" name="tailNbSegsWidget" native="true"/>
</item>
<item row="2" column="0">
@ -528,60 +550,70 @@
</property>
</widget>
</item>
<item row="3" column="0" colspan="2">
<item row="3" column="0">
<widget class="NLQT::CEditRangeFloatWidget" name="segDurationWidget" native="true"/>
</item>
<item row="4" column="0" colspan="2">
<item row="4" column="0">
<widget class="QLabel" name="tailTexUflabel">
<property name="text">
<string>Texture U factor:</string>
</property>
</widget>
</item>
<item row="5" column="0" colspan="2">
<item row="5" column="0">
<widget class="NLQT::CEditRangeFloatWidget" name="ribbonTexUfactorWidget" native="true"/>
</item>
<item row="6" column="0" colspan="2">
<item row="6" column="0">
<widget class="QLabel" name="tailTexVflabel">
<property name="text">
<string>Texture V factor:</string>
</property>
</widget>
</item>
<item row="7" column="0" colspan="2">
<item row="7" column="0">
<widget class="NLQT::CEditRangeFloatWidget" name="ribbonTexVfactorWidget" native="true"/>
</item>
<item row="8" column="0" colspan="2">
<item row="8" column="0">
<widget class="QGroupBox" name="ribbonGroupBox">
<property name="title">
<string/>
</property>
<layout class="QGridLayout" name="gridLayout_10">
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QCheckBox" name="constantLengthCheckBox">
<property name="toolTip">
<string>Non parametric anim only</string>
</property>
<property name="text">
<string>Force constant length</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QCheckBox" name="useHermitteCheckBox">
<property name="text">
<string>Use hermitte interpolation</string>
<string>Force constant length(m):</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="NLQT::CEditRangeFloatWidget" name="ribbonLengthWidget" native="true">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="lodDegradationLabel">
<property name="text">
<string>LOD degradation:</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="NLQT::CEditRangeFloatWidget" name="lodDegradationWidget" native="true"/>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_15">
<property name="text">
<string>Trail coord. system:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<item row="5" column="0">
<widget class="QComboBox" name="coordSystemComboBox">
<item>
<property name="text">
@ -605,37 +637,20 @@
</item>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="ribbonLengthLabel">
<item row="6" column="0">
<widget class="QCheckBox" name="useHermitteCheckBox">
<property name="text">
<string>Length(m):</string>
<string>Use hermitte interpolation</string>
</property>
</widget>
</item>
<item row="3" column="0" colspan="2">
<widget class="NLQT::CEditRangeFloatWidget" name="ribbonLengthWidget" native="true">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="lodDegradationLabel">
<property name="text">
<string>LOD degradation:</string>
</property>
</widget>
</item>
<item row="5" column="0" colspan="2">
<widget class="NLQT::CEditRangeFloatWidget" name="lodDegradationWidget" native="true"/>
</item>
</layout>
</widget>
</item>
<item row="9" column="0" colspan="2">
<item row="9" column="0">
<widget class="NLQT::CTailParticleWidget" name="tailWidget" native="true"/>
</item>
<item row="10" column="1">
<item row="10" column="0">
<spacer name="verticalSpacer_7">
<property name="orientation">
<enum>Qt::Vertical</enum>
@ -643,7 +658,7 @@
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>133</height>
<height>100</height>
</size>
</property>
</spacer>

View file

@ -616,7 +616,6 @@ void CLocatedBindablePage::setConstantLength(bool state)
NL3D::CPSRibbonBase *ribbon = dynamic_cast<NL3D::CPSRibbonBase *>(_Bindable);
ribbon->setRibbonMode(state ? NL3D::CPSRibbonBase::FixedSize : NL3D::CPSRibbonBase::VariableSize);
_ui.ribbonLengthWidget->setEnabled(state);
_ui.ribbonLengthLabel->setEnabled(state);
}
void CLocatedBindablePage::setTrailCoordSystem(int index)

View file

@ -6,14 +6,17 @@
<rect>
<x>0</x>
<y>0</y>
<width>291</width>
<height>410</height>
<width>259</width>
<height>353</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="margin">
<number>6</number>
</property>
<item row="0" column="0">
<widget class="QTabWidget" name="tabWidget">
<property name="tabPosition">
@ -152,6 +155,9 @@
<string/>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<property name="spacing">
<number>5</number>
</property>
<item row="0" column="0">
<widget class="QCheckBox" name="trigerOnDeathCheckBox">
<property name="text">

View file

@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>195</width>
<height>118</height>
<width>180</width>
<height>110</height>
</rect>
</property>
<property name="windowTitle">
@ -17,6 +17,12 @@
<string/>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<property name="margin">
<number>6</number>
</property>
<property name="spacing">
<number>5</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">

View file

@ -6,14 +6,14 @@
<rect>
<x>0</x>
<y>0</y>
<width>941</width>
<height>111</height>
<width>913</width>
<height>88</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>941</width>
<height>111</height>
<width>913</width>
<height>88</height>
</size>
</property>
<property name="maximumSize">
@ -27,6 +27,12 @@
</property>
<widget class="QWidget" name="dockWidgetContents">
<layout class="QGridLayout" name="gridLayout_5">
<property name="margin">
<number>6</number>
</property>
<property name="spacing">
<number>5</number>
</property>
<item row="0" column="0" rowspan="2">
<widget class="QToolButton" name="playToolButton">
<property name="sizePolicy">
@ -104,12 +110,18 @@
</sizepolicy>
</property>
<property name="currentIndex">
<number>0</number>
<number>1</number>
</property>
<widget class="QWidget" name="pageGeneral">
<layout class="QGridLayout" name="gridLayout_2">
<property name="margin">
<number>0</number>
</property>
<item row="0" column="0">
<layout class="QGridLayout" name="gridLayout">
<property name="spacing">
<number>4</number>
</property>
<item row="0" column="0">
<widget class="QCheckBox" name="loopCheckBox">
<property name="sizePolicy">
@ -197,6 +209,9 @@
</widget>
<widget class="QWidget" name="pageAdditional">
<layout class="QGridLayout" name="gridLayout_4">
<property name="margin">
<number>0</number>
</property>
<item row="0" column="0">
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
@ -287,6 +302,9 @@
</item>
<item row="0" column="3" rowspan="2">
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>3</number>
</property>
<item>
<widget class="QToolButton" name="generalToolButton">
<property name="sizePolicy">

View file

@ -6,14 +6,17 @@
<rect>
<x>0</x>
<y>0</y>
<width>298</width>
<height>458</height>
<width>243</width>
<height>451</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="margin">
<number>6</number>
</property>
<item row="0" column="0">
<widget class="QTabWidget" name="tabWidget">
<property name="tabPosition">
@ -27,6 +30,9 @@
<string>Target</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_2">
<property name="spacing">
<number>3</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_2">
<property name="text">

View file

@ -14,6 +14,9 @@
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="margin">
<number>6</number>
</property>
<item row="0" column="0">
<widget class="QTabWidget" name="tabWidget">
<property name="tabPosition">

View file

@ -49,11 +49,13 @@ void CPropertyDialog::setupUi()
_dockWidgetContents = new QWidget();
_gridLayout = new QGridLayout(_dockWidgetContents);
_gridLayout->setContentsMargins(6, 6, 6, 6);
_scrollArea = new QScrollArea(_dockWidgetContents);
_scrollArea->setWidgetResizable(true);
_scrollAreaWidgetContents = new QWidget();
_pagesGridLayout = new QGridLayout(_scrollAreaWidgetContents);
_pagesGridLayout->setContentsMargins(0, 0, 0, 0);
_stackedWidget = new QStackedWidget(_scrollAreaWidgetContents);

View file

@ -6,14 +6,17 @@
<rect>
<x>0</x>
<y>0</y>
<width>314</width>
<height>334</height>
<width>239</width>
<height>264</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="margin">
<number>6</number>
</property>
<item row="0" column="0">
<widget class="QTabWidget" name="tabWidget">
<property name="tabPosition">

View file

@ -6,14 +6,17 @@
<rect>
<x>0</x>
<y>0</y>
<width>334</width>
<height>495</height>
<width>312</width>
<height>496</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="margin">
<number>6</number>
</property>
<item row="0" column="1">
<widget class="QTabWidget" name="tabWidget">
<property name="tabPosition">

View file

@ -6,18 +6,24 @@
<rect>
<x>0</x>
<y>0</y>
<width>306</width>
<height>186</height>
<width>212</width>
<height>101</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>5</number>
</property>
<item row="0" column="0">
<widget class="QCheckBox" name="texAnimCheckBox">
<property name="text">
<string>Enable texture animation</string>
<string>Enable texture anim</string>
</property>
</widget>
</item>
@ -33,6 +39,9 @@
<string/>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="spacing">
<number>5</number>
</property>
<item row="0" column="0">
<widget class="QCheckBox" name="multitexturingCheckBox">
<property name="text">

View file

@ -6,14 +6,20 @@
<rect>
<x>0</x>
<y>0</y>
<width>191</width>
<height>176</height>
<width>172</width>
<height>161</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>5</number>
</property>
<item row="0" column="0">
<widget class="QScrollArea" name="scrollArea">
<property name="minimumSize">
@ -58,10 +64,59 @@
</widget>
</widget>
</item>
<item row="0" column="1" rowspan="3">
<widget class="QGroupBox" name="groupBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string/>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<widget class="QLabel" name="nameLabel">
<property name="text">
<string>Name:</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="sizeLabel">
<property name="text">
<string>Size:</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="memoryLabel">
<property name="text">
<string>Memory:</string>
</property>
</widget>
</item>
<item row="3" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>81</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item row="1" column="0">
<widget class="QPushButton" name="chooseTexPushButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -74,7 +129,7 @@
<item row="2" column="0">
<widget class="QPushButton" name="removePushButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -84,22 +139,6 @@
</property>
</widget>
</item>
<item row="1" column="1">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>7</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<resources/>

View file

@ -15,6 +15,9 @@
</property>
<widget class="QWidget" name="dockWidgetContents">
<layout class="QGridLayout" name="gridLayout">
<property name="margin">
<number>5</number>
</property>
<item row="0" column="0">
<widget class="QTreeView" name="treeView">
<property name="animated">
@ -23,9 +26,6 @@
<attribute name="headerVisible">
<bool>false</bool>
</attribute>
<attribute name="headerVisible">
<bool>false</bool>
</attribute>
</widget>
</item>
</layout>

View file

@ -6,14 +6,20 @@
<rect>
<x>0</x>
<y>0</y>
<width>246</width>
<height>350</height>
<width>210</width>
<height>302</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="margin">
<number>9</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_2">
<property name="text">

View file

@ -8,5 +8,4 @@ HEADERS += plugin1.h \
../../extension_system/iplugin.h \
../../extension_system/iplugin_manager.h \
../../extension_system/plugin_spec.h
SOURCES += plugin1.cpp \
../../extension_system/plugin_spec.cpp
SOURCES += plugin1.cpp

View file

@ -49,6 +49,8 @@ CSettingsDialog::CSettingsDialog(QWidget *parent)
loadPathsSettings();
loadVegetableSettings();
connect(ui.buttonBox, SIGNAL(accepted()), this, SLOT(applyPressed()));
connect(ui.enableBloomCheckBox, SIGNAL(toggled(bool)), this, SLOT(setEnableBloom(bool)));
connect(ui.squareBloomCheckBox, SIGNAL(toggled(bool)), this, SLOT(setEnableSquareBloon(bool)));
connect(ui.bloomDensityHorizontalSlider, SIGNAL(valueChanged(int)), this, SLOT(setDensityBloom(int)));
@ -57,7 +59,6 @@ CSettingsDialog::CSettingsDialog(QWidget *parent)
connect(ui.removeToolButton, SIGNAL(clicked()), this, SLOT(removePath()));
connect(ui.upToolButton, SIGNAL(clicked()), this, SLOT(upPath()));
connect(ui.downToolButton, SIGNAL(clicked()), this, SLOT(downPath()));
connect(ui.buttonBox, SIGNAL(accepted()), this, SLOT(applyPressed()));
connect(ui.tileBankToolButton, SIGNAL(clicked()), this, SLOT(setTileBank()));
connect(ui.tileFarBankToolButton, SIGNAL(clicked()), this, SLOT(setTileFarBank()));
@ -176,7 +177,7 @@ void CSettingsDialog::addZone()
{
QStringList fileNames = QFileDialog::getOpenFileNames(this,
tr("Add zone files"), ".",
tr("Zonel files (*.zonel);;"));
tr("Zonel files (*.zonel *.zone);;"));
if (!fileNames.isEmpty())
{

View file

@ -15,14 +15,17 @@
</property>
<widget class="QWidget" name="dockWidgetContents">
<layout class="QGridLayout" name="gridLayout_5">
<property name="margin">
<number>6</number>
</property>
<property name="spacing">
<number>5</number>
</property>
<item row="0" column="0">
<widget class="QTreeView" name="treeView">
<attribute name="headerVisible">
<bool>true</bool>
</attribute>
<attribute name="headerVisible">
<bool>true</bool>
</attribute>
</widget>
</item>
<item row="1" column="0">
@ -34,6 +37,12 @@
<string>Bone scale</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="margin">
<number>6</number>
</property>
<property name="spacing">
<number>5</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
@ -253,6 +262,12 @@
<string>Skin scale (slower)</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<property name="margin">
<number>6</number>
</property>
<property name="spacing">
<number>5</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
@ -472,6 +487,12 @@
<string/>
</property>
<layout class="QGridLayout" name="gridLayout_4">
<property name="margin">
<number>6</number>
</property>
<property name="spacing">
<number>5</number>
</property>
<item row="0" column="0">
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0" colspan="2">

View file

@ -26,6 +26,12 @@
<bool>false</bool>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<property name="margin">
<number>6</number>
</property>
<property name="spacing">
<number>5</number>
</property>
<item row="0" column="0" colspan="2">
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">

View file

@ -6,14 +6,20 @@
<rect>
<x>0</x>
<y>0</y>
<width>206</width>
<height>90</height>
<width>187</width>
<height>72</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>5</number>
</property>
<item row="0" column="0">
<widget class="QComboBox" name="ribbonOrientationComboBox">
<property name="toolTip">

View file

@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>340</width>
<height>309</height>
<width>273</width>
<height>252</height>
</rect>
</property>
<property name="windowTitle">
@ -16,6 +16,12 @@
<layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="0">
<widget class="QTabWidget" name="tabWidget">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tabPosition">
<enum>QTabWidget::South</enum>
</property>
@ -36,6 +42,18 @@
<string>Bend Phase</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_2">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>6</number>
</property>
<item row="0" column="0">
<widget class="NLQT::CVegetNoiseValueWidget" name="bendPhaseGroupBox">
<property name="title">
@ -50,6 +68,18 @@
<string>Bend Factor</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_3">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>6</number>
</property>
<item row="0" column="0">
<widget class="NLQT::CVegetNoiseValueWidget" name="bendFactorGroupBox">
<property name="title">
@ -77,7 +107,7 @@
<item row="0" column="0" colspan="4">
<widget class="QListWidget" name="listWidget">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -136,19 +166,6 @@
</layout>
</widget>
</item>
<item row="3" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>34</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<customwidgets>

View file

@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>618</width>
<height>679</height>
<width>504</width>
<height>473</height>
</rect>
</property>
<property name="windowIcon">
@ -19,6 +19,12 @@
</property>
<widget class="QWidget" name="dockWidgetContents">
<layout class="QGridLayout" name="gridLayout_3">
<property name="margin">
<number>6</number>
</property>
<property name="spacing">
<number>5</number>
</property>
<item row="0" column="0">
<widget class="QScrollArea" name="scrollArea">
<property name="widgetResizable">
@ -29,11 +35,23 @@
<rect>
<x>0</x>
<y>0</y>
<width>598</width>
<height>640</height>
<width>490</width>
<height>437</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_4">
<property name="leftMargin">
<number>6</number>
</property>
<property name="rightMargin">
<number>6</number>
</property>
<property name="bottomMargin">
<number>6</number>
</property>
<property name="spacing">
<number>5</number>
</property>
<item row="0" column="0">
<layout class="QVBoxLayout" name="verticalLayout">
<property name="sizeConstraint">
@ -68,6 +86,12 @@
<string>List edition</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="margin">
<number>6</number>
</property>
<property name="spacing">
<number>5</number>
</property>
<item row="0" column="0">
<widget class="QPushButton" name="addtPushButton">
<property name="toolTip">
@ -157,6 +181,12 @@
<string>List Save/Load</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<property name="margin">
<number>6</number>
</property>
<property name="spacing">
<number>5</number>
</property>
<item row="0" column="0">
<widget class="QPushButton" name="loadVegetsetPushButton">
<property name="text">
@ -198,6 +228,9 @@
</item>
<item row="0" column="1">
<widget class="QTabWidget" name="tabWidget">
<property name="tabPosition">
<enum>QTabWidget::East</enum>
</property>
<property name="currentIndex">
<number>0</number>
</property>

View file

@ -23,6 +23,9 @@
<string>Setup Wind</string>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<property name="spacing">
<number>5</number>
</property>
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
@ -184,6 +187,12 @@
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tabPosition">
<enum>QTabWidget::South</enum>
</property>

View file

@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>312</width>
<height>110</height>
<width>245</width>
<height>108</height>
</rect>
</property>
<property name="windowTitle">
@ -17,6 +17,12 @@
<string/>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="margin">
<number>6</number>
</property>
<property name="spacing">
<number>5</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_3">
<property name="text">

View file

@ -15,6 +15,12 @@
</property>
<widget class="QWidget" name="dockWidgetContents">
<layout class="QGridLayout" name="gridLayout_2">
<property name="margin">
<number>6</number>
</property>
<property name="spacing">
<number>5</number>
</property>
<item row="0" column="0">
<widget class="QSplitter" name="splitter">
<property name="orientation">
@ -58,7 +64,7 @@
</item>
</layout>
</widget>
<widget class="QWidget" name="">
<widget class="QWidget" name="layoutWidget">
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<layout class="QHBoxLayout" name="horizontalLayout">

View file

@ -6,14 +6,20 @@
<rect>
<x>0</x>
<y>0</y>
<width>258</width>
<height>246</height>
<width>240</width>
<height>190</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>0</number>
</property>
<property name="margin">
<number>0</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>