| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -540,13 +540,15 @@ void ShopForm::on_btnAddItem_clicked()
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					}
 | 
					 | 
					 | 
					 | 
					}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					void ShopForm::on_commoditySearch_textChanged(const QString &text)
 | 
					 | 
					 | 
					 | 
					void ShopForm::on_commoditySearch_textChanged(const QString &text)
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					{
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    for (int i = 0; i < 2; i++)
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    {
 | 
					 | 
					 | 
					 | 
					    {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        QString replacedText = text;
 | 
					 | 
					 | 
					 | 
					        QString replacedText = text;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (ui->numOnly->isChecked())
 | 
					 | 
					 | 
					 | 
					        if (i == 1)
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        {
 | 
					 | 
					 | 
					 | 
					        {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            replacedText = Helper::replaceByNumbers(text);
 | 
					 | 
					 | 
					 | 
					            replacedText = Helper::replaceByNumbers(text);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        ui->commoditySearch->setText(replacedText);
 | 
					 | 
					 | 
					 | 
					            //ui->commoditySearch->setText(replacedText);
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        }
 | 
					 | 
					 | 
					 | 
					        }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        QSortFilterProxyModel proxy;
 | 
					 | 
					 | 
					 | 
					        QSortFilterProxyModel proxy;
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -564,6 +566,7 @@ void ShopForm::on_commoditySearch_textChanged(const QString &text)
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        if(matchingIndex.isValid()) {
 | 
					 | 
					 | 
					 | 
					        if(matchingIndex.isValid()) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            moveToIndex(matchingIndex);
 | 
					 | 
					 | 
					 | 
					            moveToIndex(matchingIndex);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            m_itemFound = true;
 | 
					 | 
					 | 
					 | 
					            m_itemFound = true;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            break;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        }
 | 
					 | 
					 | 
					 | 
					        }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        else
 | 
					 | 
					 | 
					 | 
					        else
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        {
 | 
					 | 
					 | 
					 | 
					        {
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -574,6 +577,7 @@ void ShopForm::on_commoditySearch_textChanged(const QString &text)
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            {
 | 
					 | 
					 | 
					 | 
					            {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                moveToIndex(matchingIndex);
 | 
					 | 
					 | 
					 | 
					                moveToIndex(matchingIndex);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                m_itemFound = true;
 | 
					 | 
					 | 
					 | 
					                m_itemFound = true;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                break;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            }
 | 
					 | 
					 | 
					 | 
					            }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            else
 | 
					 | 
					 | 
					 | 
					            else
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            {
 | 
					 | 
					 | 
					 | 
					            {
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -581,6 +585,7 @@ void ShopForm::on_commoditySearch_textChanged(const QString &text)
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            }
 | 
					 | 
					 | 
					 | 
					            }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        }
 | 
					 | 
					 | 
					 | 
					        }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    }
 | 
					 | 
					 | 
					 | 
					    }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					void ShopForm::on_lblEetState_linkActivated(const QString &)
 | 
					 | 
					 | 
					 | 
					void ShopForm::on_lblEetState_linkActivated(const QString &)
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					{
 | 
					 | 
					 | 
					 | 
					{
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |