Skip to content

Commit

Permalink
project renamed from qmageview to photoquick
Browse files Browse the repository at this point in the history
  • Loading branch information
ksharindam committed Jan 7, 2020
1 parent 81d7a4b commit 8f7c5f1
Show file tree
Hide file tree
Showing 20 changed files with 59 additions and 387 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ moc_*
qrc_*
ui_*
Makefile
qmageview
photoquick

TODO
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# QmageView (for Linux and Windows)
# PhotoQuick (for Linux and Windows)
A simple image viewer with some useful features (written in qt4).

### Description
Expand Down Expand Up @@ -49,16 +49,16 @@ To uninstall, run ...
### Build (Windows)
Download Qt 4.8.7 and minGW32
add Qt/4.8.7/bin directory and mingw32/bin directory in PATH environment variable.
In qmageview/src directory open Command Line.
In src directory open Command Line.
Run command...
`qmake`
`make -j4`

You can download the precompiled windows exe package in the [release page](https://github.com/ksharindam/qmageview/releases).
You can download the precompiled windows exe package in the [release page](https://github.com/ksharindam/photoquick/releases).

### Usage
To run this program...
`qmageview`
`photoquick`

To open image.jpg with it...
`qmageview image.jpg`
`photoquick image.jpg`
2 changes: 1 addition & 1 deletion src/canvas.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
This file is a part of qmageview program, which is GPLv3 licensed
This file is a part of photoquick program, which is GPLv3 licensed
*/
#include "canvas.h"
#include <QDebug>
Expand Down
2 changes: 0 additions & 2 deletions src/canvas.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#pragma once
/*
This file is a part of qmageview program, which is GPLv3 licensed
Image Label Object to display the image.
*/

Expand Down
2 changes: 1 addition & 1 deletion src/common.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* This file is a part of qmageview program, which is GPLv3 licensed */
/* This file is a part of photoquick program, which is GPLv3 licensed */

#include "common.h"
#include "exif.h"
Expand Down
2 changes: 0 additions & 2 deletions src/common.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#pragma once
/* This file is a part of qmageview program, which is GPLv3 licensed */

#include <QImage>
#include <QSystemTrayIcon>

Expand Down
2 changes: 1 addition & 1 deletion src/filters.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// this file is part of qmageview program which is GPLv3 licensed
// this file is part of photoquick program which is GPLv3 licensed
#include "filters.h"
#include "common.h"
#include <cmath>
Expand Down
Binary file modified src/images/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/photoquick.ico
Binary file not shown.
Binary file added src/images/photoquick.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/images/qmageview.jpg
Binary file not shown.
11 changes: 7 additions & 4 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Window:: Window()
QDesktopWidget *desktop = QApplication::desktop();
screen_width = desktop->availableGeometry().width();
screen_height = desktop->availableGeometry().height();
filename = QString("qmageview.jpg");
filename = QString("photoquick.jpg");
QSettings settings;
offset_x = settings.value("OffsetX", 4).toInt();
offset_y = settings.value("OffsetY", 26).toInt();
Expand Down Expand Up @@ -583,8 +583,11 @@ Window:: closeEvent(QCloseEvent *ev)
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
app.setOrganizationName("qmageview");
app.setApplicationName("qmageview");
app.setOrganizationName("photoquick");
app.setApplicationName("photoquick");
#ifdef WIN32
app.addLibraryPath(app.applicationDirPath());
#endif
Window *win = new Window();
win->show();
if (argc > 1) {
Expand All @@ -594,7 +597,7 @@ int main(int argc, char *argv[])
win->openImage(path);
}
else {
QImage img = QImage(":/images/qmageview.jpg");
QImage img = QImage(":/images/photoquick.jpg");
win->canvas->setImage(img);
win->adjustWindowSize();
}
Expand Down
2 changes: 0 additions & 2 deletions src/main.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#pragma once
/* This file is a part of qmageview program, which is GPLv3 licensed */

#include "ui_mainwindow.h"
#include "canvas.h"
#include <QTimer>
Expand Down
2 changes: 1 addition & 1 deletion src/mainwindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</size>
</property>
<property name="windowTitle">
<string>Image Viewer</string>
<string>PhotoQuick</string>
</property>
<property name="windowIcon">
<iconset resource="resources.qrc">
Expand Down
2 changes: 1 addition & 1 deletion src/photogrid.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* This file is a part of qmageview program, which is GPLv3 licensed */
/* This file is a part of photoquick program, which is GPLv3 licensed */

#include <QDebug>
#include "common.h"
Expand Down
1 change: 0 additions & 1 deletion src/photogrid.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#pragma once
/* This file is a part of qmageview program, which is GPLv3 licensed */

#include "ui_photogrid_dialog.h"
#include "ui_gridsetup_dialog.h"
Expand Down
3 changes: 2 additions & 1 deletion src/qmageview.pro → src/photoquick.pro
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
######################################################################

TEMPLATE = app
TARGET = qmageview
TARGET = photoquick
DEPENDPATH += .
INCLUDEPATH += .
QMAKE_CXXFLAGS = -fopenmp -std=c++11
LIBS += -lgomp
win32:DEFINES += WIN32

CONFIG -= debug

Expand Down
2 changes: 1 addition & 1 deletion src/resources.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<file>images/addborder.png</file>
<file>images/settings.png</file>
<file>images/effects.png</file>
<file>images/qmageview.jpg</file>
<file>images/photoquick.jpg</file>
<file>images/prev.png</file>
<file>images/next.png</file>
<file>images/play.png</file>
Expand Down
Loading

0 comments on commit 8f7c5f1

Please sign in to comment.