50 static const QString &actionName() {
return action_name_; }
51 static void registerDialog(
const QString title,
const char *cfg_abbr,
register_stat_group_t group, stat_tap_init_cb tap_init_cb, tpdCreator creator);
56 QTreeWidget *statsTreeWidget();
57 QLineEdit *displayFilterLineEdit();
58 QPushButton *applyFilterButton();
59 QVBoxLayout *verticalLayout();
60 QHBoxLayout *filterLayout();
65 void filterAction(QString filter, FilterAction::Action action, FilterAction::ActionType type);
66 void updateFilter(QString filter);
71 void contextMenuEvent(QContextMenuEvent *event);
72 void addFilterActions();
73 void addTreeCollapseAllActions();
74 QString displayFilter();
75 void setDisplayFilter(
const QString &filter);
76 void setHint(
const QString &hint);
78 void setRetapOnShow(
bool retap);
81 void filterActionTriggered();
82 void collapseAllActionTriggered();
83 void expandAllActionTriggered();
87 Ui::TapParameterDialog *ui;
89 QList<QAction *> filter_actions_;
91 static const QString action_name_;
94 virtual const QString filterExpression() {
return QString(); }
95 QString itemDataToPlain(QVariant var,
int width = 0);
96 virtual QList<QVariant> treeItemData(QTreeWidgetItem *)
const;
101 virtual void fillTree() = 0;
103 void on_applyFilterButton_clicked();
104 void on_actionCopyToClipboard_triggered();
105 void on_actionSaveAs_triggered();
106 void on_buttonBox_helpRequested();