20 #ifndef __SCOSTIME_GUI_H 21 # define __SCOSTIME_GUI_H 25 #include <Plugins/iPlugin> 106 QDateTime
const &
epoch()
const {
return mEpoch; }
111 bool isValid()
const {
return mDateTime.isValid(); }
122 QDateTime
const &
dateTime()
const {
return mDateTime; }
142 Type getDateTimeType(QString
const & s)
const;
144 QDateTime strToDateTime(QString
const & s,
Type t)
const;
195 virtual bool init(
const QString & args);
199 virtual bool isReady()
const {
return mReady; }
204 void epochChanged(QString
const & s);
206 void dateTimeClicked();
208 void dateTimeEdited(QString
const & s);
210 void cucHexEdited(QString
const & s);
229 QLineEdit * wDateTime;
230 QPushButton * wConvertDateTime;
virtual bool isReady() const
Ready flag.
QDateTime const & dateTime() const
Returns the current date/time value.
QString asCUChexString() const
Returns the date/time value as a CUC hex string in the format ccccccccffff.
bool COMMON_EXPORT init()
eVaf common library initialized
bool isValid() const
Returns true if the date/time value is valid.
QString asASDstring() const
Returns the date/time value as a string in the ASD format yyyy.ddd.hh.mm.ss.zzz.
QString asISOstring() const
Returns the date/time value a string in the ISO format yyyy-MM-ddThh:mm:ss.zzz.
DateTime()
Creates an invalid date/time value with the default epoch.
#define VER_MODULE_NAME_STR
Module/library name (shall end with \0)
Type setDateTime(QString const &s, QDateTime const &epoch)
Sets the date/time value from a string.
Type
Type of the date/time entry.
void setEpoch(QDateTime const &epoch)
Sets the epoch.
Graphical User Interface for the ScosTime application.
Common interface for all the eVaf modules.
QDateTime const & epoch() const
Returns the current epoch.
Version information for eVaf modules.
Type type() const
Returns the type of the date/time string from which the date/time value was created.