X-Git-Url: http://git.johnwright.org/?p=fmit.git;a=blobdiff_plain;f=src%2Fmodules%2FDialView.h;fp=src%2Fmodules%2FDialView.h;h=b5aad4973550d457c4b8469ff627e6e1d059019c;hp=35ebbf7f7e45bebb866b85695a596506dac9cc2f;hb=49947d1cd4506f5574b3be62ee90e9f00227d9fd;hpb=82c9faab9421b3d87a0faa84a73f55aaccbbb689 diff --git a/src/modules/DialView.h b/src/modules/DialView.h index 35ebbf7..b5aad49 100644 --- a/src/modules/DialView.h +++ b/src/modules/DialView.h @@ -6,12 +6,12 @@ // 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. -// +// // "fmit" is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. -// +// // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA @@ -29,7 +29,7 @@ class DialView : public QFrame, public View { Q_OBJECT - virtual void drawContents(QPainter* p); + virtual void paintEvent(QPaintEvent* event); virtual void mouseReleaseEvent(QMouseEvent* e){View::mouseReleaseEvent(e);} void drawTextTickCent(QPainter& p, int bigw, int bigh, int r); void drawTicksCent(QPainter& p, int bigw, int bigh, int r, int ticks_size, int h);