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);
221 void setMachineReadable(
bool machine);
223 void setOpenTabs(QList<int> protocols);
226 void filterAction(QString filter, FilterAction::Action action, FilterAction::ActionType type);
227 void tabDataChanged(
int idx,
int selcounter);
228 void retapRequired();
229 void disablingTaps();
230 void tabsChanged(QList<int> protocols);
231 void columnsHaveChanged(QList<int> columns);
235 virtual void detachTab(
int idx, QPoint pos)
override;
236 virtual void attachTab(QWidget * content, QString name)
override;
239 QList<int> _allProtocols;
240 QMap<int, int> _tabs;
243 GList ** _recentList;
244 GList ** _recentColumnList;
247 bool _nameResolution;
249 bool _limitToDisplayFilter;
251 bool _machineReadable;
253 QTreeView * createTree(
int protoId);
258 void insertProtoTab(
int protoId,
bool emitSignals =
true);
259 void removeProtoTab(
int protoId,
bool emitSignals =
true);
268 void doCurrentIndexChange(
const QModelIndex & cur,
const QModelIndex & prev);
269 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