itemselect.cpp 587 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
#include "itemselect.h"
#include "macros.h"

#ifdef QMC2_DEBUG
#include "qmc2main.h"
extern MainWindow *qmc2MainWindow;
#endif

ItemSelector::ItemSelector(QWidget *parent, QStringList &items)
  : QDialog(parent)
{
#ifdef QMC2_DEBUG
  qmc2MainWindow->log(QMC2_LOG_FRONTEND, "DEBUG: ItemSelector::ItemSelector(QWidget *parent = 0x" + QString::number((ulong)parent, 16) + ", ...)");
#endif

  setupUi(this);

  listWidgetItems->addItems(items);
}

ItemSelector::~ItemSelector()
{
#ifdef QMC2_DEBUG
  qmc2MainWindow->log(QMC2_LOG_FRONTEND, "DEBUG: ItemSelector::~ItemSelector()");
#endif

}