~ubuntu-branches/ubuntu/jaunty/avidemux/jaunty

« back to all changes in this revision

Viewing changes to avidemux/ADM_userInterfaces/ADM_QT4/ADM_toolkit/T_gridFrame.h

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2009-02-17 23:41:46 UTC
  • mfrom: (1.1.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20090217234146-eakx254awuch4wgw
Tags: 1:2.4.4-0.0ubuntu1
* Merge from debian multimedia, Ubuntu remaining changes:
  - debian/control:
    + Build-Depends on newer libx264-dev.
    + Don't Build-Depends on ccache and libamrnb-dev.
    + Build-Depends on libpulse-dev.
    + Fixed small typo in avidemux description.
  - Don't use ccache.
  - Drop patch to fix build with newer x264, it has been merged by upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
                                T_gridFrame.h
 
3
                                -------------
 
4
 
 
5
    begin                : Tue Oct 7 2008
 
6
    copyright            : (C) 2008 by gruntster
 
7
 ***************************************************************************/
 
8
 
 
9
/***************************************************************************
 
10
 *                                                                         *
 
11
 *   This program is free software; you can redistribute it and/or modify  *
 
12
 *   it under the terms of the GNU General Public License as published by  *
 
13
 *   the Free Software Foundation; either version 2 of the License, or     *
 
14
 *   (at your option) any later version.                                   *
 
15
 *                                                                         *
 
16
 ***************************************************************************/
 
17
 
 
18
#ifndef GRIDFRAME_H
 
19
#define GRIDFRAME_H
 
20
 
 
21
#include <QtGui/QPainter>
 
22
#include <QtGui/QPaintEvent>
 
23
#include <QtGui/QWidget>
 
24
 
 
25
class GridFrame : public QWidget
 
26
{
 
27
        //Q_OBJECT
 
28
 
 
29
public:
 
30
        GridFrame(QWidget *parent, unsigned int cornerRadius = 8);
 
31
        virtual void paint(QPainter *) {}
 
32
 
 
33
protected:
 
34
        void paintEvent(QPaintEvent *);
 
35
 
 
36
        unsigned int cornerRadius;
 
37
        QPixmap tileMap;
 
38
};
 
39
 
 
40
#endif