Last active
August 2, 2021 07:28
-
-
Save ameerkahiri/c9a1927bb1a0b40318bf441a65692291 to your computer and use it in GitHub Desktop.
ToDoApps header file
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
#pragma once | |
#include <QtWidgets/QWidget> | |
#include "ui_ToDoApps.h" | |
#include <QDate> | |
#include <QDir> | |
class ToDoApps : public QWidget | |
{ | |
Q_OBJECT | |
public: | |
ToDoApps(QWidget *parent = Q_NULLPTR); | |
private: | |
Ui::ToDoAppsClass ui; | |
public: | |
void initStylesheet(); | |
void createNewTask(QString taskName, QString date); | |
public slots: | |
void SlotAddNewTask(); | |
void SlotDeleteTask(); | |
signals: | |
void SignalAddNewTask(QString taskName, QString date); // incase you wonder how to create custom signal. Useful when you want to call this signal in other classes/widgets | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment