~ubuntu-branches/ubuntu/oneiric/koffice/oneiric-updates

« back to all changes in this revision

Viewing changes to krita/plugins/tools/tool_crop/kis_tool_crop.h

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2010-10-27 17:52:57 UTC
  • mfrom: (0.12.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101027175257-s04zqqk5bs8ckm9o
Tags: 1:2.2.83-0ubuntu1
* Merge with Debian git remaining changes:
 - Add build-deps on librcps-dev, opengtl-dev, libqtgtl-dev, freetds-dev,
   create-resources, libspnav-dev
 - Remove needless build-dep on libwv2-dev
 - koffice-libs recommends create-resources
 - krita recommends pstoedit
 - Keep our patches
* New upstream release 2.3 beta 3
  - Remove debian/patches fixed by upstream
  - Update install files

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#include <QPoint>
25
25
#include <QPainterPath>
26
26
 
 
27
#include <KIcon>
 
28
 
27
29
#include <KoToolFactoryBase.h>
28
30
#include "kis_tool.h"
29
31
#include "flake/kis_node_shape.h"
39
41
public:
40
42
    WdgToolCrop(QWidget *parent) : QWidget(parent) {
41
43
        setupUi(this);
 
44
        boolHeight->setIcon(KIcon("height_icon"));
 
45
        boolWidth->setIcon(KIcon("width_icon"));
 
46
        boolRatio->setIcon(KIcon("ratio_icon"));
 
47
        label_horizPos->setPixmap(KIcon("offset_horizontal").pixmap(16, 16));
 
48
        label_vertiPos->setPixmap(KIcon("offset_vertical").pixmap(16, 16));
42
49
    }
43
50
};
44
51
 
109
116
 
110
117
private:
111
118
    QRect m_rectCrop; // Is the coordinate of the region to crop.
112
 
    bool m_selecting;
113
119
    QPoint m_dragStart;
114
120
 
115
121
    WdgToolCrop* m_optWidget;