亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? qkeysequence.cpp

?? qt-x11-opensource-src-4.1.4.tar.gz源碼
?? CPP
?? 第 1 頁 / 共 3 頁
字號:
/******************************************************************************** Copyright (C) 1992-2006 Trolltech ASA. All rights reserved.**** This file is part of the QtGui module of the Qt Toolkit.**** This file may be used under the terms of the GNU General Public** License version 2.0 as published by the Free Software Foundation** and appearing in the file LICENSE.GPL included in the packaging of** this file.  Please review the following information to ensure GNU** General Public Licensing requirements will be met:** http://www.trolltech.com/products/qt/opensource.html**** If you are unsure which license is appropriate for your use, please** review the following information:** http://www.trolltech.com/products/qt/licensing.html or contact the** sales department at sales@trolltech.com.**** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.******************************************************************************/#include "qkeysequence.h"#ifndef QT_NO_SHORTCUT#include "qshortcut.h"#include "qdebug.h"#ifndef QT_NO_REGEXP# include "qregexp.h"#endif#ifndef QT_NO_DATASTREAM# include "qdatastream.h"#endif#include "qvariant.h"#ifdef Q_WS_MAC# include <private/qt_mac_p.h># define QMAC_CTRL QChar(kCommandUnicode)# define QMAC_META QChar(kControlUnicode)# define QMAC_ALT  QChar(kOptionUnicode)# define QMAC_SHIFT QChar(kShiftUnicode)#endif#ifdef Q_WS_MACstatic bool qt_sequence_no_mnemonics = true;#elsestatic bool qt_sequence_no_mnemonics = false;#endifvoid Q_GUI_EXPORT qt_set_sequence_auto_mnemonic(bool b) { qt_sequence_no_mnemonics = !b; }/*!    \class QKeySequence    \brief The QKeySequence class encapsulates a key sequence as used    by shortcuts.    \ingroup misc    \mainclass    A key sequence consists of up to four keyboard codes, each    optionally combined with modifiers, such as Qt::SHIFT, Qt::CTRL,    Qt::ALT or Qt::META. For example, Qt::CTRL + Qt::Key_P might be a    sequence used as a shortcut for printing a document. Valid codes    for keys and modifiers are listed in Qt::Key and Qt::Modifier. As    an alternative, use the unicode code point of the character; for    example, 'A' gives the same key sequence as Qt::Key_A.    Key sequences can be constructed either from an integer key code,    or from a human readable translatable string such as    "Ctrl+X,Alt+Space". A key sequence can be cast to a QString to    obtain a human readable translated version of the sequence.    Translations are done in the "QShortcut" context.    \bold{Note:} On Mac OS X, references to "Ctrl", Qt::CTRL, Qt::Control    and Qt::ControlModifier correspond to the Command keys on the Macintosh    keyboard, and references to "Meta", Qt::META, Qt::Meta and    Qt::MetaModifier correspond to the Control keys. Developers on Mac OS X    can use the same shortcut descriptions across all platforms, and their    applications will automatically work as expected on Mac OS X.    The toString() function produces human-readable strings for use    in menus. On Mac OS X, the appropriate symbols are used to describe    keyboard shortcuts using special keys on the Macintosh keyboard.    \sa QShortcut*//*!    \enum QKeySequence::SequenceMatch    \value NoMatch The key sequences are different; not even partially    matching.    \value PartialMatch The key sequences match partially, but are not    the same.    \value ExactMatch The key sequences are the same.    \omitvalue Identical*//*!    \enum QKeySequence::SequenceFormat    \value NativeText The key sequence as a platform specific string.    This means that it will be shown translated and on the Mac it will    resemble a keysequence from the menu bar. This enum is best used when you    want to display the string to the user.    \value PortableText The key sequence is given in a "portable" format,    suitable for reading and writing to a file. In many cases, it will look    similar to the native text on Windows and X11.*/static struct {    int key;    const char* name;} keyname[] = {    { Qt::Key_Space,        QT_TRANSLATE_NOOP("QShortcut", "Space") },    { Qt::Key_Escape,       QT_TRANSLATE_NOOP("QShortcut", "Esc") },    { Qt::Key_Tab,          QT_TRANSLATE_NOOP("QShortcut", "Tab") },    { Qt::Key_Backtab,      QT_TRANSLATE_NOOP("QShortcut", "Backtab") },    { Qt::Key_Backspace,    QT_TRANSLATE_NOOP("QShortcut", "Backspace") },    { Qt::Key_Return,       QT_TRANSLATE_NOOP("QShortcut", "Return") },    { Qt::Key_Enter,        QT_TRANSLATE_NOOP("QShortcut", "Enter") },    { Qt::Key_Insert,       QT_TRANSLATE_NOOP("QShortcut", "Ins") },    { Qt::Key_Delete,       QT_TRANSLATE_NOOP("QShortcut", "Del") },    { Qt::Key_Pause,        QT_TRANSLATE_NOOP("QShortcut", "Pause") },    { Qt::Key_Print,        QT_TRANSLATE_NOOP("QShortcut", "Print") },    { Qt::Key_SysReq,       QT_TRANSLATE_NOOP("QShortcut", "SysReq") },    { Qt::Key_Home,         QT_TRANSLATE_NOOP("QShortcut", "Home") },    { Qt::Key_End,          QT_TRANSLATE_NOOP("QShortcut", "End") },    { Qt::Key_Left,         QT_TRANSLATE_NOOP("QShortcut", "Left") },    { Qt::Key_Up,           QT_TRANSLATE_NOOP("QShortcut", "Up") },    { Qt::Key_Right,        QT_TRANSLATE_NOOP("QShortcut", "Right") },    { Qt::Key_Down,         QT_TRANSLATE_NOOP("QShortcut", "Down") },    { Qt::Key_PageUp,       QT_TRANSLATE_NOOP("QShortcut", "PgUp") },    { Qt::Key_PageDown,     QT_TRANSLATE_NOOP("QShortcut", "PgDown") },    { Qt::Key_CapsLock,     QT_TRANSLATE_NOOP("QShortcut", "CapsLock") },    { Qt::Key_NumLock,      QT_TRANSLATE_NOOP("QShortcut", "NumLock") },    { Qt::Key_ScrollLock,   QT_TRANSLATE_NOOP("QShortcut", "ScrollLock") },    { Qt::Key_Menu,         QT_TRANSLATE_NOOP("QShortcut", "Menu") },    { Qt::Key_Help,         QT_TRANSLATE_NOOP("QShortcut", "Help") },    // Multimedia keys    { Qt::Key_Back,         QT_TRANSLATE_NOOP("QShortcut", "Back") },    { Qt::Key_Forward,      QT_TRANSLATE_NOOP("QShortcut", "Forward") },    { Qt::Key_Stop,         QT_TRANSLATE_NOOP("QShortcut", "Stop") },    { Qt::Key_Refresh,      QT_TRANSLATE_NOOP("QShortcut", "Refresh") },    { Qt::Key_VolumeDown,   QT_TRANSLATE_NOOP("QShortcut", "Volume Down") },    { Qt::Key_VolumeMute,   QT_TRANSLATE_NOOP("QShortcut", "Volume Mute") },    { Qt::Key_VolumeUp,     QT_TRANSLATE_NOOP("QShortcut", "Volume Up") },    { Qt::Key_BassBoost,    QT_TRANSLATE_NOOP("QShortcut", "Bass Boost") },    { Qt::Key_BassUp,       QT_TRANSLATE_NOOP("QShortcut", "Bass Up") },    { Qt::Key_BassDown,     QT_TRANSLATE_NOOP("QShortcut", "Bass Down") },    { Qt::Key_TrebleUp,     QT_TRANSLATE_NOOP("QShortcut", "Treble Up") },    { Qt::Key_TrebleDown,   QT_TRANSLATE_NOOP("QShortcut", "Treble Down") },    { Qt::Key_MediaPlay,    QT_TRANSLATE_NOOP("QShortcut", "Media Play") },    { Qt::Key_MediaStop,    QT_TRANSLATE_NOOP("QShortcut", "Media Stop") },    { Qt::Key_MediaPrevious,QT_TRANSLATE_NOOP("QShortcut", "Media Previous") },    { Qt::Key_MediaNext,    QT_TRANSLATE_NOOP("QShortcut", "Media Next") },    { Qt::Key_MediaRecord,  QT_TRANSLATE_NOOP("QShortcut", "Media Record") },    { Qt::Key_HomePage,     QT_TRANSLATE_NOOP("QShortcut", "Home Page") },    { Qt::Key_Favorites,    QT_TRANSLATE_NOOP("QShortcut", "Favorites") },    { Qt::Key_Search,       QT_TRANSLATE_NOOP("QShortcut", "Search") },    { Qt::Key_Standby,      QT_TRANSLATE_NOOP("QShortcut", "Standby") },    { Qt::Key_OpenUrl,      QT_TRANSLATE_NOOP("QShortcut", "Open URL") },    { Qt::Key_LaunchMail,   QT_TRANSLATE_NOOP("QShortcut", "Launch Mail") },    { Qt::Key_LaunchMedia,  QT_TRANSLATE_NOOP("QShortcut", "Launch Media") },    { Qt::Key_Launch0,      QT_TRANSLATE_NOOP("QShortcut", "Launch (0)") },    { Qt::Key_Launch1,      QT_TRANSLATE_NOOP("QShortcut", "Launch (1)") },    { Qt::Key_Launch2,      QT_TRANSLATE_NOOP("QShortcut", "Launch (2)") },    { Qt::Key_Launch3,      QT_TRANSLATE_NOOP("QShortcut", "Launch (3)") },    { Qt::Key_Launch4,      QT_TRANSLATE_NOOP("QShortcut", "Launch (4)") },    { Qt::Key_Launch5,      QT_TRANSLATE_NOOP("QShortcut", "Launch (5)") },    { Qt::Key_Launch6,      QT_TRANSLATE_NOOP("QShortcut", "Launch (6)") },    { Qt::Key_Launch7,      QT_TRANSLATE_NOOP("QShortcut", "Launch (7)") },    { Qt::Key_Launch8,      QT_TRANSLATE_NOOP("QShortcut", "Launch (8)") },    { Qt::Key_Launch9,      QT_TRANSLATE_NOOP("QShortcut", "Launch (9)") },    { Qt::Key_LaunchA,      QT_TRANSLATE_NOOP("QShortcut", "Launch (A)") },    { Qt::Key_LaunchB,      QT_TRANSLATE_NOOP("QShortcut", "Launch (B)") },    { Qt::Key_LaunchC,      QT_TRANSLATE_NOOP("QShortcut", "Launch (C)") },    { Qt::Key_LaunchD,      QT_TRANSLATE_NOOP("QShortcut", "Launch (D)") },    { Qt::Key_LaunchE,      QT_TRANSLATE_NOOP("QShortcut", "Launch (E)") },    { Qt::Key_LaunchF,      QT_TRANSLATE_NOOP("QShortcut", "Launch (F)") },    // --------------------------------------------------------------    // More consistent namings    { Qt::Key_Print,        QT_TRANSLATE_NOOP("QShortcut", "Print Screen") },    { Qt::Key_PageUp,       QT_TRANSLATE_NOOP("QShortcut", "Page Up") },    { Qt::Key_PageDown,     QT_TRANSLATE_NOOP("QShortcut", "Page Down") },    { Qt::Key_CapsLock,     QT_TRANSLATE_NOOP("QShortcut", "Caps Lock") },    { Qt::Key_NumLock,      QT_TRANSLATE_NOOP("QShortcut", "Num Lock") },    { Qt::Key_NumLock,      QT_TRANSLATE_NOOP("QShortcut", "Number Lock") },    { Qt::Key_ScrollLock,   QT_TRANSLATE_NOOP("QShortcut", "Scroll Lock") },    { Qt::Key_Insert,       QT_TRANSLATE_NOOP("QShortcut", "Insert") },    { Qt::Key_Delete,       QT_TRANSLATE_NOOP("QShortcut", "Delete") },    { Qt::Key_Escape,       QT_TRANSLATE_NOOP("QShortcut", "Escape") },    { Qt::Key_SysReq,       QT_TRANSLATE_NOOP("QShortcut", "System Request") },    // --------------------------------------------------------------    // Keypad navigation keys    { Qt::Key_Select,       QT_TRANSLATE_NOOP("QShortcut", "Select") },    { Qt::Key_Yes,          QT_TRANSLATE_NOOP("QShortcut", "Yes") },    { Qt::Key_No,           QT_TRANSLATE_NOOP("QShortcut", "No") },    // --------------------------------------------------------------    // Device keys    { Qt::Key_Context1,     QT_TRANSLATE_NOOP("QShortcut", "Context1") },    { Qt::Key_Context2,     QT_TRANSLATE_NOOP("QShortcut", "Context2") },    { Qt::Key_Context3,     QT_TRANSLATE_NOOP("QShortcut", "Context3") },    { Qt::Key_Context4,     QT_TRANSLATE_NOOP("QShortcut", "Context4") },    { Qt::Key_Call,         QT_TRANSLATE_NOOP("QShortcut", "Call") },    { Qt::Key_Hangup,       QT_TRANSLATE_NOOP("QShortcut", "Hangup") },    { Qt::Key_Flip,         QT_TRANSLATE_NOOP("QShortcut", "Flip") },    { 0, 0 }};class QKeySequencePrivate{public:    inline QKeySequencePrivate()    {        ref = 1;        key[0] = key[1] = key[2] = key[3] =  0;    }    inline QKeySequencePrivate(const QKeySequencePrivate &copy)    {        ref = 1;        key[0] = copy.key[0];        key[1] = copy.key[1];        key[2] = copy.key[2];        key[3] = copy.key[3];    }    QAtomic ref;    int key[4];    static QString encodeString(int key, QKeySequence::SequenceFormat format);    static int decodeString(const QString &keyStr, QKeySequence::SequenceFormat format);};/*!    Constructs an empty key sequence.*/QKeySequence::QKeySequence(){    d = new QKeySequencePrivate();}/*!    Creates a key sequence from the \a key string. For example    "Ctrl+O" gives CTRL+'O'. The strings "Ctrl",    "Shift", "Alt" and "Meta" are recognized, as well as their    translated equivalents in the "QShortcut" context (using    QObject::tr()).    Up to four key codes may be entered by separating them with    commas, e.g. "Alt+X,Ctrl+S,Q".    This contructor is typically used with \link QObject::tr() tr    \endlink(), so that shortcut keys can be replaced in    translations:    \code        QMenu *file = new QMenu(this);        file->addAction(tr("&Open..."), this, SLOT(open()),                          QKeySequence(tr("Ctrl+O", "File|Open")));    \endcode    Note the "File|Open" translator comment. It is by no means    necessary, but it provides some context for the human translator.*/QKeySequence::QKeySequence(const QString &key){    d = new QKeySequencePrivate();    assign(key);}/*!    Constructs a key sequence with up to 4 keys \a k1, \a k2,    \a k3 and \a k4.    The key codes are listed in Qt::Key and can be combined with    modifiers (see Qt::Modifier) such as Qt::SHIFT, Qt::CTRL,    Qt::ALT, or Qt::META.*/QKeySequence::QKeySequence(int k1, int k2, int k3, int k4){    d = new QKeySequencePrivate();    d->key[0] = k1;    d->key[1] = k2;    d->key[2] = k3;    d->key[3] = k4;}/*!    Copy constructor. Makes a copy of \a keysequence. */QKeySequence::QKeySequence(const QKeySequence& keysequence)    : d(keysequence.d){    d->ref.ref();

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本免费新一区视频| 亚洲人一二三区| 亚洲成人福利片| 国内精品国产成人国产三级粉色| www.在线欧美| 国产日韩一级二级三级| 精品亚洲aⅴ乱码一区二区三区| 欧美一区二区性放荡片| 精品捆绑美女sm三区| 精品国产青草久久久久福利| 久久网站热最新地址| 久久久久综合网| 亚洲精品老司机| 不卡一区二区三区四区| 国产目拍亚洲精品99久久精品| 国产在线播放一区| 久久久夜色精品亚洲| 国产精品一二三四| 国产精品你懂的在线| 国产在线看一区| 欧美激情一区二区三区在线| 精品少妇一区二区三区在线播放 | 国产精品亚洲午夜一区二区三区| 一区二区在线观看不卡| 国产精品少妇自拍| 久久女同互慰一区二区三区| 日韩一级视频免费观看在线| 欧美日韩精品一区二区三区四区 | 91免费在线播放| 成人久久视频在线观看| 国产在线播放一区三区四| 精品一区二区综合| 久久成人av少妇免费| 久久电影网电视剧免费观看| 奇米影视在线99精品| 日本网站在线观看一区二区三区| 图片区日韩欧美亚洲| 视频一区二区三区入口| 亚洲第一成年网| 污片在线观看一区二区| 图片区小说区区亚洲影院| 日韩成人免费看| 奇米亚洲午夜久久精品| 麻豆精品在线视频| 黄色成人免费在线| 粉嫩av一区二区三区粉嫩| 成人高清视频在线观看| 色婷婷精品大在线视频| 欧美日韩久久久久久| 欧美一区二区成人| 精品国产99国产精品| 国产日韩欧美综合一区| 欧美经典三级视频一区二区三区| 国产精品美女www爽爽爽| 亚洲欧美日韩综合aⅴ视频| 亚洲亚洲精品在线观看| 奇米四色…亚洲| 国产91精品欧美| 色综合久久66| 日韩午夜在线观看视频| 国产日本欧美一区二区| 亚洲色图丝袜美腿| 香蕉久久一区二区不卡无毒影院 | 日韩午夜在线观看| 国产蜜臀av在线一区二区三区| 亚洲欧美aⅴ...| 婷婷久久综合九色综合绿巨人| 久久国产欧美日韩精品| 成人免费观看av| 欧美少妇性性性| 久久综合色之久久综合| 18欧美亚洲精品| 日韩av二区在线播放| 国产乱码精品一品二品| 91黄视频在线| 欧美精品一区男女天堂| 综合中文字幕亚洲| 日本欧美在线观看| 99久久久免费精品国产一区二区 | 欧美成人国产一区二区| 中文字幕一区二区三区精华液 | 日韩美女视频在线| 中文成人av在线| 日本vs亚洲vs韩国一区三区二区| 国产精品中文欧美| 欧美日韩另类一区| 国产精品午夜久久| 免费观看成人av| 91国在线观看| 国产精品色呦呦| 免费成人av资源网| 91福利视频久久久久| 国产欧美日韩三级| 日韩高清一级片| 色哟哟一区二区三区| 精品福利二区三区| 午夜视频一区二区| 91免费观看国产| 久久久久成人黄色影片| 日韩国产欧美在线视频| 一本大道久久a久久综合婷婷| 亚洲国产精品99久久久久久久久| 日日骚欧美日韩| 色av成人天堂桃色av| 国产精品三级av在线播放| 九九精品一区二区| 91.com视频| 亚洲黄色在线视频| av成人免费在线| 国产亚洲精品中文字幕| 男人的j进女人的j一区| 欧美另类z0zxhd电影| 一区二区三区日韩| 色综合久久中文综合久久97| 欧美韩国日本综合| 国产成人亚洲精品青草天美 | 一区二区三区资源| 成人午夜精品在线| 久久久久88色偷偷免费| 极品少妇xxxx精品少妇| 精品久久久久久久久久久久久久久久久| 一区二区不卡在线播放| 一本到三区不卡视频| 亚洲欧美日韩在线| 色悠悠亚洲一区二区| 中文字幕在线一区免费| 国产成人超碰人人澡人人澡| 精品国精品国产尤物美女| 奇米精品一区二区三区四区 | 欧美在线综合视频| 亚洲精品国产第一综合99久久| 色婷婷精品久久二区二区蜜臂av| 最新国产精品久久精品| 91麻豆国产香蕉久久精品| 亚洲美女偷拍久久| 91福利在线播放| 天堂精品中文字幕在线| 制服丝袜日韩国产| 久久99日本精品| 26uuu另类欧美| 福利视频网站一区二区三区| 国产日本一区二区| 91丨国产丨九色丨pron| 亚洲另类在线制服丝袜| 欧美日韩亚洲高清一区二区| 婷婷中文字幕综合| 日韩一区二区在线看片| 国产一区二区三区四区五区美女| 久久久久国产精品免费免费搜索| 国产高清在线精品| **网站欧美大片在线观看| 一本到不卡免费一区二区| 亚欧色一区w666天堂| 欧美一级片在线观看| 国产综合久久久久影院| 国产精品日日摸夜夜摸av| 欧美性生活影院| 久久99深爱久久99精品| 国产精品三级久久久久三级| 欧美亚洲一区二区在线观看| 午夜精品123| 久久久亚洲午夜电影| 91论坛在线播放| 日韩精品午夜视频| 国产视频一区在线观看| 日本二三区不卡| 久久精品免费看| 国产精品毛片久久久久久久| 欧美日韩一区二区在线观看视频| 久久丁香综合五月国产三级网站| 中文字幕va一区二区三区| 欧美在线一二三| 国内不卡的二区三区中文字幕| 亚洲视频一区二区在线| 欧美肥妇bbw| 成人av资源在线观看| 亚洲3atv精品一区二区三区| 久久久久久久电影| 欧美色图免费看| 粉嫩av一区二区三区| 日韩一区精品视频| 国产精品久久久久久久久久久免费看 | 午夜国产精品一区| 久久久久成人黄色影片| 欧美乱熟臀69xxxxxx| 不卡欧美aaaaa| 美女视频黄 久久| 亚洲女女做受ⅹxx高潮| 亚洲精品在线三区| 欧美日韩电影在线| 成人精品视频一区| 蜜乳av一区二区| 亚洲一区在线看| 欧美激情自拍偷拍| 日韩小视频在线观看专区| 色婷婷国产精品| 成人黄色小视频| 国产美女一区二区三区| 天天爽夜夜爽夜夜爽精品视频| 1区2区3区欧美|