ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] QT и размеры виджета
@ 2003-12-11  4:47 Anikin Anton
  2003-12-11 10:13 ` Anikin Anton
  0 siblings, 1 reply; 2+ messages in thread
From: Anikin Anton @ 2003-12-11  4:47 UTC (permalink / raw)
  To: AltLinuxCommunity

Привет всем. У меня такой ламерский вопрос - я создал виджет при помощи QT 
Designer, запихал его в KDevelop - там создался класс и т.д. НО: при запуске 
окошка оно, гадство, может быть отресайзено - а мне это не нравится ;) как бы 
сделать размеры фиксированными ? Еще раз извиняюсь за такой дебильный вопрос 
;)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Comm] QT и размеры виджета
  2003-12-11  4:47 [Comm] QT и размеры виджета Anikin Anton
@ 2003-12-11 10:13 ` Anikin Anton
  0 siblings, 0 replies; 2+ messages in thread
From: Anikin Anton @ 2003-12-11 10:13 UTC (permalink / raw)
  To: community

В сообщении от 11 Декабрь 2003 12:47 Anikin Anton написал(a):
> Привет всем. У меня такой ламерский вопрос - я создал виджет при помощи QT
> Designer, запихал его в KDevelop - там создался класс и т.д. НО: при
> запуске окошка оно, гадство, может быть отресайзено - а мне это не нравится
> ;) как бы сделать размеры фиксированными ? Еще раз извиняюсь за такой
> дебильный вопрос ;)
Все - вопрос отменяется ;) Я сделал так (хотя и думаю, что это не самое 
элегантное решение ;)) :

QSize size = mainWindow_->size();
mainWindow_->setMinimumSize(size);
mainWindow_->setMaximumSize(size);
mainWindow_->show();

Вот так вот ;)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-12-11 10:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-11  4:47 [Comm] QT и размеры виджета Anikin Anton
2003-12-11 10:13 ` Anikin Anton

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git