Changeset View
Changeset View
Standalone View
Standalone View
src/HistorySizeWidget.h
Show First 20 Lines • Show All 55 Lines • ▼ Show 20 Line(s) | 44 | public: | |||
---|---|---|---|---|---|
56 | 56 | | |||
57 | /** | 57 | /** | ||
58 | * Returns the number of lines of history to remember. | 58 | * Returns the number of lines of history to remember. | ||
59 | * This is only valid when mode() == FixedSizeHistory, | 59 | * This is only valid when mode() == FixedSizeHistory, | ||
60 | * and returns 0 otherwise. | 60 | * and returns 0 otherwise. | ||
61 | */ | 61 | */ | ||
62 | int lineCount() const; | 62 | int lineCount() const; | ||
63 | 63 | | |||
64 | /** | ||||
65 | * Return height which should be set on the widget's label | ||||
66 | * to align with the first widget's item | ||||
67 | */ | ||||
68 | int preferredLabelHeight(); | ||||
69 | | ||||
64 | Q_SIGNALS: | 70 | Q_SIGNALS: | ||
65 | /** Emitted when the history mode is changed. */ | 71 | /** Emitted when the history mode is changed. */ | ||
66 | void historyModeChanged(Enum::HistoryModeEnum); | 72 | void historyModeChanged(Enum::HistoryModeEnum); | ||
67 | 73 | | |||
68 | /** Emitted when the history size is changed. */ | 74 | /** Emitted when the history size is changed. */ | ||
69 | void historySizeChanged(int); | 75 | void historySizeChanged(int); | ||
70 | 76 | | |||
71 | private Q_SLOTS: | 77 | private Q_SLOTS: | ||
Show All 11 Lines |