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

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

?? qabstractitemmodel.cpp

?? QT 開發環境里面一個很重要的文件
?? CPP
?? 第 1 頁 / 共 5 頁
字號:
    model. The removed items are those between \a start and \a end    inclusive, under the given \a parent item.    \bold{Note:} Components connected to this signal use it to adapt to changes    in the model's dimensions. It can only be emitted by the QAbstractItemModel    implementation, and cannot be explicitly emitted in subclass code.    \sa removeRows(), beginRemoveRows()*//*!    \fn void QAbstractItemModel::rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end)    This signal is emitted just before rows are removed from the    model. The items that will be removed are those between \a start and \a end    inclusive, under the given \a parent item.    \bold{Note:} Components connected to this signal use it to adapt to changes    in the model's dimensions. It can only be emitted by the QAbstractItemModel    implementation, and cannot be explicitly emitted in subclass code.    \sa removeRows(), beginRemoveRows()*//*!    \fn void QAbstractItemModel::columnsInserted(const QModelIndex &parent, int start, int end)    This signal is emitted after columns have been inserted into the    model. The new items are those between \a start and \a end    inclusive, under the given \a parent item.    \bold{Note:} Components connected to this signal use it to adapt to changes    in the model's dimensions. It can only be emitted by the QAbstractItemModel    implementation, and cannot be explicitly emitted in subclass code.    \sa insertColumns(), beginInsertColumns()*//*!    \fn void QAbstractItemModel::columnsAboutToBeInserted(const QModelIndex &parent, int start, int end)    This signal is emitted just before columns are inserted into the    model. The new items will be positioned between \a start and \a end    inclusive, under the given \a parent item.    \bold{Note:} Components connected to this signal use it to adapt to changes    in the model's dimensions. It can only be emitted by the QAbstractItemModel    implementation, and cannot be explicitly emitted in subclass code.    \sa insertColumns(), beginInsertColumns()*//*!    \fn void QAbstractItemModel::columnsRemoved(const QModelIndex &parent, int start, int end)    This signal is emitted after columns have been removed from the    model. The removed items are those between \a start and \a end    inclusive, under the given \a parent item.    \bold{Note:} Components connected to this signal use it to adapt to changes    in the model's dimensions. It can only be emitted by the QAbstractItemModel    implementation, and cannot be explicitly emitted in subclass code.    \sa removeColumns(), beginRemoveColumns()*//*!    \fn void QAbstractItemModel::columnsAboutToBeRemoved(const QModelIndex &parent, int start, int end)    This signal is emitted just before columns are removed    from the model. The items to be removed are those between \a start and    \a end inclusive, under the given \a parent item.    \bold{Note:} Components connected to this signal use it to adapt to changes    in the model's dimensions. It can only be emitted by the QAbstractItemModel    implementation, and cannot be explicitly emitted in subclass code.    \sa removeColumns(), beginRemoveColumns()*//*!  Returns true if the model returns a valid QModelIndex for \a row and  \a column with \a parent, otherwise returns false.*/bool QAbstractItemModel::hasIndex(int row, int column, const QModelIndex &parent) const{    if (row < 0 || column < 0)        return false;    return row < rowCount(parent) && column < columnCount(parent);}/*!  Returns true if \a parent has any children; otherwise returns false.  Use rowCount() on the parent to find out the number of children.  \sa parent() index()*/bool QAbstractItemModel::hasChildren(const QModelIndex &parent) const{    return (rowCount(parent) > 0) && (columnCount(parent) > 0);}/*!    Returns a map with values for all predefined roles in the model    for the item at the given \a index.    Reimplemented this function if you want to extend the default behavior    of this function to include custom roles in the map.    \sa Qt::ItemDataRole, data()*/QMap<int, QVariant> QAbstractItemModel::itemData(const QModelIndex &index) const{    QMap<int, QVariant> roles;    for (int i = 0; i < Qt::UserRole; ++i) {        QVariant variantData = data(index, i);        if (variantData.type() != QVariant::Invalid)            roles.insert(i, variantData);    }    return roles;}/*!    Sets the \a role data for the item at \a index to \a value.    Returns true if successful; otherwise returns false.    The dataChanged() signal should be emitted if the data was successfully set.    The base class implementation returns false. This function and    data() must be reimplemented for editable models. Note that the    dataChanged() signal must be emitted explicitly when    reimplementing this function.    \sa Qt::ItemDataRole, data(), itemData()*/bool QAbstractItemModel::setData(const QModelIndex &index, const QVariant &value, int role){    Q_UNUSED(index);    Q_UNUSED(value);    Q_UNUSED(role);    return false;}/*!    \fn QVariant QAbstractItemModel::data(const QModelIndex &index, int role) const = 0    Returns the data stored under the given \a role for the item referred to    by the \a index.    \sa Qt::ItemDataRole, setData(), headerData()*//*!    For every Qt::ItemDataRole in \a roles, sets the role data for the item at    \a index to the associated value in \a roles. Returns true if    successful; otherwise returns false.    \sa setData() data() itemData()*/bool QAbstractItemModel::setItemData(const QModelIndex &index, const QMap<int, QVariant> &roles){    bool b = true;    for (QMap<int, QVariant>::ConstIterator it = roles.begin(); it != roles.end(); ++it)        b = b && setData(index, it.value(), it.key());    return b;}/*!    Returns a list of MIME types that can be used to describe a list of    model indexes.    \sa mimeData()*/QStringList QAbstractItemModel::mimeTypes() const{    QStringList types;    types << QLatin1String("application/x-qabstractitemmodeldatalist");    return types;}/*!    Returns an object that contains serialized items of data corresponding to the    list of \a indexes specified. The formats used to describe the encoded data    is obtained from the mimeTypes() function.    If the list of indexes is empty, or there are no supported MIME types,    0 is returned rather than a serialized empty list.    \sa mimeTypes(), dropMimeData()*/QMimeData *QAbstractItemModel::mimeData(const QModelIndexList &indexes) const{    if (indexes.count() <= 0)        return 0;    QStringList types = mimeTypes();    if (types.isEmpty())        return 0;    QMimeData *data = new QMimeData();    QString format = types.at(0);    QByteArray encoded;    QDataStream stream(&encoded, QIODevice::WriteOnly);    encodeData(indexes, stream);    data->setData(format, encoded);    return data;}/*!    Handles the \a data supplied by a drag and drop operation that ended with    the given \a action.    Although the specified \a row, \a column and \a parent indicate the location of    an item in the model where the operation ended, it is the responsibility of the    view to provide a suitable location for where the data should be inserted.    For instance, a drop action on an item in a QTreeView can result in new items    either being inserted as children of the item specified by \a row, \a column,    and \a parent, or as siblings of the item.    \sa supportedDropActions(), {Using Drag and Drop with Item Views}*/bool QAbstractItemModel::dropMimeData(const QMimeData *data, Qt::DropAction action,                                      int row, int column, const QModelIndex &parent){    // check if the action is supported    if (!data || !(action == Qt::CopyAction || action == Qt::MoveAction))        return false;    // check if the format is supported    QStringList types = mimeTypes();    if (types.isEmpty())        return false;    QString format = types.at(0);    if (!data->hasFormat(format))        return false;    if (row > rowCount(parent))        row = rowCount(parent);    if (row == -1)        row = rowCount(parent);    if (column == -1)        column = 0;    // decode and insert    QByteArray encoded = data->data(format);    QDataStream stream(&encoded, QIODevice::ReadOnly);    return decodeData(row, column, parent, stream);}/*!  \since 4.2  Returns the drop actions supported by this model.  The default implementation returns Qt::CopyAction. Reimplement this  function if you wish to support additional actions. Note that you  must also reimplement the dropMimeData() function to handle the  additional operations.  \sa dropMimeData(), Qt::DropActions, {Using Drag and Drop with Item  Views}*/Qt::DropActions QAbstractItemModel::supportedDropActions() const{    return Qt::CopyAction;}/*!  Returns the actions supported by the data in this model.  The default implementation returns supportedDropActions() unless  specific values have been set with setSupportedDragActions().  supportedDragActions() is used by QAbstractItemView::startDrag() as  the default values when a drag occurs.  \sa Qt::DropActions, {Using Drag and Drop with Item Views}*/Qt::DropActions QAbstractItemModel::supportedDragActions() const{    // ### Qt 5: make this virtual or these properties    Q_D(const QAbstractItemModel);    if (d->supportedDragActions != -1)        return d->supportedDragActions;    return supportedDropActions();}/*!    \since 4.2    Sets the supported drag \a actions for the items in the model.    \sa supportedDragActions(), {Using Drag and Drop with Item Views}*/void QAbstractItemModel::setSupportedDragActions(Qt::DropActions actions){    Q_D(QAbstractItemModel);    d->supportedDragActions = actions;}/*!  On models that support this, inserts \a count rows into the model before the  given \a row.  The items in the new row will be children of the item  represented by the \a parent model index.  If \a row is 0, the rows are prepended to any existing rows in the parent.  If \a row is rowCount(), the rows are appended to any existing rows in the  parent.  If \a parent has no children, a single column with \a count rows is inserted.  Returns true if the rows were successfully inserted; otherwise returns  false.  The base class implementation does nothing and returns false.  If you implement your own model, you can reimplement this function  if you want to support insertions. Alternatively, you can provide  you own API for altering the data.  \sa insertColumns(), removeRows(), beginInsertRows(), endInsertRows()*/bool QAbstractItemModel::insertRows(int, int, const QModelIndex &){    return false;}/*!  On models that support this, inserts \a count new columns into the model  before the given \a column.  The items in each new column will be children  of the item represented by the \a parent model index.  If \a column is 0, the columns are prepended to any existing columns.  If \a column is columnCount(), the columns are appended to any existing  columns.  If \a parent has no children, a single row with \a count columns is inserted.  Returns true if the columns were successfully inserted; otherwise returns  false.  The base class implementation does nothing and returns false.  If you implement your own model, you can reimplement this function  if you want to support insertions. Alternatively, you can provide  you own API for altering the data.  \sa insertRows(), removeColumns(), beginInsertColumns(), endInsertColumns()*/bool QAbstractItemModel::insertColumns(int, int, const QModelIndex &){    return false;}/*!    On models that support this, removes \a count rows starting with the given    \a row under parent \a parent from the model. Returns true if the rows    were successfully removed; otherwise returns false.    The base class implementation does nothing and returns false.    If you implement your own model, you can reimplement this function    if you want to support removing. Alternatively, you can provide    you own API for altering the data.    \sa removeRow(), removeColumns(), insertColumns(), beginRemoveRows(), endRemoveRows()*/bool QAbstractItemModel::removeRows(int, int, const QModelIndex &){    return false;}/*!    On models that support this, removes \a count columns starting with the    given \a column under parent \a parent from the model. Returns true if the    columns were successfully removed; otherwise returns false.    The base class implementation does nothing and returns false.    If you implement your own model, you can reimplement this function    if you want to support removing. Alternatively, you can provide    you own API for altering the data.    \sa removeColumn(), removeRows(), insertColumns(), beginRemoveColumns(), endRemoveColumns()*/bool QAbstractItemModel::removeColumns(int, int, const QModelIndex &){    return false;}/*!  Fetches any available data for the items with the parent specified by the  \a parent index.  Reimplement this if you have incremental data.  The default implementation does nothing.  \sa canFetchMore()*/

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美性大战久久| 中文字幕亚洲综合久久菠萝蜜| 日韩一区二区视频| 中文字幕免费不卡| 蜜桃久久精品一区二区| 成人av网站在线观看免费| 日韩欧美亚洲一区二区| 夜夜精品浪潮av一区二区三区| 国模娜娜一区二区三区| 欧美精品粉嫩高潮一区二区| 日韩理论片一区二区| 国产传媒久久文化传媒| 91麻豆精品国产无毒不卡在线观看 | 精品少妇一区二区三区日产乱码 | 一本色道亚洲精品aⅴ| www国产精品av| 日韩黄色免费网站| 欧美日韩一区不卡| 18欧美乱大交hd1984| 国产不卡高清在线观看视频| 日韩精品资源二区在线| 免费在线一区观看| 欧美日韩大陆一区二区| 亚洲一级片在线观看| 91亚洲精品久久久蜜桃网站| 国产精品国产三级国产aⅴ无密码| 另类成人小视频在线| 在线成人高清不卡| 亚洲国产精品久久久久秋霞影院| 91麻豆精品一区二区三区| 日本一区二区三区在线观看| 韩日av一区二区| 精品国产乱码久久久久久老虎| 日韩精品91亚洲二区在线观看 | 欧美一区二区三区在| 亚洲电影视频在线| 欧美日韩国产a| 亚洲va欧美va国产va天堂影院| 色婷婷av一区二区三区gif| 国产精品成人免费精品自在线观看 | 久久久久综合网| 国产一区二区在线观看免费| 欧美不卡视频一区| 国模无码大尺度一区二区三区| 欧美精品一区二区三区很污很色的 | 欧美电影免费观看高清完整版在线| 无码av免费一区二区三区试看| 正在播放一区二区| 精品无人区卡一卡二卡三乱码免费卡 | 国产欧美日韩三级| av成人免费在线观看| 亚洲激情在线播放| 欧美一级在线观看| 国产在线国偷精品免费看| 国产日韩欧美电影| 99热精品国产| 亚洲成人高清在线| 精品乱人伦小说| 成人一区在线观看| 一区二区三区在线高清| 6080国产精品一区二区| 国产在线国偷精品免费看| 国产精品久久久久三级| 欧美巨大另类极品videosbest | 精品精品国产高清a毛片牛牛 | 麻豆国产欧美日韩综合精品二区| 26uuu亚洲综合色| 972aa.com艺术欧美| 日本v片在线高清不卡在线观看| 久久久久久久国产精品影院| 91亚洲精品一区二区乱码| 日韩高清一区二区| 国产精品系列在线| 欧美一区二区三区精品| 国产99一区视频免费| 亚洲午夜精品久久久久久久久| 26uuu另类欧美| 欧美三级视频在线播放| 国产精品一区在线观看乱码 | 欧洲一区在线电影| 国产精品一区免费在线观看| 亚洲乱码国产乱码精品精的特点| 日韩精品中文字幕在线不卡尤物| 成人免费三级在线| 免费视频一区二区| 综合久久给合久久狠狠狠97色| 在线不卡一区二区| 91丨porny丨国产入口| 久久精品国产亚洲aⅴ| 亚洲色图欧洲色图| 久久这里只有精品首页| 欧美日韩国产另类一区| www.日韩av| 国内精品写真在线观看| 午夜欧美电影在线观看| 亚洲免费成人av| 国产精品乱码一区二三区小蝌蚪| 日韩欧美一区二区在线视频| 色婷婷av久久久久久久| 99久久er热在这里只有精品66| 精品亚洲成a人在线观看| 亚洲3atv精品一区二区三区| 国产精品福利影院| 国产精品青草久久| 国产日韩欧美在线一区| 亚洲少妇最新在线视频| 久久精品欧美一区二区三区不卡| 91精品国产综合久久国产大片| 精品视频全国免费看| 色婷婷综合久色| 日本韩国欧美一区| 91小视频免费看| 不卡的av在线播放| 成人性生交大片免费看视频在线| 777精品伊人久久久久大香线蕉| www.欧美色图| 91免费观看国产| 99久久久久免费精品国产| 国产99久久久国产精品潘金| 国产成人在线看| 成人免费的视频| 不卡在线观看av| 91伊人久久大香线蕉| 色欧美乱欧美15图片| 日本精品免费观看高清观看| 在线一区二区三区四区五区| 91久久人澡人人添人人爽欧美| 在线精品视频一区二区三四 | jlzzjlzz亚洲日本少妇| 成人激情开心网| 91老师片黄在线观看| 色综合久久久久网| 欧美日韩色综合| 欧美一区二区三区免费| 国产夜色精品一区二区av| 日本一区二区视频在线| 亚洲欧美另类在线| 亚洲韩国精品一区| 久久99精品一区二区三区三区| 国产剧情一区在线| 97se亚洲国产综合自在线不卡| 久久99久国产精品黄毛片色诱| 国产精品国产三级国产专播品爱网| 国产精品久久久久一区二区三区| 一区二区三区日韩欧美| 日韩成人av影视| 国产精一区二区三区| 一本色道久久综合狠狠躁的推荐| 欧美艳星brazzers| 欧美一区二区三区影视| 日本一区二区高清| 亚洲一区二区三区四区五区中文| 日本视频一区二区| 丁香婷婷综合色啪| 欧美系列在线观看| 久久久国产精品麻豆 | 精品国产成人在线影院| 国产精品理论在线观看| 五月激情六月综合| 国产999精品久久久久久绿帽| 91国产免费看| 久久久国际精品| 日韩精品一级中文字幕精品视频免费观看| 激情六月婷婷久久| 欧美优质美女网站| 久久久久久99精品| 日韩一区精品字幕| 一本久久综合亚洲鲁鲁五月天| 欧美不卡激情三级在线观看| 亚洲人被黑人高潮完整版| 国产一区二区免费在线| 欧美日韩精品欧美日韩精品| 国产精品日韩精品欧美在线 | 亚洲一区二区三区四区在线观看 | 中文字幕佐山爱一区二区免费| 免费成人性网站| 日本二三区不卡| 欧美激情综合在线| 美女国产一区二区| 欧美日韩国产美女| 伊人开心综合网| av在线不卡观看免费观看| 久久综合视频网| 久久精品免费观看| 欧美另类videos死尸| 亚洲精品国产一区二区精华液| 国产福利精品导航| 国产亚洲一区二区在线观看| 日本不卡的三区四区五区| 欧美色区777第一页| 亚洲免费在线电影| 成人高清在线视频| 国产农村妇女毛片精品久久麻豆| 久久9热精品视频| 日韩美女一区二区三区四区| 青青草视频一区| 欧美成人一区二区三区片免费| 日韩精品一级二级| 日韩欧美在线不卡| 国内久久精品视频|