Wireshark
2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
ui
qt
utils
stock_icon.h
Go to the documentation of this file.
1
/* stock_icon.h
2
*
3
* Wireshark - Network traffic analyzer
4
* By Gerald Combs <gerald@wireshark.org>
5
* Copyright 1998 Gerald Combs
6
*
7
* SPDX-License-Identifier: GPL-2.0-or-later
8
*/
9
10
#ifndef STOCK_ICON_H
11
#define STOCK_ICON_H
12
13
#include <QIcon>
14
19
// Supported standard names:
20
// document-open
21
22
// Supported custom names (see images/toolbar):
23
// x-capture-file-close
24
// x-capture-file-save
25
26
class
StockIcon
:
public
QIcon
27
{
28
public
:
29
explicit
StockIcon
(
const
QString icon_name);
30
31
static
QIcon colorIcon(
const
QRgb bg_color,
const
QRgb fg_color,
const
QString glyph = QString());
32
33
private
:
34
void
fillIconNameMap();
35
};
36
37
#endif // STOCK_ICON_H
38
39
/*
40
* Editor modelines
41
*
42
* Local Variables:
43
* c-basic-offset: 4
44
* tab-width: 8
45
* indent-tabs-mode: nil
46
* End:
47
*
48
* ex: set shiftwidth=4 tabstop=8 expandtab:
49
* :indentSize=4:tabSize=8:noTabs=true:
50
*/
StockIcon
Definition:
stock_icon.h:26
Generated by
1.8.11