diff options
Diffstat (limited to 'ksquirrel/imageedit/sq_bcglabel.cpp')
-rw-r--r-- | ksquirrel/imageedit/sq_bcglabel.cpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/ksquirrel/imageedit/sq_bcglabel.cpp b/ksquirrel/imageedit/sq_bcglabel.cpp new file mode 100644 index 0000000..d963976 --- /dev/null +++ b/ksquirrel/imageedit/sq_bcglabel.cpp @@ -0,0 +1,28 @@ +/*************************************************************************** + sq_bcglabel.cpp - description + ------------------- + begin : ??? May 4 2005 + copyright : (C) 2005 by Baryshev Dmitry + email : ksquirrel.iv@gmail.com + ***************************************************************************/ + +/*************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ***************************************************************************/ + +#include "sq_bcglabel.h" + +SQ_BCGLabel::SQ_BCGLabel(QWidget *parent, const char *name, WFlags f) : QLabel(parent, name, f | Qt::WNoAutoErase) +{ + setScaledContents(false); + + setAlignment(Qt::AlignHCenter | Qt::AlignVCenter); +} + +SQ_BCGLabel::~SQ_BCGLabel() +{} |