mirror of
https://github.com/jorenchik/mdemory.git
synced 2026-03-22 00:26:21 +00:00
per page config param
This commit is contained in:
@@ -20,19 +20,19 @@ struct MdemBuffer {
|
||||
};
|
||||
|
||||
struct Mdem {
|
||||
QWidget wMdem;
|
||||
QVBoxLayout vMdem;
|
||||
QLabel wFrontText;
|
||||
QWidget wFront;
|
||||
QHBoxLayout hFront;
|
||||
QWidget wBack;
|
||||
QVBoxLayout hBack;
|
||||
QToolButton editButton;
|
||||
QToolButton deleteButton;
|
||||
QToolButton toggleVisibility;
|
||||
int labelCount;
|
||||
QVector<QLabel*> backLabels;
|
||||
Question *question;
|
||||
QWidget wMdem;
|
||||
QVBoxLayout vMdem;
|
||||
QLabel wFrontText;
|
||||
QWidget wFront;
|
||||
QHBoxLayout hFront;
|
||||
QWidget wBack;
|
||||
QVBoxLayout hBack;
|
||||
QToolButton editButton;
|
||||
QToolButton deleteButton;
|
||||
QToolButton toggleVisibility;
|
||||
int labelCount;
|
||||
std::vector<QLabel*> backLabels;
|
||||
Question *question;
|
||||
};
|
||||
|
||||
struct ErrorView {
|
||||
@@ -70,6 +70,7 @@ void saveMdem();
|
||||
void updateMdemInfo(std::string filename = "", bool isChanged = true);
|
||||
QMainWindow *initMdemListWindow();
|
||||
|
||||
#define SETTING_PER_PAGE "perPage"
|
||||
#define SETTING_MEMORYBASE "defaultMemorybase"
|
||||
#define SETTING_TIMEZONE "timezone"
|
||||
#define SETTING_CHARACTER_WRAP "characterWrap"
|
||||
@@ -83,5 +84,4 @@ QMainWindow *initMdemListWindow();
|
||||
#define TEXT_LG = 20
|
||||
#define ERROR_POOL_CHUNK 50
|
||||
#define DISTANCE 2
|
||||
#define PER_PAGE 8
|
||||
#define MDEM_BACKGROUND "#F7F7F7"
|
||||
|
||||
Reference in New Issue
Block a user