fb2dlgs.hpp 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. #ifndef FB2DLGS_H
  2. #define FB2DLGS_H
  3. #include <QDialog>
  4. class FbCodeEdit;
  5. class FbTextBase;
  6. class FbTextEdit;
  7. QT_BEGIN_NAMESPACE
  8. class QComboBox;
  9. class QLineEdit;
  10. class QToolBar;
  11. class QWebView;
  12. QT_END_NAMESPACE
  13. namespace Ui {
  14. class FbFind;
  15. class FbSetup;
  16. }
  17. class FbCodeFindDlg : public QDialog
  18. {
  19. Q_OBJECT
  20. public:
  21. explicit FbCodeFindDlg(FbCodeEdit &edit);
  22. virtual ~FbCodeFindDlg();
  23. private slots:
  24. void find();
  25. private:
  26. Ui::FbFind * ui;
  27. FbCodeEdit & m_edit;
  28. };
  29. class FbTextFindDlg : public QDialog
  30. {
  31. Q_OBJECT
  32. public:
  33. explicit FbTextFindDlg(FbTextEdit &edit);
  34. virtual ~FbTextFindDlg();
  35. private slots:
  36. void find();
  37. private:
  38. Ui::FbFind * ui;
  39. FbTextEdit & m_edit;
  40. };
  41. class FbNoteDlg : public QDialog
  42. {
  43. Q_OBJECT
  44. public:
  45. explicit FbNoteDlg(FbTextEdit &view);
  46. private slots:
  47. void loadFinished();
  48. private:
  49. QComboBox *m_key;
  50. FbTextBase *m_text;
  51. QLineEdit *m_title;
  52. QToolBar *m_toolbar;
  53. };
  54. class FbSetupDlg : public QDialog
  55. {
  56. Q_OBJECT
  57. public:
  58. explicit FbSetupDlg(QWidget *parent = 0, Qt::WindowFlags f = 0);
  59. private:
  60. Ui::FbSetup * ui;
  61. };
  62. #endif // FB2DLGS_H