summaryrefslogtreecommitdiff
path: root/noncore/apps/oxygen/oxyframe.cpp
Side-by-side diff
Diffstat (limited to 'noncore/apps/oxygen/oxyframe.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/oxygen/oxyframe.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/apps/oxygen/oxyframe.cpp b/noncore/apps/oxygen/oxyframe.cpp
index d459d2b..2d7fc84 100644
--- a/noncore/apps/oxygen/oxyframe.cpp
+++ b/noncore/apps/oxygen/oxyframe.cpp
@@ -13,12 +13,13 @@
OxyFrame::OxyFrame(QWidget *parent, const char *name) : QFrame(parent,name)
{
+ N = name;
this->setFrameStyle( QFrame::Panel );
this->setLineWidth( 2 );
this->setFrameShadow( QFrame::Raised );
- this->setBackgroundColor( QColor( cyan ) );
+ this->setBackgroundColor( QColor( green ) );
}
void OxyFrame::mousePressEvent ( QMouseEvent * e ){
- emit clicked();
+ emit num( N );
};