/* ====================================================================
 * Copyright (c) 2003-2006, Martin Hauner
 *                          http://subcommander.tigris.org
 *
 * Subcommander is licensed as described in the file doc/COPYING, which
 * you should have received as part of this distribution.
 * ====================================================================
 */

#ifndef _SC_UNLOCKDIALOG_H
#define _SC_UNLOCKDIALOG_H

// sc
class ScModel;

// qt
#include <QtGui/QDialog>
class QCheckBox;
class QPushButton;


class UnlockDialog : public QDialog
{
  typedef QDialog super;
  Q_OBJECT 

public:
  UnlockDialog( ScModel* model, QWidget *parent = 0 );
  virtual ~UnlockDialog();

  bool isBreakLock() const;

private:
  ScModel*     _model;

  QCheckBox*   _break;
  QPushButton* _ok;
};

#endif // _SC_UNLOCKDIALOG_H
