UltraScan III
us_long_messagebox.h
Go to the documentation of this file.
1 #ifndef US_LONGMSGBOX_H
2 #define US_LONGMSGBOX_H
3 
4 #include "us_extern.h"
5 #include "us_widgets_dialog.h"
6 
15 
17 {
18  Q_OBJECT
19 
20  public:
26  US_LongMessageBox( const QString&, const QString&,
27  QWidget* = 0, Qt::WindowFlags = 0 );
28 
31  void setTitle( const QString& );
32 
35  void setText( const QString& );
36 
39  void setHtml( const QString& );
40 
42  void adjustSize();
43 
44  private:
45  QTextEdit* textbox; // Text box within dialog
46 
47  private slots:
48  void close_diag();
49 };
50 #endif
51