Дневник
QString filename = QFileDialog::getSaveFileName( this, tr("Save Document"), QDir::currentPath(), tr("Documents (*.doc)") );
Просмотров: 4209 |
Добавил: qt-boy |
Дата: 21.06.2009
|
|
QStringList filenames = QFileDialog::getOpenFileNames( this, tr("Open Document"), QDir::currentPath(), tr("Documents (*.doc);;All files (*.*)") );
Просмотров: 979 |
Добавил: qt-boy |
Дата: 21.06.2009
|
|
QString filename = QFileDialog::getOpenFileName( this, tr("Open Document"), QDir::currentPath(), tr("Document files (*.doc *.rtf);;All files (*.*)") ); if( !filename.isNull() ) {
Просмотров: 1408 |
Добавил: qt-boy |
Дата: 21.06.2009
|
|
void ListWidgetDialog::moveLeft() { if( rightList->selectedItems().count() != 1 ) return; QListWidgetItem *item = rightList->takeItem( rightList->currentRow() ); leftList->addItem( item ); }
Просмотров: 1147 |
Добавил: qt-boy |
Дата: 21.06.2009
|
|
void ListDialog::deleteItem() { delete ui.list->currentItem(); }
Просмотров: 1159 |
Добавил: qt-boy |
Дата: 21.06.2009
|
|
QList<int> list; list << 23 << 27 << 52 << 52; QListIterator<int> javaIter( list while( javaIter.hasNext() ) qDebug() << javaIter.next();
Просмотров: 1008 |
Добавил: qt-boy |
Дата: 21.06.2009
|
|
QStyle* pstyle = QStyleFactory::create("CDE"); QApplication::setStyle(pstyle); Доступные стили: "Windows" "Motif" "CDE" "Cleanlooks" "Plastique"
Просмотров: 1030 |
Добавил: admin |
Дата: 21.06.2009
|
|
|
Календарь |
---|
« Апрель 2024 » | Пн | Вт | Ср | Чт | Пт | Сб | Вс | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 |
|
Статистика |
---|
Онлайн всего: 1 Гостей: 1 Пользователей: 0 |
|