Skip to content

Commit

Permalink
Merge pull request #49 from JackLovel/dev
Browse files Browse the repository at this point in the history
update notice
  • Loading branch information
JackLovel authored Jul 10, 2021
2 parents 71dbbfb + 1ce8424 commit 70322c9
Show file tree
Hide file tree
Showing 11 changed files with 360 additions and 99 deletions.
10 changes: 7 additions & 3 deletions chapter/A/API_Design_Principles.tex
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,12 @@ \chapter{API Design Principles(未完结)}
QPoint QWidget::mapFrom(const QWidget *ancestor, const QPoint &pos) const;
\end{lstlisting}

注意,我们在 QGraphicsItem 中修复了这些成员函数,但 QWidget 的修复需要等待 Qt 5:
%注意,我们在 QGraphicsItem 中修复了这些成员函数,但 QWidget 的修复需要等待 Qt 5:

\begin{notice}
我们在 QGraphicsItem 中修复了这些成员函数,但 QWidget 的修复需要等待 Qt 5:
\end{notice}


\begin{lstlisting}[language=C++]
bool isVisibleTo(const QGraphicsItem *parent) const;
Expand Down Expand Up @@ -391,8 +396,7 @@ \chapter{API Design Principles(未完结)}

const 关键字不会为你做任何事,考虑将其移除,而非为一个成员函数提供 const/非 const 的重载版本。


%%% Local Variables:
%%% mode: latex
%%% TeX-master: master
%%% TeX-master: "../../master"
%%% End:
8 changes: 4 additions & 4 deletions chapter/A/QAbstractAnimation.tex
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ \chapter{QAbstractAnimation}
\hline
\end{tabular}

公共成员类型
\section{公共成员类型}

\begin{tabular}{|r|l|}
\hline
Expand All @@ -34,7 +34,7 @@ \chapter{QAbstractAnimation}
\hline
\end{tabular}

属性
\section{属性}

\begin{tabular}{|l|l|l|l|}
\hline
Expand All @@ -49,7 +49,7 @@ \chapter{QAbstractAnimation}
\end{tabular}


公共成员函数
\section{公共成员函数}

\begin{tabular}{|r|l|}

Expand Down Expand Up @@ -84,7 +84,7 @@ \chapter{QAbstractAnimation}
\hline
\end{tabular}

公共槽
\section{公共槽}

\begin{tabular}{|r|l|}
\hline
Expand Down
10 changes: 4 additions & 6 deletions chapter/A/QAbstractAudioDeviceInfo.tex
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ \chapter{QAbstractAudioDeviceInfo}
\hline
\end{tabular}

简述

公共功能
\section{公共功能}

\resizebox{\textwidth}{!}{ % Latex表格宽度超出文本宽度
\begin{tabular}{|r|l|}
Expand Down Expand Up @@ -44,16 +42,16 @@ \chapter{QAbstractAudioDeviceInfo}
\end{tabular}
}

类型


\section{类型}

详细说明

QAbstractAudioDeviceInfo是音频后端的基类。

该类实现了QAudioDeviceInfo的音频功能,即QAudioDeviceInfo类中会保留一个QAbstractAudioDeviceInfo,并对其进行调用。关于QAbstractAudioDeviceInfo的实现的其它功能,您可以参考QAudioDeviceInfo的类与函数文档

成员函数文档
\section{成员函数文档}

QString QAbstractAudioDeviceInfo::deviceName() const [纯虚函数]

Expand Down
8 changes: 4 additions & 4 deletions chapter/A/QAbstractAudioInput.tex
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ \chapter{QAbstractAudioInput}

简述

公有有函数
\section{公有有函数}

\begin{tabular}{|r|l|}
\hline
Expand Down Expand Up @@ -64,7 +64,7 @@ \chapter{QAbstractAudioInput}
\hline
\end{tabular}

信号
\section{信号}

\begin{tabular}{|r|l|}
\hline
Expand All @@ -78,7 +78,7 @@ \chapter{QAbstractAudioInput}
\hline
\end{tabular}

详细描述
\section{详细描述}

QAbstractAudioInput类为QAudioInput类提供了访问音频设备的方法。(通过插
件的形式) QAudioDeviceInput类中保留了一个QAbstractAudioInput的实例,
Expand All @@ -91,7 +91,7 @@ \chapter{QAbstractAudioInput}
这意味着QAbstractAudioInput是实现音频功能的。有关功能的描述,可以参考
QAudioInput类。 另见QAudioInput函数

成员函数文档
\section{成员函数文档}

int QAbstractAudioInput::bufferSize() const [纯虚函数]

Expand Down
9 changes: 4 additions & 5 deletions chapter/A/QAbstractAudioOutput.tex
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ \chapter{QAbstractAudioOutput}
\hline
\end{tabular}

简述

public 公有函数
\section{公有函数}

\begin{tabular}{|r|l|}
\hline
Expand Down Expand Up @@ -71,7 +70,7 @@ \chapter{QAbstractAudioOutput}
\hline
\end{tabular}

信号
\section{信号}

\begin{tabular}{|r|l|}
\hline
Expand All @@ -85,14 +84,14 @@ \chapter{QAbstractAudioOutput}
\hline
\end{tabular}

详细描述
\section{详细描述}

QAbstractAudioOutput类是音频后端的基类。 QAbstractAudioOutput类是
QAudioOutput类的实现类。QAudioOutput的实现实际上是调用的
QAbstractAudioOutput类,有关实现相关的功能,请参考QAudioOutput()类中的
函数说明。

成员函数
\section{成员函数}

int QAbstractAudioOutput::bufferSize() const [纯虚函数]

Expand Down
13 changes: 5 additions & 8 deletions chapter/A/QAbstractAxis.tex
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ \chapter{QAbstractAxis}

\splitLine

简述

公共类型
\section{公共类型}

\begin{tabular}{|l|l|}
\hline
Expand All @@ -32,7 +30,7 @@ \chapter{QAbstractAxis}
\hline
\end{tabular}

属性
\section{属性}

\begin{tabular}{|r|l|}
\hline
Expand Down Expand Up @@ -94,7 +92,7 @@ \chapter{QAbstractAxis}
\hline
\end{tabular}

公共函数
\section{公共函数}

\begin{longtable}{|l|l|}
\hline
Expand Down Expand Up @@ -220,7 +218,7 @@ \chapter{QAbstractAxis}
\hline
\end{longtable}

信号
\section{信号}

\begin{tabular}{|r|l|}
\hline
Expand Down Expand Up @@ -278,7 +276,7 @@ \chapter{QAbstractAxis}
\hline
\end{tabular}

详细说明
\section{详细说明}

QAbstractAxis是专门用于处理坐标轴的基类。

Expand Down Expand Up @@ -681,7 +679,6 @@ \chapter{QAbstractAxis}

\splitLine

% wcc

shadesBrush : QBrush 该属性表示用于绘制轴阴影的画笔(网格线之间的区域)

Expand Down
Loading

0 comments on commit 70322c9

Please sign in to comment.