| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  | #ifndef MESSAGES_H
 | 
					
						
							|  |  |  | #define MESSAGES_H
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include <QDialog>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | namespace Ui { | 
					
						
							|  |  |  |   class Messages; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class Messages : public QDialog | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  |   Q_OBJECT | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | public: | 
					
						
							| 
									
										
										
										
											2021-05-17 19:30:51 +01:00
										 |  |  |   explicit Messages (QString const& settings_filename, QWidget * parent = nullptr); | 
					
						
							| 
									
										
										
										
											2014-11-30 16:46:23 +00:00
										 |  |  |   void setText(QString t, QString t2); | 
					
						
							| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  |   void setColors(QString t); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-17 19:30:51 +01:00
										 |  |  |   ~Messages(); | 
					
						
							| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | signals: | 
					
						
							| 
									
										
										
										
											2021-05-22 09:55:43 -04:00
										 |  |  |   void click2OnCallsign(QString hiscall, QString t2, bool ctrl); | 
					
						
							| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | private slots: | 
					
						
							|  |  |  |   void selectCallsign2(bool ctrl); | 
					
						
							| 
									
										
										
										
											2014-11-30 16:46:23 +00:00
										 |  |  |   void on_cbCQ_toggled(bool checked); | 
					
						
							|  |  |  |   void on_cbCQstar_toggled(bool checked); | 
					
						
							| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | private: | 
					
						
							| 
									
										
										
										
											2021-05-17 19:30:51 +01:00
										 |  |  |   Ui::Messages *ui; | 
					
						
							|  |  |  |   QString m_settings_filename; | 
					
						
							|  |  |  |   QString m_t; | 
					
						
							|  |  |  |   QString m_t2; | 
					
						
							|  |  |  |   QString m_colorBackground; | 
					
						
							|  |  |  |   QString m_color0; | 
					
						
							|  |  |  |   QString m_color1; | 
					
						
							|  |  |  |   QString m_color2; | 
					
						
							|  |  |  |   QString m_color3; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   bool m_cqOnly; | 
					
						
							|  |  |  |   bool m_cqStarOnly; | 
					
						
							| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-17 19:30:51 +01:00
										 |  |  | #endif
 |