Home | History | Annotate | Download | only in Api

Lines Matching refs:Qt

255 static inline DragOperation dropActionToDragOp(Qt::DropActions actions)
258 if (actions & Qt::CopyAction)
262 if (actions & Qt::MoveAction)
264 if (actions & Qt::LinkAction)
269 static inline Qt::DropAction dragOpToDropAction(unsigned actions)
271 Qt::DropAction result = Qt::IgnoreAction;
273 result = Qt::CopyAction;
275 result = Qt::MoveAction;
279 result = Qt::MoveAction;
281 result = Qt::LinkAction;
694 // ignore the event if we can't map Qt's mouse buttons to WebCore::MouseButton
717 // ignore the event if we can't map Qt's mouse buttons to WebCore::MouseButton
735 // ignore the event if we can't map Qt's mouse buttons to WebCore::MouseButton
741 void QWebPagePrivate::handleClipboard(QEvent* ev, Qt::MouseButton button)
748 if (button == Qt::LeftButton) {
753 } else if (button == Qt::MidButton) {
774 // ignore the event if we can't map Qt's mouse buttons to WebCore::MouseButton
783 void QWebPagePrivate::handleSoftwareInputPanel(Qt::MouseButton button, const QPoint& pos)
791 && button == Qt::LeftButton && qApp->autoSipEnabled()) {
914 case Qt::Key_Back:
917 case Qt::Key_Forward:
920 case Qt::Key_Stop:
923 case Qt::Key_Refresh:
926 case Qt::Key_Backspace:
927 if (ev->modifiers() == Qt::ShiftModifier)
980 Qt::DropAction action = dragOpToDropAction(page->dragController()->dragEntered(&dragData));
1002 Qt::DropAction action = dragOpToDropAction(page->dragController()->dragUpdated(&dragData));
1004 if (action != Qt::IgnoreAction)
1025 QMouseEvent fakeEvent(QEvent::MouseMove, QCursor::pos(), Qt::NoButton, Qt::NoButton, Qt::NoModifier);
1044 QColor backgroundColor = brush.style() == Qt::SolidPattern ? brush.color() : QColor();
1233 if (event->modifiers() == Qt::NoModifier
1234 || event->modifiers() == Qt::ShiftModifier
1235 || event->modifiers() == Qt::KeypadModifier) {
1236 if (event->key() < Qt::Key_Escape) {
1240 case Qt::Key_Return:
1241 case Qt::Key_Enter:
1242 case Qt::Key_Delete:
1243 case Qt::Key_Home:
1244 case Qt::Key_End:
1245 case Qt::Key_Backspace:
1246 case Qt::Key_Left:
1247 case Qt::Key_Right:
1248 case Qt::Key_Up:
1249 case Qt::Key_Down:
1250 case Qt::Key_Tab:
1271 || (ev->key() == Qt::Key_Space && !(ev->modifiers() & Qt::ShiftModifier))) {
1275 || ((ev->key() == Qt::Key_Space) && (ev->modifiers() & Qt::ShiftModifier))) {
1280 if ((ev->key() == Qt::Key_Up && ev->modifiers() & Qt::ControlModifier)
1281 || ev->key() == Qt::Key_Home) {
1284 } else if ((ev->key() == Qt::Key_Down && ev->modifiers() & Qt::ControlModifier)
1285 || ev->key() == Qt::Key_End) {
1290 case Qt::Key_Up:
1294 case Qt::Key_Down:
1298 case Qt::Key_Left:
1302 case Qt::Key_Right:
1379 QVariant QWebPage::inputMethodQuery(Qt::InputMethodQuery property) const
1397 case Qt::ImMicroFocus: {
1405 case Qt::ImFont: {
1412 case Qt::ImCursorPosition: {
1417 case Qt::ImSurroundingText: {
1427 case Qt::ImCurrentSelection: {
1437 case Qt::ImAnchorPosition: {
1442 case Qt::ImMaximumTextLength: {
1659 local filesystem or an equivalent - such as the Qt resource system - then linkClicked() is emitted.
1708 \value ReloadAndBypassCache Reload the current page, but do not use any local cache. (Added in Qt 4.6)
2091 QMessageBox::information(parent, tr("JavaScript Alert - %1").arg(mainFrame()->url().host()), Qt::escape(msg), QMessageBox::Ok);
2108 return QMessageBox::Yes == QMessageBox::information(parent, tr("JavaScript Confirm - %1").arg(mainFrame()->url().host()), Qt::escape(msg), QMessageBox::Yes, QMessageBox::No);
2128 QString x = QInputDialog::getText(parent, tr("JavaScript Prompt - %1").arg(mainFrame()->url().host()), Qt::escape(msg), QLineEdit::Normal, defaultValue, &ok);
2187 If \a type is WebModalDialog, the application must call setWindowModality(Qt::ApplicationModal) on the new window.
2207 This function is called whenever WebKit encounters a HTML object element with type "application/x-qt-plugin". It is
3148 QKeyEvent ev(QEvent::KeyPress, Qt::Key_Tab, Qt::KeyboardModifiers(next ? Qt::NoModifier : Qt::ShiftModifier));
3340 (introduced in Qt 4.6)
3706 \o %AppVersion% expands to QCoreApplication::applicationName()/QCoreApplication::applicationVersion() if they're set; otherwise defaulting to Qt and the current Qt version.
3881 // webkit/qt version
3913 // Qt version
3914 appName = QString::fromLatin1("Qt/") + QString::fromLatin1(qVersion());