99581bc990
- 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.
39 lines
1.3 KiB
C++
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
|