Created
April 13, 2016 05:48
-
-
Save manashmandal/e101cc31c924cda2da84620203aec536 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#ifndef QMAINWIDGET_H | |
#define QMAINWIDGET_H | |
#include <QWidget> | |
#include <QListWidget> | |
#include <QListWidgetItem> | |
#include <QDebug> | |
#include "thewidgetitem.h" //Since we want to use the "TheWidgetItem" widget as the QListWidgetItem | |
namespace Ui { | |
class QMainWidget; | |
} | |
class QMainWidget : public QWidget | |
{ | |
Q_OBJECT | |
public: | |
explicit QMainWidget(QWidget *parent = 0); | |
~QMainWidget(); | |
private slots: | |
void on_addBtn_clicked(); | |
void on_delBtn_clicked(); | |
private: | |
Ui::QMainWidget *ui; | |
}; | |
#endif // QMAINWIDGET_H |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment