From 453de1629d5088923b83e0954e655ba7d4f10092 Mon Sep 17 00:00:00 2001 From: senator Date: Wed, 18 Jul 2007 08:34:53 +0000 Subject: applied temp caption to frame --- client/widgets/frame.cc | 3 ++- client/widgets/frame.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'client') diff --git a/client/widgets/frame.cc b/client/widgets/frame.cc index a082882..285619a 100644 --- a/client/widgets/frame.cc +++ b/client/widgets/frame.cc @@ -26,8 +26,9 @@ */ #include "frame.h" -Frame::Frame(QWidget *parent) : QGroupBox(parent) +Frame::Frame(QWidget *parent, QString caption) : QGroupBox(parent) { + setTitle(caption); } QString Frame::getValue() diff --git a/client/widgets/frame.h b/client/widgets/frame.h index 520891c..73bf704 100644 --- a/client/widgets/frame.h +++ b/client/widgets/frame.h @@ -34,7 +34,7 @@ class Frame : public Widget, public QGroupBox { public: - Frame(QWidget *parent); + Frame(QWidget *parent, QString caption); public slots: QString getValue(); -- cgit v1.2.3