Changeset 769 for trunk/examples/widgets
- Timestamp:
- Aug 2, 2010, 9:27:30 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
-
. (modified) (1 prop)
-
examples/widgets/softkeys/softkeys.cpp (modified) (4 diffs)
-
examples/widgets/softkeys/softkeys.h (modified) (2 diffs)
-
examples/widgets/stylesheet/mainwindow.ui (modified) (1 diff)
-
examples/widgets/wiggly/dialog.cpp (modified) (1 diff)
-
examples/widgets/windowflags/controllerwindow.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.3 (added) merged: 768 /branches/vendor/nokia/qt/current merged: 767 /branches/vendor/nokia/qt/4.6.2 removed
- Property svn:mergeinfo changed
-
trunk/examples/widgets/softkeys/softkeys.cpp
r651 r769 71 71 toggleButton->setCheckable(true); 72 72 73 74 75 76 77 78 73 79 pushButton = new QPushButton(tr("File Dialog"), this); 74 80 pushButton->setContextMenuPolicy(Qt::NoContextMenu); … … 88 94 layout->addWidget(pushButton, 2, 1); 89 95 layout->addWidget(comboBox, 3, 0, 1, 2); 96 97 90 98 central->setLayout(layout); 91 99 … … 98 106 connect(exit, SIGNAL(triggered()), this, SLOT(exitApplication())); 99 107 connect(toggleButton, SIGNAL(clicked()), this, SLOT(setCustomSoftKeys())); 108 100 109 pushButton->setFocus(); 101 110 } … … 134 143 } 135 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 136 174 void MainWindow::exitApplication() 137 175 { -
trunk/examples/widgets/softkeys/softkeys.h
r651 r769 58 58 void cancelPressed(); 59 59 void setCustomSoftKeys(); 60 60 61 public: 61 62 MainWindow(QWidget *parent = 0); … … 64 65 QGridLayout *layout; 65 66 QWidget *central; 66 QTextEdit *textEditor;67 QTextEdittextEditor; 67 68 QLabel *infoLabel; 68 QPushButton* toggleButton; 69 QPushButton* pushButton; 70 QMenu* fileMenu; 71 QAction* addSoftKeysAct; 72 QAction* exit; 73 QAction* ok; 74 QAction* cancel; 69 QPushButton *toggleButton; 70 QPushButton *pushButton; 71 QPushButton *modeButton; 72 QLabel *modeLabel; 73 QMenu *fileMenu; 74 QAction *addSoftKeysAct; 75 QAction *exit; 76 QAction *ok; 77 QAction *cancel; 75 78 }; 76 79 -
trunk/examples/widgets/stylesheet/mainwindow.ui
r561 r769 197 197 <item row="1" column="2" colspan="2" > 198 198 <widget class="QRadioButton" name="femaleRadioButton" > 199 <property name=" styleSheet">199 <property name="> 200 200 <string>Check this if you are female</string> 201 201 </property> -
trunk/examples/widgets/wiggly/dialog.cpp
r651 r769 57 57 setLayout(layout); 58 58 59 60 61 62 63 64 65 66 67 68 69 59 70 connect(lineEdit, SIGNAL(textChanged(QString)), 60 71 wigglyWidget, SLOT(setText(QString))); -
trunk/examples/widgets/windowflags/controllerwindow.cpp
r651 r769 59 59 bottomLayout->addWidget(quitButton); 60 60 61 Q VBoxLayout *mainLayout = new QVBoxLayout;61 QBoxLayout; 62 62 mainLayout->addWidget(typeGroupBox); 63 63 mainLayout->addWidget(hintsGroupBox);
Note:
See TracChangeset
for help on using the changeset viewer.
