Last active
August 2, 2021 07:45
-
-
Save ameerkahiri/2551a91d60c86b336e20cb41001e8706 to your computer and use it in GitHub Desktop.
ToDoApp : Constuctor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ToDoApps::ToDoApps(QWidget *parent) | |
: QWidget(parent) | |
{ | |
ui.setupUi(this); | |
// Set stylesheet | |
initStylesheet(); | |
// Connect the add new task button | |
connect(ui.AddNewBtn, SIGNAL(clicked()), this, SLOT(SlotAddNewTask())); | |
ui.NewTaskLineEdit->setText("Today, I want to..."); | |
ui.NewDateText->setText(QDate::currentDate().toString()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment