summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-05-25 13:48:28 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-05-25 13:48:28 (GMT)
commita6caf0f52dbb24577e3730d9c42415e89e18a99b (patch)
treec8b4215c6772d65b86d2344674a5acc676bebdff /Swift/QtUI/QtRosterHeader.h
parentedfa5624164f0369180d90d13c6a88bbc31c6248 (diff)
downloadswift-a6caf0f52dbb24577e3730d9c42415e89e18a99b.zip
swift-a6caf0f52dbb24577e3730d9c42415e89e18a99b.tar.bz2
Correctly scale avatars in the MeView.
Resolves: #376
Diffstat (limited to 'Swift/QtUI/QtRosterHeader.h')
-rw-r--r--Swift/QtUI/QtRosterHeader.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/Swift/QtUI/QtRosterHeader.h b/Swift/QtUI/QtRosterHeader.h
index 72091cb..6d36b75 100644
--- a/Swift/QtUI/QtRosterHeader.h
+++ b/Swift/QtUI/QtRosterHeader.h
@@ -30,26 +30,17 @@ namespace Swift {
void setName(const QString& name);
void setStatusText(const QString& statusMessage);
void setStatusType(StatusShow::Type type);
-// QSize sizeHint() const;
-// public slots:
-// void emitStatus();
signals:
void onChangeStatusRequest(StatusShow::Type showType, const QString &statusMessage);
private slots:
void handleChangeStatusRequest(StatusShow::Type type, const QString &statusMessage);
-// protected:
-// virtual void resizeEvent(QResizeEvent* event);
-// virtual void mousePressEvent(QMouseEvent* event);
private:
-// void resizeNameLabel();
-// void toggleExpanded();
QString name_;
QLabel* avatarLabel_;
QLabel* nameLabel_;
QtTextEdit* statusEdit_;
QToolBar* toolBar_;
QtStatusWidget* statusWidget_;
- //QHBoxLayout* expandedLayout_;
- //bool expanded_;
+ static const int avatarSize_;
};
}