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:
|
||||
/*!
|
||||
|
||||
+19
-1
@@ -11,17 +11,35 @@ namespace Ui {
|
||||
class cToolBoxInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief
|
||||
*
|
||||
*/
|
||||
class cToolBoxInfo : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
/**
|
||||
* @brief
|
||||
*
|
||||
* @param parent
|
||||
*/
|
||||
explicit cToolBoxInfo(QWidget *parent = nullptr);
|
||||
/**
|
||||
* @brief
|
||||
*
|
||||
*/
|
||||
~cToolBoxInfo();
|
||||
|
||||
/**
|
||||
* @brief
|
||||
*
|
||||
* @param lpPicture
|
||||
*/
|
||||
void setPicture(cPicture* lpPicture);
|
||||
private:
|
||||
Ui::cToolBoxInfo* ui;
|
||||
Ui::cToolBoxInfo* ui; /**< TODO: describe */
|
||||
};
|
||||
|
||||
#endif // CTOOLBOXINFO_H
|
||||
|
||||
Reference in New Issue
Block a user