Thanks..It works.
But one silly question finally..
I want to remove the title window of the QDialog, for that i did give the
setAttribute(Qt::FramelessWindowHint, true);
setAttribute(Qt::FramelessWindowHint, true);
To copy to clipboard, switch view to plain text mode
but again i got an error like,
dialog.cpp:14: error: no matching function for call to ‘Dialog::setAttribute(Qt::WindowType, bool)’
/opt/qtsdk-2010.05/qt/include/QtGui/qwidget.h:607: note: candidates are: void QWidget::setAttribute(Qt::WidgetAttribute, bool)
make: *** [dialog.o] Error 1
aahh..i want to learn qt through, but i can't.
Bookmarks