forked from mixxxdj/mixxx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdlgmissing.h
41 lines (33 loc) · 1.06 KB
/
dlgmissing.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#ifndef DLGMISSING_H
#define DLGMISSING_H
#include "ui_dlgmissing.h"
#include "configobject.h"
#include "library/library.h"
#include "library/libraryview.h"
#include "library/trackcollection.h"
#include "mixxxkeyboard.h"
class WTrackTableView;
class MissingTableModel;
class DlgMissing : public QWidget, public Ui::DlgMissing, public LibraryView {
Q_OBJECT
public:
DlgMissing(QWidget* parent, ConfigObject<ConfigValue>* pConfig,
Library* pLibrary, TrackCollection* pTrackCollection,
MixxxKeyboard* pKeyboard);
virtual ~DlgMissing();
void onShow();
void onSearch(const QString& text);
public slots:
void clicked();
void selectAll();
void selectionChanged(const QItemSelection&, const QItemSelection&);
void setTrackTableFont(const QFont& font);
void setTrackTableRowHeight(int rowHeight);
signals:
void trackSelected(TrackPointer pTrack);
private:
void activateButtons(bool enable);
WTrackTableView* m_pTrackTableView;
MissingTableModel* m_pMissingTableModel;
};
#endif //DLGMISSING_H