alpha-blending UI fixes

This commit is contained in:
Dawid Pietrykowski 2023-05-02 19:36:38 +02:00
parent 0f66ea28ca
commit 5d61001556
2 changed files with 21 additions and 8 deletions

View File

@ -94,8 +94,8 @@ MyWindow::MyWindow(QWidget *parent) :
// (0xffRRGGBB). // (0xffRRGGBB).
img = new QImage(szer,wys,QImage::Format_RGB32); img = new QImage(szer,wys,QImage::Format_RGB32);
loaded_img1 = new QImage("/Users/dawidpietrykowski/Desktop/projects/umk/GK/QT/alpha-blending/p.png"); loaded_img1 = new QImage("/home/davp/umk/2022_2023/GK/QT/alpha-blending/p.png");
loaded_img2 = new QImage("/Users/dawidpietrykowski/Desktop/projects/umk/GK/QT/alpha-blending/f.png"); loaded_img2 = new QImage("/home/davp/umk/2022_2023/GK/QT/alpha-blending/f.png");
rotation_angle = 0; rotation_angle = 0;

View File

@ -22,8 +22,8 @@
<rect> <rect>
<x>10</x> <x>10</x>
<y>10</y> <y>10</y>
<width>100</width> <width>600</width>
<height>100</height> <height>600</height>
</rect> </rect>
</property> </property>
<property name="mouseTracking"> <property name="mouseTracking">
@ -128,7 +128,7 @@
<widget class="QLabel" name="label_3"> <widget class="QLabel" name="label_3">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>100</x> <x>80</x>
<y>50</y> <y>50</y>
<width>58</width> <width>58</width>
<height>16</height> <height>16</height>
@ -141,7 +141,7 @@
<widget class="QLabel" name="label_4"> <widget class="QLabel" name="label_4">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>140</x> <x>110</x>
<y>100</y> <y>100</y>
<width>58</width> <width>58</width>
<height>16</height> <height>16</height>
@ -154,7 +154,7 @@
<widget class="QLabel" name="label_5"> <widget class="QLabel" name="label_5">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>180</x> <x>150</x>
<y>50</y> <y>50</y>
<width>58</width> <width>58</width>
<height>16</height> <height>16</height>
@ -177,6 +177,19 @@
<string>Alpha</string> <string>Alpha</string>
</property> </property>
</widget> </widget>
<widget class="QLabel" name="label_7">
<property name="geometry">
<rect>
<x>170</x>
<y>100</y>
<width>58</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Lighten</string>
</property>
</widget>
</widget> </widget>
</widget> </widget>
<widget class="QMenuBar" name="menuBar"> <widget class="QMenuBar" name="menuBar">
@ -185,7 +198,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>883</width> <width>883</width>
<height>24</height> <height>22</height>
</rect> </rect>
</property> </property>
</widget> </widget>