Lines Matching refs:Qt
177 virtual void setInputMethodHint(Qt::InputMethodHint hint, bool enable);
208 view->setAttribute(Qt::WA_InputMethodEnabled, enable);
213 return view->testAttribute(Qt::WA_InputMethodEnabled);
217 void QWebPageWidgetClient::setInputMethodHint(Qt::InputMethodHint hint, bool enable)
365 static inline DragOperation dropActionToDragOp(Qt::DropActions actions)
368 if (actions & Qt::CopyAction)
372 if (actions & Qt::MoveAction)
374 if (actions & Qt::LinkAction)
379 static inline Qt::DropAction dragOpToDropAction(unsigned actions)
381 Qt::DropAction result = Qt::IgnoreAction;
383 result = Qt::CopyAction;
385 result = Qt::MoveAction;
389 result = Qt::MoveAction;
391 result = Qt::LinkAction;
747 // ignore the event if we can't map Qt's mouse buttons to WebCore::MouseButton
773 // ignore the event if we can't map Qt's mouse buttons to WebCore::MouseButton
795 // ignore the event if we can't map Qt's mouse buttons to WebCore::MouseButton
812 // ignore the event if we can't map Qt's mouse buttons to WebCore::MouseButton
829 // ignore the event if we can't map Qt's mouse buttons to WebCore::MouseButton
843 // ignore the event if we can't map Qt's mouse buttons to WebCore::MouseButton
849 void QWebPagePrivate::handleClipboard(QEvent* ev, Qt::MouseButton button)
856 if (button == Qt::LeftButton) {
861 } else if (button == Qt::MidButton) {
880 // ignore the event if we can't map Qt's mouse buttons to WebCore::MouseButton
889 void QWebPagePrivate::handleSoftwareInputPanel(Qt::MouseButton button)
898 && button == Qt::LeftButton && qApp->autoSipEnabled()) {
919 // ignore the event if we can't map Qt's mouse buttons to WebCore::MouseButton
1052 case Qt::Key_Back:
1055 case Qt::Key_Forward:
1058 case Qt::Key_Stop:
1061 case Qt::Key_Refresh:
1064 case Qt::Key_Backspace:
1065 if (ev->modifiers() == Qt::ShiftModifier)
1117 Qt::DropAction action = dragOpToDropAction(page->dragController()->dragEntered(&dragData));
1119 if (action != Qt::IgnoreAction)
1129 Qt::DropAction action = dragOpToDropAction(page->dragController()->dragEntered(&dragData));
1160 Qt::DropAction action = dragOpToDropAction(page->dragController()->dragUpdated(&dragData));
1162 if (action != Qt::IgnoreAction)
1172 Qt::DropAction action = dragOpToDropAction(page->dragController()->dragUpdated(&dragData));
1197 dropActionToDragOp(Qt::DropAction(ev->dropAction())));
1208 QMouseEvent fakeEvent(QEvent::MouseMove, QCursor::pos(), Qt::NoButton, Qt::NoButton, Qt::NoModifier);
1227 QColor backgroundColor = brush.style() == Qt::SolidPattern ? brush.color() : QColor();
1303 if (event->modifiers() == Qt::NoModifier
1304 || event->modifiers() == Qt::ShiftModifier
1305 || event->modifiers() == Qt::KeypadModifier) {
1306 if (event->key() < Qt::Key_Escape) {
1310 case Qt::Key_Return:
1311 case Qt::Key_Enter:
1312 case Qt::Key_Delete:
1313 case Qt::Key_Home:
1314 case Qt::Key_End:
1315 case Qt::Key_Backspace:
1316 case Qt::Key_Left:
1317 case Qt::Key_Right:
1318 case Qt::Key_Up:
1319 case Qt::Key_Down:
1320 case Qt::Key_Tab:
1341 || (ev->key() == Qt::Key_Space && !(ev->modifiers() & Qt::ShiftModifier))) {
1345 || ((ev->key() == Qt::Key_Space) && (ev->modifiers() & Qt::ShiftModifier))) {
1350 if ((ev->key() == Qt::Key_Up && ev->modifiers() & Qt::ControlModifier)
1351 || ev->key() == Qt::Key_Home) {
1354 } else if ((ev->key() == Qt::Key_Down && ev->modifiers() & Qt::ControlModifier)
1355 || ev->key() == Qt::Key_End) {
1360 case Qt::Key_Up:
1364 case Qt::Key_Down:
1368 case Qt::Key_Left:
1372 case Qt::Key_Right:
1405 QVariant QWebPage::inputMethodQuery(Qt::InputMethodQuery property) const
1423 case Qt::ImMicroFocus: {
1431 case Qt::ImFont: {
1438 case Qt::ImCursorPosition: {
1448 case Qt::ImSurroundingText: {
1459 case Qt
1470 case Qt::ImAnchorPosition: {
1480 case Qt::ImMaximumTextLength: {
1572 local filesystem or an equivalent - such as the Qt resource system - then linkClicked() is emitted.
1615 \value ReloadAndBypassCache Reload the current page, but do not use any local cache. (Added in Qt 4.6)
1885 QMessageBox::information(view(), tr("JavaScript Alert - %1").arg(mainFrame()->url().host()), Qt::escape(msg), QMessageBox::Ok);
1901 return QMessageBox::Yes == QMessageBox::information(view(), tr("JavaScript Confirm - %1").arg(mainFrame()->url().host()), Qt::escape(msg), QMessageBox::Yes, QMessageBox::No);
1920 QString x = QInputDialog::getText(view(), tr("JavaScript Prompt - %1").arg(mainFrame()->url().host()), Qt::escape(msg), QLineEdit::Normal, defaultValue, &ok);
1958 If \a type is WebModalDialog, the application must call setWindowModality(Qt::ApplicationModal) on the new window.
1974 This function is called whenever WebKit encounters a HTML object element with type "application/x-qt-plugin".
2648 QKeyEvent ev(QEvent::KeyPress, Qt::Key_Tab, Qt::KeyboardModifiers(next ? Qt::NoModifier : Qt::ShiftModifier));
2833 \omitvalue ErrorPageExtension (introduced in Qt 4.6)
3105 \o %AppVersion% expands to QCoreApplication::applicationName()/QCoreApplication::applicationVersion() if they're set; otherwise defaulting to Qt and the current Qt version.
3312 // webkit/qt version
3324 // Qt version
3325 ua.append(QLatin1String("Qt/"));