From d53336d4c7ab48aa384c281ca82284ff8f9761cf Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Fri, 3 Oct 2014 14:16:30 -0400 Subject: Large update for the lumina-fm: 1) Completely update the theming for the application (now it has one) 2) Add a column of "action" buttons that enable/disable depending on what is selected. 3) Add the ability to mark files/dirs as user favorites (for quick access in the user button). --- lumina-fm/MainUI.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'lumina-fm/MainUI.h') diff --git a/lumina-fm/MainUI.h b/lumina-fm/MainUI.h index d065d3fc..3984e109 100644 --- a/lumina-fm/MainUI.h +++ b/lumina-fm/MainUI.h @@ -78,6 +78,7 @@ private: QMenu *contextMenu; QRadioButton *radio_view_details, *radio_view_list, *radio_view_icons; QWidgetAction *detWA, *listWA, *icoWA; + QString favdir; //Phonon Widgets for the multimedia player Phonon::MediaObject *mediaObj; @@ -133,6 +134,7 @@ private slots: void on_actionNew_Tab_triggered(); void on_actionClose_triggered(); void on_actionView_Hidden_Files_triggered(); + void on_actionShow_Action_Buttons_triggered(); void goToBookmark(QAction*); void goToDevice(QAction*); void viewModeChanged(bool); @@ -153,9 +155,10 @@ private slots: void prevTab(); void nextTab(); void ItemRun( const QModelIndex&); - void ItemRun(QTreeWidgetItem *item); - void ItemRun(QListWidgetItem *item); + //void ItemRun(QTreeWidgetItem *item); + //void ItemRun(QListWidgetItem *item); void OpenContextMenu(const QPoint&); + void ItemSelectionChanged(); //Slideshow Functions void showNewPicture(); @@ -190,6 +193,7 @@ private slots: void OpenDir(); //open the dir in a new tab void RemoveItem(); //Remove the item permanently void RenameItem(); + void FavoriteItem(); // - full selection actions void CutItems(); void CopyItems(); -- cgit