Welcome to mirror list, hosted at ThFree Co, Russian Federation.

guide_page.hpp « qt - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c36e5e5fd4eda1846ac89d1be7960f6364a6de58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#pragma once

#include "../std/scoped_ptr.hpp"

#include <QtGui/QWidget>


class QLineEdit;
class QWebView;

namespace sl { class SloynikEngine; }

namespace qt
{
  class GuidePageHolder : public QWidget
  {
    typedef QWidget base_type;

    Q_OBJECT;

  public:
    GuidePageHolder(QWidget * pParent);
    virtual ~GuidePageHolder();

  protected:
    void CreateEngine();

    virtual void showEvent(QShowEvent * e);

  protected Q_SLOTS:
    void OnShowPage();

  private:
    QLineEdit * m_pEditor;
    QWebView * m_pView;

    scoped_ptr<sl::SloynikEngine> m_pEngine;
  };
}