BibleTime
Macros
bttextfilterstab.cpp File Reference
#include "bttextfilterstab.h"
#include <QCheckBox>
#include <QLabel>
#include <QSizePolicy>
#include <QVBoxLayout>
#include "../../backend/config/btconfig.h"
#include "../../backend/config/btconfigcore.h"
#include "../../util/tool.h"
#include "cswordsettings.h"

Go to the source code of this file.

Macros

#define TEXT_FILTERS_TAB_ADD_ROW(name, def)
 
#define TEXT_FILTERS_TAB_SAVE(name)    conf.setValue(#name, m_ ## name ## Check->isChecked())
 

Macro Definition Documentation

◆ TEXT_FILTERS_TAB_ADD_ROW

#define TEXT_FILTERS_TAB_ADD_ROW (   name,
  def 
)
Value:
m_ ## name ## Check = new QCheckBox(this); \
m_ ## name ## Check->setChecked(conf.value<bool>(#name,(def))); \
layout->addWidget(m_ ## name ## Check)

Definition at line 25 of file bttextfilterstab.cpp.

◆ TEXT_FILTERS_TAB_SAVE

#define TEXT_FILTERS_TAB_SAVE (   name)     conf.setValue(#name, m_ ## name ## Check->isChecked())

Definition at line 60 of file bttextfilterstab.cpp.