Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,60 @@
|
||||
// **************************************************************************
|
||||
//
|
||||
// (C) Copyright 2009 Swiss SIMTEC AG
|
||||
//
|
||||
// **************************************************************************
|
||||
//
|
||||
// $HeadURL$
|
||||
// $LastChangedBy$
|
||||
// $LastChangedDate$
|
||||
// $LastChangedRevision$
|
||||
//
|
||||
// **************************************************************************
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QSpinBox>
|
||||
#include "LogViewWidget.hpp"
|
||||
|
||||
namespace N_LogView
|
||||
{
|
||||
/**
|
||||
* Used for changing size of dyn. arrays.
|
||||
*
|
||||
* @author alois.wismer
|
||||
* @version 1.0
|
||||
* @created 25-Mai-2010 10:39:45
|
||||
*/
|
||||
class LogViewSpinBox : public QSpinBox, public LogViewWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
/**
|
||||
*
|
||||
* @param a_field
|
||||
* @param a_parent
|
||||
* @param a_value
|
||||
*/
|
||||
LogViewSpinBox(LogViewField* a_field, QWidget* a_parent, const int a_value);
|
||||
|
||||
/**
|
||||
* Writes the content into telegram.
|
||||
* Returns true if successful.
|
||||
*
|
||||
* @param a_telegram
|
||||
*/
|
||||
bool saveContent(LogViewTelegram* a_telegram) override;
|
||||
|
||||
protected slots:
|
||||
void finishEditing();
|
||||
|
||||
signals:
|
||||
/**
|
||||
*
|
||||
* @param a_newValue
|
||||
*/
|
||||
void valueEditingFinished(int a_newValue);
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user