This commit is contained in:
parent
5167491bca
commit
827595497a
|
@ -151,6 +151,8 @@ MainWindow::MainWindow(const QString& appLang, QWidget *parent)
|
|||
this->setAutoFillBackground(true);
|
||||
this->setPalette(QPalette(QColor(230, 230, 230)));
|
||||
|
||||
m_widget_sideBar = new Widget_Imgproc_SideBar(this);
|
||||
|
||||
QDesktopWidget *desktopWidget = QApplication::desktop();
|
||||
QRect screenRect = desktopWidget->screenGeometry(this);
|
||||
if(screenRect.width() > 1200 && screenRect.height() > 900)
|
||||
|
@ -449,8 +451,6 @@ MainWindow::MainWindow(const QString& appLang, QWidget *parent)
|
|||
m_pbtn_push->setGeometry(0, 0, 25, 50);
|
||||
#endif
|
||||
|
||||
m_widget_sideBar = new Widget_Imgproc_SideBar(this);
|
||||
|
||||
connect(m_pbtn_push, SIGNAL(clicked()), this, SLOT(on_m_pbtn_push_clicked()));
|
||||
connect(m_widget_sideBar, SIGNAL(applyToImage(HGImage,int,int,double,bool)), this, SLOT(on_dialog_sideBar_applyToImage(HGImage,int,int,double,bool)));
|
||||
connect(m_widget_sideBar, SIGNAL(finish(bool)), this, SLOT(on_dialog_sideBar_finish(bool)));
|
||||
|
|
Loading…
Reference in New Issue