Move the class out of weld.hxx into its own header, in order to make it easier to keep an overview and to avoid having to recompile ~all UI code when the class is modified. Change-Id: I2eb564b2483b052f01d4af55fd4feb00b5ed6031 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205472 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Tested-by: Jenkins
22 lines
684 B
C++
22 lines
684 B
C++
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
|
|
/*
|
|
* This file is part of the LibreOffice project.
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*/
|
|
#pragma once
|
|
|
|
#include <vcl/bitmap.hxx>
|
|
#include <vcl/weld/DialogController.hxx>
|
|
#include <vcl/weld/Image.hxx>
|
|
|
|
class ImageViewerDialog : public weld::GenericDialogController
|
|
{
|
|
std::unique_ptr<weld::Image> m_xDisplayImage;
|
|
|
|
public:
|
|
ImageViewerDialog(weld::Dialog* pParent, Bitmap aBitmap, const OUString& atitle);
|
|
};
|