mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-24 08:34:38 +03:00
PreviewReportWindow & SettingDialog have been moved to LimeReport namespace
This commit is contained in:
parent
dc4075a5b2
commit
5de7c36c8f
@ -39,6 +39,8 @@
|
||||
#include <QScrollBar>
|
||||
#include <QDesktopWidget>
|
||||
|
||||
namespace LimeReport{
|
||||
|
||||
PreviewReportWindow::PreviewReportWindow(ReportEnginePrivate *report,QWidget *parent, QSettings *settings, Qt::WindowFlags flags) :
|
||||
QMainWindow(parent,flags),
|
||||
ui(new Ui::PreviewReportWindow), m_currentPage(1), m_changingPage(false), m_settings(settings), m_ownedSettings(false),
|
||||
@ -441,3 +443,4 @@ void PreviewReportWindow::slotSliderMoved(int value)
|
||||
|
||||
}
|
||||
|
||||
}// namespace LimeReport
|
||||
|
@ -42,7 +42,8 @@
|
||||
namespace Ui {
|
||||
class PreviewReportWindow;
|
||||
}
|
||||
using namespace LimeReport;
|
||||
//using namespace LimeReport;
|
||||
namespace LimeReport {
|
||||
class PreviewReportWindow : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
@ -94,5 +95,5 @@ private:
|
||||
bool m_ownedSettings;
|
||||
int m_priorScrolValue;
|
||||
};
|
||||
|
||||
} //namespace LimeReport
|
||||
#endif // LRPREVIEWREPORTWINDOW_H
|
||||
|
@ -1,6 +1,8 @@
|
||||
#include "lrsettingdialog.h"
|
||||
#include "ui_lrsettingdialog.h"
|
||||
|
||||
namespace LimeReport{
|
||||
|
||||
SettingDialog::SettingDialog(QWidget *parent) :
|
||||
QDialog(parent),
|
||||
ui(new Ui::SettingDialog)
|
||||
@ -45,3 +47,5 @@ void SettingDialog::setDefaultFont(const QFont &value)
|
||||
ui->defaultFont->setCurrentFont(value);
|
||||
ui->defaultFontSize->setValue(value.pointSize());
|
||||
}
|
||||
|
||||
} // namespace LimeReport
|
||||
|
@ -7,6 +7,7 @@ namespace Ui {
|
||||
class SettingDialog;
|
||||
}
|
||||
|
||||
namespace LimeReport{
|
||||
class SettingDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
@ -23,5 +24,6 @@ public:
|
||||
private:
|
||||
Ui::SettingDialog *ui;
|
||||
};
|
||||
} // namespace LimeReport
|
||||
|
||||
#endif // LRSETTINGDIALOG_H
|
||||
|
Loading…
Reference in New Issue
Block a user