Files
mediasystem/ClippingStation/Importer/imageoutputformatdialog.h
T
Mo Elzubeir 99581bc990 Major port Qt4 to Qt6
- Updated header inclusions from QtGui to QtWidgets for consistency and compatibility with Qt 5 and later.
- Replaced deprecated QApplication::desktop() with QApplication::primaryScreen() for obtaining screen DPI.
- Modified MyOutputHandler to use QMessageLogContext and QString for improved logging.
- Changed QMatrix to QTransform for image rotation in ImageCutout class.
- Updated various debug statements to use toLocal8Bit() instead of toAscii() for better string handling.
- Refactored several classes to use QElapsedTimer instead of QTime for performance measurement.
- Ensured all operator overloads in Section and Tag classes are marked as const for better const-correctness.
2025-10-22 23:04:56 -05:00

39 lines
1.3 KiB
C++

//! \file imageoutputformatdialog.h
#ifndef IMAGEOUTPUTFORMATDIALOG_H
#define IMAGEOUTPUTFORMATDIALOG_H
#include <QDialog>
namespace Ui {
class ImageOutputFormatDialog;
}
//! \class ImageOutputFormatDialog
//! \brief this class is used to show how the images will be named based on the users selection in the ImporterDialog class
//! \author elzubeir
class ImageOutputFormatDialog : public QDialog {
Q_OBJECT
public:
//! \fn ImageOutputFormatDialog(QWidget *parent, QStringList list)
//! constructor that creates the object, and populate the tree widget with the list of
//! names that are passed to it from the calling widget
//! \param[in] parent QWidget pointer to parent class
//! \param[in] list QStringList to hold list of image names to be displayed for the user
//! \author elzubeir
ImageOutputFormatDialog(QWidget *parent, QStringList lis, bool keeppagenumber, int startpagenumber);
//! \fn ~ImageOutputFormatDialog
//! class destructor
//! \author elzubeir
~ImageOutputFormatDialog();
//! name of the output file
QStringList outputFileNames;
private:
//! pointer to the Qt desginer UI class object
Ui::ImageOutputFormatDialog *m_ui;
};
#endif // IMAGEOUTPUTFORMATDIALOG_H