source: trunk/qt/session-dialog.h @ 14393

Last change on this file since 14393 was 14393, checked in by mikedld, 8 years ago

Rework session dialog in Qt client to load from .ui

  • Property svn:keywords set to Date Rev Author Id
File size: 717 bytes
Line 
1/*
2 * This file Copyright (C) 2010-2014 Mnemosyne LLC
3 *
4 * It may be used under the GNU GPL versions 2 or 3
5 * or any future license endorsed by Mnemosyne LLC.
6 *
7 * $Id: session-dialog.h 14393 2014-12-21 23:46:31Z mikedld $
8 */
9
10#ifndef SESSION_DIALOG_H
11#define SESSION_DIALOG_H
12
13#include <QDialog>
14#include <QWidgetList>
15
16#include "ui_session-dialog.h"
17
18class Prefs;
19class Session;
20
21class SessionDialog: public QDialog
22{
23    Q_OBJECT
24
25  public:
26    SessionDialog (Session& session, Prefs& prefs, QWidget * parent = 0);
27    ~SessionDialog () {}
28
29  private slots:
30    void onAccepted ();
31    void resensitize ();
32
33  private:
34    Session& mySession;
35    Prefs& myPrefs;
36    Ui::SessionDialog ui;
37    QWidgetList myRemoteWidgets;
38    QWidgetList myAuthWidgets;
39};
40
41#endif
Note: See TracBrowser for help on using the repository browser.