forked from osmocom/wireshark
![Moshe Kaplan](/assets/img/avatar_default.png)
Add @file markers for UI header files so that Doxygen will generate documentation for them.
49 lines
1.1 KiB
C++
49 lines
1.1 KiB
C++
/** @file
|
|
*
|
|
* Wireshark - Network traffic analyzer
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
* Copyright 1998 Gerald Combs
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef COLUMN_PREFERENCES_FRAME_H
|
|
#define COLUMN_PREFERENCES_FRAME_H
|
|
|
|
#include <ui/qt/models/column_list_model.h>
|
|
|
|
#include <QFrame>
|
|
#include <QItemSelection>
|
|
|
|
namespace Ui {
|
|
class ColumnPreferencesFrame;
|
|
}
|
|
|
|
class ColumnPreferencesFrame : public QFrame
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ColumnPreferencesFrame(QWidget *parent = Q_NULLPTR);
|
|
~ColumnPreferencesFrame();
|
|
|
|
void unstash();
|
|
|
|
private:
|
|
Ui::ColumnPreferencesFrame *ui;
|
|
ColumnListModel * model_;
|
|
ColumnProxyModel * proxyModel_;
|
|
ColumnTypeDelegate * delegate_;
|
|
|
|
private slots:
|
|
void selectionChanged(const QItemSelection &selected, const QItemSelection &deselected);
|
|
void on_newToolButton_clicked();
|
|
void on_deleteToolButton_clicked();
|
|
void on_chkShowDisplayedOnly_stateChanged(int);
|
|
|
|
void on_columnTreeView_customContextMenuRequested(const QPoint &pos);
|
|
void resetAction(bool checked = false);
|
|
};
|
|
|
|
#endif // COLUMN_PREFERENCES_FRAME_H
|