Tooltips and fonts stuff.
[qsnippetsmanager.git] / workmodedialog.h
blob12304b656af2fde14086b96dfb95026522a8ad7b
1 #ifndef WORKMODEDIALOG_H
2 #define WORKMODEDIALOG_H
4 #include <QtGui/QDialog>
6 #include <QShortcut>
8 class MainWindow;
10 namespace Ui {
11 class WorkModeDialog;
14 class WorkModeDialog : public QDialog {
15 Q_OBJECT
16 Q_DISABLE_COPY(WorkModeDialog)
17 public:
18 explicit WorkModeDialog( QWidget *parent = 0);
19 virtual ~WorkModeDialog();
21 protected:
22 virtual void changeEvent(QEvent *e);
23 void enterEvent( QEvent* event );
24 void leaveEvent( QEvent* event );
26 private:
27 Ui::WorkModeDialog *m_ui;
29 MainWindow* p;
30 QShortcut shortcut;
32 private slots:
33 void hideSnippets();
34 void showSnippets();
36 // friend declarations
37 friend class MainWindow;
40 #endif // WORKMODEDIALOG_H