| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -13,7 +13,7 @@ class Sidebar : public QFrame { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Q_PROPERTY(int tempVal MEMBER temp_val NOTIFY valueChanged); | 
					 | 
					 | 
					 | 
					  Q_PROPERTY(int tempVal MEMBER temp_val NOTIFY valueChanged); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Q_PROPERTY(QColor tempStatus MEMBER temp_status NOTIFY valueChanged); | 
					 | 
					 | 
					 | 
					  Q_PROPERTY(QColor tempStatus MEMBER temp_status NOTIFY valueChanged); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Q_PROPERTY(QString netType MEMBER net_type NOTIFY valueChanged); | 
					 | 
					 | 
					 | 
					  Q_PROPERTY(QString netType MEMBER net_type NOTIFY valueChanged); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Q_PROPERTY(QImage netStrength MEMBER net_strength NOTIFY valueChanged); | 
					 | 
					 | 
					 | 
					  Q_PROPERTY(int netStrength MEMBER net_strength NOTIFY valueChanged); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					public: | 
					 | 
					 | 
					 | 
					public: | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  explicit Sidebar(QWidget* parent = 0); | 
					 | 
					 | 
					 | 
					  explicit Sidebar(QWidget* parent = 0); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -41,13 +41,6 @@ private: | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    {cereal::DeviceState::NetworkType::CELL4_G, "LTE"}, | 
					 | 
					 | 
					 | 
					    {cereal::DeviceState::NetworkType::CELL4_G, "LTE"}, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    {cereal::DeviceState::NetworkType::CELL5_G, "5G"} | 
					 | 
					 | 
					 | 
					    {cereal::DeviceState::NetworkType::CELL5_G, "5G"} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  }; | 
					 | 
					 | 
					 | 
					  }; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  const QMap<cereal::DeviceState::NetworkStrength, QImage> signal_imgs = { | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    {cereal::DeviceState::NetworkStrength::UNKNOWN, QImage("../assets/images/network_0.png")}, | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    {cereal::DeviceState::NetworkStrength::POOR, QImage("../assets/images/network_1.png")}, | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    {cereal::DeviceState::NetworkStrength::MODERATE, QImage("../assets/images/network_2.png")}, | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    {cereal::DeviceState::NetworkStrength::GOOD, QImage("../assets/images/network_3.png")}, | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    {cereal::DeviceState::NetworkStrength::GREAT, QImage("../assets/images/network_4.png")}, | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  }; | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  const QRect settings_btn = QRect(50, 35, 200, 117); | 
					 | 
					 | 
					 | 
					  const QRect settings_btn = QRect(50, 35, 200, 117); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  const QColor good_color = QColor(255, 255, 255); | 
					 | 
					 | 
					 | 
					  const QColor good_color = QColor(255, 255, 255); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -61,5 +54,5 @@ private: | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  int temp_val = 0; | 
					 | 
					 | 
					 | 
					  int temp_val = 0; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  QColor temp_status = warning_color; | 
					 | 
					 | 
					 | 
					  QColor temp_status = warning_color; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  QString net_type; | 
					 | 
					 | 
					 | 
					  QString net_type; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  QImage net_strength; | 
					 | 
					 | 
					 | 
					  int net_strength = 0; | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					}; | 
					 | 
					 | 
					 | 
					}; | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
					 | 
					 | 
					
  |