From 361e0c40fc5d1a5889b17f15ffb5f4bebcd6eeef Mon Sep 17 00:00:00 2001 From: Flone Date: Fri, 1 Nov 2019 22:03:52 +0500 Subject: [PATCH] Added tooltips on the main button. --- TODO.txt | 3 +- src/View/MainWindow/mainwindow.ui | 173 +++++++++++++++++++++++++++++- 2 files changed, 173 insertions(+), 3 deletions(-) diff --git a/TODO.txt b/TODO.txt index a05cdbc..7f278ef 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,5 +1,4 @@ -- Add tooltips to all buttons. -- Speed up the process of adding the tracks. Add only paths and when play() called create FMOD object. +- Speed up the process of adding the tracks. Add only paths and when play() called create FMOD object. - When adding music, we need to add it in the same order in which it was in the folder. - Change random to random_device? - There is a rare bug that causes a crash right after you open one track: diff --git a/src/View/MainWindow/mainwindow.ui b/src/View/MainWindow/mainwindow.ui index 966f77f..61914b0 100644 --- a/src/View/MainWindow/mainwindow.ui +++ b/src/View/MainWindow/mainwindow.ui @@ -122,6 +122,24 @@ color: white; + + + + 7 + 7 + 7 + + + + + + + 255 + 255 + 255 + + + @@ -187,6 +205,24 @@ color: white; + + + + 7 + 7 + 7 + + + + + + + 255 + 255 + 255 + + + @@ -252,6 +288,24 @@ color: white; + + + + 7 + 7 + 7 + + + + + + + 255 + 255 + 255 + + + @@ -264,6 +318,22 @@ color: white; + + <html> +<head> +</head> +<body> + +<font color=black> +Previous Track +</font> + +</body> +</html> + + + + QPushButton { @@ -490,6 +560,19 @@ QPushButton:pressed + + <html> +<head> +</head> +<body> + +<font color=black> +Stop +</font> + +</body> +</html> + QPushButton { @@ -724,6 +807,19 @@ QPushButton:pressed Qt::StrongFocus + + <html> +<head> +</head> +<body> + +<font color=black> +Play +</font> + +</body> +</html> + QPushButton { @@ -959,6 +1055,19 @@ QPushButton:pressed + + <html> +<head> +</head> +<body> + +<font color=black> +Pause +</font> + +</body> +</html> + QPushButton { @@ -1185,6 +1294,19 @@ QPushButton:pressed + + <html> +<head> +</head> +<body> + +<font color=black> +Next Track +</font> + +</body> +</html> + QPushButton { @@ -1296,6 +1418,19 @@ QSlider::sub-page:disabled true + + <html> +<head> +</head> +<body> + +<font color=black> +Repeat Track +</font> + +</body> +</html> + QPushButton { @@ -1331,6 +1466,19 @@ QPushButton:checked + + <html> +<head> +</head> +<body> + +<font color=black> +Random Track +</font> + +</body> +</html> + QPushButton { @@ -1366,6 +1514,19 @@ QPushButton:checked + + <html> +<head> +</head> +<body> + +<font color=black> +Sound Effects +</font> + +</body> +</html> + QPushButton { @@ -1394,7 +1555,17 @@ QPushButton:pressed - + <html> +<head> +</head> +<body> + +<font color=black> +Clear Playlist +</font> + +</body> +</html> -1