00001 /*************************************************************************** 00002 qcubelabel.h 00003 ------------------- 00004 copyright : (C) 2004 by Jos van den Oever 00005 email : jos@vandenoever.info 00006 ***************************************************************************/ 00007 00008 /*************************************************************************** 00009 * * 00010 * This program is free software; you can redistribute it and/or modify * 00011 * it under the terms of the GNU General Public License as published by * 00012 * the Free Software Foundation; either version 2 of the License, or * 00013 * (at your option) any later version. * 00014 * * 00015 ***************************************************************************/ 00016 #ifndef QCUBELABEL_H 00017 #define QCUBELABEL_H 00018 00019 #include <qvbox.h> 00020 #include "qpicturelabel.h" 00021 #include "cube.h" 00022 00023 class QCubeLabel : public QVBox { 00024 public: 00025 QCubeLabel(QWidget* parent=0, const char* name=0, WFlags f=0); 00026 void setCube(const Cube &); 00027 void setVisibleSides(short); 00028 private: 00029 QPictureLabel *picture[6]; 00030 QHBox *row1, *row2; 00031 }; 00032 00033 #endif