Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (25 sloc) 588 Bytes
#ifndef TASKIDDIALOG_H
#define TASKIDDIALOG_H
#include <QDialog>
#include "TasksView.h"
#include "Core/TaskModelInterface.h"
#include "ui_TaskIdDialog.h"
/**
* Dialog shown when creating a task
*/
class TaskIdDialog : public QDialog
{
Q_OBJECT
public:
explicit TaskIdDialog( TaskModelInterface* model, TasksView* parent );
~TaskIdDialog();
void setSuggestedId( int );
int selectedId() const;
QString taskName() const;
private slots:
void on_spinBox_valueChanged( int );
private:
Ui::TaskIdDialog m_ui;
TaskModelInterface* m_model;
};
#endif
Jump to Line
Something went wrong with that request. Please try again.