Freeciv-3.2
Loading...
Searching...
No Matches
Macros
tab_counters.cpp File Reference
#include <QCheckBox>
#include <QGridLayout>
#include <QLineEdit>
#include <QPushButton>
#include "fcintl.h"
#include "log.h"
#include "counters.h"
#include "fc_types.h"
#include "game.h"
#include "ruledit.h"
#include "ruledit_qt.h"
#include "validity.h"
#include "tab_counters.h"

Go to the source code of this file.

Macros

#define empty_widget   (nullptr)
 
#define widgets_row(...)
 

Macro Definition Documentation

◆ empty_widget

#define empty_widget   (nullptr)

◆ widgets_row

#define widgets_row (   ...)
Value:
{ \
column = 0; \
QWidget * const wid[] = { __VA_ARGS__ }; \
for (unsigned int i = 0; \
i < sizeof(wid) / sizeof(wid[0]); i++) {\
if (wid[i]) { \
counter_layout->addWidget(wid[i], \
row, \
column);\
}\
column++;\
};\
row++;\
}
char * incite_cost
Definition comments.c:75