
Return QString("Column %1").arg(section) QVariant StringListModel::headerData(int section, Qt::Orientation orientation, If (role = Qt::DisplayRole || role = Qt::EditRole) QVariant StringListModel::data(const QModelIndex &index, int role) const Int StringListModel::rowCount(const QModelIndex &parent) const : QAbstractListModel(parent), stringList(strings) StringListModel::StringListModel(const QStringList &strings, QObject *parent)

QMimeData *mimeData(const QModelIndexList &indexes) const īool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) Qt::DropActions supportedDropActions() const Qt::ItemFlags flags(const QModelIndex &index) const īool setData(const QModelIndex &index, const QVariant &value,īool insertRows(int position, int rows, const QModelIndex &index = QModelIndex()) īool removeRows(int position, int rows, const QModelIndex &index = QModelIndex()) QVariant headerData(int section, Qt::Orientation orientation, QVariant data(const QModelIndex &index, int role) const Int rowCount(const QModelIndex &parent = QModelIndex()) const StringListModel(const QStringList &strings, QObject *parent = 0)


If you have any problems with the registration process or your account login, please contact us.Ĭlass StringListModel : public QAbstractListModel Registration is fast, simple and absolutely free so please, join our community today! By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features.

If you are looking for information about Qt related issue - register and post your question. Over 90 percent of questions asked here gets answered. Qt Centre is a community site devoted to programming in C++ using the Qt framework. Select the forum that you want to visit from the selection below.
