From 0c49c3f6e5d3e7aabf4a4a65e14c5a6822f84a6e Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Wed, 10 May 2017 19:54:06 +0200 Subject: [PATCH] Give the analyzer window a close button and such. --- analyzer.h | 4 +- ui_analyzer.ui | 432 +++++++++++++++++++++++++------------------------ 2 files changed, 219 insertions(+), 217 deletions(-) diff --git a/analyzer.h b/analyzer.h index 68fb14e..ed2a621 100644 --- a/analyzer.h +++ b/analyzer.h @@ -1,8 +1,8 @@ #ifndef _ANALYZER_H #define _ANALYZER_H 1 -#include #include +#include #include #include @@ -19,7 +19,7 @@ namespace movit { class ResourcePool; } // namespace movit -class Analyzer : public QDialog +class Analyzer : public QMainWindow { Q_OBJECT diff --git a/ui_analyzer.ui b/ui_analyzer.ui index add6f86..d73734e 100644 --- a/ui_analyzer.ui +++ b/ui_analyzer.ui @@ -1,229 +1,231 @@ Analyzer - + 0 0 - 843 - 450 + 845 + 456 - Dialog + Analyzer - - - - 10 - 10 - 320 - 180 - - - - false - - - background: rgb(233, 185, 110) - - - - - - 10 - 200 - 251 - 23 - - - - - - - 270 - 200 - 61 - 23 - - - - Grab - - - - - - 10 - 240 - 320 - 180 - - - - false - - - background: rgb(173, 127, 168) - - - - - - 370 - 310 - 421 - 21 - - - - Selected coordinate (x,y): (123,456) - - - - - - 10 - 420 - 321 - 21 - - - - RGB histogram - - - Qt::AlignCenter - - - - - - 350 - 280 - 481 - 21 - - - - Grabbed frame - - - Qt::AlignCenter - - - - - - 600 - 350 - 191 - 80 - - - - - - - Green: - - - - - - - 127 - - - - - - - 127 - - - - - - - Hex: - - - - - - - 127 - - - - - - - Blue: - - - - - - - #7f7f7f - - - - - - - Red: - - - - - - - - - 600 - 330 - 191 - 16 - - - - Color (8-bit sRGB): - - - Qt::AlignCenter - - - - - - 350 - 10 - 480 - 270 - - - - CrossCursor - - - true - - - false - - - background: color(0,0,0) - - - - - - true - + + + + + 10 + 410 + 321 + 21 + + + + RGB histogram + + + Qt::AlignCenter + + + + + + 600 + 320 + 191 + 16 + + + + Color (8-bit sRGB): + + + Qt::AlignCenter + + + + + + 10 + 230 + 320 + 180 + + + + false + + + background: rgb(173, 127, 168) + + + + + + 270 + 190 + 61 + 23 + + + + Grab + + + + + + 10 + 190 + 251 + 23 + + + + + + + 600 + 340 + 191 + 80 + + + + + + + Green: + + + + + + + 127 + + + + + + + 127 + + + + + + + Hex: + + + + + + + 127 + + + + + + + Blue: + + + + + + + #7f7f7f + + + + + + + Red: + + + + + + + + + 350 + 0 + 480 + 270 + + + + CrossCursor + + + true + + + false + + + background: color(0,0,0) + + + + + + true + + + + + + 350 + 270 + 481 + 21 + + + + Grabbed frame + + + Qt::AlignCenter + + + + + + 370 + 300 + 421 + 21 + + + + Selected coordinate (x,y): (123,456) + + + + + + 10 + 0 + 320 + 180 + + + + false + + + background: rgb(233, 185, 110) + + -- 2.39.2