00001 /* 00002 * @(#)QCheckBoxAdapter.h 0.2.0 / 2007-11-27 00003 * 00004 * Copyright (c) 2007, ETF and contributors. All rights reserved. 00005 * 00006 * This software is licensed under the LGPL, version 2.1, license. 00007 * A copy of the license is included in the file LICENSE-LGPL.txt. 00008 */ 00009 #ifndef QCHECKBOXADAPTER_H 00010 #define QCHECKBOXADAPTER_H 00011 00012 #include "JavaQxQSwing.h" 00013 00014 /*^**************************************************************************^*/ 00015 /*- QCheckBoxAdapter Class. -*/ 00016 /*^**************************************************************************^*/ 00017 00024 class JAVAQX_EXPORT QCheckBoxAdapter : public QCheckBox 00025 { 00026 public: 00027 QCheckBoxAdapter(); 00028 public: 00029 virtual QSize sizeHint() const; 00030 protected: 00031 void paintEvent(QPaintEvent *e); 00032 }; 00033 00034 #endif // QCHECKBOXADAPTER_H 00035 00036 /*^***************************************************************************** 00037 File History: 00038 00039 - 2007-11-27 15:58:07 Slobodan 00040 Initial version 00041 00042 *****************************************************************************^*/