Qt 4.8
Classes | Variables
qdnd_qws.cpp File Reference
#include "qapplication.h"
#include "qwidget.h"
#include "qdatetime.h"
#include "qbitmap.h"
#include "qcursor.h"
#include "qevent.h"
#include "qpainter.h"
#include "qdnd_p.h"

Go to the source code of this file.

Classes

class  QShapedPixmapWidget
 

Variables

static const char *const default_pm []
 
static const int default_pm_hotx = -2
 
static const int default_pm_hoty = -16
 
static QPixmapdefaultPm = 0
 
static QDragdrag_object
 
static Qt::DropAction global_accepted_action = Qt::CopyAction
 
static Qt::KeyboardModifiers oldstate
 
static Qt::DropActions possible_actions = Qt::IgnoreAction
 
static QShapedPixmapWidgetqt_qws_dnd_deco = 0
 
static bool qt_qws_dnd_dragging = false
 

Variable Documentation

◆ default_pm

const char* const default_pm[]
static
Initial value:
= {
"13 9 3 1",
". c None",
" c #000000",
"X c #FFFFFF",
"X X X X X X X",
" X X X X X X ",
"X ......... X",
" X.........X ",
"X ......... X",
" X.........X ",
"X ......... X",
" X X X X X X ",
"X X X X X X X",
}

Definition at line 61 of file qdnd_qws.cpp.

◆ default_pm_hotx

const int default_pm_hotx = -2
static

Definition at line 59 of file qdnd_qws.cpp.

◆ default_pm_hoty

const int default_pm_hoty = -16
static

Definition at line 60 of file qdnd_qws.cpp.

◆ defaultPm

QPixmap* defaultPm = 0
static

Definition at line 58 of file qdnd_qws.cpp.

◆ drag_object

QDrag* drag_object
static

Definition at line 83 of file qdnd_qws.cpp.

◆ global_accepted_action

Qt::DropAction global_accepted_action = Qt::CopyAction
static

Definition at line 78 of file qdnd_qws.cpp.

◆ oldstate

Qt::KeyboardModifiers oldstate
static

◆ possible_actions

Qt::DropActions possible_actions = Qt::IgnoreAction
static

Definition at line 79 of file qdnd_qws.cpp.

Referenced by QDragManager::drag(), and QOleDropTarget::Drop().

◆ qt_qws_dnd_deco

QShapedPixmapWidget* qt_qws_dnd_deco = 0
static

Definition at line 121 of file qdnd_qws.cpp.

◆ qt_qws_dnd_dragging

bool qt_qws_dnd_dragging = false
static

Definition at line 84 of file qdnd_qws.cpp.