diff options
author | senator <senator> | 2007-07-18 08:34:53 +0000 |
---|---|---|
committer | senator <senator> | 2007-07-18 08:34:53 +0000 |
commit | 453de1629d5088923b83e0954e655ba7d4f10092 (patch) | |
tree | eec0b9415138f0855437b931335126482c05aa13 /client | |
parent | 051a5c05212d03123d08a66f00408ed6fb392aee (diff) |
applied temp caption to frame
Diffstat (limited to 'client')
-rw-r--r-- | client/widgets/frame.cc | 3 | ||||
-rw-r--r-- | client/widgets/frame.h | 2 |
2 files changed, 3 insertions, 2 deletions
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(); |