From 0b985ce87d6ce6d4110a50d5be48831d34794cd2 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Sun, 06 Apr 2003 14:38:18 +0000 Subject: - add realtime preview widget with zoom control The camera driver is damn slow. For a 240x160x16 image, it takes ~100ms. That gives approx. 10fps which is too slow for doing video. :( --- (limited to 'noncore/multimedia/camera/mainwindowbase.ui') diff --git a/noncore/multimedia/camera/mainwindowbase.ui b/noncore/multimedia/camera/mainwindowbase.ui new file mode 100644 index 0000000..8da884a --- a/dev/null +++ b/noncore/multimedia/camera/mainwindowbase.ui @@ -0,0 +1,246 @@ + +MainWindowBase + + QWidget + + name + MainWindowBase + + + geometry + + 0 + 0 + 242 + 329 + + + + caption + Form1 + + + layoutMargin + + + layoutSpacing + + + + margin + 0 + + + spacing + 2 + + + QLayoutWidget + + name + Layout1 + + + + margin + 0 + + + spacing + 6 + + + QLabel + + name + TextLabel1 + + + text + Reso: + + + + QComboBox + + + text + 240x160 + + + + + text + 480x320 + + + + name + resolution + + + + QLabel + + name + TextLabel2 + + + text + Zoom: + + + + QComboBox + + + text + Half + + + + + text + Full + + + + + text + Double + + + + name + zoom + + + + + + QLayoutWidget + + name + Layout2 + + + + margin + 0 + + + spacing + 6 + + + + name + Spacer1 + + + orientation + Horizontal + + + sizeType + Expanding + + + sizeHint + + 20 + 20 + + + + + QPushButton + + name + PushButton1 + + + text + Take Photo + + + default + true + + + + + name + Spacer2 + + + orientation + Horizontal + + + sizeType + Expanding + + + sizeHint + + 20 + 20 + + + + + + + + name + Spacer3 + + + orientation + Vertical + + + sizeType + Expanding + + + sizeHint + + 20 + 20 + + + + + PreviewWidget + + name + preview + + + + + + + PreviewWidget +
previewwidget.h
+ + 240 + 160 + + 0 + + 0 + 0 + + image0 +
+
+ + + image0 + 789c6dd2c10ac2300c00d07bbf2234b7229d1ddec44f503c0ae2a154410f53d0ed20e2bf6bdb656dd6861dd23d9a66591b0587fd1654235ebded6f0edcd53e419d87ae7b1f4f9b8f906d0bfe012317426a70b07bdc2f3ec77f8ed6b89559061a0343d06a124cc105596482585094bc0ae599b04646c9018926491b2205e140c485cace25755c175d0a967b622ff900b8cc9c7d29af594ea722d589167f813aa852ba07d94b9dce296e883fe7bb163f23896753 + + +
-- cgit v0.9.0.2