Improve/redesign ingredients #13

Merged
andrewlalis merged 13 commits from improve/redesignIngredients into development 2018-05-22 21:29:25 +00:00
3 changed files with 10 additions and 1 deletions
Showing only changes of commit 29a4ed0ad2 - Show all commits

View File

@ -149,3 +149,7 @@ void NewRecipeDialog::on_removeTagButton_clicked(){
this->populateTagsBox();
}
}
void NewRecipeDialog::on_ingredientLineEdit_returnPressed(){
this->on_addIngredientButton_clicked();
}

View File

@ -55,6 +55,8 @@ class NewRecipeDialog : public QDialog
void on_removeTagButton_clicked();
void on_ingredientLineEdit_returnPressed();
private:
Ui::NewRecipeDialog *ui;
RecipeDatabase *recipeDB;

View File

@ -640,11 +640,14 @@ QPushButton#removeIngredientButton:pressed{
<enum>QFrame::NoFrame</enum>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::MultiSelection</enum>
<enum>QAbstractItemView::SingleSelection</enum>
</property>
<property name="verticalScrollMode">
<enum>QAbstractItemView::ScrollPerPixel</enum>
</property>
<property name="horizontalScrollMode">
<enum>QAbstractItemView::ScrollPerPixel</enum>
</property>
<property name="batchSize">
<number>100</number>
</property>