dashboard
-
class dashboard : public QDialog
Public Functions
-
explicit dashboard(QWidget *parent, QString s, int max, QMap<int, QString> repoMap)
This Class is used to preview the dashboard of Application.
1)Contains a Dialog Box which is a base class of dialog windows. 2)Sets up the user interface for the specified widget. 3)Includes a message handler which logs the crashlogs of application. 4)Sets up window Title. 5)Sets up html in text browser. 6)Sets the range of SpinBox(The maximum elements textBrowser contains).
- Parameters:
parent –
s –
max –
repoMap –
-
~dashboard()
Deallocates the memory and cleans up class and it’s object’s.
Private Slots
-
void on_pushButton_clicked()
from dashboard, Executes when Clicked!
1)Sets the value of spinBox to integer id. 2)if there are no elemets in the textbrowser it returns or terminates the function. 3)stores the filePath into String,if no filePath is Found,function terminates. 4)Allows monitoring signals and slots by using QFuture and QFutureWatcher Classes. 5)Conations Spinner which is displayed when importing is in process 6)If the project is found already downloaded in same directory,throws an error and terminates the function else the project is downloaded Successfully
-
void stopSpinning()
This function stops the sppiner whenever called.
-
explicit dashboard(QWidget *parent, QString s, int max, QMap<int, QString> repoMap)