Qt 4.8
|
Go to the source code of this file.
Functions | |
Qt::MouseButton | cocoaButton2QtButton (NSInteger buttonNum) |
if (self) | |
if (!widget) return NO | |
if (QApplicationPrivate::isBlockedByModal(widget)) return NO | |
if ([self isSheet]) return NO | |
if (currentCustomDragTypes==0|| *currentCustomDragTypes !=customTypes) | |
Q_GLOBAL_STATIC (QPointer< QWidget >, currentDragTarget) | |
const QStringList & | qEnabledDraggedTypes () |
void | qt_event_request_window_change (QWidget *) |
qt_mac_getTargetForMouseEvent (event, QEvent::Gesture, qlocal, qglobal, 0, &widgetToGetTouch) | |
void | qt_mac_send_posted_gl_updates (QWidget *widget) |
qt_translateRawTouchEvent (widgetToGetTouch, QTouchEvent::TouchPad, QCocoaTouch::getCurrentTouchPointList(event, all)) | |
return (isPopup||isToolTip) | |
return (isPopup||isToolTip||isTool) | |
Variables | |
bool | all = widgetToGetTouch->testAttribute(Qt::WA_TouchPadAcceptSingleTouchEvents) |
void | becomeMainWindow |
BOOL | canBecomeKeyWindow |
BOOL | canBecomeMainWindow |
const QStringList & | customTypes = qEnabledDraggedTypes() |
void | dealloc |
void | drawRectSpecial |
if (void) toggleToolbarShown | |
id | initWithContentRect |
bool | isPopup = (widget->windowType() == Qt::Popup) |
Use windowType() == Qt::Popup instead. More... | |
bool | isTool = (widget->windowType() == Qt::Tool) |
bool | isToolTip = (widget->windowType() == Qt::ToolTip) |
QPointer< QWidget > | qt_button_down |
void | registerDragTypes |
void | removeDropData |
return | self |
NSToolbar * | toolbar = [window toolbar] |
void | touchesCancelledWithEvent |
void | touchesEndedWithEvent |
void | touchesMovedWithEvent |
QWidget * | widgetToGetTouch = 0 |
NSWindow * | window = [id(self) window] |
Qt::MouseButton cocoaButton2QtButton | ( | NSInteger | buttonNum | ) |
Definition at line 797 of file qt_cocoa_helpers_mac.mm.
if | ( | self | ) |
Definition at line 74 of file qcocoasharedwindowmethods_mac_p.h.
if | ( | ! | widget | ) |
Definition at line 585 of file qcocoasharedwindowmethods_mac_p.h.
if | ( | ) |
if | ( | currentCustomDragTypes | = = 0 || *currentCustomDragTypes != customTypes | ) |
Definition at line 274 of file qcocoasharedwindowmethods_mac_p.h.
const QStringList& qEnabledDraggedTypes | ( | ) |
Definition at line 114 of file qmime_mac.cpp.
void qt_event_request_window_change | ( | QWidget * | ) |
Definition at line 858 of file qapplication_mac.mm.
qt_mac_getTargetForMouseEvent | ( | event | , |
QEvent::Gesture | , | ||
qlocal | , | ||
qglobal | , | ||
0 | , | ||
& | widgetToGetTouch | ||
) |
Referenced by flipPoint(), QWidgetPrivate::hide_sys(), qAppInstance(), qt_mac_update_cursor(), and QWidgetPrivate::show_sys().
void qt_mac_send_posted_gl_updates | ( | QWidget * | widget | ) |
Definition at line 789 of file qapplication_mac.mm.
Referenced by make_widget_eventUPP().
qt_translateRawTouchEvent | ( | widgetToGetTouch | , |
QTouchEvent::TouchPad | , | ||
QCocoaTouch::getCurrentTouchPointList(event, all) | |||
) |
return | ( | isPopup|| | isToolTip | ) |
Referenced by QState::addTransition(), QScrollBar::contextMenuEvent(), DndReadSourceProperty(), QWindowsMobileStylePrivate::drawScrollbarGrip(), QWindowsMobileStylePrivate::drawScrollbarGroove(), QWindowsMobileStylePrivate::drawScrollbarHandleDown(), QWindowsMobileStylePrivate::drawScrollbarHandleUp(), QWin32PrintEngine::drawTextItem(), QMenuBar::event(), QWorkspaceTitleBar::setActive(), and QAccessible::updateAccessibility().
bool all = widgetToGetTouch->testAttribute(Qt::WA_TouchPadAcceptSingleTouchEvents) |
Definition at line 227 of file qcocoasharedwindowmethods_mac_p.h.
Referenced by QApplicationPrivate::applyX11SpecificCommandLineArguments(), QUnsortedModelEngine::filter(), QtMultimediaInternal::QAudioInputBuffer::flush(), QDeclarativePixmapReader::networkRequestDone(), qt_bitmapToRegion(), qt_getDefaultFromHomePrinters(), QApplication::setFont(), QApplicationPrivate::setPalette_helper(), QApplication::setStyle(), QApplication::setWindowIcon(), QApplication::topLevelWidgets(), QSystemLocaleData::updateLocale(), and QPatternist::MaintainingReader< XSLTTokenLookup >::validateElement().
void becomeMainWindow |
Definition at line 114 of file qcocoasharedwindowmethods_mac_p.h.
BOOL canBecomeKeyWindow |
Definition at line 87 of file qcocoasharedwindowmethods_mac_p.h.
BOOL canBecomeMainWindow |
Definition at line 100 of file qcocoasharedwindowmethods_mac_p.h.
const QStringList& customTypes = qEnabledDraggedTypes() |
Definition at line 273 of file qcocoasharedwindowmethods_mac_p.h.
Referenced by QMetaType::construct(), QDBusMetaType::demarshall(), QMetaType::destroy(), if(), QDBusMetaTypeId::init(), QMetaType::isRegistered(), QMetaType::load(), QDBusMetaType::marshall(), qMetaTypeCustomType_unlocked(), QMetaType::registerStreamOperators(), QMetaType::registerType(), QMetaType::registerTypedef(), QMetaType::save(), QMetaType::typeName(), QDBusMetaType::typeToSignature(), and QMetaType::unregisterType().
void dealloc |
Definition at line 81 of file qcocoasharedwindowmethods_mac_p.h.
void drawRectSpecial |
Definition at line 582 of file qcocoasharedwindowmethods_mac_p.h.
Referenced by qt_mac_updateContentBorderMetricts().
if |
Definition at line 220 of file qcocoasharedwindowmethods_mac_p.h.
Referenced by QMenu::actionEvent(), QAxServerBase::ActiveXProc(), QIcdEngine::addConfiguration(), QGraphicsScene::addItem(), QFontEngineMulti::addOutlineToPath(), QDeclarativeParticleMotionWander::advance(), QDeclarativePropertyCache::append(), QTextHtmlParser::applyAttributes(), QDeclarativeContext::baseUrl(), QDeclarativePropertyPrivate::binding(), blend_color_argb(), blend_color_rgb16(), blendColor(), QTextEngine::boundingBox(), QPicture::boundingRect(), QTextEngine::calculateTabWidth(), QRegExpEngine::Box::cat(), QTextCursor::charFormat(), QGLContext::choosePixelFormat(), QMYSQLResult::cleanup(), QNetworkConfigurationManagerPrivate::configurationFromIdentifier(), QLinuxFbScreen::connect(), QLinuxFbIntegration::connect(), QDirectFBScreen::connect(), QDeclarativeVMEMetaObject::connectAliasSignal(), constructWindowTitleFromFilePath(), convert_RGB_to_Indexed8(), QUtf16::convertToUnicode(), QFileDialogPrivate::createNavServicesDialog(), QDeclarativeOpenMetaObjectType::createProperty(), QTextLine::cursorToX(), QScriptBreakpointsModel::data(), QDeclarativePaintedItem::dirtyCache(), dither_to_Mono(), DndParseClientMessage(), do_size_hints(), QTextDocumentLayout::documentChanged(), QDragManager::dragCursor(), QTableViewPrivate::drawCell(), QWindowsXPStyle::drawComplexControl(), QMotifStyle::drawControl(), QMacStyle::drawControl(), QStyleSheetStyle::drawControl(), QGtkStyle::drawPrimitive(), QMacStyle::drawPrimitive(), QTreeView::drawRow(), QGL2PaintEngineEx::drawStaticTextItem(), QDBusMessage::errorMessage(), QX11EmbedContainer::eventFilter(), QMdiArea::eventFilter(), QNetworkAccessHttpBackend::fetchCacheMetaData(), QGL2PaintEngineExPrivate::fill(), QImageTextureGlyphCache::fillTexture(), QEventDispatcherMac::flush(), QAudioOutputPrivate::freeBlocks(), QTextLineItemIterator::getSelectionBounds(), QMacStylePrivate::getSliderInfo(), QComboMenuDelegate::getStyleOption(), QToolBarAreaLayout::getStyleOptionInfo(), QDeclarativeXmlQueryEngine::getValuesOfKeyRoles(), gray_raster_render(), gray_render_span(), gray_sweep(), handle_xdnd_status(), QMacStyle::hitTestComplexControl(), QWSDisplay::Data::init(), QDesktopWidgetPrivate::init(), QWindowsSystemProxy::init(), QDeclarativePropertyPrivate::initProperty(), QToolButton::initStyleOption(), QMenu::initStyleOption(), QTabBar::initStyleOption(), QLineEdit::initStyleOption(), QGraphicsItemPrivate::initStyleOption(), QTextEngine::justify(), QTextLine::layout_helper(), QTextDocumentLayoutPrivate::layoutFlow(), QTextDocumentLayoutPrivate::layoutFrame(), QTextDocumentLayoutPrivate::layoutTable(), QCss::ValueExtractor::lengthValue(), QCompletionModel::mapToSource(), QDeclarativeMouseArea::mouseMoveEvent(), QDBusConnection::objectRegisteredAt(), QFontDef::operator<(), operator<<(), QScrollBar::paintEvent(), QListView::paintEvent(), paintSep(), QScriptDebuggerAgent::positionChange(), QPainterReplayer::process(), QDeclarativePropertyCache::property(), q_getTimeFromASN1(), qDeleteQGLContext(), QFontEngineQPF1::QFontEngineQPF1(), QScriptDebuggerValue::QScriptDebuggerValue(), qstring_to_xtp(), qt_blend_color_argb_x86(), qt_blit_setup(), qt_fetch_linear_gradient(), qt_fill_input_buffer(), qt_init(), qt_mac_unregister_widget(), qt_skip_input_data(), qt_socket_getPortAndAddress(), qt_solidFill_setup(), qt_sync_request_scanner(), qt_term_source(), qt_win_read_back_PRINTDLGEX(), qt_win_setup_PRINTDLGEX(), qt_wince_maximize(), QProcess::readData(), QDB2Driver::record(), QDeclarativePathView::refill(), QHeaderView::resizeSection(), QHeaderView::sectionsInserted(), QNetworkAccessManager::setCookieJar(), QDeclarativePathView::setCurrentIndex(), QDeclarativeVisualDataModel::setModel(), QDBusAbstractInterfacePrivate::setProperty(), QMessageBox::setStandardButtons(), QTextEngine::shapeText(), QTextEngine::shapeTextWithHarfbuzz(), QAction::shortcuts(), QAbstractItemView::startDrag(), QFontEngineDirectWrite::stringToCMap(), QCleanlooksStyle::styleHint(), QMenuPrivate::QMacMenuPrivate::syncAction(), QAccessibleWidget::text(), QTextEngine::tightBoundingBox(), QX11PixmapData::transformed(), QDeclarativePropertyAction::transition(), QDeclarativePropertyAnimation::transition(), QETWidget::translateConfigEvent(), QString::trimmed(), QDBusMetaType::typeToSignature(), QAccessible::updateAccessibility(), QPainterPrivate::updateEmulationSpecifier(), QDeclarativeTimeLinePrivate::value(), VARIANTToQVariant(), QWidget::windowSurface(), QApplication::x11ClientMessage(), QX11EmbedWidget::x11Event(), QX11EmbedContainer::x11Event(), QX11Data::xdndHandleFinished(), and xic_draw_callback().
id initWithContentRect |
Definition at line 73 of file qcocoasharedwindowmethods_mac_p.h.
Referenced by macStartInterceptNSPanelCtor(), macStopInterceptNSPanelCtor(), and QCocoaWindow::QCocoaWindow().
Use windowType() == Qt::Popup instead.
Definition at line 95 of file qcocoasharedwindowmethods_mac_p.h.
Referenced by QGraphicsWidget::setWindowFlags().
Definition at line 109 of file qcocoasharedwindowmethods_mac_p.h.
Referenced by QGtkStyle::drawPrimitive().
bool isToolTip = (widget->windowType() == Qt::ToolTip) |
Definition at line 94 of file qcocoasharedwindowmethods_mac_p.h.
Definition at line 188 of file qapplication_mac.mm.
void registerDragTypes |
Definition at line 269 of file qcocoasharedwindowmethods_mac_p.h.
Referenced by QWidgetPrivate::registerDropSite().
void removeDropData |
Definition at line 297 of file qcocoasharedwindowmethods_mac_p.h.
return self |
Definition at line 77 of file qcocoasharedwindowmethods_mac_p.h.
Referenced by QBBEngine::filterEvent(), QWaylandDisplay::handleVisual(), QScript::FunctionWithArgWrapper::proxyCall(), QScript::FunctionWithArgWrapper::proxyConstruct(), QAudioDeviceInfoInternal::QAudioDeviceInfoInternal(), QMetaObject_findMetaObject(), and QSslSocketPrivate::resetDefaultCiphers().
NSToolbar* toolbar = [window toolbar] |
Definition at line 584 of file qcocoasharedwindowmethods_mac_p.h.
Referenced by QMainWindowLayout::cleanUpMacToolbarItems(), QMainWindowLayout::CreateToolbarItemForIdentifier(), QWindowsVistaStyle::drawControl(), QCleanlooksStyle::drawControl(), QWindowsStyle::drawControl(), QGtkStyle::drawControl(), if(), QPrintPreviewDialogPrivate::init(), QGtkStylePrivate::initGtkWidgets(), QMainWindowLayout::insertIntoMacToolbar(), macWindowToolbarIsVisible(), macWindowToolbarShow(), make_win_eventUPP(), QMainWindowLayout::minimumSize(), QToolBarAreaLayoutInfo::moveToolBar(), qt_mac_post_retranslateAppMenu(), qt_mac_unregister_widget(), qt_mac_updateContentBorderMetricts(), QMainWindowLayout::qtmacToolbarDelegate(), QMainWindowLayout::qtoolbarInHIToolbarHandler(), QMainWindowLayout::removeFromMacToolbar(), QRasterWindowSurface::setGeometry(), QWidgetPrivate::setParent_sys(), QWidget::setWindowState(), and QMainWindowLayout::updateHIToolBarStatus().
void touchesCancelledWithEvent |
Definition at line 255 of file qcocoasharedwindowmethods_mac_p.h.
void touchesEndedWithEvent |
Definition at line 243 of file qcocoasharedwindowmethods_mac_p.h.
void touchesMovedWithEvent |
Definition at line 231 of file qcocoasharedwindowmethods_mac_p.h.
QWidget * widgetToGetTouch = 0 |
Definition at line 222 of file qcocoasharedwindowmethods_mac_p.h.
NSWindow* window = [id(self) window] |
Definition at line 583 of file qcocoasharedwindowmethods_mac_p.h.
Referenced by QWidget::activateWindow(), QBBScreen::activateWindowGroup(), QBBScreen::addWindow(), QApplication::alert(), QXlibCursor::changeCursor(), QMainWindowLayout::cleanUpMacToolbarItems(), QEglFSScreen::createAndSetPlatformContext(), QEgl::createSurface(), QWidget::destroy(), DndFillClientMessage(), EAGLPaintDevice::EAGLPaintDevice(), effectiveState(), QWidgetBackingStore::endPaint(), QApplicationPrivate::enterModal(), QBBScreen::findWindow(), QBBWindow::findWindow(), findXdndAwareParent(), flipPoint(), flipYCoordinate(), QEventDispatcherMac::flush(), QETWidget::forceUpdate(), QNSStatusItem::geometry, getNetWmState(), QWaylandEglWindow::glContext(), QApplicationPrivate::globalEventProcessor(), QDirectFbInput::globalPoint(), QXlibIntegration::grabWindow(), QXlibScreen::grabWindow(), QBBScreenEventHandler::handleCloseEvent(), QBBScreenEventHandler::handleCreateEvent(), QDirectFbInput::handleMouseEvents(), QBBWindow::hasBuffers(), QDirectFBScreenCursor::hide(), QWidgetPrivate::hide_sys(), if(), QXcbShmImage::image(), QAccessibleMdiArea::indexOfChild(), QAccessibleWorkspace::indexOfChild(), QStyleOption::init(), QWaylandInputDevice::inputHandleButton(), QWaylandInputDevice::inputHandleKey(), QWaylandInputDevice::inputHandleKeyboardFocus(), QWaylandInputDevice::inputHandleMotion(), QWaylandInputDevice::inputHandlePointerFocus(), QMainWindowLayout::insertIntoMacToolbar(), QWidget::internalWinId(), isServerProcess(), QPlatformIntegration::isVirtualDesktop(), kdProcessMouseEvents(), QApplicationPrivate::leaveModal(), QWidgetPrivate::lower_sys(), QBBScreen::lowerWindow(), QCoreGraphicsPaintEngine::macDisplayColorSpace(), macStartInterceptWindowTitle(), macWindowFade(), macWindowFlush(), macWindowIsTextured(), macWindowSetHasShadow(), macWindowToolbarIsVisible(), macWindowToolbarSet(), make_win_eventUPP(), QWidget::mapToGlobal(), mdiAreaNavigate(), QDirectFBScreenCursor::move(), QBBNativeInterface::nativeResourceForWidget(), QWaylandEglWindow::newSurfaceCreated(), QDirectFBPointer< IDirectFBSurface >::outPtr(), QXlibClipboard::owner(), QDummyWindowSurface::paintDevice(), QMacWindowFader::performFade(), QXlibScreen::physicalSize(), QMdiAreaPrivate::place(), QPlatformScreen::platformScreenForWidget(), QXcbConnection::processXcbEvents(), QXcbShmImage::put(), q_createNativeChildrenAndSetParent(), qAppInstance(), QDirectFBScreenCursor::QDirectFBScreenCursor(), qstring_to_xtp(), qt_grab_cursor(), qt_mac_checkForNativeSizeGrip(), qt_mac_create_window(), qt_mac_desktopSize(), qt_mac_destructView(), qt_mac_destructWindow(), qt_mac_handleTabletEvent(), qt_mac_insideKeyWindow(), qt_mac_post_retranslateAppMenu(), qt_mac_QStringListToNSMutableArrayVoid(), qt_mac_set_drawer_preferred_edge(), qt_mac_unregister_widget(), qt_mac_update_widget_position(), qt_mac_updateContentBorderMetricts(), qt_mac_updateToolBarButtonHint(), qt_mac_window_for(), qt_tablet_cleanup_wce(), QXlibWindow::QXlibWindow(), QWidgetPrivate::raise_sys(), QBBScreen::raiseWindow(), QBBScreen::removeWindow(), QXlibClipboard::requestor(), QXlibWindowSurface::resizeShmImage(), QDirectFBScreenCursor::set(), QApplication::setActiveWindow(), QWidgetPrivate::setConstraints_sys(), QWidgetPrivate::setFocus_sys(), QWidgetPrivate::setGeometry_sys(), QXlibClipboard::setOwner(), QBBWindow::setParent(), QWidgetPrivate::setParent_sys(), QXlibClipboard::setRequestor(), QmlJSDebugger::AbstractViewInspector::setShowAppOnTop(), QWidgetPrivate::setWindowOpacity_sys(), QWidget::setWindowState(), QDirectFBScreenCursor::show(), QWidgetPrivate::show_sys(), QWSWindow::shuttingDown(), QApplication::syncX(), QWindowsVistaStylePrivate::timerEvent(), QApplication::topLevelAt(), QWidget::topLevelWidget(), QX11PixmapData::transformed(), QETWidget::translateMouseEvent(), QApplicationPrivate::translateRawTouchEvent(), QETWidget::translateWheelEvent(), QTabBarPrivate::updateMacBorderMetrics(), QGLContext::updatePaintDevice(), updateRedirectedToGraphicsProxyWidget(), QApplication::widgetAt(), QBBScreen::windowGroupName(), QBBScreen::windowGroupStateChanged(), QWSServer::windowList(), QCocoaFontPanelDelegate::windowShouldClose:, QCocoaFontPanelDelegate::windowWillResize:toSize:, QWSWindowSurface::winId(), and QApplication::x11ProcessEvent().