From 905be739483f6ec5f58f0ddbe950e24e4e0af66b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20Mal=C3=BD?= Date: Sat, 3 Oct 2015 01:20:48 +0200 Subject: [PATCH] Display effect parameters in a ScrollPane --- CMakeLists.txt | 9 ++ mainwindow.ui | 267 +++++++++++++++++++++++++++++-------------------- 2 files changed, 170 insertions(+), 106 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8e0d549..bcbe8ae 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -86,6 +86,15 @@ if (SDL2_FOUND) sdl2deviceprober.cpp) endif() +set(FFBChecker_UIS + conditioneffectsettings.ui + constanteffectsettings.ui + envelopesettings.ui + mainwindow.ui + periodiceffectsettings.ui + rampeffectsettings.ui + rumbleeffectsettings.ui) + include_directories(${CMAKE_CURRENT_SOURCE_DIR}) if (SDL2_FOUND) include_directories(${SDL2_INCLUDE_DIRS}) diff --git a/mainwindow.ui b/mainwindow.ui index a80af5b..03ccfeb 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -6,8 +6,8 @@ 0 0 - 444 - 670 + 473 + 666 @@ -17,8 +17,14 @@ + + QLayout::SetMinimumSize + + + QLayout::SetMinimumSize + @@ -174,115 +180,164 @@ - - - QFormLayout::AllNonFixedFieldsGrow + + + + 0 + 0 + - - - - Direction: - - - - - - - 0 - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - - - - - - - Qt::Horizontal + + + 0 + 100 + - - - - - - - - Replay length: - - - - - - - 0 - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - - - - - Replay delay: - - - - - - - 0 - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - - - - - Repeat: - - - - - - - 1 - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - - - - - - - Qt::Horizontal + + true + + + + 0 + 0 + 440 + 233 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + + + QFormLayout::AllNonFixedFieldsGrow + + + + + Direction: + + + + + + + 0 + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + + + Qt::Horizontal + + + + + + + QLayout::SetMinimumSize + + + QFormLayout::AllNonFixedFieldsGrow + + + + + Replay length: + + + + + + + 0 + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + Replay delay: + + + + + + + 0 + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + Repeat: + + + + + + + 1 + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + + + Qt::Horizontal + + + + + + + + + Type: + + + + + + + + + + + + + - - - - - - Type: - - - - - - - - - - - -- 2.43.5