From 9e3c59e415f1858826c6ce7d4135285716963b73 Mon Sep 17 00:00:00 2001 From: andrewlalis Date: Sat, 31 Mar 2018 14:01:57 +0200 Subject: [PATCH] Added icons for search criteria, fixed deleting image bug when editing. --- gui/newrecipedialog.cpp | 3 +- gui/newrecipedialog.h | 1 - gui/openrecipedialog.cpp | 6 +- gui/openrecipedialog.h | 2 + gui/openrecipedialog.ui | 257 +++++++++++++++++++++++++++--- images.qrc | 3 + images/foodPyramid.png | Bin 0 -> 7405 bytes images/ingredients.png | Bin 0 -> 18033 bytes images/tag.png | Bin 0 -> 1408 bytes main.cpp | 17 +- model/database/recipedatabase.cpp | 2 +- model/recipe/recipe.cpp | 2 +- 12 files changed, 249 insertions(+), 44 deletions(-) create mode 100644 images/foodPyramid.png create mode 100644 images/ingredients.png create mode 100644 images/tag.png diff --git a/gui/newrecipedialog.cpp b/gui/newrecipedialog.cpp index 3825ad1..ac3258c 100644 --- a/gui/newrecipedialog.cpp +++ b/gui/newrecipedialog.cpp @@ -40,7 +40,7 @@ Recipe NewRecipeDialog::getRecipe(){ Recipe r(ui->recipeNameEdit->text().toStdString(), this->ingredientListModel.getIngredients(), ui->instructionsTextEdit->toHtml().toStdString(), - this->img,//Image + ui->imageDisplayLabel->pixmap()->toImage(),//Image this->tagsListModel.getTags(),//Tags QDate::currentDate(), ui->prepTimeEdit->time(), @@ -126,7 +126,6 @@ void NewRecipeDialog::on_deleteTagButton_clicked(){ void NewRecipeDialog::on_selectImageButton_clicked(){ QString filename = QFileDialog::getOpenFileName(this, "Open Image", QString(), "Image Files (*.png *.jpg *.bmp)"); if (!filename.isEmpty()){ - this->img = QImage(filename); ui->imageDisplayLabel->setPixmap(QPixmap(filename)); } } diff --git a/gui/newrecipedialog.h b/gui/newrecipedialog.h index 105cd37..5198dd9 100644 --- a/gui/newrecipedialog.h +++ b/gui/newrecipedialog.h @@ -70,7 +70,6 @@ class NewRecipeDialog : public QDialog vector tags; RecipeIngredientListModel ingredientListModel; TagListModel tagsListModel; - QImage img; bool accepted = false; //Helper functions to fill fields. diff --git a/gui/openrecipedialog.cpp b/gui/openrecipedialog.cpp index c0458b8..8f936da 100644 --- a/gui/openrecipedialog.cpp +++ b/gui/openrecipedialog.cpp @@ -72,7 +72,7 @@ void OpenRecipeDialog::on_deleteRecipeButton_clicked(){ } string recipePlural = (rows.size() == 1) ? "recipe" : "recipes"; QString title = QString::fromStdString("Delete " + recipePlural); - QString content = QString::fromStdString("Are you sure you wish to delete the selected "+recipePlural+"?"); + QString content = QString::fromStdString("Are you sure you wish to delete the selected "+recipePlural+"?\nAll deleted recipes are permanently deleted."); QMessageBox::StandardButton reply = QMessageBox::question(this, title, content); if (reply == QMessageBox::Yes){ for (int row : rows){ @@ -135,3 +135,7 @@ void OpenRecipeDialog::on_clearSearchButton_clicked(){ ui->ingredientsListView->selectionModel()->clearSelection(); this->populateRecipesTable(this->recipeDB->retrieveAllRecipes()); } + +void OpenRecipeDialog::on_exitButton_clicked(){ + this->close(); +} diff --git a/gui/openrecipedialog.h b/gui/openrecipedialog.h index f0989da..c6cf23c 100644 --- a/gui/openrecipedialog.h +++ b/gui/openrecipedialog.h @@ -40,6 +40,8 @@ class OpenRecipeDialog : public QDialog void on_clearSearchButton_clicked(); + void on_exitButton_clicked(); + private: Ui::OpenRecipeDialog *ui; RecipeDatabase *recipeDB; diff --git a/gui/openrecipedialog.ui b/gui/openrecipedialog.ui index 460e738..06db1f0 100644 --- a/gui/openrecipedialog.ui +++ b/gui/openrecipedialog.ui @@ -17,13 +17,37 @@ :/images/images/icon.png:/images/images/icon.png + + font: 25 "Noto Sans CJK KR Light"; + true - + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + + background-color: rgb(245, 245, 255); + + + 0 + @@ -39,13 +63,35 @@ QTabWidget::Rounded - 2 + 1 - + + + + :/images/images/tag.png:/images/images/tag.png + + + + Tags + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + @@ -74,10 +120,32 @@ + + + :/images/images/ingredients.png:/images/images/ingredients.png + + + + Ingredients + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + @@ -105,11 +173,33 @@ - + + + + :/images/images/foodPyramid.png:/images/images/foodPyramid.png + + + + Food Groups + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + @@ -132,6 +222,9 @@ + + background-color: rgb(240, 240, 255); + @@ -141,16 +234,115 @@ - + + + + 12 + 3 + false + false + + + + background-color: rgb(255, 255, 255); + + + false + + + Qt::AlignCenter + + + Recipe Name + + + + + 0 + 40 + + + + false + + + QPushButton#clearSearchButton { + background-color: rgb(235, 235, 255); + border: 0px; +} +QPushButton#clearSearchButton:hover{ + background-color: rgb(245, 245, 255); +} +QPushButton#clearSearchButton:pressed{ + background-color: rgb(255, 255, 255); +} + Clear search criteria + + false + + + + + + + + 0 + 40 + + + + QPushButton#deleteRecipeButton { + background-color: rgb(225, 225, 255); + border: 0px; +} +QPushButton#deleteRecipeButton:hover{ + background-color: rgb(235, 235, 255); +} +QPushButton#deleteRecipeButton:pressed{ + background-color: rgb(245, 245, 255); +} + + + + + + + :/images/images/trash.png:/images/images/trash.png + + + + + + + + 0 + 40 + + + + QPushButton#exitButton { + background-color: rgb(215, 215, 255); + border: 0px; +} +QPushButton#exitButton:hover{ + background-color: rgb(225, 225, 255); +} +QPushButton#exitButton:pressed{ + background-color: rgb(235, 235, 255); +} + + + Close + @@ -159,34 +351,55 @@ - - - - - - - - - - - :/images/images/trash.png:/images/images/trash.png - - - - - - + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + + 14 + 3 + false + false + + + + background-color: rgb(250, 250, 255); + QFrame::NoFrame + + true + QAbstractItemView::SelectRows + + QAbstractItemView::ScrollPerPixel + + + Qt::NoPen + true + + false + false diff --git a/images.qrc b/images.qrc index a5261a4..de44dca 100644 --- a/images.qrc +++ b/images.qrc @@ -6,5 +6,8 @@ images/minus_icon.png images/search_icon.png images/trash.png + images/tag.png + images/foodPyramid.png + images/ingredients.png diff --git a/images/foodPyramid.png b/images/foodPyramid.png new file mode 100644 index 0000000000000000000000000000000000000000..10ecfa6f08448d12d41ab8e262c0c97f5865fbda GIT binary patch literal 7405 zcmbt(XCRwx+y6xr)mlZVUE0zXF>0?4vo+d?R;{2_MC~nB>#kW8wO4CIMNzx9YNH;15Rwh)o#Qa%PE)_O;z`O01GUEpzvya z7|eNj`t0<$MA3s!X@6>R?l+%Gy?Y0f|C`hE;5Tq2cK3Fz_2kA2^>lwN(%${uQ|+|T zN!&FQUR|>zQ6Gj10)jU#XKznBK^%BLy15B$ z++06eE#&df2+k?l2tGr7{n>r3)kNRTKYOxjxsEDvqG$=6?7ZS3HX z+gyo9k%*IA{lVacURvW9WeB_J+@+%}+2zwOkVw0mC`{%0el zMQm0;S^36v7QD&TXT$u>UEw=P3UW$_a`1mmTLTHVNo&2C*uea|5MC-t$v0QK5_g?> zRMO%0ufG<=F6E*ZmvVD$@7!WrvDZ-hYGPxJU&Ty|y}5i55d6E!%goGF;Vn^setJ8h z=152vCd|o6n7AccBzHPylUow6^|GuzxyVEjg$G9IA0ruo>p3y&cz-|l0cd|HMe_@036rYP(LI7L zX0p-H)YQDz&&MX9H~46&Hz7gf`F%`yE6fh=rxEg4__Eh$Lvf~yK;|~j$Hd|4>HV$T z)ca2mSzi1SPx1s1GlKH|u6W$IYz+5RY^@>J=mJ z(75I6+WWcVagoP5mBx8-OK9}1gr1($MeT*P z!fqA>psh|0S0ABB$enUN8Pi5nSKHb9Fx_jCQjrl|-K^o=-4zF8791Ral9Z&?i7z_R z)uWP)?RscOV36Y4k`%(Q@F$jCobAVMD3JOqap)8A|8_e8mCp`>&Q3*m!sQ0wuAL^LBRh zyX?@_zvZc%B?wj6ep1s1B;^||R<@*+4tF}r^|utw5P?{=OG)2QvIfP|2c1OXg(WY- z(1J~7Nq75~M&eJ#+|-PQYA>x(jA8AuQa|HGfR~nMYb8H=^5jIj^6(IY`FYN5ae2-y za(<(Jhq!Wbl#Am(lXvs2eHXem=XTFa9FXfR-}vqld~DNq0}FScQzx8;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rf@K;{Ikq{e8@h0+eED~7>OKEUwp=vc4rvWt*)m2AG zS?c0j4YOp~7aEb-Z#blvRNYVgl6ZfH3=j$hzw!WnQG0(bM+2iJE5C};Lg^N}uVMqt z#9FGte4jD^Dw-&}3nRey*_J>r!k0$1Xx5}LAD?%if=%_*$6GD{Gj0`0Rms#rbY2uj z`HxlXhX?aLJaSW~XS}9dK&AR=l7(fMK8Vo!Ae1_^*i;(>CQcp!AoH09e)n7rUW7e-tnA$ig{-lW1n~YQ z`2PKnL4kzY$^=hnzmK%M{8)lbN5PN8L@_Zz!4!l;{*M_*^Z#WDZI|$QqSq*0o^^aa z*x}+cYj}tOeVmKcbbwR+y}EqF6+htpd!weQsj1(g@WR5PFT(Qm&R0RnMcZ|+rf}i4 zK@QkSciI*No}|eV@nW2wBIHeeSk0xclJI z@Hs3Qo6Li5@)p~{mFWK1tN`TgwZTvg=n!@DnL0|Fhg)m6i@oWraob&NPW|4C-$Z_< zXyE(G)a+n>G~e|m;wvQ5nvJc_fh%f3V2JvzMSGbw7#&2#6q{QIpy+gTHn{=543V?n zs>qGRqmCY@V~B0U@0F=!mS;LbG1e36s0yQ`-qGpaMmfjZYnar^GpnBTj|pyOvg zo;!==P$oC^fh=PBlVw-Z+M(30B%ttq?-ur?iFVpjUii#T%yx)o2d(d9=d=F-P6BTW zym5>9z+@JH?xnel8ZZ})2nnf&Xlu7|gJ-_jb61XXCLTQ}>%=YQy`c=#k3$ z4=As&Z*T=z7RKFH1&!%S>^F_1EISd77+{m1X#;*@gIY}JLXqN-RaKdpS1tJhzZUlW z83UH(aQ2f5YA8F#5#ar!d#Bwg-CgQa{v%{lZRQupUaau1W3*P0-VORZ+ zYPa2pmz2bhO6IxUf&L=@Gi|LeHNG=JRntzJa0{T{{8>_@1pqiF=NZQElBu_U???gw v*TfF@r_MClx literal 0 HcmV?d00001 diff --git a/images/ingredients.png b/images/ingredients.png new file mode 100644 index 0000000000000000000000000000000000000000..5d8e207ba482506901d4820fe009212a3cd0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WVHAQBKt537#w|w4PQ{ zY&`=2C<9?A$TOER3}}iX3}G4}k_6@Uh8iAvwq|6XUXDTC3N5Dr1VK@Rp?k5d%w!-e zCKF{d7)X=BNSX-(1VMoO*C#(dqS=km(NTenui|jyq_bWzw$0L^Fyr_7>DFM74m7($ z$68(CdWLDMLfXd3Cf|XQVq1Uy|8!eN90LUd0FVSr06u^jGKn@u5%hr$6|K<3^=WD)J4O4UU&a9Th8$WLM;Fg3hRMBI=M$iD}btT{hlD(W^R`|7}ag{ zlwP*>Of-TZ2%`yRuRqju+qLJeHBh99Z&Z?JBa2xO?dH4DNLbM3{3J<&>|Si)Q(N24 zVOfKLG@sqS=+cF=hkqLma?xZSU${xVZ>poC4H@kOJaEWe)2EkXa5&5ao_*tgRW0to zG5*+*ci!1069Ir>S(+dSk{}6^A_xj?Yxz)+ z4H}K48GJdRw%~q-VZ#JLP%OX_Z9R&N2GVS|843u3AoCr@9<@KTe5!8+>f{nxu?;AP zl0sX*`L_)F!s#%T0DwP0yUZrSP7ox?vS4{5Wz z^a-1lC@>gE699NTbc4$qIB7PMj>0@kZvY4c7|-pGZ|>{yg>-*_PEL@~OMpbUZsNe_ z`N0nWW)tc7V8h|XUVo^??G88auNx^YZ{6n)H{bTyXT3>^vx2N~pX=^WJHk0HTIpI_iE&zzwHyH6-TJ%1Dc zunboNoFE9|SEEn4$M0ua?KX-}E@AnlKrlpm0e}HFxQ!;#`qlQjRbGFnW!Y=rO*+x& z-3I^%kF|dD=NGq+X>kRPumAG!v!8u?{O@W1qB=S%k=09piI?_!=&I4D&2LZA2eALA z)-M2-?AJGML~Os|W>?^t#bj_EsdN8t#hbgP);D?g4>+yp;u%xUdgGh_)xY!3x*z82 x=Dm)Nj*gCwj*gCwj*gCwj*gCwj*d>w@c&43&PtR{%)0;p002ovPDHLkV1itt>d62A literal 0 HcmV?d00001 diff --git a/images/tag.png b/images/tag.png new file mode 100644 index 0000000000000000000000000000000000000000..544ec9a7daaa21cbfe40d6678b06416a7852dff4 GIT binary patch literal 1408 zcmc&!e@s+rLOI&JbtnkL{FwmIQdo3Ihwt1su)+8WaUOY}WWvkB|QVtd(DI(JroIHNziclUhn z_w)UH&-r|}@Aq_WF5O^DcsKz7Y(*QTEdYr9A|PgF%IiLTof-41#Tz78Fy5Zg<6R7i zuif}^J%H6|dCGHSe?D?RqO|_!>*U|9N8FfF8bbIm6!F^2_Mh-sq~@6X0sf7hKTl zF>`UU)=sM-QE~A$8eNKyA+PSHAaED39J?1Gq5bExsvXrwPobQ0AF6>Vjt7Z;^N{*V zUAk(fC4fW&SzxV8)QdAhrq5VgN`uG{hgkwow< z`>-m#(7`v4Je6KxDHlwtwg;FXznUUIM+L_yJaX{xY>*JZk6;$!5dwzPxZMH>7)MU- zVWA)e%1l!R%H*L<1ET!aVZqZSsu`k7uV~($k@zVP z^tr>y^y|U0mg!BYn`>CRvnffG$g$VTpbUr56sO@Y*s7Xkr&@es6tQlHGW1vlDmQ5d zlEEP;z1!RURGZ(*n){|^rG#G|Ks-7V_JCV#h?zu=*cEnQlqEWZTpbIz?Sl$N*8W%W zxt(dppBoAneiW{93Tc&w;vWvO&OdFh2y-Hrs0<=%mj@qqAk!Pe;yObC=};q9=ykao?!U^I aPY2(FKW>Yce;-mtjc}2_R2nFdTmA%q&$m(l literal 0 HcmV?d00001 diff --git a/main.cpp b/main.cpp index 940cd9d..42982af 100644 --- a/main.cpp +++ b/main.cpp @@ -16,7 +16,7 @@ int main(int argc, char *argv[]) w.show(); //TESTING CODE - test(&recipeDB); + //test(&recipeDB); //END TESTING CODE. @@ -24,7 +24,6 @@ int main(int argc, char *argv[]) a.exec(); recipeDB.closeConnection(); - printf("Total queries: %lu\n", recipeDB.getQueryCount()); return 0; } @@ -48,18 +47,4 @@ void test(RecipeDatabase *recipeDB){ bool success = recipeDB->storeRecipe(rec); printf("Storage successful: %d\n", success); -// vector foodGroups = recipeDB->retrieveAllFoodGroups(); -// printf("Food Groups:\n"); -// for (string s : foodGroups){ -// printf("\t%s\n", s.c_str()); -// } - - //Get food groups from recipe. -// Recipe r = recipeDB->retrieveRecipe("Pannenkoeken"); -// vector foodGroupsR = r.getFoodGroups(); -// printf("Pannenkoeken Food Groups:\n"); -// for (string s : foodGroupsR){ -// printf("\t%s\n", s.c_str()); -// } - } diff --git a/model/database/recipedatabase.cpp b/model/database/recipedatabase.cpp index 0ebd528..42bf4ff 100644 --- a/model/database/recipedatabase.cpp +++ b/model/database/recipedatabase.cpp @@ -204,7 +204,7 @@ vector RecipeDatabase::retrieveRecipesWithTags(vector tags){ } vector RecipeDatabase::retrieveRecipesWithSubstring(string s){ - ResultTable t = this->executeSQL("SELECT * FROM recipe WHERE name LIKE '%"+s+"%' COLLATE NOCASE;"); + ResultTable t = this->executeSQL("SELECT * FROM recipe WHERE name LIKE '%"+s+"%' COLLATE NOCASE ORDER BY name;"); return this->readRecipesFromTable(t); } diff --git a/model/recipe/recipe.cpp b/model/recipe/recipe.cpp index a899c1f..fb1e545 100644 --- a/model/recipe/recipe.cpp +++ b/model/recipe/recipe.cpp @@ -12,7 +12,7 @@ Recipe::Recipe(string name, vector ingredients, Instruction in setServings(servings); } -Recipe::Recipe() : Recipe::Recipe("", vector(), Instruction(), QImage(), vector(), QDate::currentDate(), QTime(1, 0), QTime(0, 30), 10.0f){ +Recipe::Recipe() : Recipe::Recipe("", vector(), Instruction(), QImage(), vector(), QDate::currentDate(), QTime(), QTime(), 1.0f){ //Set default values when none are specified. }