Logo Search packages:      
Sourcecode: qsstv version File versions  Download package

dirdialog.h

/***************************************************************************
                          dirdialog.h  -  QSSTV
                             -------------------
    begin                : Sat Apr 28 2001
    copyright            : (C) 2001 by 
    email                : on1mh@pandora.be
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef DIRDIALOG_H
#define DIRDIALOG_H

#include <qfiledialog.h>
#include "pixmapview.h"

/**filedialog with previewmode
  *@author 
  */



00030 class preview : public QWidget, public QFilePreview
{

public:
    preview( QWidget *parent );
    void previewUrl( const QUrl &u );

private:
    pixmapView *pixmap;

};


class dirDialog : public QFileDialog
{
public:
      
      dirDialog(QWidget *parent=0, const char * name=0, bool modal= FALSE);
  ~dirDialog();
  QString openFileName(const QString & startWith = QString::null, const QString &filter="*");
  QString openDirName(const QString & startWith = QString::null, const QString &filter="*");
      QString saveFileName(const QString & startWith = QString::null, const QString &filter="*");
private:

};

#endif

Generated by  Doxygen 1.6.0   Back to index