mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-12 07:35:55 +01:00
2021-01-13 Fred Gleason <fredg@paravelsystems.com>
* Added RD_LISTWIDGET_ITEM_WIDTH_PADDING and RD_LISTWIDGET_ITEM_HEIGHT defines in 'lib/rd.h' to define consistent item sizes in list-style widgets. * Modified rdlibrary(1) to use a tree-based model. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
#include <QCheckBox>
|
||||
#include <QComboBox>
|
||||
#include <QProgressDialog>
|
||||
#include <QTableView>
|
||||
#include <QTreeView>
|
||||
|
||||
#include <rdcartfilter.h>
|
||||
#include <rdlibrarymodel.h>
|
||||
@@ -74,6 +74,7 @@ class MainWidget : public RDWidget
|
||||
void playerShortcutData();
|
||||
void cartDoubleClickedData(const QModelIndex &);
|
||||
void selectionChangedData(const QItemSelection &,const QItemSelection &);
|
||||
void modelResetData();
|
||||
void audioChangedData(int state);
|
||||
void macroChangedData(int state);
|
||||
void dragsChangedData(bool state);
|
||||
@@ -92,7 +93,7 @@ class MainWidget : public RDWidget
|
||||
const QDateTime &end_datetime,
|
||||
const QDateTime ¤t_datetime);
|
||||
void SetCaption(QString user);
|
||||
int SingleSelectedLine() const;
|
||||
int SingleSelectedCartLine() const;
|
||||
QString GeometryFile();
|
||||
void LoadGeometry();
|
||||
void SaveGeometry();
|
||||
@@ -101,7 +102,7 @@ class MainWidget : public RDWidget
|
||||
void SendNotification(RDNotification::Action action,unsigned cartnum);
|
||||
RDCartFilter *lib_cart_filter;
|
||||
// LibListView *lib_cart_list;
|
||||
QTableView *lib_cart_view;
|
||||
QTreeView *lib_cart_view;
|
||||
RDLibraryModel *lib_cart_model;
|
||||
QString lib_filter_text;
|
||||
QString lib_search_text;
|
||||
|
||||
Reference in New Issue
Block a user