Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions imagelook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ void ImageLook::showImage(Mat matL,QString nameL,QString controlName)

void ImageLook::mouseDoubleClickEvent(QMouseEvent *e)
{
Q_UNUSED(e)
////////***********图片复原代码**************/////
pixItem->setPos(0,0);
pixItem->setScaleValue(1);
Expand Down
2 changes: 1 addition & 1 deletion myimagelist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ void MyImageList::receiveAction()//收到消息刷新列表

void MyImageList::showTableView(Mat imageData,QString textData,QString strVariable,int rows)
{

Q_UNUSED(rows)
ui->tableView->setEditTriggers(QAbstractItemView::NoEditTriggers);
ui->tableView->setAutoScroll(true);
QStandardItemModel *model = new QStandardItemModel;
Expand Down
1 change: 1 addition & 0 deletions mypixitem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ void MyPixItem::mouseReleaseEvent(QGraphicsSceneMouseEvent *)
//双击复位
void MyPixItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event)
{
Q_UNUSED(event)
setPos(0,0);
m_scaleValue = 0;
setScale(1);
Expand Down
2 changes: 1 addition & 1 deletion variatedialog.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "variatedialog.h"
#include "ui_variatedialog.h"
//#include "ui_variatedialog.h"
#include "mainwindow.h"
#include <QString>
#include <QMessageBox>
Expand Down