##// END OF EJS Templates
added quick fileName generation for data export, and fixed wrong date reading...
added quick fileName generation for data export, and fixed wrong date reading on cassini data files.

File last commit:

r5:92e4585e8fab default
r10:63067c6877ba default
Show More
PythonCompleterPopup.cpp
27 lines | 625 B | text/x-c | CppLexer
#include "PythonCompleterPopup.h"
#include <QShowEvent>
#include <QHideEvent>
PythonCompleterPopup::PythonCompleterPopup(QWidget *parent) :
QListView(parent)
{
setEditTriggers(QAbstractItemView::NoEditTriggers);
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
setSelectionBehavior(QAbstractItemView::SelectRows);
setSelectionMode(QAbstractItemView::SingleSelection);
}
void PythonCompleterPopup::showEvent(QShowEvent *e)
{
if( !e->spontaneous() )
emit aboutToShow();
}
void PythonCompleterPopup::hideEvent(QHideEvent *e)
{
if( !e->spontaneous() )
emit aboutToHide();
}