head 1.2; access; symbols; locks; strict; comment @# @; 1.2 date 2005.07.01.19.49.07; author cworth; state Exp; branches; next 1.1; commitid 3eec42c59e334567; 1.1 date 2005.01.25.20.24.22; author cworth; state Exp; branches; next ; desc @@ 1.2 log @ From 2005-01-25 Zack Rusin : * .cvsignore: * controlwidgetbase.ui: * mainwindow.cpp: * mainwindow.h: * qcairo.cpp: * qcairo.h: * qcairo.pro: * qcairowidget.cpp: * qcairowidget.h: * qkapow.cpp: * qkapow.h: 1) I created a QCairoWidget which has a virtual void cairoPaint(cairo_t *) method which essentially replaces the QWidget::paintEvent. It's done essentially to enable people to just take the widget, stick it in their app and just use Cairo (either duble-buffered or not). 2) Instead of the old demo code it uses now kapow. It's a little bit more attractive and nicely shows how to use QCairoWidget. @ text @ ControlWidgetBase ControlWidgetBase 0 0 247 344 Form1 unnamed layout3 unnamed textLabel1 Text: m_textEdit layout2 unnamed textLabel1_2 Width: m_width layout3 unnamed textLabel2 Height: m_height m_dbCB Me no like flicker m_updateBtn Update widget @ 1.1 log @Initial commit of qcairo demo as contributed by Zack Rusin @ text @d24 23 d58 1 a58 1 Base length: d63 1 a63 1 m_baseSpin d70 1 a70 1 layout1 d78 1 a78 1 textLabel1 d81 1 a81 4 Line width: m_lineSpin d86 1 a86 1 m_lineSpin @