120 void setFilter(QString filter = QString());
127 void setNameResolution(
bool checked);
147 QMenu * createCopyMenu(QWidget * parent =
nullptr);
156 bool hasNameResolution(
int tabIdx = -1);
166 bool hasGeoIPData(
int tabIdx = -1);
175 QUrl createGeoIPMap(
bool onlyJSON,
int tabIdx = -1);
185 QVariant currentItemData(
int role = Qt::DisplayRole);
194 qlonglong countSelectedItems(
int role = Qt::DisplayRole);
202 QList<QList<QVariant> > selectedItemsIOGData();
209 void useNanosecondTimestamps(
bool useNSTime);
219 void useAbsoluteTime(
bool absolute);
220 void limitToDisplayFilter(
bool limit);
222 void setOpenTabs(QList<int> protocols);
225 void filterAction(QString filter, FilterAction::Action action, FilterAction::ActionType type);
226 void tabDataChanged(
int idx,
int selcounter);
227 void retapRequired();
228 void disablingTaps();
229 void tabsChanged(QList<int> protocols);
230 void columnsHaveChanged(QList<int> columns);
234 virtual void detachTab(
int idx, QPoint pos)
override;
235 virtual void attachTab(QWidget * content, QString name)
override;
238 QList<int> _allProtocols;
239 QMap<int, int> _tabs;
242 GList ** _recentList;
243 GList ** _recentColumnList;
246 bool _nameResolution;
248 QTreeView * createTree(
int protoId);
253 void insertProtoTab(
int protoId,
bool emitSignals =
true);
254 void removeProtoTab(
int protoId,
bool emitSignals =
true);
263 void doCurrentIndexChange(
const QModelIndex & cur,
const QModelIndex & prev);
264 void doSelectionChange(
const QItemSelection &selected,
const QItemSelection &deselected);
ATapDataModel *(* ATapModelCallback)(int protoId, QString filter)
Callback for creating an ATapDataModel.
Definition traffic_tab.h:36
QAbstractItemDelegate *(* ATapCreateDelegate)(QWidget *parent)
Callback for creating an item delegate.
Definition traffic_tab.h:45