diff options
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(); |