git-svn-id: svn://db.shs.com.ru/libs@338 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include <QLabel>
|
||||
#include <QIcon>
|
||||
#include <QHBoxLayout>
|
||||
#include "qad_types.h"
|
||||
|
||||
QT_BEGIN_HEADER
|
||||
|
||||
@@ -23,7 +24,7 @@ public:
|
||||
explicit IconedLabel(QWidget * parent = 0): QFrame(parent) {
|
||||
label_.setAlignment(Qt::AlignCenter);
|
||||
icon_.setAlignment(Qt::AlignCenter);
|
||||
size_ = QSize(16, 16);
|
||||
size_ = preferredIconSize();
|
||||
setDirection(LeftToRight);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user