mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 17:11:57 +00:00
f0990fae4b
PermGen can be tweaked from the settings menu Groups are saved on change/exit Install target is no longer completely broken All the deplibs are now static Added notes dialog Fixed ini file format support (can save strings with newlines, tabs. UTF-8 is explicitly used!) Rename button now uses line breaks so it doesn't grow ever wider (Added a custom tool button subclass) There is now a CAT button. Meow.
23 lines
353 B
C++
23 lines
353 B
C++
#pragma once
|
|
|
|
#include <QPushButton>
|
|
#include <QToolButton>
|
|
|
|
class QLabel;
|
|
|
|
class LabeledToolButton : public QToolButton
|
|
{
|
|
Q_OBJECT
|
|
|
|
QLabel * m_label;
|
|
|
|
public:
|
|
LabeledToolButton(QWidget * parent = 0);
|
|
|
|
QString text() const;
|
|
void setText(const QString & text);
|
|
virtual QSize sizeHint() const;
|
|
protected:
|
|
void resizeEvent(QResizeEvent * event);
|
|
};
|