initial commit
This commit is contained in:
+32
-1
@@ -12,12 +12,25 @@ namespace Ui {
|
||||
class cImportDialog;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief
|
||||
*
|
||||
*/
|
||||
class cImportDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
/**
|
||||
* @brief
|
||||
*
|
||||
* @param parent
|
||||
*/
|
||||
explicit cImportDialog(QWidget *parent = nullptr);
|
||||
/**
|
||||
* @brief
|
||||
*
|
||||
*/
|
||||
~cImportDialog();
|
||||
|
||||
private slots:
|
||||
@@ -48,17 +61,35 @@ private slots:
|
||||
void onThumbnailSelected(const QItemSelection& selection, const QItemSelection& previous);
|
||||
|
||||
private:
|
||||
Ui::cImportDialog* ui;
|
||||
Ui::cImportDialog* ui; /**< TODO: describe */
|
||||
QStandardItemModel* m_lpImportListModel; /**< TODO: describe */
|
||||
|
||||
void initUI();
|
||||
void createActions();
|
||||
|
||||
/**
|
||||
* @brief
|
||||
*
|
||||
* @param szPath
|
||||
* @param bRecursive
|
||||
*/
|
||||
void readDirectory(const QString& szPath, bool bRecursive);
|
||||
|
||||
/**
|
||||
* @brief
|
||||
*
|
||||
*/
|
||||
void accept();
|
||||
/**
|
||||
* @brief
|
||||
*
|
||||
*/
|
||||
void reject();
|
||||
|
||||
/**
|
||||
* @brief
|
||||
*
|
||||
*/
|
||||
void savePosition();
|
||||
protected:
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user