Skip to content

Commit

Permalink
fix: delete sacle widget
Browse files Browse the repository at this point in the history
Description: 

Log: 
Bug: 
Issue: 
Task:
  • Loading branch information
dependon committed Oct 19, 2021
1 parent 92d00ac commit c753ac8
Show file tree
Hide file tree
Showing 9 changed files with 33 additions and 1,598 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ What is simple-image-filter?
At present, simple-image-filter is a QT software that can handle image rotation, clipping, basic beauty, filter and other functions
ImageProcess,using Qt,filter



## arch linux install
yay -s simple-image-filter-git

Expand All @@ -25,3 +27,8 @@ make
## more filter
[![gfQ70P.png](https://z3.ax1x.com/2021/05/18/gfQ70P.png)](https://imgtu.com/i/gfQ70P)


## License
simple-image-filter is released under GPLv3+.

Copyright (C) 2020 ~ 2021 LiuMingHang.
2 changes: 1 addition & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
simple-image-filter (1.0.9) unstable; urgency=low
simple-image-filter (1.1.0) unstable; urgency=low

* Initial release.

Expand Down
18 changes: 9 additions & 9 deletions src/mainwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,15 +210,15 @@ void MainWidget::initBtn()
m_Hlayout->addWidget(m_saveBtn);
connect(m_saveBtn, &QToolButton::clicked, ui->mainImageView, &ImageView::savecurrentPic);


m_scaleImageBtn = new ToolButton();
m_scaleImageBtn->setShortcut(QKeySequence("Ctrl+Y"));
m_scaleImageBtn->setFixedSize(60, 60);
m_scaleImageBtn->setToolTip(QObject::tr("ScaleImage"));
m_scaleImageBtn->setIcon(QIcon(":/icon/scale.svg"));
m_scaleImageBtn->setIconSize(QSize(36, 36));
m_Hlayout->addWidget(m_scaleImageBtn);
connect(m_scaleImageBtn, &QToolButton::clicked, ui->mainImageView, &ImageView::scaleImage);
//delete scale
// m_scaleImageBtn = new ToolButton();
// m_scaleImageBtn->setShortcut(QKeySequence("Ctrl+Y"));
// m_scaleImageBtn->setFixedSize(60, 60);
// m_scaleImageBtn->setToolTip(QObject::tr("ScaleImage"));
// m_scaleImageBtn->setIcon(QIcon(":/icon/scale.svg"));
// m_scaleImageBtn->setIconSize(QSize(36, 36));
// m_Hlayout->addWidget(m_scaleImageBtn);
// connect(m_scaleImageBtn, &QToolButton::clicked, ui->mainImageView, &ImageView::scaleImage);



Expand Down
8 changes: 2 additions & 6 deletions src/src.pro
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ SOURCES += \
transparencywidget.cpp \
control/toolbutton.cpp \
shortcut/shortcut.cpp \
help/helpwidget.cpp \
view/clippingwidget.cpp \
view/clippinglabel.cpp
help/helpwidget.cpp

HEADERS += \
mainwidget.h \
Expand All @@ -77,9 +75,7 @@ HEADERS += \
transparencywidget.h \
control/toolbutton.h \
shortcut/shortcut.h \
help/helpwidget.h \
view/clippingwidget.h \
view/clippinglabel.h
help/helpwidget.h

FORMS += \
mainwidget.ui \
Expand Down

0 comments on commit c753ac8

Please sign in to comment.