source: trunk/qt/IconToolButton.h @ 14547

Last change on this file since 14547 was 14547, checked in by mikedld, 6 years ago

Some look-and-feel improvements for Mac and GTK+ styles (Qt client)

  • Property svn:keywords set to Date Rev Author Id
File size: 550 bytes
Line 
1/*
2 * This file Copyright (C) 2009-2015 Mnemosyne LLC
3 *
4 * It may be used under the GNU GPL versions 2 or 3
5 * or any future license endorsed by Mnemosyne LLC.
6 *
7 * $Id: IconToolButton.h 14547 2015-06-28 14:18:06Z mikedld $
8 */
9
10#ifndef QTR_ICON_TOOL_BUTTON_H
11#define QTR_ICON_TOOL_BUTTON_H
12
13#include <QToolButton>
14
15class IconToolButton: public QToolButton
16{
17    Q_OBJECT
18
19  public:
20    IconToolButton (QWidget * parent = nullptr);
21
22    // QWidget
23    virtual QSize sizeHint () const;
24
25  protected:
26    // QWidget
27    virtual void paintEvent (QPaintEvent * event);
28};
29
30#endif // QTR_ICON_TOOL_BUTTON_H
Note: See TracBrowser for help on using the repository browser.