e87e0815f7
* make ui texts translatable * add more translatable texts * load translate file for default commands
34 lines
740 B
C++
34 lines
740 B
C++
#pragma once
|
|
|
|
#ifndef TTIO_PNG_INCLUDED
|
|
#define TTIO_PNG_INCLUDED
|
|
|
|
#include "tiio.h"
|
|
//#include "timage_io.h"
|
|
#include "tproperty.h"
|
|
#include <QCoreApplication>
|
|
|
|
//===========================================================================
|
|
|
|
namespace Tiio {
|
|
|
|
//===========================================================================
|
|
|
|
class PngWriterProperties final : public TPropertyGroup {
|
|
Q_DECLARE_TR_FUNCTIONS(PngWriterProperties)
|
|
public:
|
|
// TEnumProperty m_pixelSize;
|
|
TBoolProperty m_matte;
|
|
|
|
PngWriterProperties();
|
|
void updateTranslation() override;
|
|
};
|
|
|
|
//===========================================================================
|
|
|
|
Tiio::Reader *makePngReader();
|
|
Tiio::Writer *makePngWriter();
|
|
|
|
} // namespace
|
|
|
|
#endif
|