-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kill buttons2 #357
Merged
Merged
Kill buttons2 #357
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
b9fc971
Move slotValueChanged from the base class to its children
badescunicu 302f536
Add Kill buttons to ButterworthEQ
badescunicu 93f6573
Removed valueHint from effect parameter and turn all values form QVar…
daschuer 80e9ed8
Merge remote-tracking branch 'badescunicu/butterworth_kill_buttons'
daschuer a6bd2d6
Added effect parameter buttons to Shade skin
daschuer 86951e5
Added Kill buttons to LV-Mix EQs
daschuer 9df18f0
Merge remote-tracking branch 'upstream/master' into kill_buttons2
daschuer de22187
renamed slotLinkTypeChanged to slotLinkTypeChanging
daschuer 9d41cf0
Merge remote-tracking branch 'upstream/master' into rm_value_hint
daschuer 54054f1
Added ahelper function for retreving bool and int. Inline these funct…
daschuer cb21ff5
Add another ValueHint for enumerations
badescunicu 46c8514
Add a list of options for enumeration parameters to EffectManifestPar…
badescunicu 0cab238
Add a special case for EffectManifestParameter::VALUE_ENUMERATION
badescunicu 55c4ae2
Make getOptions() method const because it is being called on a const …
badescunicu d9fc071
Set the number of states for each EffectButtonParameterSlot
badescunicu e76ecda
Add special treatment for EffectManifestParameter::VALUE_ENUMERATION …
badescunicu 69059d7
Add getManifest() method to EffectParameterSlotBase
badescunicu 4f711fb
Add a new widget derived from WPushButton which displays a QMenu with…
badescunicu 204a6c5
Add WEffectPushButton to depends.py
badescunicu 6f325ac
Write a new method for parsing an EffectPushButton skin node
badescunicu bcb35cb
Introduce a list which is responsible for remapping indices of active…
badescunicu ccca041
Use the remapping provided by the EffectManifest
badescunicu ffa9a82
Add information about active button parameters inside EffectManifest
badescunicu 2632b17
Use the mapping provided by the EffectManifest when asking for a butt…
badescunicu 3d23f1b
Remove the hard coded mapping function from EffectManifest's constructor
badescunicu 727c5bf
Replace getParameter and getButtonParameter methods with getParameter…
badescunicu a902f98
Use the newly added methods for retrieving the appropriate EffectPara…
badescunicu b836da6
Replace all occurrences of parameterNumber with parameterSlotNumber
badescunicu a4121f1
renamed helper to toXXX to match function names elsewhere
daschuer 3700b9a
Merge branch 'rm_value_hint' into effect_parameter
daschuer 957a283
Renamed m_enumerationOptions to m_steps, Introduced two new ControlHi…
daschuer 18208e7
Merge list of EffectButtonParameters to EffectParameters, assigne con…
daschuer 2586bde
move "active" List to parameter manifest as showInParameterSlot
daschuer d5b0e6b
cleaned up parameter templates
daschuer 8d0e8d7
Make use of new button widgets
daschuer 468a365
Shade: Fixed effect button lable
daschuer acb62b6
Fixed parameter slot asigning
daschuer dd6c425
Fixed some WEffectPushButton Issues
daschuer f2c5550
Merge remote-tracking branch 'upstream/master' into kill_buttons2
daschuer d66fd42
Shade; an other indentation fix
daschuer 588772a
reduce code duplication by at getKnobParameterForSlot and getButtonPa…
daschuer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
<!DOCTYPE template> | ||
<!-- | ||
Description: | ||
An effect parameter knob. | ||
Variables: | ||
EffectRack: the rack | ||
EffectUnit: the chain | ||
Effect: the effect | ||
EffectParameter: the parameter | ||
--> | ||
<Template> | ||
<WidgetGroup> | ||
<ObjectName>EffectParameterButton</ObjectName> | ||
<Layout>vertical</Layout> | ||
<SizePolicy>me,f</SizePolicy> | ||
<MinimumSize>-1,45</MinimumSize> | ||
<MaximumSize>-1,45</MaximumSize> | ||
<Children> | ||
<EffectButtonParameterName> | ||
<MinimumSize>38f,8f</MinimumSize> | ||
<Style> | ||
WEffectButtonParameter { | ||
font: 10px/8px Lucida Grande, Lucida Sans Unicode, Arial, Verdana, sans-serif; | ||
background-color: transparent; | ||
color: #191F24; | ||
padding-left: 1px; | ||
} | ||
QLabel { qproperty-alignment: AlignCenter; } | ||
</Style> | ||
<ObjectName>ButtonLabel</ObjectName> | ||
<EffectRack>1</EffectRack> | ||
<EffectUnit><Variable name="effectunitnum"/></EffectUnit> | ||
<Effect><Variable name="effectnum"/></Effect> | ||
<EffectButtonParameter><Variable name="effectparameternum"/></EffectButtonParameter> | ||
</EffectButtonParameterName> | ||
<WidgetGroup> | ||
<Layout>vertical</Layout> | ||
<Size>38,26</Size> | ||
<Children> | ||
<EffectPushButton> | ||
<TooltipId></TooltipId> | ||
<Style></Style> | ||
|
||
<EffectRack>1</EffectRack> | ||
<EffectUnit><Variable name="effectunitnum"/></EffectUnit> | ||
<Effect><Variable name="effectnum"/></Effect> | ||
<EffectButtonParameter><Variable name="effectparameternum"/></EffectButtonParameter> | ||
|
||
<NumberStates>2</NumberStates> | ||
<State> | ||
<Number>0</Number> | ||
<Pressed>btn_kill_down.png</Pressed> | ||
<Unpressed>btn_kill.png</Unpressed> | ||
</State> | ||
<State> | ||
<Number>1</Number> | ||
<Pressed>btn_kill_overdown.png</Pressed> | ||
<Unpressed>btn_kill_over.png</Unpressed> | ||
</State> | ||
<Pos>11,57</Pos> | ||
<Connection> | ||
<ConfigKey>[EffectRack1_EffectUnit<Variable name="effectunitnum"/>_Effect<Variable name="effectnum"/>],button_parameter<Variable name="effectparameternum"/></ConfigKey> | ||
<ButtonState>LeftButton</ButtonState> | ||
</Connection> | ||
</EffectPushButton> | ||
</Children> | ||
</WidgetGroup> | ||
</Children> | ||
<Connection> | ||
<ConfigKey>[EffectRack1_EffectUnit<Variable name="effectunitnum"/>_Effect<Variable name="effectnum"/>],button_parameter<Variable name="effectparameternum"/>_loaded</ConfigKey> | ||
<BindProperty>visible</BindProperty> | ||
</Connection> | ||
</WidgetGroup> | ||
</Template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you have some problems with your tab settings in xml files?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. This was an indentation fix.