chore: 调整格式化样式
This commit is contained in:
@@ -19,7 +19,7 @@ AccessModifierOffset: -4
|
||||
IndentCaseLabels: false
|
||||
|
||||
# 要使用的预处理器指令缩进样式
|
||||
IndentPPDirectives: AfterHash
|
||||
IndentPPDirectives: BeforeHash
|
||||
|
||||
# 缩进宽度
|
||||
IndentWidth: 4
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
#ifndef QT_NO_SYSTEMTRAYICON
|
||||
|
||||
# include "window.h"
|
||||
# include <QMessageBox>
|
||||
#include "window.h"
|
||||
#include <QMessageBox>
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
QApplication app(argc, argv);
|
||||
@@ -27,8 +27,8 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
#else
|
||||
|
||||
# include <QDebug>
|
||||
# include <QLabel>
|
||||
#include <QDebug>
|
||||
#include <QLabel>
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
QApplication app(argc, argv);
|
||||
|
||||
@@ -2,20 +2,20 @@
|
||||
|
||||
#ifndef QT_NO_SYSTEMTRAYICON
|
||||
|
||||
# include <QAction>
|
||||
# include <QCheckBox>
|
||||
# include <QCloseEvent>
|
||||
# include <QComboBox>
|
||||
# include <QCoreApplication>
|
||||
# include <QGroupBox>
|
||||
# include <QLabel>
|
||||
# include <QLineEdit>
|
||||
# include <QMenu>
|
||||
# include <QMessageBox>
|
||||
# include <QPushButton>
|
||||
# include <QSpinBox>
|
||||
# include <QTextEdit>
|
||||
# include <QVBoxLayout>
|
||||
#include <QAction>
|
||||
#include <QCheckBox>
|
||||
#include <QCloseEvent>
|
||||
#include <QComboBox>
|
||||
#include <QCoreApplication>
|
||||
#include <QGroupBox>
|
||||
#include <QLabel>
|
||||
#include <QLineEdit>
|
||||
#include <QMenu>
|
||||
#include <QMessageBox>
|
||||
#include <QPushButton>
|
||||
#include <QSpinBox>
|
||||
#include <QTextEdit>
|
||||
#include <QVBoxLayout>
|
||||
|
||||
//! [0]
|
||||
Window::Window() {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#ifndef QT_NO_SYSTEMTRAYICON
|
||||
|
||||
# include <QDialog>
|
||||
#include <QDialog>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QAction;
|
||||
|
||||
Reference in New Issue
Block a user