summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsenator <senator>2007-07-18 08:34:53 +0000
committersenator <senator>2007-07-18 08:34:53 +0000
commit453de1629d5088923b83e0954e655ba7d4f10092 (patch)
treeeec0b9415138f0855437b931335126482c05aa13
parent051a5c05212d03123d08a66f00408ed6fb392aee (diff)
applied temp caption to frame
-rw-r--r--client/widgets/frame.cc3
-rw-r--r--client/widgets/frame.h2
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();