summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-05-13 17:11:29 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-13 17:11:29 +0000
commitc9fca51203bccf780d24a1442cb3bb73590064bd (patch)
tree812d3fc36bfb965c495fda6b270895d8ab8b4560
parentaf5a5f02392a0f0c2f4f11ca9f942873d79f9d23 (diff)
add qpphoto, a photo manipulation program for Opie.
bbfile and patches courtesy nicolasfr@gmail.com - thanks! closes #985
-rw-r--r--packages/qpphoto/.mtn2git_empty0
-rw-r--r--packages/qpphoto/files/.mtn2git_empty0
-rw-r--r--packages/qpphoto/files/draw.patch35
-rw-r--r--packages/qpphoto/files/drawview.patch11
-rw-r--r--packages/qpphoto/files/drawwidget.patch2414
-rw-r--r--packages/qpphoto/qpphoto_1.0.2.bb37
6 files changed, 2497 insertions, 0 deletions
diff --git a/packages/qpphoto/.mtn2git_empty b/packages/qpphoto/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/qpphoto/.mtn2git_empty
diff --git a/packages/qpphoto/files/.mtn2git_empty b/packages/qpphoto/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/qpphoto/files/.mtn2git_empty
diff --git a/packages/qpphoto/files/draw.patch b/packages/qpphoto/files/draw.patch
new file mode 100644
index 0000000000..d4f7dd30a4
--- /dev/null
+++ b/packages/qpphoto/files/draw.patch
@@ -0,0 +1,35 @@
+--- qpPhoto_1.0.2/draw.cpp 2002-10-29 22:19:05.000000000 +0100
++++ qpPhoto_1.0.2/draw.cpp.new 2006-05-12 18:42:08.000000000 +0200
+@@ -16,6 +16,7 @@
+ #include <qspinbox.h>
+ #include <qpainter.h>
+ #include <qlabel.h>
++#include <qlayout.h>
+ #include <qdialog.h>
+ #include <qpe/fontdatabase.h>
+ #include <qstringlist.h>
+@@ -781,7 +782,7 @@
+
+
+
+-Draw::Draw( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 )
++Draw::Draw( QWidget* parent, const char* name, WFlags fl )
+ :DrawWidget(parent, name, fl)
+ {
+ /*currentTool = dtNull;
+@@ -799,9 +800,12 @@
+ FontDatabase fdb;
+ availFonts = fdb.families();
+
+-
+- dv = new DrawView(GrFrame, "dv");
+- dv->setGeometry( QRect( 1, 1, 210, 210) );
++ dv = new DrawView(this, "dv");
++ dv->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, dv->sizePolicy().hasHeightForWidth() ) );
++ dv->setMinimumSize( QSize( 210, 210 ) );
++ dv->setFrameShape( QFrame::WinPanel );
++ dv->setFrameShadow( QFrame::Sunken );
++ Layout7->addWidget( dv );
+
+ dv->font.setFamily(availFonts[0]);
+ dv->font.setPointSize(12);
diff --git a/packages/qpphoto/files/drawview.patch b/packages/qpphoto/files/drawview.patch
new file mode 100644
index 0000000000..f64bef32a7
--- /dev/null
+++ b/packages/qpphoto/files/drawview.patch
@@ -0,0 +1,11 @@
+--- qpPhoto_1.0.2/drawview.cpp 2002-11-23 03:34:46.000000000 +0100
++++ qpPhoto_1.0.2/drawview.cpp.new 2006-05-11 22:33:44.000000000 +0200
+@@ -32,7 +32,7 @@
+ static const int zoomfactors[nzoomfactors] = {1,2,3,4,8,16,32}; // 25% 50% 75% 100% 200% 400% 800%
+ #define ZOOMINDEXNORMAL 3
+
+-DrawView::DrawView(QWidget* parent = 0, const char* name = 0, WFlags fl = 0)
++DrawView::DrawView(QWidget* parent, const char* name, WFlags fl)
+ :QScrollView(parent, name, fl)
+ {
+ viewX = 0;
diff --git a/packages/qpphoto/files/drawwidget.patch b/packages/qpphoto/files/drawwidget.patch
new file mode 100644
index 0000000000..95a0a52a63
--- /dev/null
+++ b/packages/qpphoto/files/drawwidget.patch
@@ -0,0 +1,2414 @@
+--- qpPhoto_1.0.2/drawwidget.ui 2002-08-23 00:42:49.000000000 +0200
++++ qpPhoto_1.0.2/drawwidget.ui.new 2006-05-12 18:32:14.000000000 +0200
+@@ -11,1160 +11,1287 @@
+ <rect>
+ <x>0</x>
+ <y>0</y>
+- <width>238</width>
+- <height>262</height>
++ <width>451</width>
++ <height>294</height>
+ </rect>
+ </property>
+ <property stdset="1">
+ <name>caption</name>
+ <string>DrawWidget</string>
+ </property>
+- <widget>
+- <class>QFrame</class>
+- <property stdset="1">
+- <name>name</name>
+- <cstring>FrStatus</cstring>
+- </property>
+- <property stdset="1">
+- <name>geometry</name>
+- <rect>
+- <x>2</x>
+- <y>236</y>
+- <width>232</width>
+- <height>18</height>
+- </rect>
+- </property>
++ <property>
++ <name>layoutMargin</name>
++ </property>
++ <property>
++ <name>layoutSpacing</name>
++ </property>
++ <vbox>
+ <property stdset="1">
+- <name>frameShape</name>
+- <enum>StyledPanel</enum>
++ <name>margin</name>
++ <number>2</number>
+ </property>
+ <property stdset="1">
+- <name>frameShadow</name>
+- <enum>Sunken</enum>
++ <name>spacing</name>
++ <number>2</number>
+ </property>
+ <widget>
++ <class>QLayoutWidget</class>
++ <property stdset="1">
++ <name>name</name>
++ <cstring>Layout6</cstring>
++ </property>
++ <hbox>
++ <property stdset="1">
++ <name>margin</name>
++ <number>0</number>
++ </property>
++ <property stdset="1">
++ <name>spacing</name>
++ <number>6</number>
++ </property>
++ <widget>
++ <class>QLabel</class>
++ <property stdset="1">
++ <name>name</name>
++ <cstring>TypeLabel</cstring>
++ </property>
++ <property stdset="1">
++ <name>text</name>
++ <string>Font</string>
++ </property>
++ </widget>
++ <widget>
++ <class>QComboBox</class>
++ <property stdset="1">
++ <name>name</name>
++ <cstring>Selection</cstring>
++ </property>
++ <property stdset="1">
++ <name>sizeLimit</name>
++ <number>12</number>
++ </property>
++ <property>
++ <name>toolTip</name>
++ <string>font</string>
++ </property>
++ </widget>
++ <widget>
++ <class>QLabel</class>
++ <property stdset="1">
++ <name>name</name>
++ <cstring>SizeLabel</cstring>
++ </property>
++ <property stdset="1">
++ <name>text</name>
++ <string>Size</string>
++ </property>
++ <property stdset="1">
++ <name>alignment</name>
++ <set>AlignVCenter|AlignRight</set>
++ </property>
++ <property>
++ <name>hAlign</name>
++ </property>
++ </widget>
++ <widget>
++ <class>QSpinBox</class>
++ <property stdset="1">
++ <name>name</name>
++ <cstring>Size</cstring>
++ </property>
++ <property stdset="1">
++ <name>maxValue</name>
++ <number>24</number>
++ </property>
++ <property stdset="1">
++ <name>minValue</name>
++ <number>6</number>
++ </property>
++ <property stdset="1">
++ <name>value</name>
++ <number>12</number>
++ </property>
++ <property>
++ <name>toolTip</name>
++ <string>size</string>
++ </property>
++ </widget>
++ <widget>
++ <class>QComboBox</class>
++ <property stdset="1">
++ <name>name</name>
++ <cstring>Operation</cstring>
++ </property>
++ <property stdset="1">
++ <name>sizeLimit</name>
++ <number>16</number>
++ </property>
++ </widget>
++ <widget>
++ <class>QPushButton</class>
++ <property stdset="1">
++ <name>name</name>
++ <cstring>Bold</cstring>
++ </property>
++ <property stdset="1">
++ <name>sizePolicy</name>
++ <sizepolicy>
++ <hsizetype>0</hsizetype>
++ <vsizetype>0</vsizetype>
++ </sizepolicy>
++ </property>
++ <property stdset="1">
++ <name>maximumSize</name>
++ <size>
++ <width>28</width>
++ <height>28</height>
++ </size>
++ </property>
++ <property stdset="1">
++ <name>text</name>
++ <string></string>
++ </property>
++ <property stdset="1">
++ <name>pixmap</name>
++ <pixmap>image0</pixmap>
++ </property>
++ <property stdset="1">
++ <name>toggleButton</name>
++ <bool>true</bool>
++ </property>
++ <property stdset="1">
++ <name>toggleButton</name>
++ <bool>true</bool>
++ </property>
++ <property stdset="1">
++ <name>flat</name>
++ <bool>true</bool>
++ </property>
++ <property>
++ <name>toolTip</name>
++ <string>bold</string>
++ </property>
++ </widget>
++ <widget>
++ <class>QPushButton</class>
++ <property stdset="1">
++ <name>name</name>
++ <cstring>Italic</cstring>
++ </property>
++ <property stdset="1">
++ <name>sizePolicy</name>
++ <sizepolicy>
++ <hsizetype>0</hsizetype>
++ <vsizetype>0</vsizetype>
++ </sizepolicy>
++ </property>
++ <property stdset="1">
++ <name>maximumSize</name>
++ <size>
++ <width>28</width>
++ <height>28</height>
++ </size>
++ </property>
++ <property stdset="1">
++ <name>text</name>
++ <string></string>
++ </property>
++ <property stdset="1">
++ <name>pixmap</name>
++ <pixmap>image1</pixmap>
++ </property>
++ <property stdset="1">
++ <name>toggleButton</name>
++ <bool>true</bool>
++ </property>
++ <property stdset="1">
++ <name>toggleButton</name>
++ <bool>true</bool>
++ </property>
++ <property stdset="1">
++ <name>flat</name>
++ <bool>true</bool>
++ </property>
++ <property>
++ <name>toolTip</name>
++ <string>italic</string>
++ </property>
++ </widget>
++ <widget>
++ <class>QPushButton</class>
++ <property stdset="1">
++ <name>name</name>
++ <cstring>Underline</cstring>
++ </property>
++ <property stdset="1">
++ <name>sizePolicy</name>
++ <sizepolicy>
++ <hsizetype>0</hsizetype>
++ <vsizetype>0</vsizetype>
++ </sizepolicy>
++ </property>
++ <property stdset="1">
++ <name>maximumSize</name>
++ <size>
++ <width>28</width>
++ <height>28</height>
++ </size>
++ </property>
++ <property stdset="1">
++ <name>text</name>
++ <string></string>
++ </property>
++ <property stdset="1">
++ <name>pixmap</name>
++ <pixmap>image2</pixmap>
++ </property>
++ <property stdset="1">
++ <name>toggleButton</name>
++ <bool>true</bool>
++ </property>
++ <property stdset="1">
++ <name>toggleButton</name>
++ <bool>true</bool>
++ </property>
++ <property stdset="1">
++ <name>flat</name>
++ <bool>true</bool>
++ </property>
++ <property>
++ <name>toolTip</name>
++ <string>underline</string>
++ </property>
++ </widget>
++ <spacer>
++ <property>
++ <name>name</name>
++ <cstring>Spacer2</cstring>
++ </property>
++ <property stdset="1">
++ <name>orientation</name>
++ <enum>Horizontal</enum>
++ </property>
++ <property stdset="1">
++ <name>sizeType</name>
++ <enum>Expanding</enum>
++ </property>
++ <property>
++ <name>sizeHint</name>
++ <size>
++ <width>1</width>
++ <height>1</height>
++ </size>
++ </property>
++ </spacer>
++ </hbox>
++ </widget>
++ <widget>
++ <class>QLayoutWidget</class>
++ <property stdset="1">
++ <name>name</name>
++ <cstring>Layout7</cstring>
++ </property>
++ <property>
++ <name>layoutSpacing</name>
++ </property>
++ <hbox>
++ <property stdset="1">
++ <name>margin</name>
++ <number>0</number>
++ </property>
++ <property stdset="1">
++ <name>spacing</name>
++ <number>0</number>
++ </property>
++ <widget>
++ <class>QLayoutWidget</class>
++ <property stdset="1">
++ <name>name</name>
++ <cstring>Layout3</cstring>
++ </property>
++ <property>
++ <name>layoutSpacing</name>
++ </property>
++ <vbox>
++ <property stdset="1">
++ <name>margin</name>
++ <number>0</number>
++ </property>
++ <property stdset="1">
++ <name>spacing</name>
++ <number>0</number>
++ </property>
++ <widget>
++ <class>QPushButton</class>
++ <property stdset="1">
++ <name>name</name>
++ <cstring>PbCursor</cstring>
++ </property>
++ <property stdset="1">
++ <name>sizePolicy</name>
++ <sizepolicy>
++ <hsizetype>0</hsizetype>
++ <vsizetype>0</vsizetype>
++ </sizepolicy>
++ </property>
++ <property stdset="1">
++ <name>maximumSize</name>
++ <size>
++ <width>21</width>
++ <height>21</height>
++ </size>
++ </property>
++ <property stdset="1">
++ <name>text</name>
++ <string></string>
++ </property>
++ <property stdset="1">
++ <name>pixmap</name>
++ <pixmap>image3</pixmap>
++ </property>
++ <property stdset="1">
++ <name>toggleButton</name>
++ <bool>true</bool>
++ </property>
++ <property stdset="1">
++ <name>toggleButton</name>
++ <bool>true</bool>
++ </property>
++ <property>
++ <name>toolTip</name>
++ <string>move selection</string>
++ </property>
++ </widget>
++ <widget>
++ <class>QPushButton</class>
++ <property stdset="1">
++ <name>name</name>
++ <cstring>PbBrush</cstring>
++ </property>
++ <property stdset="1">
++ <name>sizePolicy</name>
++ <sizepolicy>
++ <hsizetype>0</hsizetype>
++ <vsizetype>0</vsizetype>
++ </sizepolicy>
++ </property>
++ <property stdset="1">
++ <name>maximumSize</name>
++ <size>
++ <width>21</width>
++ <height>21</height>
++ </size>
++ </property>
++ <property stdset="1">
++ <name>text</name>
++ <string></string>
++ </property>
++ <property stdset="1">
++ <name>pixmap</name>
++ <pixmap>image4</pixmap>
++ </property>
++ <property stdset="1">
++ <name>toggleButton</name>
++ <bool>true</bool>
++ </property>
++ <property stdset="1">
++ <name>toggleButton</name>
++ <bool>true</bool>
++ </property>
++ <property>
++ <name>toolTip</name>
++ <string>paint</string>
++ </property>
++ </widget>
++ <widget>
++ <class>QPushButton</class>
++ <property stdset="1">
++ <name>name</name>
++ <cstring>PbLine</cstring>
++ </property>
++ <property stdset="1">
++ <name>sizePolicy</name>
++ <sizepolicy>
++ <hsizetype>0</hsizetype>
++ <vsizetype>0</vsizetype>
++ </sizepolicy>
++ </property>
++ <property stdset="1">
++ <name>maximumSize</name>
++ <size>
++ <width>21</width>
++ <height>21</height>
++ </size>
++ </property>
++ <property stdset="1">
++ <name>text</name>
++ <string></string>
++ </property>
++ <property stdset="1">
++ <name>pixmap</name>
++ <pixmap>image5</pixmap>
++ </property>
++ <property stdset="1">
++ <name>toggleButton</name>
++ <bool>true</bool>
++ </property>
++ <property stdset="1">
++ <name>toggleButton</name>
++ <bool>true</bool>
++ </property>
++ <property>
++ <name>toolTip</name>
++ <string>draw lines</string>
++ </property>
++ </widget>
++ <widget>
++ <class>QPushButton</class>
++ <property stdset="1">
++ <name>name</name>
++ <cstring>PbPolygon</cstring>
++ </property>
++ <property stdset="1">
++ <name>sizePolicy</name>
++ <sizepolicy>
++ <hsizetype>0</hsizetype>
++ <vsizetype>0</vsizetype>
++ </sizepolicy>
++ </property>
++ <property stdset="1">
++ <name>maximumSize</name>
++ <size>
++ <width>21</width>
++ <height>21</height>
++ </size>
++ </property>
++ <property stdset="1">
++ <name>text</name>
++ <string></string>
++ </property>
++ <property stdset="1">
++ <name>pixmap</name>
++ <pixmap>image6</pixmap>
++ </property>
++ <property stdset="1">
++ <name>toggleButton</name>
++ <bool>true</bool>
++ </property>
++ <property stdset="1">
++ <name>toggleButton</name>
++ <bool>true</bool>
++ </property>
++ <property>
++ <name>toolTip</name>
++ <string>draw shapes</string>
++ </property>
++ </widget>
++ <widget>
++ <class>QPushButton</class>
++ <property stdset="1">
++ <name>name</name>
++ <cstring>PbSelect</cstring>
++ </property>
++ <property stdset="1">
++ <name>sizePolicy</name>
++ <sizepolicy>
++ <hsizetype>0</hsizetype>
++ <vsizetype>0</vsizetype>
++ </sizepolicy>
++ </property>
++ <property stdset="1">
++ <name>maximumSize</name>
++ <size>
++ <width>21</width>
++ <height>21</height>
++ </size>
++ </property>
++ <property stdset="1">
++ <name>text</name>
++ <string></string>
++ </property>
++ <property stdset="1">
++ <name>pixmap</name>
++ <pixmap>image7</pixmap>
++ </property>
++ <property stdset="1">
++ <name>toggleButton</name>
++ <bool>true</bool>
++ </property>
++ <property stdset="1">
++ <name>toggleButton</name>
++ <bool>true</bool>
++ </property>
++ <property>
++ <name>toolTip</name>
++ <string>select region</string>
++ </property>
++ </widget>
++ <widget>
++ <class>QPushButton</class>
++ <property stdset="1">
++ <name>name</name>
++ <cstring>PbText</cstring>
++ </property>
++ <property stdset="1">
++ <name>sizePolicy</name>
++ <sizepolicy>
++ <hsizetype>0</hsizetype>
++ <vsizetype>0</vsizetype>
++ </sizepolicy>
++ </property>
++ <property stdset="1">
++ <name>maximumSize</name>
++ <size>
++ <width>21</width>
++ <height>21</height>
++ </size>
++ </property>
++ <property stdset="1">
++ <name>font</name>
++ <font>
++ <family>abisource-courier new</family>
++ <pointsize>14</pointsize>
++ <bold>1</bold>
++ </font>
++ </property>
++ <property stdset="1">
++ <name>text</name>
++ <string></string>
++ </property>
++ <property stdset="1">
++ <name>pixmap</name>
++ <pixmap>image8</pixmap>
++ </property>
++ <property stdset="1">
++ <name>toggleButton</name>
++ <bool>true</bool>
++ </property>
++ <property stdset="1">
++ <name>toggleButton</name>
++ <bool>true</bool>
++ </property>
++ <property>
++ <name>toolTip</name>
++ <string>insert text</string>
++ </property>
++ </widget>
++ <widget>
++ <class>QPushButton</class>
++ <property stdset="1">
++ <name>name</name>
++ <cstring>PbFill</cstring>
++ </property>
++ <property stdset="1">
++ <name>sizePolicy</name>
++ <sizepolicy>
++ <hsizetype>0</hsizetype>
++ <vsizetype>0</vsizetype>
++ </sizepolicy>
++ </property>
++ <property stdset="1">
++ <name>maximumSize</name>
++ <size>
++ <width>21</width>
++ <height>21</height>
++ </size>
++ </property>
++ <property stdset="1">
++ <name>text</name>
++ <string></string>
++ </property>
++ <property stdset="1">
++ <name>pixmap</name>
++ <pixmap>image9</pixmap>
++ </property>
++ <property stdset="1">
++ <name>toggleButton</name>
++ <bool>true</bool>
++ </property>
++ <property stdset="1">
++ <name>toggleButton</name>
++ <bool>true</bool>
++ </property>
++ <property>
++ <name>toolTip</name>
++ <string>fill</string>
++ </property>
++ </widget>
++ <widget>
++ <class>QPushButton</class>
++ <property stdset="1">
++ <name>name</name>
++ <cstring>PbPicker</cstring>
++ </property>
++ <property stdset="1">
++ <name>sizePolicy</name>
++ <sizepolicy>
++ <hsizetype>0</hsizetype>
++ <vsizetype>0</vsizetype>
++ </sizepolicy>
++ </property>
++ <property stdset="1">
++ <name>maximumSize</name>
++ <size>
++ <width>21</width>
++ <height>21</height>
++ </size>
++ </property>
++ <property stdset="1">
++ <name>text</name>
++ <string></string>
++ </property>
++ <property stdset="1">
++ <name>pixmap</name>
++ <pixmap>image10</pixmap>
++ </property>
++ <property stdset="1">
++ <name>toggleButton</name>
++ <bool>true</bool>
++ </property>
++ <property stdset="1">
++ <name>toggleButton</name>
++ <bool>true</bool>
++ </property>
++ <property>
++ <name>toolTip</name>
++ <string>pick color</string>
++ </property>
++ </widget>
++ <widget>
++ <class>QPushButton</class>
++ <property stdset="1">
++ <name>name</name>
++ <cstring>PbErazor</cstring>
++ </property>
++ <property stdset="1">
++ <name>maximumSize</name>
++ <size>
++ <width>21</width>