Home
last modified time | relevance | path

Searched refs:HistoryModel (Results 1 – 25 of 174) sorted by relevance

1234567

/dports/deskutils/ausweisapp2/AusweisApp2-1.22.2/test/qt/ui/qml/
H A Dtest_HistoryModel.cpp19 Q_DECLARE_METATYPE(HistoryModel::HistoryRoles)
25 QSharedPointer<HistoryModel> mModel;
77 mModel.reset(new HistoryModel()); in init()
151 QTest::addColumn<HistoryModel::HistoryRoles>("role"); in test_Data_data()
154 QTest::newRow("subject") << HistoryModel::HistoryRoles::SUBJECT << "SubjectName"; in test_Data_data()
155 QTest::newRow("purpose") << HistoryModel::HistoryRoles::PURPOSE << "Usage"; in test_Data_data()
156 QTest::newRow("termOfUsage") << HistoryModel::HistoryRoles::TERMSOFUSAGE << "TermOfUsage"; in test_Data_data()
158 QTest::newRow("writtenData") << HistoryModel::HistoryRoles::WRITTENDATA << "Address"; in test_Data_data()
168 QTest::newRow("providerPhone") << HistoryModel::HistoryRoles::PROVIDER_PHONE << "0421 123456"; in test_Data_data()
176 QFETCH(HistoryModel::HistoryRoles, role); in test_Data()
[all …]
/dports/deskutils/ausweisapp2/AusweisApp2-1.22.2/src/ui/qml/
H A DHistoryModel.cpp22 auto& HistoryModel::getHistorySettings() in getHistorySettings()
28 HistoryModel::HistoryModel(QObject* pParent) in HistoryModel() function in HistoryModel
51 HistoryModel::~HistoryModel() in ~HistoryModel()
56 void HistoryModel::updateConnections() in updateConnections()
81 void HistoryModel::onHistoryEntriesChanged() in onHistoryEntriesChanged()
90 void HistoryModel::onProvidersChanged() in onProvidersChanged()
220 bool HistoryModel::isEnabled() const in isEnabled()
226 void HistoryModel::setEnabled(bool pEnabled) in setEnabled()
237 bool HistoryModel::isEmpty() const in isEmpty()
296 HistoryProxyModel* HistoryModel::getFilterModel() in getFilterModel()
[all …]
H A DHistoryModelSearchFilter.cpp21 const HistoryModel* const dataSourceModel = qobject_cast<HistoryModel*>(sourceModel()); in filterAcceptsRow()
28 …if (dataSourceModel->data(modelIndex, HistoryModel::DATETIME).toDateTime().toString(tr("dd.MM.yyyy… in filterAcceptsRow()
29 …|| dataSourceModel->data(modelIndex, HistoryModel::SUBJECT).toString().contains(mFilterString, Qt:… in filterAcceptsRow()
30 …|| dataSourceModel->data(modelIndex, HistoryModel::PURPOSE).toString().contains(mFilterString, Qt:… in filterAcceptsRow()
31 …|| dataSourceModel->data(modelIndex, HistoryModel::REQUESTEDDATA).toString().contains(mFilterStrin… in filterAcceptsRow()
/dports/x11/plasma5-plasma-workspace/plasma-workspace-5.23.5/klipper/
H A Dhistorymodel.cpp12 HistoryModel::HistoryModel(QObject *parent) in HistoryModel() function in HistoryModel
20 HistoryModel::~HistoryModel() in ~HistoryModel()
25 void HistoryModel::clear() in clear()
33 void HistoryModel::setMaxSize(int size) in setMaxSize()
45 int HistoryModel::rowCount(const QModelIndex &parent) const in rowCount()
105 bool HistoryModel::remove(const QByteArray &uuid) in remove()
162 void HistoryModel::moveToTop(const QByteArray &uuid) in moveToTop()
171 void HistoryModel::moveToTop(int row) in moveToTop()
182 void HistoryModel::moveTopToBack() in moveTopToBack()
194 void HistoryModel::moveBackToTop() in moveBackToTop()
[all …]
H A Dhistorymodel.h19 class HistoryModel : public QAbstractListModel
23 explicit HistoryModel(QObject *parent = nullptr);
24 ~HistoryModel() override;
60 inline int HistoryModel::maxSize() const in maxSize()
65 inline bool HistoryModel::displayImages() const in displayImages()
70 inline void HistoryModel::setDisplayImages(bool show) in setDisplayImages()
H A Dhistory.cpp48 , m_model(new HistoryModel(this)) in History()
50 … connect(m_model, &HistoryModel::rowsInserted, this, [this](const QModelIndex &parent, int start) { in History()
58 &HistoryModel::rowsMoved, in History()
69 … connect(m_model, &HistoryModel::rowsRemoved, this, [this](const QModelIndex &parent, int start) { in History()
76 connect(m_model, &HistoryModel::modelReset, this, &History::changed); in History()
77 connect(m_model, &HistoryModel::modelReset, this, &History::topChanged); in History()
H A Dhistory.h14 class HistoryModel; variable
98 HistoryModel *model() in model()
135 HistoryModel *m_model;
H A Dhistoryitem.h10 class HistoryModel; variable
89 void setModel(HistoryModel *model);
92 HistoryModel *m_model;
/dports/www/otter-browser/otter-browser-1.0.03/src/core/
H A DHistoryModel.cpp35 HistoryModel::Entry::Entry() : QStandardItem() in Entry()
56 QString HistoryModel::Entry::getTitle() const in getTitle()
61 QUrl HistoryModel::Entry::getUrl() const in getUrl()
71 QIcon HistoryModel::Entry::getIcon() const in getIcon()
78 quint64 HistoryModel::Entry::getIdentifier() const in getIdentifier()
83 HistoryModel::HistoryModel(const QString &path, HistoryType type, QObject *parent) : QStandardItemM… in HistoryModel() function in Otter::HistoryModel
112 void HistoryModel::clearExcessEntries(int limit) in clearExcessEntries()
146 void HistoryModel::clearOldestEntries(int period) in clearOldestEntries()
238 HistoryModel::Entry* HistoryModel::getEntry(quint64 identifier) const in getEntry()
248 QVector<HistoryModel::HistoryEntryMatch> HistoryModel::findEntries(const QString &prefix, bool mark… in findEntries()
[all …]
H A DHistoryManager.cpp34 HistoryModel* HistoryManager::m_browsingHistoryModel(nullptr);
35 HistoryModel* HistoryManager::m_typedHistoryModel(nullptr);
194 HistoryModel::Entry *item(m_browsingHistoryModel->getEntry(identifier)); in updateEntry()
198 item->setData(url, HistoryModel::UrlRole); in updateEntry()
199 item->setData(title, HistoryModel::TitleRole); in updateEntry()
271 HistoryModel* HistoryManager::getBrowsingHistoryModel() in getBrowsingHistoryModel()
275 …owsingHistoryModel = new HistoryModel(SessionsManager::getWritableDataPath(QLatin1String("browsing… in getBrowsingHistoryModel()
281 HistoryModel* HistoryManager::getTypedHistoryModel() in getTypedHistoryModel()
285 …m_typedHistoryModel = new HistoryModel(SessionsManager::getWritableDataPath(QLatin1String("typedHi… in getTypedHistoryModel()
318 HistoryModel::Entry* HistoryManager::getEntry(quint64 identifier) in getEntry()
[all …]
H A DHistoryManager.h43 static HistoryModel* getBrowsingHistoryModel();
44 static HistoryModel* getTypedHistoryModel();
46 static HistoryModel::Entry* getEntry(quint64 identifier);
47 …static QVector<HistoryModel::HistoryEntryMatch> findEntries(const QString &prefix, bool isTypedInO…
66 static HistoryModel *m_browsingHistoryModel;
67 static HistoryModel *m_typedHistoryModel;
/dports/www/falkon/falkon-3.2.0/src/lib/history/
H A Dhistorymodel.cpp37 HistoryModel::HistoryModel(History* history) in HistoryModel() function in HistoryModel
170 QModelIndex HistoryModel::parent(const QModelIndex &index) const in parent()
195 int HistoryModel::rowCount(const QModelIndex &parent) const in rowCount()
206 int HistoryModel::columnCount(const QModelIndex &parent) const in columnCount()
213 bool HistoryModel::hasChildren(const QModelIndex &parent) const in hasChildren()
261 void HistoryModel::resetHistory() in resetHistory()
281 void HistoryModel::fetchMore(const QModelIndex &parent) in fetchMore()
332 void HistoryModel::historyEntryAdded(const HistoryEntry &entry) in historyEntryAdded()
429 void HistoryModel::checkEmptyParentItem(HistoryItem* item) in checkEmptyParentItem()
444 void HistoryModel::init() in init()
[all …]
H A Dhistorytreeview.cpp88 return indexes.at(0).data(HistoryModel::UrlRole).toUrl(); in selectedUrl()
114 if (index.data(HistoryModel::IsTopLevelRole).toBool()) { in removeSelectedItems()
116 qint64 end = index.data(HistoryModel::TimestampEndRole).toLongLong(); in removeSelectedItems()
123 int id = index.data(HistoryModel::IdRole).toInt(); in removeSelectedItems()
167 const QUrl url = index.data(HistoryModel::UrlRole).toUrl(); in mousePressEvent()
187 const QUrl url = index.data(HistoryModel::UrlRole).toUrl(); in mouseReleaseEvent()
205 const QUrl url = index.data(HistoryModel::UrlRole).toUrl(); in mouseDoubleClickEvent()
225 const QUrl url = index.data(HistoryModel::UrlRole).toUrl(); in keyPressEvent()
226 const bool isTopLevel = index.data(HistoryModel::IsTopLevelRole).toBool(); in keyPressEvent()
258 bool itemTopLevel = index.data(HistoryModel::IsTopLevelRole).toBool(); in drawRow()
[all …]
/dports/finance/qtbitcointrader/QtBitcoinTrader-1.40.55/src/
H A Dhistorymodel.cpp35 HistoryModel::HistoryModel() in HistoryModel() function in HistoryModel
45 HistoryModel::~HistoryModel() in ~HistoryModel()
50 void HistoryModel::clear() in clear()
61 void HistoryModel::loadLastPrice() in loadLastPrice()
86 void HistoryModel::historyChanged(QList<HistoryItem>* histList) in historyChanged()
160 double HistoryModel::getRowPrice(int row) in getRowPrice()
170 double HistoryModel::getRowVolume(int row) in getRowVolume()
180 int HistoryModel::getRowType(int row) in getRowType()
190 int HistoryModel::rowCount(const QModelIndex& /*parent*/) const in rowCount()
195 int HistoryModel::columnCount(const QModelIndex& /*parent*/) const in columnCount()
[all …]
H A Dhistorymodel.h39 class HistoryModel : public QAbstractItemModel
44 HistoryModel();
45 ~HistoryModel();
/dports/devel/eric6/eric6-21.11/eric/eric6/WebBrowser/History/
H A DHistoryDialog.py16 from .HistoryModel import HistoryModel
196 idx.data(HistoryModel.UrlRole),
197 idx.data(HistoryModel.TitleRole))
200 idx.data(HistoryModel.UrlRole),
201 idx.data(HistoryModel.TitleRole))
205 idx.data(HistoryModel.UrlRole),
206 idx.data(HistoryModel.TitleRole))
209 idx.data(HistoryModel.UrlRole),
213 idx.data(HistoryModel.UrlRole),
214 idx.data(HistoryModel.TitleRole))
[all …]
H A DHistoryCompleter.py15 from .HistoryModel import HistoryModel
105 role = HistoryModel.UrlStringRole
107 role = HistoryModel.TitleRole
170 url = self.sourceModel().data(idx, HistoryModel.UrlStringRole)
174 title = self.sourceModel().data(idx, HistoryModel.TitleRole)
201 url_L = self.sourceModel().data(left, HistoryModel.UrlRole).host()
202 title_L = self.sourceModel().data(left, HistoryModel.TitleRole)
213 url_R = self.sourceModel().data(right, HistoryModel.UrlRole).host()
214 title_R = self.sourceModel().data(right, HistoryModel.TitleRole)
263 return self.model().data(idx, HistoryModel.UrlStringRole)
H A DHistoryMenu.py22 from .HistoryModel import HistoryModel
259 left, HistoryModel.DateTimeRole)
263 right, HistoryModel.DateTimeRole)
328 idx.data(HistoryModel.UrlRole),
329 idx.data(HistoryModel.TitleRole))
332 idx.data(HistoryModel.UrlRole),
333 idx.data(HistoryModel.TitleRole))
336 idx.data(HistoryModel.UrlRole),
507 idx.data(HistoryModel.UrlRole),
511 idx.data(HistoryModel.UrlRole),
[all …]
/dports/graphics/gwenview/gwenview-21.12.3/tests/auto/
H A Dhistorymodeltest.cpp38 void testModel(const HistoryModel &model, const QUrl &u1, const QUrl &u2) in testModel()
63 HistoryModel model(nullptr, dir.path()); in testAddUrl()
69 HistoryModel model(nullptr, dir.path()); in testAddUrl()
89 HistoryModel model(nullptr, dir.path(), 2); in testGarbageCollect()
99 HistoryModel model(nullptr, dir.path(), 10); in testGarbageCollect()
111 HistoryModel model(nullptr, dir.path(), 2); in testRemoveRows()
/dports/graphics/gwenview/gwenview-21.12.3/lib/
H A Dhistorymodel.cpp156 HistoryModel *q;
213 HistoryModel::HistoryModel(QObject *parent, const QString &storageDir, int maxCount) in HistoryModel() function in Gwenview::HistoryModel
223 HistoryModel::~HistoryModel() in ~HistoryModel()
228 void HistoryModel::addUrl(const QUrl &url, const QDateTime &_dateTime) in addUrl()
248 bool HistoryModel::removeRows(int start, int count, const QModelIndex &parent) in removeRows()
H A Dhistorymodel.h43 class GWENVIEWLIB_EXPORT HistoryModel : public QStandardItemModel
47 HistoryModel(QObject *parent, const QString &storageDir, int maxCount = 20);
48 ~HistoryModel() override;
/dports/textproc/goldendict/goldendict-73ec1b5/
H A Dhistorypanewidget.cc70 HistoryModel * historyModel = new HistoryModel( m_history, this ); in setUp()
228 HistoryModel::HistoryModel( History * history, QObject * parent ) in HistoryModel() function in HistoryModel
237 int HistoryModel::rowCount( QModelIndex const & /*parent*/ ) const in rowCount()
242 QVariant HistoryModel::data( QModelIndex const & index, int role ) const in data()
261 void HistoryModel::historyChanged() in historyChanged()
/dports/converters/wkhtmltopdf/qt-5db36ec/demos/browser/
H A Dhistory.cpp86 m_historyModel = new HistoryModel(this, this); in HistoryManager()
137 HistoryModel *HistoryManager::historyModel() const in historyModel()
365 HistoryModel::HistoryModel(HistoryManager *history, QObject *parent) in HistoryModel() function in HistoryModel
381 void HistoryModel::historyReset() in historyReset()
386 void HistoryModel::entryAdded() in entryAdded()
392 void HistoryModel::entryUpdated(int offset) in entryUpdated()
455 int HistoryModel::rowCount(const QModelIndex &parent) const in rowCount()
600 setHoverRole(HistoryModel::UrlStringRole); in HistoryMenu()
605 emit openUrl(index.data(HistoryModel::UrlRole).toUrl()); in activated()
656 setSortRole(HistoryModel::DateTimeRole); in TreeProxyModel()
[all …]
/dports/deskutils/ausweisapp2/AusweisApp2-1.22.2/resources/qml/Governikus/HistoryView/+desktop/
H A DHistoryView.qml14 import Governikus.Type.HistoryModel 1.0
56 visible: HistoryModel.rowCount() > 0
60 onDisplayTextChanged: HistoryModel.searchFilter.setFilterString(displayText)
76 sectionsModel: HistoryModel.searchFilter
128 …appWindow.openSaveFileDialog(HistoryModel.exportHistory, filenameSuggestion, qsTr("Portable Docume…
141 text: HistoryModel.rowCount() === 0
/dports/x11/plasma5-plasma-workspace/plasma-workspace-5.23.5/klipper/autotests/
H A Dhistorymodeltest.cpp29 QScopedPointer<HistoryModel> history(new HistoryModel(nullptr)); in testSetMaxSize()
67 QScopedPointer<HistoryModel> history(new HistoryModel(nullptr)); in testInsertRemove()
168 QScopedPointer<HistoryModel> history(new HistoryModel(nullptr)); in testClear()
190 QScopedPointer<HistoryModel> history(new HistoryModel(nullptr)); in testIndexOf()
224 QScopedPointer<HistoryModel> history(new HistoryModel(nullptr)); in testType()

1234567