[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: www/areas/edu/development
From: Albert Astals Cid <tsdgeos () terra ! es>
Date: 2005-01-18 22:18:00
Message-ID: 20050118221800.CE2291BA60 () office ! kde ! org
[Download RAW message or body]
CVS commit by aacid:
Better svg exampe
A test1.svg 1.1
A testqt.cpp 1.1 [no copyright]
A testqt.pro 1.1
M +8 -1 svg.php 1.2
--- www/areas/edu/development/svg.php #1.1:1.2
@@ -14,10 +14,13 @@
#include <qwidget.h>
-class MyMainWindow:public QWidget
+class MyMainWindow : public QWidget
{
public:
MyMainWindow(const char *fname);
+ protected:
void paintEvent(QPaintEvent *);
+
+ private:
QPainter *paint;
QPicture *pic;
@@ -56,4 +59,8 @@
</pre>
</p>
+<p>
+You can grab the <a href="testqt.cpp">code</a>a>, the <a href="testqt.pro">.pro \
file</a> and a <a href="test1.svg">svg test file</a>.<br /> +Then just run qmake; \
make; ./testqt test1.svg +</p>
<br />
<hr width="30%" align="center" />
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic