⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qcolordrag.3qt

📁 Linux 下的图形编程环境。
💻 3QT
字号:
'\" t.TH QColorDrag 3qt "5 March 2001" "Trolltech AS" \" -*- nroff -*-.\" Copyright 1992-2001 Trolltech AS.  All rights reserved.  See the.\" license file included in the distribution for a complete license.\" statement..\".ad l.nh.SH NAMEQColorDrag \- Drag-and-drop object for transferring colors.br.PP\fC#include <qdragobject.h>\fR.PPInherits QStoredDrag..PP.SS "Public Members".in +1c.ti -1c.BI "\fBQColorDrag\fR ( const QColor & " "col" ", QWidget * " "dragsource" " = 0, const char * " "name" " = 0 ) ".br.ti -1c.BI "\fBQColorDrag\fR ( QWidget * " "dragSource" " = 0, const char * " "name" " = 0 ) ".br.ti -1c.BI "void \fBsetColor\fR ( const QColor & col ) ".br.in -1c.SS "Static Public Members".in +1c.ti -1c.BI "bool \fBcanDecode\fR ( QMimeSource * ) ".br.ti -1c.BI "bool \fBdecode\fR ( QMimeSource *, QColor & col ) ".br.in -1c.SH DESCRIPTIONThe QColorDrag class provides a drag-and-drop object for transferring colors..PPThis class provides a drag object which can be used to transfer data about colors for drag-and-drop and over the clipboard. It's e.g. used in the QColorDialog..PPFor detailed information about drag-and-drop, see the QDragObject class..SH MEMBER FUNCTION DOCUMENTATION.SH "QColorDrag::QColorDrag ( QWidget * dragsource = 0, const char * name = 0 )"Constructs a color drag with a while color..SH "QColorDrag::QColorDrag ( const QColor & col, QWidget * dragsource = 0, const char * name = 0 )"Constructs a color drag with the color \fIcol.\fR.SH "bool QColorDrag::canDecode ( QMimeSource * e ) \fC[static]\fR"Returns TRUE, if the color drag object can decode the mime source \fIe.\fR.SH "bool QColorDrag::decode ( QMimeSource * e, QColor & col ) \fC[static]\fR"Decodes the mime source \fIe\fR and sets the decoded values to \fIcol.\fR.SH "void QColorDrag::setColor ( const QColor & col )"Sets the color of the color drag to \fIcol\fR.SH "SEE ALSO".BR http://doc.trolltech.com/qcolordrag.html.BR http://www.trolltech.com/faq/tech.html.SH COPYRIGHTCopyright 1992-2001 Trolltech AS, http://www.trolltech.com.  See thelicense file included in the distribution for a complete licensestatement..SH AUTHORGenerated automatically from the source code..SH BUGSIf you find a bug in Qt, please report it as described in.BR http://doc.trolltech.com/bughowto.html .Good bug reports make our job much simpler. Thank you..PIn case of content or formattting problems with this manual page, pleasereport them to.BR qt-bugs@trolltech.com .Please include the name of the manual page (qcolordrag.3qt) and the Qtversion (2.3.0).

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -