~kubuntu-members/kwallet/4.11

« back to all changes in this revision

Viewing changes to src/manager/walletwidget.ui

  • Committer: Valentin Rusu
  • Date: 2013-03-31 22:31:03 UTC
  • Revision ID: git-v1:5d3739b860aba731b644f2e02f3234e35cf742b2
Password contents can now always been shown when navigating the tree

The "show contents" and "hide contenst" buttons now received a menu
with a checkable action letting the user to change the behavior of
the editor when it selects a password entry.

The menu is displayed by long clicking the respective buttons. If
"always show contents" is checked, then the editor will show password
contents right away. No need to click "show contents".

The corresponding setting is put into the rc file so it'll be restored
upon kwalletmanager restart.

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
           <item>
135
135
            <layout class="QHBoxLayout" name="horizontalLayout_3">
136
136
             <item>
137
 
              <widget class="KPushButton" name="_hideContents">
 
137
              <widget class="QToolButton" name="_hideContents">
138
138
               <property name="text">
139
139
                <string>Hide &amp;Contents</string>
140
140
               </property>
 
141
               <property name="popupMode">
 
142
                <enum>QToolButton::DelayedPopup</enum>
 
143
               </property>
 
144
               <property name="toolButtonStyle">
 
145
                <enum>Qt::ToolButtonTextOnly</enum>
 
146
               </property>
 
147
               <property name="arrowType">
 
148
                <enum>Qt::DownArrow</enum>
 
149
               </property>
141
150
              </widget>
142
151
             </item>
143
152
             <item>
245
254
           <item>
246
255
            <layout class="QHBoxLayout" name="horizontalLayout_2">
247
256
             <item>
248
 
              <widget class="KPushButton" name="_showContents">
 
257
              <widget class="QToolButton" name="_showContents">
249
258
               <property name="text">
250
259
                <string>Show &amp;Contents</string>
251
260
               </property>
 
261
               <property name="toolButtonStyle">
 
262
                <enum>Qt::ToolButtonFollowStyle</enum>
 
263
               </property>
 
264
               <property name="arrowType">
 
265
                <enum>Qt::NoArrow</enum>
 
266
               </property>
252
267
              </widget>
253
268
             </item>
254
269
             <item>