mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
50 lines
930 B
C
50 lines
930 B
C
|
// -*- C++ -*-
|
||
|
/**
|
||
|
* \file FileDialog_private.h
|
||
|
* This file is part of LyX, the document processor.
|
||
|
* Licence details can be found in the file COPYING.
|
||
|
*
|
||
|
* \author John Levon
|
||
|
*
|
||
|
* Full author contact details are available in file CREDITS.
|
||
|
*/
|
||
|
|
||
|
#ifndef FILEDIALOG_PRIVATE_H
|
||
|
#define FILEDIALOG_PRIVATE_H
|
||
|
|
||
|
|
||
|
#include "frontends/FileDialog.h"
|
||
|
#include <Q3FileDialog>
|
||
|
|
||
|
namespace lyx {
|
||
|
namespace support {
|
||
|
|
||
|
class FileFilterList;
|
||
|
|
||
|
} // namespace support
|
||
|
} // namespace lyx
|
||
|
|
||
|
|
||
|
class QToolButton;
|
||
|
|
||
|
class LyXFileDialog : public Q3FileDialog
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
LyXFileDialog(std::string const & path,
|
||
|
lyx::support::FileFilterList const & filters,
|
||
|
std::string const & title,
|
||
|
FileDialog::Button const & b1,
|
||
|
FileDialog::Button const & b2);
|
||
|
public slots:
|
||
|
void buttonClicked();
|
||
|
private:
|
||
|
QToolButton * b1_;
|
||
|
std::string b1_dir_;
|
||
|
|
||
|
QToolButton * b2_;
|
||
|
std::string b2_dir_;
|
||
|
};
|
||
|
|
||
|
#endif // FILEDIALOG_PRIVATE_H
|