~ubuntu-branches/debian/jessie/basket/jessie

« back to all changes in this revision

Viewing changes to src/additemdialog.h

  • Committer: Bazaar Package Importer
  • Author(s): Sune Vuorela
  • Date: 2008-06-25 20:11:23 UTC
  • mfrom: (4.1.11 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080625201123-06wsi9dla3rs3486
Tags: 1.0.2-5
* Also allow automake 1.10 usage - and just build-dep on automake i
  (Closes: #487981)
* Bye bye ana

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/***************************************************************************
2
 
 *   Copyright (C) 2003 by S�bastien Lao�t                                 *
3
 
 *   sebastien.laout@tuxfamily.org                                         *
4
 
 *                                                                         *
5
 
 *   This program is free software; you can redistribute it and/or modify  *
6
 
 *   it under the terms of the GNU General Public License as published by  *
7
 
 *   the Free Software Foundation; either version 2 of the License, or     *
8
 
 *   (at your option) any later version.                                   *
9
 
 *                                                                         *
10
 
 *   This program is distributed in the hope that it will be useful,       *
11
 
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
12
 
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
13
 
 *   GNU General Public License for more details.                          *
14
 
 *                                                                         *
15
 
 *   You should have received a copy of the GNU General Public License     *
16
 
 *   along with this program; if not, write to the                         *
17
 
 *   Free Software Foundation, Inc.,                                       *
18
 
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
19
 
 ***************************************************************************/
20
 
 
21
 
#ifndef ADDITEMDIALOG_H
22
 
#define ADDITEMDIALOG_H
23
 
 
24
 
#include <qdialog.h>
25
 
 
26
 
class Basket;
27
 
 
28
 
/** A window that the user resize to graphically choose a new image size
29
 
  * TODO: Move to variouswidgets and create a SizePushButton or even SizeWidget
30
 
  * @author S�bastien Lao�t
31
 
  */
32
 
class ViewSizeDialog : public QDialog
33
 
{
34
 
  Q_OBJECT
35
 
  public:
36
 
        ViewSizeDialog(QWidget *parent, int w, int h);
37
 
        ~ViewSizeDialog();
38
 
  private:
39
 
        virtual void resizeEvent(QResizeEvent *);
40
 
        QWidget *m_sizeGrip;
41
 
};
42
 
 
43
 
#endif // ADDITEMDIALOG_H