Implemented search in shop items on ShopForm. Prepare for favorite buttons.

This commit is contained in:
2017-02-17 15:15:45 +01:00
parent 44c74a5cfe
commit 2eb1039f6f
13 changed files with 593 additions and 44 deletions
+8 -3
View File
@@ -28,7 +28,9 @@ SOURCES += shop.cpp \
paydialog.cpp \
paydvouchersdialog.cpp \
shopitem.cpp \
isellableservice.cpp
isellableservice.cpp \
data/favorititem.cpp \
settings/favoriteservice.cpp
HEADERS += shop.h\
shop_global.h \
@@ -49,7 +51,9 @@ HEADERS += shop.h\
settings/shopsettingsform.h \
paydialog.h \
paydvouchersdialog.h \
shopitem.h
shopitem.h \
data/favorititem.h \
settings/favoriteservice.h
unix {
target.path = /usr/lib
@@ -75,6 +79,7 @@ else:unix: LIBS += -L$$OUT_PWD/../plugins/ -laddressbook
INCLUDEPATH += $$PWD/../addressbook/data
INCLUDEPATH += $$PWD/../addressbook
INCLUDEPATH += $$PWD/
DEPENDPATH += $$PWD/../addressbook
DESTDIR = ../plugins
@@ -83,7 +88,7 @@ OTHER_FILES += shop.json
ODB_FILES = shop/data/shop-data.h
H_DIR = $$PWD/data/*.h
ODB_OTHER_INCLUDES = -I $$PWD/../addressbook/data
ODB_OTHER_INCLUDES = -I $$PWD/../addressbook/data -I $$PWD/
include(../odb.pri)
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../qdecimal/lib/ -lqdecimal -ldecnumber