Kstars

thumbnaileditor.h
1/*
2 SPDX-FileCopyrightText: 2005 Jason Harris <kstars@30doradus.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include <QMouseEvent>
10#include <QPaintEvent>
11
12#include <QDialog>
13
14#include "ui_thumbnaileditor.h"
15
16class ThumbnailPicker;
17
18class ThumbnailEditorUI : public QFrame, public Ui::ThumbnailEditor
19{
21 public:
22 explicit ThumbnailEditorUI(QWidget *parent);
23};
24
25class ThumbnailEditor : public QDialog
26{
28 public:
29 ThumbnailEditor(ThumbnailPicker *_tp, double _w, double _h);
30 ~ThumbnailEditor() override = default;
31 QPixmap thumbnail();
32
33 private slots:
34 void slotUpdateCropLabel();
35
36 private:
37 ThumbnailEditorUI *ui;
39 double w, h;
40};
Dialog for modifying an object's thumbnail image.
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:11:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.